Browse Source

修改:

1.维度同步,internal&external
dev_shibei_match
wangxianzhang 4 years ago
parent
commit
0412c9e5e8
  1. 2
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerAgencyServiceImpl.java
  2. 2
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerDeptServiceImpl.java
  3. 2
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerGridServiceImpl.java

2
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerAgencyServiceImpl.java

@ -275,7 +275,7 @@ public class ScreenCustomerAgencyServiceImpl extends BaseServiceImpl<ScreenCusto
existsOne.setLevel(e.getLevel()); existsOne.setLevel(e.getLevel());
existsOne.setPid(e.getPid()); existsOne.setPid(e.getPid());
existsOne.setPids(e.getPids()); existsOne.setPids(e.getPids());
existsOne.setSourceType(OrgSourceTypeConstant.INTERNAL); //existsOne.setSourceType(OrgSourceTypeConstant.INTERNAL);
existsOne.setParentAreaCode(e.getParentAreaCode()); existsOne.setParentAreaCode(e.getParentAreaCode());
existsOne.setCode(e.getCode()); existsOne.setCode(e.getCode());
screenCustomerAgencyDao.updateById(existsOne); screenCustomerAgencyDao.updateById(existsOne);

2
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerDeptServiceImpl.java

@ -97,7 +97,7 @@ public class ScreenCustomerDeptServiceImpl extends BaseServiceImpl<ScreenCustome
e.setDeptId(dept.getId()); e.setDeptId(dept.getId());
e.setDeptName(dept.getDepartmentName()); e.setDeptName(dept.getDepartmentName());
e.setParentAgencyId(dept.getAgencyId()); e.setParentAgencyId(dept.getAgencyId());
e.setSourceType(OrgSourceTypeConstant.INTERNAL); //e.setSourceType(OrgSourceTypeConstant.INTERNAL);
e.setAreaCode(dept.getAreaCode()); e.setAreaCode(dept.getAreaCode());
screenCustomerDeptDao.updateById(e); screenCustomerDeptDao.updateById(e);
} }

2
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCustomerGridServiceImpl.java

@ -104,7 +104,7 @@ public class ScreenCustomerGridServiceImpl extends BaseServiceImpl<ScreenCustome
screenGrid.setGridId(grid.getId()); screenGrid.setGridId(grid.getId());
screenGrid.setGridName(grid.getGridName()); screenGrid.setGridName(grid.getGridName());
screenGrid.setParentAgencyId(grid.getPid()); screenGrid.setParentAgencyId(grid.getPid());
screenGrid.setSourceType(OrgSourceTypeConstant.INTERNAL); //screenGrid.setSourceType(OrgSourceTypeConstant.INTERNAL);
screenGrid.setAreaCode(grid.getAreaCode()); screenGrid.setAreaCode(grid.getAreaCode());
screenGrid.setCode(grid.getCode()); screenGrid.setCode(grid.getCode());
screenCustomerGridDao.updateById(screenGrid); screenCustomerGridDao.updateById(screenGrid);

Loading…
Cancel
Save