Commit 77bbecd3 authored by huyuchen's avatar huyuchen

优化修改

parent a039c9d5
...@@ -250,8 +250,7 @@ public class DoJointInsuranceTask { ...@@ -250,8 +250,7 @@ public class DoJointInsuranceTask {
} }
log.info("获取信息条数:",viewVo.size()); log.info("获取信息条数:",viewVo.size());
if (!viewVo.isEmpty()) { if (!viewVo.isEmpty()) {
viewVo.forEach(e ->{ viewVo.forEach(e -> e.setPayFlag(vo.getPayFlag()));
e.setPayFlag(vo.getPayFlag());});
socialDaprUtils.updateSocialSettleStatus(viewVo); socialDaprUtils.updateSocialSettleStatus(viewVo);
} }
} }
...@@ -277,8 +276,7 @@ public class DoJointInsuranceTask { ...@@ -277,8 +276,7 @@ public class DoJointInsuranceTask {
//根据结算单号获取明细id和结算状态 //根据结算单号获取明细id和结算状态
viewVo = ekpSettleService.selectSalarylViewBySettleNo(vo.getSettleNo(),vo.getPayFlag()); viewVo = ekpSettleService.selectSalarylViewBySettleNo(vo.getSettleNo(),vo.getPayFlag());
if (!viewVo.isEmpty()) { if (!viewVo.isEmpty()) {
viewVo.forEach(e ->{ viewVo.forEach(e -> e.setPayFlag(vo.getPayFlag()));
e.setPayFlag(vo.getPayFlag());});
salaryDaprUtil.updateSalarySettleStatus(viewVo); salaryDaprUtil.updateSalarySettleStatus(viewVo);
} }
} }
......
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