Commit bfe5d0ec authored by fangxinjiang's avatar fangxinjiang

是否BPO结算模式字段同步-fxj

parent fb078e3a
...@@ -256,14 +256,14 @@ public class DoJointInsuranceTask { ...@@ -256,14 +256,14 @@ public class DoJointInsuranceTask {
detail.setIncomeCollectFlag(viewVo.getIncomeCollectFlag()); detail.setIncomeCollectFlag(viewVo.getIncomeCollectFlag());
if (CommonConstants.ZERO_STRING.equals(detail.getIsJfcd())){ if (CommonConstants.ZERO_STRING.equals(detail.getIsJfcd())){
if (CommonConstants.ZERO_STRING.equals(detail.getPaymentStatus()) if (CommonConstants.ZERO_STRING.equals(detail.getPaymentStatus())
&&("已收".equals(viewVo.getIncomeCollectFlag()) &&("0".equals(viewVo.getIncomeCollectFlag())
|| "垫付".equals(viewVo.getIncomeCollectFlag()))){ || "2".equals(viewVo.getIncomeCollectFlag()))){
detail.setBuyHandleStatus(CommonConstants.ONE_INT); detail.setBuyHandleStatus(CommonConstants.ONE_INT);
detail.setPaymentStatus(CommonConstants.ONE_STRING); detail.setPaymentStatus(CommonConstants.ONE_STRING);
detail.setPaymentTime(DateUtil.formatDatePatten(new Date(),DateUtil.DATETIME_PATTERN_SECOND)); detail.setPaymentTime(DateUtil.formatDatePatten(new Date(),DateUtil.DATETIME_PATTERN_SECOND));
} }
if (CommonConstants.ONE_STRING.equals(detail.getPaymentStatus()) if (CommonConstants.ONE_STRING.equals(detail.getPaymentStatus())
&& "未收".equals(viewVo.getIncomeCollectFlag())){ && "1".equals(viewVo.getIncomeCollectFlag())){
detail.setBuyHandleStatus(CommonConstants.SIX_INT); detail.setBuyHandleStatus(CommonConstants.SIX_INT);
detail.setPaymentStatus(CommonConstants.ZERO_STRING); detail.setPaymentStatus(CommonConstants.ZERO_STRING);
detail.setPaymentTime(CommonConstants.EMPTY_STRING); detail.setPaymentTime(CommonConstants.EMPTY_STRING);
......
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