|
|
@ -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 |
|
|
|