Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
MicroCommunity
Commits
a470c89b
Commit
a470c89b
authored
3 years ago
by
java110
Browse files
Options
Download
Email Patches
Plain Diff
优化报表专家
parent
c0b555cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service-report/src/main/java/com/java110/report/smo/impl/GeneratorFeeYearStatisticsInnerServiceSMOImpl.java
+6
-2
...o/impl/GeneratorFeeYearStatisticsInnerServiceSMOImpl.java
with
6 additions
and
2 deletions
+6
-2
service-report/src/main/java/com/java110/report/smo/impl/GeneratorFeeYearStatisticsInnerServiceSMOImpl.java
+
6
-
2
View file @
a470c89b
...
...
@@ -230,7 +230,7 @@ public class GeneratorFeeYearStatisticsInnerServiceSMOImpl implements IGenerator
Calendar
configEndTime
=
Calendar
.
getInstance
();
configStartTime
.
setTime
(
tmpReportFeeDto
.
getConfigEndTime
());
int
endYear
=
configEndTime
.
get
(
Calendar
.
YEAR
);
int
curYear
=
Calendar
.
getInstance
().
get
(
Calendar
.
YEAR
)
+
1
;
int
curYear
=
Calendar
.
getInstance
().
get
(
Calendar
.
YEAR
)
+
1
;
double
feePrice
=
computeFeeSMOImpl
.
getReportFeePrice
(
tmpReportFeeDto
,
null
,
tmpReportCarDto
);
tmpReportFeeDto
.
setFeePrice
(
feePrice
);
...
...
@@ -322,7 +322,7 @@ public class GeneratorFeeYearStatisticsInnerServiceSMOImpl implements IGenerator
int
endYear
=
configEndTime
.
get
(
Calendar
.
YEAR
);
//当前年
int
curYear
=
Calendar
.
getInstance
().
get
(
Calendar
.
YEAR
)
+
1
;
int
curYear
=
Calendar
.
getInstance
().
get
(
Calendar
.
YEAR
)
+
1
;
double
feePrice
=
computeFeeSMOImpl
.
getReportFeePrice
(
tmpReportFeeDto
,
reportRoomDto
,
null
);
tmpReportFeeDto
.
setFeePrice
(
feePrice
);
...
...
@@ -399,6 +399,10 @@ public class GeneratorFeeYearStatisticsInnerServiceSMOImpl implements IGenerator
int
curYear
=
Calendar
.
getInstance
().
get
(
Calendar
.
YEAR
);
double
cycleMonth
=
12
;
if
(
FeeDto
.
FEE_FLAG_ONCE
.
equals
(
tmpReportFeeDto
.
getFeeFlag
())
&&
FeeDto
.
STATE_DOING
.
equals
(
tmpReportFeeDto
.
getState
()))
{
// 一次性费用 费用没有结束
return
StringUtil
.
isEmpty
(
tmpReportFeeDto
.
getAmount
())
?
0
:
Double
.
parseDouble
(
tmpReportFeeDto
.
getAmount
());
}
if
(
FeeDto
.
FEE_FLAG_ONCE
.
equals
(
tmpReportFeeDto
.
getFeeFlag
()))
{
// 一次性费用没有应收 所以写成0
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help