|
@ -26,6 +26,7 @@ |
|
|
OR find_in_set(#{deptId},ep.ALL_DEPT_IDS)) |
|
|
OR find_in_set(#{deptId},ep.ALL_DEPT_IDS)) |
|
|
</if> |
|
|
</if> |
|
|
ORDER BY |
|
|
ORDER BY |
|
|
|
|
|
ep.SORT ASC |
|
|
ep.CREATED_TIME DESC |
|
|
ep.CREATED_TIME DESC |
|
|
</select> |
|
|
</select> |
|
|
<select id="selectPoliceGroupInfo" resultType="com.elink.esua.epdc.smile.dto.police.result.PoliceResultDTO"> |
|
|
<select id="selectPoliceGroupInfo" resultType="com.elink.esua.epdc.smile.dto.police.result.PoliceResultDTO"> |
|
@ -63,7 +64,9 @@ |
|
|
<if test="parentDeptIds != null and parentDeptIds != ''"> |
|
|
<if test="parentDeptIds != null and parentDeptIds != ''"> |
|
|
AND ALL_DEPT_IDS = #{parentDeptIds} |
|
|
AND ALL_DEPT_IDS = #{parentDeptIds} |
|
|
</if> |
|
|
</if> |
|
|
order by UPDATED_TIME desc |
|
|
ORDER BY |
|
|
|
|
|
SORT ASC |
|
|
|
|
|
UPDATED_TIME DESC |
|
|
</select> |
|
|
</select> |
|
|
<select id="selectListOfOrganizationInfo" resultType="com.elink.esua.epdc.smile.dto.police.PoliceDTO"> |
|
|
<select id="selectListOfOrganizationInfo" resultType="com.elink.esua.epdc.smile.dto.police.PoliceDTO"> |
|
|
SELECT |
|
|
SELECT |
|
@ -76,6 +79,8 @@ |
|
|
epdc_police |
|
|
epdc_police |
|
|
WHERE |
|
|
WHERE |
|
|
FIND_IN_SET( #{deptId}, ALL_DEPT_IDS ) |
|
|
FIND_IN_SET( #{deptId}, ALL_DEPT_IDS ) |
|
|
|
|
|
ORDER BY |
|
|
|
|
|
SORT ASC |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<update id="updateGridByDeptId"> |
|
|
<update id="updateGridByDeptId"> |
|
|