绑定关系优化
This commit is contained in:
parent
0c3b9db93d
commit
7d05d66430
|
|
@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="typeName != null and typeName != ''">
|
<if test="typeName != null and typeName != ''">
|
||||||
AND mt2.type_name like concat('%', #{typeName}, '%')
|
AND mt2.type_name like concat('%', #{typeName}, '%')
|
||||||
</if>
|
</if>
|
||||||
ORDER BY mt.type_id DESC
|
ORDER BY su.user_id DESC, mt.type_id DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getMaUserList" resultType="com.bonus.sgzb.base.domain.MaintenanceGang">
|
<select id="getMaUserList" resultType="com.bonus.sgzb.base.domain.MaintenanceGang">
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="typeName != null and typeName != ''">
|
<if test="typeName != null and typeName != ''">
|
||||||
AND mt2.type_name like concat('%', #{typeName}, '%')
|
AND mt2.type_name like concat('%', #{typeName}, '%')
|
||||||
</if>
|
</if>
|
||||||
ORDER BY mt.type_id DESC
|
ORDER BY su.user_id DESC, mt.type_id DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getMaUserList" resultType="com.bonus.sgzb.base.domain.WarehouseKeeper">
|
<select id="getMaUserList" resultType="com.bonus.sgzb.base.domain.WarehouseKeeper">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue