Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
837c9428
Commit
837c9428
authored
Jul 06, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
b624902a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
TForecastLibraryServiceImpl.java
...yifu/social/service/impl/TForecastLibraryServiceImpl.java
+6
-2
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TForecastLibraryServiceImpl.java
View file @
837c9428
...
...
@@ -1384,16 +1384,20 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
//收取方式按年 且为指定月份时产生数据
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
social
.
getCollectType
())
&&
Common
.
isNotNull
(
socialSet
))
{
//按年收取大病方式按定值
social
.
setPersonalBigailmentCardinal
(
BigDecimal
.
ZERO
);
social
.
setUnitBigailmentCardinal
(
BigDecimal
.
ZERO
);
social
.
setUnitBigailmentMoney
(
socialSet
.
getPayCompany
());
social
.
setPersonalBigailmentMoney
(
socialSet
.
getPayPersonal
());
}
else
if
(
CommonConstants
.
ONE_STRING
.
equals
(
social
.
getCollectType
()))
{
//收取方式按月
if
(
CommonConstants
.
ZERO
_STRING
.
equals
(
social
.
getValueType
()))
{
if
(
CommonConstants
.
ONE
_STRING
.
equals
(
social
.
getValueType
()))
{
//收取大病按比例
social
.
setUnitBigailmentMoney
(
BigDecimalUtils
.
safeMultiply
(
social
.
getUnitBigailmentCardinal
(),
social
.
getUnitBigailmentPer
(),
BigDecimal
.
valueOf
(
CommonConstants
.
ONE_OF_PERCENT
.
doubleValue
())));
social
.
setPersonalBigailmentMoney
(
BigDecimalUtils
.
safeMultiply
(
social
.
getPersonalBigailmentCardinal
(),
social
.
getPersonalBigailmentPer
(),
BigDecimal
.
valueOf
(
CommonConstants
.
ONE_OF_PERCENT
.
doubleValue
())));
}
else
if
(
CommonConstants
.
ONE
_STRING
.
equals
(
social
.
getValueType
())
&&
Common
.
isNotNull
(
socialSet
))
{
}
else
if
(
CommonConstants
.
ZERO
_STRING
.
equals
(
social
.
getValueType
())
&&
Common
.
isNotNull
(
socialSet
))
{
//收取大病方式按定值
social
.
setPersonalBigailmentCardinal
(
BigDecimal
.
ZERO
);
social
.
setUnitBigailmentCardinal
(
BigDecimal
.
ZERO
);
social
.
setUnitBigailmentMoney
(
socialSet
.
getPayCompany
());
social
.
setPersonalBigailmentMoney
(
socialSet
.
getPayPersonal
());
}
...
...
Write
Preview
Markdown
is supported
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