|
@ -7,6 +7,8 @@ import com.epmet.commons.tools.constant.StrConstant; |
|
|
import com.epmet.commons.tools.dto.form.IdAndNameDTO; |
|
|
import com.epmet.commons.tools.dto.form.IdAndNameDTO; |
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
import com.epmet.commons.tools.enums.OrgTypeEnum; |
|
|
import com.epmet.commons.tools.enums.OrgTypeEnum; |
|
|
|
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
|
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
@ -720,7 +722,8 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
//基本信息
|
|
|
//基本信息
|
|
|
CustomerStaffDTO dto = customerStaffDao.selectByStaffId(staffId); |
|
|
CustomerStaffDTO dto = customerStaffDao.selectByStaffId(staffId); |
|
|
if (null == dto) { |
|
|
if (null == dto) { |
|
|
return result; |
|
|
// return result;
|
|
|
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"customer_staff is null staffId:"+staffId,"未查询到工作人员基础信息"); |
|
|
} |
|
|
} |
|
|
//角色信息
|
|
|
//角色信息
|
|
|
List<String> list = staffRoleDao.selectByStaffId(staffId); |
|
|
List<String> list = staffRoleDao.selectByStaffId(staffId); |
|
|