Browse Source

Merge remote-tracking branch 'origin/dev_ic_data' into develop

dev_shibei_match
zxc 4 years ago
parent
commit
b8d3612004
  1. 4
      epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcResiDemandDictDao.xml
  2. 2
      epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/AgencyTreeResultDTO.java
  3. 6
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerAgencyServiceImpl.java

4
epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcResiDemandDictDao.xml

@ -141,7 +141,7 @@
AND m.CATEGORY_CODE =#{firstCategoryCode}
</if>
ORDER BY
m.CREATED_TIME DESC
m.CREATED_TIME DESC,m.sort desc
</select>
@ -163,7 +163,7 @@
AND m.CUSTOMER_ID = #{customerId}
AND m.PARENT_CODE = #{parentCode}
ORDER BY
m.CREATED_TIME DESC
m.CREATED_TIME DESC,m.sort desc
</select>

2
epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/AgencyTreeResultDTO.java

@ -32,7 +32,7 @@ public class AgencyTreeResultDTO implements Serializable {
private String latitude;
/**
* 前端level跟及联组件字段名一样被覆盖所以加了个一样的
* orgId-orgLevel
*/
private String orgLevel;
/**

6
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerAgencyServiceImpl.java

@ -1119,7 +1119,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao
result.setAgencyName(rootAgency.getAgencyName());
result.setAgencyId(rootAgency.getAgencyId());
result.setLevel(rootAgency.getLevel());
result.setOrgLevel(rootAgency.getLevel());
result.setOrgLevel(rootAgency.getAgencyId().concat("-").concat(rootAgency.getLevel()));
result.setLongitude(rootAgency.getLongitude());
result.setLatitude(rootAgency.getLatitude());
ExtStaffPermissionResultDTO res = baseDao.selectAgencyById(rootAgency.getAgencyId());
@ -1142,7 +1142,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao
resultDTO.setLevel(agency.getLevel());
resultDTO.setLongitude(agency.getLongitude());
resultDTO.setLatitude(agency.getLatitude());
resultDTO.setOrgLevel(agency.getLevel());
resultDTO.setOrgLevel(agency.getAgencyId().concat("-").concat(agency.getLevel()));
if (root.getSubAgencyList() == null) {
root.setSubAgencyList(new ArrayList<>());
@ -1158,7 +1158,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao
grid.setAgencyName(o.getGridName());
grid.setPid(root.getAgencyId());
grid.setLevel("grid");
grid.setOrgLevel("grid");
grid.setOrgLevel(o.getGridId().concat("-").concat("grid"));
grid.setSubAgencyList(null);
grid.setLongitude(o.getLongitude());
grid.setLatitude(o.getLatitude());

Loading…
Cancel
Save