Browse Source

message:

注释
dev_power_axis
HAHA 3 years ago
parent
commit
8fc78597cd
  1. 10
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/PowerAxisLeaderService.java
  2. 5
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/PowerAxisStructLeaderService.java
  3. 21
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/PowerAxisStructService.java
  4. 4
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/impl/PowerAxisStructServiceImpl.java

10
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/PowerAxisLeaderService.java

@ -81,11 +81,21 @@ public interface PowerAxisLeaderService extends BaseService<PowerAxisLeaderEntit
/** /**
* 根据动力主轴id列表获取人员信息 * 根据动力主轴id列表获取人员信息
*
* @param ids
* @return java.util.List<com.epmet.plugin.power.dto.axis.result.PowerAxisSimpleListDTO>
* @author LZN
* @date 2022/4/24 19:38
*/ */
List<PowerAxisSimpleListDTO> getSimpleList(List<String> ids); List<PowerAxisSimpleListDTO> getSimpleList(List<String> ids);
/** /**
* 动力主轴负责人详细信息 * 动力主轴负责人详细信息
*
* @param form
* @return com.epmet.plugin.power.dto.axis.result.PowerAxisLeaderDetailResultDTO
* @author LZN
* @date 2022/4/24 19:38
*/ */
PowerAxisLeaderDetailResultDTO getLeaderDetail(PowerAxisLeaderDetailFormDTO form); PowerAxisLeaderDetailResultDTO getLeaderDetail(PowerAxisLeaderDetailFormDTO form);
} }

5
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/PowerAxisStructLeaderService.java

@ -82,6 +82,11 @@ public interface PowerAxisStructLeaderService extends BaseService<PowerAxisStruc
/** /**
* 查询节点负责人信息 * 查询节点负责人信息
*
* @param axisStructId
* @return com.epmet.plugin.power.dto.axis.result.PowerAxisSLeaderResultDTO
* @author LZN
* @date 2022/4/24 19:39
*/ */
PowerAxisSLeaderResultDTO queryLeaderDetailById(String axisStructId); PowerAxisSLeaderResultDTO queryLeaderDetailById(String axisStructId);

21
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/PowerAxisStructService.java

@ -103,22 +103,43 @@ public interface PowerAxisStructService extends BaseService<PowerAxisStructEntit
/** /**
* 根据id查询修改表单数据 * 根据id查询修改表单数据
*
* @param id
* @return com.epmet.plugin.power.modules.axis.entity.PowerAxisStructEntity
* @author LZN
* @date 2022/4/24 19:39
*/ */
PowerAxisStructEntity queryModifyById(String id); PowerAxisStructEntity queryModifyById(String id);
/** /**
* 根据agencyId获取id列表 * 根据agencyId获取id列表
*
* @param agencyId
* @return java.util.List<java.lang.String>
* @author LZN
* @date 2022/4/24 19:39
*/ */
List<String> getIdByAgencyId(String agencyId); List<String> getIdByAgencyId(String agencyId);
/** /**
*
* 关键指标统计 * 关键指标统计
*
* @param form
* @return com.epmet.plugin.power.dto.axis.result.PowerAxisStructViewResultDTO
* @author LZN
* @date 2022/4/24 19:40
*/ */
PowerAxisStructViewResultDTO getStatistics(PowerAxisStructViewFormDTO form); PowerAxisStructViewResultDTO getStatistics(PowerAxisStructViewFormDTO form);
/** /**
* 树结构 * 树结构
*
* @param form
* @return java.util.List<com.epmet.plugin.power.dto.axis.result.PowerAxisStructTreeResultDTO>
* @author LZN
* @date 2022/4/24 19:40
*/ */
List<PowerAxisStructTreeResultDTO> getStructTree(PowerAxisStructStructTreeFormDTO form); List<PowerAxisStructTreeResultDTO> getStructTree(PowerAxisStructStructTreeFormDTO form);

4
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/impl/PowerAxisStructServiceImpl.java

@ -229,12 +229,12 @@ public class PowerAxisStructServiceImpl extends BaseServiceImpl<PowerAxisStructD
public PowerAxisStructViewResultDTO getStatistics(PowerAxisStructViewFormDTO form) { public PowerAxisStructViewResultDTO getStatistics(PowerAxisStructViewFormDTO form) {
form.setCustomerId(loginUserUtil.getLoginUserCustomerId()); form.setCustomerId(loginUserUtil.getLoginUserCustomerId());
String gridCateGoryCode = baseDao.getCateGoryCode(form.getCustomerId(),PowerTagLevelEnum.CHILD_FIRST.level(),PowerTagCategoryEnum.STRUCT.category());
// 查网格党支部数 grid_party // 查网格党支部数 grid_party
String gridCateGoryCode = baseDao.getCateGoryCode(form.getCustomerId(),PowerTagLevelEnum.CHILD_FIRST.level(),PowerTagCategoryEnum.STRUCT.category());
int gridParty = baseDao.queryGridParty(form,gridCateGoryCode); int gridParty = baseDao.queryGridParty(form,gridCateGoryCode);
String groupCateGoryCode = baseDao.getCateGoryCode(form.getCustomerId(),PowerTagLevelEnum.CHILD_SECOND.level(),PowerTagCategoryEnum.STRUCT.category());
// 查楼院党小组数 group_party // 查楼院党小组数 group_party
String groupCateGoryCode = baseDao.getCateGoryCode(form.getCustomerId(),PowerTagLevelEnum.CHILD_SECOND.level(),PowerTagCategoryEnum.STRUCT.category());
int groupParty = baseDao.queryGroupParty(form,groupCateGoryCode); int groupParty = baseDao.queryGroupParty(form,groupCateGoryCode);
// 查询党员数 // 查询党员数
int partyNum = 0; int partyNum = 0;

Loading…
Cancel
Save