|
@ -146,7 +146,7 @@ public class CustomerStaffAgencyServiceImpl extends BaseServiceImpl<CustomerStaf |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"userId:"+userId+"customer_staff is null","获取用户信息异常"); |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"userId:"+userId+"customer_staff is null","获取用户信息异常"); |
|
|
} |
|
|
} |
|
|
if("disabled".equals(staffInfo.getData().getEnableFlag())){ |
|
|
if("disabled".equals(staffInfo.getData().getEnableFlag())){ |
|
|
throw new EpmetException(EpmetErrorCode.GOV_STAFF_DISABLED.getCode(),EpmetErrorCode.GOV_STAFF_DISABLED.getMsg(),EpmetErrorCode.GOV_STAFF_DISABLED.getMsg()); |
|
|
throw new EpmetException(EpmetErrorCode.ERR10006.getCode(),EpmetErrorCode.GOV_STAFF_DISABLED.getMsg(),EpmetErrorCode.GOV_STAFF_DISABLED.getMsg()); |
|
|
} |
|
|
} |
|
|
resultDTO.setStaffHeadPhoto(staffInfo.getData().getHeadPhoto()); |
|
|
resultDTO.setStaffHeadPhoto(staffInfo.getData().getHeadPhoto()); |
|
|
resultDTO.setGender(staffInfo.getData().getGender()); |
|
|
resultDTO.setGender(staffInfo.getData().getGender()); |
|
|