|
|
@ -17,6 +17,7 @@ import com.epmet.dataaggre.dto.epmetuser.result.IcUserCategoryResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmetuser.result.ResiByPolicyInfoResultDTO; |
|
|
|
import com.epmet.dataaggre.service.ResiService; |
|
|
|
import com.epmet.dataaggre.service.epmetuser.EpmetUserService; |
|
|
|
import com.epmet.dataaggre.service.impl.ResiServiceImpl; |
|
|
|
import com.epmet.feign.EpmetHeartOpenFeignClient; |
|
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
@ -41,7 +42,7 @@ public class IcUserController implements ResultDataResolver { |
|
|
|
private EpmetUserService epmetUserService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private ResiService icResiService; |
|
|
|
private ResiServiceImpl icResiService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private EpmetHeartOpenFeignClient heartOpenFeignClient; |
|
|
@ -105,6 +106,9 @@ public class IcUserController implements ResultDataResolver { |
|
|
|
return new Result().ok(new PageData<>(new ArrayList<>(), 0)); |
|
|
|
} |
|
|
|
|
|
|
|
// 对特殊规则进行转换。
|
|
|
|
icResiService.specificRuleConvert(resiRule); |
|
|
|
|
|
|
|
PageData<ResiByPolicyInfoResultDTO> page = icResiService.listByPolicyRules(orgId, orgType, neighborHoodId, buildingId, unitId, |
|
|
|
houseId, idCard, name, pageNo, pageSize, resiRule, houseRule, statRule); |
|
|
|
return new Result<PageData<ResiByPolicyInfoResultDTO>>().ok(page); |
|
|
|