材料站下拉框

This commit is contained in:
hongchao 2025-09-19 14:29:00 +08:00
parent 0a6f204afc
commit 9260cd9822
3 changed files with 16 additions and 3 deletions

View File

@ -250,6 +250,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="departName != null and departName != ''"> <if test="departName != null and departName != ''">
and bp.pro_center LIKE CONCAT('%', #{departName}, '%') and bp.pro_center LIKE CONCAT('%', #{departName}, '%')
</if> </if>
<if test="proName != null and proName != ''">
and bp.pro_name LIKE CONCAT('%', #{proName}, '%')
</if>
<if test="teamName != null and teamName != ''"> <if test="teamName != null and teamName != ''">
and bt.unit_name LIKE CONCAT('%', #{teamName}, '%') and bt.unit_name LIKE CONCAT('%', #{teamName}, '%')
</if> </if>
@ -643,6 +646,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="departName != null and departName != ''"> <if test="departName != null and departName != ''">
and bp.pro_center LIKE CONCAT('%', #{departName}, '%') and bp.pro_center LIKE CONCAT('%', #{departName}, '%')
</if> </if>
<if test="proName != null and proName != ''">
and bp.pro_name LIKE CONCAT('%', #{proName}, '%')
</if>
<if test="teamName != null and teamName != ''"> <if test="teamName != null and teamName != ''">
and bt.unit_name LIKE CONCAT('%', #{teamName}, '%') and bt.unit_name LIKE CONCAT('%', #{teamName}, '%')
</if> </if>

View File

@ -410,6 +410,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="departName != null and departName != ''"> <if test="departName != null and departName != ''">
and bp.pro_center LIKE CONCAT('%', #{departName}, '%') and bp.pro_center LIKE CONCAT('%', #{departName}, '%')
</if> </if>
<if test="proName != null and proName != ''">
and bp.pro_name LIKE CONCAT('%', #{proName}, '%')
</if>
<if test="teamName != null and teamName != ''"> <if test="teamName != null and teamName != ''">
and bt.unit_name LIKE CONCAT('%', #{teamName}, '%') and bt.unit_name LIKE CONCAT('%', #{teamName}, '%')
</if> </if>
@ -860,7 +863,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
su.nick_name as outPerson, su.nick_name as outPerson,
lai.`code` as code, lai.`code` as code,
bp.imp_unit as impUnit, bp.imp_unit as impUnit,
bt.bzz_idcard as idCard bt.bzz_idcard as idCard,
lai.sub_unit_name as subUnitName
FROM FROM
clz_lease_out_details lod clz_lease_out_details lod
LEFT JOIN ma_type mt ON lod.type_id = mt.type_id LEFT JOIN ma_type mt ON lod.type_id = mt.type_id
@ -882,6 +886,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="departName != null and departName != ''"> <if test="departName != null and departName != ''">
and bp.pro_center LIKE CONCAT('%', #{departName}, '%') and bp.pro_center LIKE CONCAT('%', #{departName}, '%')
</if> </if>
<if test="proName != null and proName != ''">
and bp.pro_name LIKE CONCAT('%', #{proName}, '%')
</if>
<if test="teamName != null and teamName != ''"> <if test="teamName != null and teamName != ''">
and bt.unit_name LIKE CONCAT('%', #{teamName}, '%') and bt.unit_name LIKE CONCAT('%', #{teamName}, '%')
</if> </if>

View File

@ -784,8 +784,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="proName != null and proName != ''"> <if test="proName != null and proName != ''">
and bp.pro_name LIKE CONCAT('%', #{proName}, '%') and bp.pro_name LIKE CONCAT('%', #{proName}, '%')
</if> </if>
<if test="materialName != null and materialName != ''"> <if test="typeName != null and typeName != ''">
and mt3.type_name LIKE CONCAT('%', #{materialName}, '%') and mt2.type_name LIKE CONCAT('%', #{typeName}, '%')
</if> </if>
<if test="teamName != null and teamName != ''"> <if test="teamName != null and teamName != ''">
and bu.unit_name LIKE CONCAT('%', #{teamName}, '%') and bu.unit_name LIKE CONCAT('%', #{teamName}, '%')