Browse Source

查询设备时使用社区ID

feature/hk_device
zhangyuan 3 years ago
parent
commit
760a00af69
  1. 2
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/rent/service/impl/RentContractInfoServiceImpl.java

2
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/rent/service/impl/RentContractInfoServiceImpl.java

@ -286,7 +286,7 @@ public class RentContractInfoServiceImpl extends BaseServiceImpl<RentContractInf
authority.setCommunityId(community.getCommunityId());
Map<String, Object> deviceParams = new HashMap<>(4);
deviceParams.put("communityName", dto.getVillageName());
deviceParams.put("communityId", community.getCommunityId());
List<HikDeviceInfoDTO> deviceList = hikDeviceInfoService.list(deviceParams);
deviceList.forEach(device -> {

Loading…
Cancel
Save