This commit is contained in:
linfso 2025-01-05 20:30:57 +08:00
parent 01d56ffb4f
commit d9fd384b44

View File

@ -514,6 +514,11 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
return;
}
// 取件员是空的则返回
if(StringUtils.isEmpty(waybill.getTakePieceEmployeeCode())){
return;
}
String billMonth= DateUtils.parseDateToStr(DateUtils.YYYY_MM,waybill.getSendDate());
SysUser empUser = getEmisStaffByCode(waybill.getTakePieceEmployeeCode());
@ -636,6 +641,10 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
return;
}
if(StringUtils.isEmpty(waybill.getOperateEmployeeCode())){
return;
}
String billMonth= DateUtils.parseDateToStr(DateUtils.YYYY_MM,waybill.getSendDate());
SysUser empUser = getEmisStaffByCode(waybill.getOperateEmployeeCode());