demand: TMS-网点费用申请-业务申请修改时,如果这个月结客户已经停用,可以让他保存
This commit is contained in:
parent
bb3550638d
commit
a7017a0aa6
@ -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{
|
||||
|
||||
@ -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,"月结客户已停用");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user