|
|
|
@ -1046,7 +1046,7 @@ public class MjyServiceImpl extends ServiceImpl implements IMjyS |
|
|
|
mjyJcgj.setMjyId(mjyOld.getId()); |
|
|
|
mjyJcgj.setJcgjlx(JcgjlxEnum.lc.getValue()); |
|
|
|
mjyJcgj.setJcmc(form.getQmyy()); |
|
|
|
if (form.getQmyy().equals("同意编辑")) { |
|
|
|
if (form.getQmyy().equals(ShbjEnum.ty.getValue())) { |
|
|
|
mjyJcgj.setJcmcys(JcmcysEnum.green.getValue()); |
|
|
|
} else { |
|
|
|
mjyJcgj.setJcmcys(JcmcysEnum.red.getValue()); |
|
|
|
@ -1058,7 +1058,7 @@ public class MjyServiceImpl extends ServiceImpl implements IMjyS |
|
|
|
//endregion |
|
|
|
|
|
|
|
//region 更新 |
|
|
|
if (form.getQmyy().equals("同意编辑")) { |
|
|
|
if (form.getQmyy().equals(ShbjEnum.ty.getValue())) { |
|
|
|
mjyOld.setCcwz(mjyOld.getCcwzbj()); |
|
|
|
mjyOld.setCctj(mjyOld.getCctjbj()); |
|
|
|
mjyOld.setSxrq(mjyOld.getSxrqbj()); |
|
|
|
@ -1165,7 +1165,7 @@ public class MjyServiceImpl extends ServiceImpl implements IMjyS |
|
|
|
mjyJcgj.setMjyId(mjyOld.getId()); |
|
|
|
mjyJcgj.setJcgjlx(JcgjlxEnum.lc.getValue()); |
|
|
|
mjyJcgj.setJcmc(form.getQmyy()); |
|
|
|
if (form.getQmyy().equals("同意修改库存")) { |
|
|
|
if (form.getQmyy().equals(ShXgkcEnum.ty.getValue())) { |
|
|
|
mjyJcgj.setJcmcys(JcmcysEnum.green.getValue()); |
|
|
|
} else { |
|
|
|
mjyJcgj.setJcmcys(JcmcysEnum.red.getValue()); |
|
|
|
@ -1177,7 +1177,7 @@ public class MjyServiceImpl extends ServiceImpl implements IMjyS |
|
|
|
//endregion |
|
|
|
|
|
|
|
//region 更新 |
|
|
|
if (form.getQmyy().equals("同意修改库存")) { |
|
|
|
if (form.getQmyy().equals(ShXgkcEnum.ty.getValue())) { |
|
|
|
mjyOld.setKcdw(mjyOld.getKcdwbj()); |
|
|
|
mjyOld.setKc(mjyOld.getKcbj()); |
|
|
|
} |
|
|
|
@ -1189,7 +1189,7 @@ public class MjyServiceImpl extends ServiceImpl implements IMjyS |
|
|
|
//endregion |
|
|
|
|
|
|
|
//region 台账 |
|
|
|
if (form.getQmyy().equals("同意修改库存")) { |
|
|
|
if (form.getQmyy().equals(ShXgkcEnum.ty.getValue())) { |
|
|
|
mjyTzService.saveTz(mjyOld.getId(), "", "", |
|
|
|
"", "", qmr.getUserId(), qmr.getNickName(), |
|
|
|
"修改库存", form.getKc(), form.getKcdw(), mjyOld.getKcbjbz()); |
|
|
|
|