Commit 0402419e authored by hongguangwu's avatar hongguangwu

MVP1.7.0 优化

parent b161f167
......@@ -946,6 +946,12 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
main.setEmpNatrue(tPreEmployee.getEmpNatrue());
main.setStatus(CommonConstants.TWO_STRING);
if (CommonConstants.ONE_STRING.equals(main.getSourType())) {
// 更新其他附件信息 fxj 2024-09-09
updateOtherAtta(preMain);
// 更新附件信息 hgw 2024-10-15
updateAtta(preMain);
}
// 可以变更状态:
if (Common.isNotNull(preMain.getStatus())) {
if (CommonConstants.ONE_STRING.equals(preMain.getStatus())) {
......@@ -965,12 +971,6 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
} else {
this.updateById(main);
}
if (CommonConstants.ONE_STRING.equals(main.getSourType())) {
// 更新其他附件信息 fxj 2024-09-09
updateOtherAtta(preMain);
// 更新附件信息 hgw 2024-10-15
updateAtta(preMain);
}
return R.ok("已完善!");
}
......
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