|
@@ -32,6 +32,7 @@
|
|
|
<if test="inputStr !=null and inputStr != ''">
|
|
|
AND (UPPER(t.spell) LIKE CONCAT('%', UPPER(TRIM(#{inputStr})),'%') OR UPPER(t.dept_name) LIKE CONCAT('%', UPPER(TRIM(#{inputStr})),'%'));
|
|
|
</if>
|
|
|
+ ORDER BY t.dept_name ASC
|
|
|
</select>
|
|
|
|
|
|
<select id="getListUser" resultType="com.diagbot.dto.BasDeptInfoDTO"
|
|
@@ -52,5 +53,6 @@
|
|
|
<if test="inputStr !=null and inputStr != ''">
|
|
|
AND (UPPER(t.spell) LIKE CONCAT('%', UPPER(TRIM(#{inputStr})),'%') OR UPPER(t.dept_name) LIKE CONCAT('%', UPPER(TRIM(#{inputStr})),'%'));
|
|
|
</if>
|
|
|
+ ORDER BY t.dept_name ASC
|
|
|
</select>
|
|
|
</mapper>
|