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