Commit ac48c452 authored by huyuchen's avatar huyuchen

huych-商险接口推送优化

parent 71dd2124
......@@ -589,7 +589,7 @@ public class DoJointInsuranceTask {
//商险封面抬头
pushParam.setFd_3b941cbcea3e1a(deptInfoVo.getInsurancesTitle());
//是否启用BPO结算模式
pushParam.setFd_usebpo_settle(deptInfoVo.getBpoSettle());
pushParam.setFd_usebpo_settle("否".equals(deptInfoVo.getIsBpo()) ? "否" : deptInfoVo.getBpoSettle());
insurancesInfoMapper.insert(pushParam);
//更新预估单实缴数据(新增预估实缴单时)
if (InsurancesConstants.ACTUAL_SETTLE_BILL.equals(param.getSettleType())) {
......@@ -731,7 +731,7 @@ public class DoJointInsuranceTask {
//实际结算月份DateUtil.parseDate(dateStringInsert(param.getSettleMonth()),"yyyy-MM")
if ("结算月本月数据".equals(deptInfoVo.getInsurancesType())) {
pushParam.setFd_3af9d11088facc(DateUtil.parseDate(param.getSettleMonth(), DateUtil.DATETIME_YYYY_MM));
} else if ("生成月上月数据".equals(deptInfoVo.getInsurancesType())) {
} else if ("结算月上月数据".equals(deptInfoVo.getInsurancesType())) {
pushParam.setFd_3af9d11088facc(DateUtil.addMonthByDate(DateUtil.parseDate(param.getSettleMonth(), DateUtil.DATETIME_YYYY_MM), -1));
} else {
pushParam.setFd_3af9d11088facc(null);
......
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