工机具管理-库管员配置;维修班配置

This commit is contained in:
sliang 2023-12-19 09:58:39 +08:00
parent c63a3cf187
commit b6f46c6b4f
4 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="typeName != null and typeName != ''"> <if test="typeName != null and typeName != ''">
AND mt3.type_name like concat('%', #{typeName}, '%') AND mt3.type_name like concat('%', #{typeName}, '%')
</if> </if>
ORDER BY 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">
@ -48,5 +49,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userName != null and userName != ''"> <if test="userName != null and userName != ''">
AND su.user_name like concat('%', #{userName}, '%') AND su.user_name like concat('%', #{userName}, '%')
</if> </if>
ORDER BY su.user_id DESC
</select> </select>
</mapper> </mapper>

View File

@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="typeName != null and typeName != ''"> <if test="typeName != null and typeName != ''">
AND mt3.type_name like concat('%', #{typeName}, '%') AND mt3.type_name like concat('%', #{typeName}, '%')
</if> </if>
ORDER BY 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">
@ -48,5 +49,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userName != null and userName != ''"> <if test="userName != null and userName != ''">
AND su.user_name like concat('%', #{userName}, '%') AND su.user_name like concat('%', #{userName}, '%')
</if> </if>
ORDER BY su.user_id DESC
</select> </select>
</mapper> </mapper>

View File

@ -117,6 +117,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="projectId != null and projectId != ''"> <if test="projectId != null and projectId != ''">
and bp.lot_id = #{projectId} and bp.lot_id = #{projectId}
</if> </if>
ORDER BY bai.agreement_id DESC
</select> </select>
<select id="getUnitList" resultType="com.bonus.sgzb.material.domain.AgreementInfo"> <select id="getUnitList" resultType="com.bonus.sgzb.material.domain.AgreementInfo">

View File

@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="modelId != null and modelId != ''"> <if test="modelId != null and modelId != ''">
and mt.type_id = #{modelId} and mt.type_id = #{modelId}
</if> </if>
ORDER BY iad.id DESC
</select> </select>
<select id="getTypeList" resultType="com.bonus.sgzb.material.domain.ReturnOfMaterialsInfo"> <select id="getTypeList" resultType="com.bonus.sgzb.material.domain.ReturnOfMaterialsInfo">