demand: TMS-网点费用申请-业务申请修改时,如果这个月结客户已经停用,可以让他保存

This commit is contained in:
aike 2025-12-04 10:34:10 +08:00
parent bb3550638d
commit a7017a0aa6
2 changed files with 2 additions and 2 deletions

View File

@ -416,6 +416,7 @@ public class EmisWaybillAjustApplyServiceImpl extends EmisBaseService implements
"费用调整已审批通过-["+getCurrentUser().getOwnerSiteName()+","+getCurrentUser().getEmpName()+"]"
);
emisWaybillSave.getParams().put("isAuditCenter", "1");
if(isDZZS) {
emisWaybillService.reUpdateWayBill(emisWaybillOld, emisWaybillSave, false, true);
}else{

View File

@ -2664,9 +2664,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
if(emisMonthCustomerUser==null){
throw new EmisBizError(EmisBizErrorType.FAIL,"月结客户不存在");
}
// 判断客户是否停用
if(!"1".equals(emisMonthCustomerUser.getStatus())){
if(!"1".equals(emisMonthCustomerUser.getStatus()) && !"1".equals(emisWaybillSave.getParams().get("isAuditCenter"))){
throw new EmisBizError(EmisBizErrorType.FAIL,"月结客户已停用");
}