This commit is contained in:
gmhao 2023-12-19 01:48:17 +08:00
parent d435d728e7
commit 0e6b525cbd
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_dept b on a.dept_id = b.dept_id left join sys_dept b on a.dept_id = b.dept_id
left join sys_dic c on a.type_id = c.id left join sys_dic c on a.type_id = c.id
where a.del_flag ='0' where a.del_flag ='0'
<if test="proId != null and proId != ''"> <if test="lotId != null and lotId != ''">
AND pro_id = #{proId} AND lot_id = #{lotId}
</if> </if>
<if test="lotName != null and lotName != ''"> <if test="lotName != null and lotName != ''">
AND lot_name like concat('%', #{lotName}, '%') AND lot_name like concat('%', #{lotName}, '%')