|
@ -165,7 +165,12 @@ |
|
|
${groupTableName}.ID |
|
|
${groupTableName}.ID |
|
|
</foreach> |
|
|
</foreach> |
|
|
</if> |
|
|
</if> |
|
|
order by ic_resi_user.CREATED_TIME desc,ic_resi_user.id desc |
|
|
ORDER BY |
|
|
|
|
|
IC_RESI_USER.GRID_ID ASC, |
|
|
|
|
|
IC_RESI_USER.VILLAGE_ID ASC, |
|
|
|
|
|
IC_RESI_USER.BUILD_ID ASC, |
|
|
|
|
|
IC_RESI_USER.UNIT_ID ASC, |
|
|
|
|
|
IC_RESI_USER.HOME_ID ASC |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<update id="updateToDel" parameterType="java.lang.String"> |
|
|
<update id="updateToDel" parameterType="java.lang.String"> |
|
@ -203,7 +208,11 @@ |
|
|
${groupTableName}.ID |
|
|
${groupTableName}.ID |
|
|
</foreach> |
|
|
</foreach> |
|
|
</if> |
|
|
</if> |
|
|
order by ic_resi_user.CREATED_TIME desc,ic_resi_user.id desc |
|
|
order by IC_RESI_USER.GRID_ID ASC, |
|
|
|
|
|
IC_RESI_USER.VILLAGE_ID ASC, |
|
|
|
|
|
IC_RESI_USER.BUILD_ID ASC, |
|
|
|
|
|
IC_RESI_USER.UNIT_ID ASC, |
|
|
|
|
|
IC_RESI_USER.HOME_ID ASC |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<!-- 查询个人信息 --> |
|
|
<!-- 查询个人信息 --> |
|
@ -801,6 +810,7 @@ |
|
|
<if test="idCard != null and idCard != ''"> |
|
|
<if test="idCard != null and idCard != ''"> |
|
|
AND a.ID_CARD LIKE concat( '%', #{idCard}, '%' ) |
|
|
AND a.ID_CARD LIKE concat( '%', #{idCard}, '%' ) |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
ORDER BY GRID_ID,VILLAGE_ID,BUILD_ID,UNIT_ID,HOME_ID, convert(NAME using gbk) |
|
|
) t |
|
|
) t |
|
|
WHERE |
|
|
WHERE |
|
|
1=1 |
|
|
1=1 |
|
@ -810,7 +820,7 @@ |
|
|
<if test="natCount != null"> |
|
|
<if test="natCount != null"> |
|
|
AND natCount = #{natCount} |
|
|
AND natCount = #{natCount} |
|
|
</if> |
|
|
</if> |
|
|
ORDER BY `NAME` |
|
|
|
|
|
</select> |
|
|
</select> |
|
|
<select id="natList" resultType="com.epmet.dto.result.EpidemicPreventionResultDTO"> |
|
|
<select id="natList" resultType="com.epmet.dto.result.EpidemicPreventionResultDTO"> |
|
|
SELECT * FROM |
|
|
SELECT * FROM |
|
|