绑定关系优化

This commit is contained in:
sxu 2024-11-25 17:12:34 +08:00
parent 0c3b9db93d
commit 7d05d66430
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="typeName != null and typeName != ''">
AND mt2.type_name like concat('%', #{typeName}, '%')
</if>
ORDER BY mt.type_id DESC
ORDER BY su.user_id DESC, mt.type_id DESC
</select>
<select id="getMaUserList" resultType="com.bonus.sgzb.base.domain.MaintenanceGang">

View File

@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="typeName != null and typeName != ''">
AND mt2.type_name like concat('%', #{typeName}, '%')
</if>
ORDER BY mt.type_id DESC
ORDER BY su.user_id DESC, mt.type_id DESC
</select>
<select id="getMaUserList" resultType="com.bonus.sgzb.base.domain.WarehouseKeeper">