This commit is contained in:
linfso 2024-07-31 08:07:11 +08:00
parent 0605b7128b
commit 350e12f609

View File

@ -503,7 +503,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|| "4".equals(paymentType) || "4".equals(paymentType)
|| "5".equals(paymentType) || "5".equals(paymentType)
){ ){
EmisCustomerUser emisCustomerUser=getMonthCustomerByName(emisWaybillSave.getCustNo()); EmisCustomerUser emisCustomerUser=getCustomerUserByMonthlyPayCode(emisWaybillSave.getCustNo());
if(emisCustomerUser==null){ if(emisCustomerUser==null){
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "月结客户不存在"); throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "月结客户不存在");
} }