|
@ -39,7 +39,9 @@ import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.exception.ExceptionUtils; |
|
|
import com.epmet.commons.tools.exception.ExceptionUtils; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
|
|
|
import com.epmet.commons.tools.redis.common.CustomerOrgRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
|
|
|
import com.epmet.commons.tools.redis.common.bean.AgencyInfoCache; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ExcelPoiUtils; |
|
|
import com.epmet.commons.tools.utils.ExcelPoiUtils; |
|
@ -626,7 +628,11 @@ public class IcPartyUnitServiceImpl extends BaseServiceImpl<IcPartyUnitDao, IcPa |
|
|
if (null == staffInfo){ |
|
|
if (null == staffInfo){ |
|
|
throw new EpmetException("未查询到此工作人员信息"+tokenDto.getUserId()); |
|
|
throw new EpmetException("未查询到此工作人员信息"+tokenDto.getUserId()); |
|
|
} |
|
|
} |
|
|
return baseDao.getAssistanceUnitList(staffInfo.getAgencyId()); |
|
|
AgencyInfoCache agencyInfo = CustomerOrgRedis.getAgencyInfo(staffInfo.getAgencyId()); |
|
|
|
|
|
if (null == agencyInfo){ |
|
|
|
|
|
throw new EpmetException("未查询到此组织信息"+staffInfo.getAgencyId()); |
|
|
|
|
|
} |
|
|
|
|
|
return baseDao.getAssistanceUnitList(staffInfo.getAgencyId(),agencyInfo.getPid()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private String getServiceMatter(Map<String, String> map, String matter) { |
|
|
private String getServiceMatter(Map<String, String> map, String matter) { |
|
|