|
@ -63,7 +63,6 @@ import com.epmet.dto.result.demand.IcResiDemandDictDTO; |
|
|
import com.epmet.dto.result.demand.OptionDTO; |
|
|
import com.epmet.dto.result.demand.OptionDTO; |
|
|
import com.epmet.dto.result.resi.IcResiNonDynamicResultDTO; |
|
|
import com.epmet.dto.result.resi.IcResiNonDynamicResultDTO; |
|
|
import com.epmet.entity.*; |
|
|
import com.epmet.entity.*; |
|
|
import com.epmet.excel.DataSyncRecordDisabilityExcel; |
|
|
|
|
|
import com.epmet.excel.EpidemicPreventionExportExcel; |
|
|
import com.epmet.excel.EpidemicPreventionExportExcel; |
|
|
import com.epmet.excel.support.ExportResiUserItemDTO; |
|
|
import com.epmet.excel.support.ExportResiUserItemDTO; |
|
|
import com.epmet.feign.*; |
|
|
import com.epmet.feign.*; |
|
@ -1693,9 +1692,12 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
public PageData<EpidemicPreventionResultDTO> epidemicPreventionList(EpidemicPreventionFormDTO formDTO) { |
|
|
public PageData<EpidemicPreventionResultDTO> epidemicPreventionList(EpidemicPreventionFormDTO formDTO) { |
|
|
CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getStaffId()); |
|
|
if(StringUtils.isBlank(formDTO.getAgencyId())){ |
|
|
if (null != staffInfo) { |
|
|
//没有指定查询某个组织时,默认查询当前用户所属组织及下级
|
|
|
formDTO.setAgencyId(staffInfo.getAgencyId()); |
|
|
CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getStaffId()); |
|
|
|
|
|
if (null != staffInfo) { |
|
|
|
|
|
formDTO.setAgencyId(staffInfo.getAgencyId()); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
List<EpidemicPreventionResultDTO> list = new ArrayList<>(); |
|
|
List<EpidemicPreventionResultDTO> list = new ArrayList<>(); |
|
|
if (formDTO.getIsPage()){ |
|
|
if (formDTO.getIsPage()){ |
|
|