md
This commit is contained in:
parent
c511df7460
commit
af3e645cfc
@ -335,14 +335,14 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
|
||||
// 取件员或操作员
|
||||
if("1".equals(pickupMethod)){
|
||||
SysUser empUser=getEmisStaffByEmpName(emisWaybillSave.getOperateEmployeeName());
|
||||
SysUser empUser=getEmisStaffByEmpName(emisWaybillSave.getOperateEmployeeCode());
|
||||
if(empUser==null){
|
||||
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "快递员不正确");
|
||||
}
|
||||
emisWaybillSave.setOperateEmployeeCode(empUser.getEmpCode());
|
||||
}
|
||||
else if("2".equals(pickupMethod)){
|
||||
SysUser empUser=getEmisStaffByEmpName(emisWaybillSave.getOperateEmployeeName());
|
||||
SysUser empUser=getEmisStaffByEmpName(emisWaybillSave.getOperateEmployeeCode());
|
||||
if(empUser==null){
|
||||
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "快递员不正确");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user