Commit 7178c425 authored by huyuchen's avatar huyuchen

明细接口改造

parent 19be885b
...@@ -351,11 +351,11 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl ...@@ -351,11 +351,11 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl
//风险金处理 //风险金处理
long countRisk = baseMapper.selectCount(Wrappers.<TIncome>query().lambda() long countRisk = baseMapper.selectCount(Wrappers.<TIncome>query().lambda()
.eq(TIncome::getSendStatus, CommonConstants.ZERO_STRING) .eq(TIncome::getSendStatus, CommonConstants.ZERO_STRING)
.eq(TIncome::getFeeType, CommonConstants.ZERO_STRING)); .eq(TIncome::getFeeType, CommonConstants.TWO_STRING));
if (countRisk > 0) { if (countRisk > 0) {
List<TIncome> list = baseMapper.selectList(Wrappers.<TIncome>query().lambda() List<TIncome> list = baseMapper.selectList(Wrappers.<TIncome>query().lambda()
.eq(TIncome::getSendStatus, CommonConstants.ZERO_STRING) .eq(TIncome::getSendStatus, CommonConstants.ZERO_STRING)
.eq(TIncome::getFeeType, CommonConstants.ZERO_STRING)); .eq(TIncome::getFeeType, CommonConstants.TWO_STRING));
int i = (int) Math.ceil((double) count / CommonConstants.TEN_THOUSAND_INT); int i = (int) Math.ceil((double) count / CommonConstants.TEN_THOUSAND_INT);
if (!list.isEmpty()) { if (!list.isEmpty()) {
List<TIncome> pushList; List<TIncome> pushList;
...@@ -473,6 +473,8 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl ...@@ -473,6 +473,8 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl
sendParam.setFd_3adda320daef5a("商险"); sendParam.setFd_3adda320daef5a("商险");
} else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) { } else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("工资"); sendParam.setFd_3adda320daef5a("工资");
} else if (CommonConstants.TWO_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("公积金");
} else { } else {
sendParam.setFd_3adda320daef5a("社保"); sendParam.setFd_3adda320daef5a("社保");
} }
...@@ -538,6 +540,8 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl ...@@ -538,6 +540,8 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl
sendParam.setFd_3adda320daef5a("商险"); sendParam.setFd_3adda320daef5a("商险");
} else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) { } else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("工资"); sendParam.setFd_3adda320daef5a("工资");
} else if (CommonConstants.TWO_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("公积金");
} else { } else {
sendParam.setFd_3adda320daef5a("社保"); sendParam.setFd_3adda320daef5a("社保");
} }
......
...@@ -329,6 +329,8 @@ public class DoJointSocialTask { ...@@ -329,6 +329,8 @@ public class DoJointSocialTask {
sendParam.setFd_3adda320daef5a("商险"); sendParam.setFd_3adda320daef5a("商险");
} else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) { } else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("工资"); sendParam.setFd_3adda320daef5a("工资");
} else if (CommonConstants.TWO_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("公积金");
} else { } else {
sendParam.setFd_3adda320daef5a("社保"); sendParam.setFd_3adda320daef5a("社保");
} }
...@@ -394,6 +396,8 @@ public class DoJointSocialTask { ...@@ -394,6 +396,8 @@ public class DoJointSocialTask {
sendParam.setFd_3adda320daef5a("商险"); sendParam.setFd_3adda320daef5a("商险");
} else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) { } else if (CommonConstants.FOUR_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("工资"); sendParam.setFd_3adda320daef5a("工资");
} else if (CommonConstants.TWO_STRING.equals(income.getSourceType())) {
sendParam.setFd_3adda320daef5a("公积金");
} else { } else {
sendParam.setFd_3adda320daef5a("社保"); sendParam.setFd_3adda320daef5a("社保");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment