Browse Source

服务项目详情加了个级别

master
zxc 3 years ago
parent
commit
e025323419
  1. 3
      epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/ServiceProjectListResultDTO.java
  2. 6
      epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcServiceProjectDao.xml

3
epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/ServiceProjectListResultDTO.java

@ -47,7 +47,7 @@ public class ServiceProjectListResultDTO implements Serializable {
* 政策级别
*/
private String policyLevel;
private String policyLevelKey;
private String policyLevelName;
private List<IcServiceProjectAttachmentDTO> attachmentList;
@ -58,5 +58,6 @@ public class ServiceProjectListResultDTO implements Serializable {
this.serviceContent = "";
this.policyGround = "";
this.policyLevel = "";
this.policyLevelName = "";
}
}

6
epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcServiceProjectDao.xml

@ -21,7 +21,7 @@
<result column="serviceCategoryKey" property="serviceCategoryKey"/>
<result column="policyGround" property="policyGround"/>
<result column="policyLevel" property="policyLevel"/>
<result column="policyLevelKey" property="policyLevelKey"/>
<result column="policyLevelName" property="policyLevelName"/>
<collection property="attachmentList" column="serviceProjectId" ofType="com.epmet.dto.IcServiceProjectAttachmentDTO" select="getAttachmentList"/>
</resultMap>
<select id="getServiceProjectList" resultMap="getServiceProjectListMap">
@ -31,11 +31,11 @@
SERVICE_CATEGORY_KEY AS serviceCategoryKey,
ID AS serviceProjectId,
POLICY_GROUND AS policyGround,
POLICY_LEVEL AS policyLevelKey,
POLICY_LEVEL AS policyLevel,
(CASE WHEN POLICY_LEVEL = '0' THEN '市级'
WHEN POLICY_LEVEL = '0' THEN '区级'
WHEN POLICY_LEVEL = '0' THEN '街道级'
ELSE '' end) AS policyLevel
ELSE '' end) AS policyLevelName
FROM ic_service_project
WHERE DEL_FLAG = 0
AND ENABLED = 0

Loading…
Cancel
Save