质量异常提报bug提交

赵嘉伟 4 years ago
parent 87e0040b2c
commit 9838b46229

@ -368,11 +368,11 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
abnormalBill.setHandle(HandleEnum.Z_ABNORMAL_BILL.getHandle(site,abnormalBill.getAbnormalNo())); abnormalBill.setHandle(HandleEnum.Z_ABNORMAL_BILL.getHandle(site,abnormalBill.getAbnormalNo()));
//更新的时候,判断该异常当的状态是否为新建 //更新的时候,判断该异常当的状态是否为新建
AbnormalBill abnormalBill1 = abnormalBillMapper.selectById(abnormalBill.getHandle()); AbnormalBill abnormalBill1 = abnormalBillMapper.selectById(abnormalBill.getHandle());
// if(abnormalBill1 != null){ if(abnormalBill1 != null){
// if(!"N".equals(abnormalBill1.getStatus())){ if(!"N".equals(abnormalBill1.getStatus())){
// throw BusinessException.build("该异常单已经被人处理,不能进行更新"); throw BusinessException.build("该异常单已经被人处理,不能进行更新");
// } }
// } }
abnormalBillDispose.setAbnormalBillBo(abnormalBill.getHandle()); abnormalBillDispose.setAbnormalBillBo(abnormalBill.getHandle());
abnormalBillDispose.setHandle(HandleEnum.Z_ABNORMAL_BILL_DISPOSE.getHandle(site,abnormalBill.getAbnormalNo())); abnormalBillDispose.setHandle(HandleEnum.Z_ABNORMAL_BILL_DISPOSE.getHandle(site,abnormalBill.getAbnormalNo()));

Loading…
Cancel
Save