大屏二级页面模糊查询

This commit is contained in:
liang.chao 2024-09-05 18:26:00 +08:00
parent 35e264680c
commit 9811e4bc1e
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE WHERE
bpl.lot_id = #{lotId} bpl.lot_id = #{lotId}
<if test="code != null and code != ''"> <if test="code != null and code != ''">
and lai.code = #{code} and lai.code like concat('%', #{code}, '%')
</if> </if>
<if test="typeId != null"> <if test="typeId != null">
and mt.type_id = #{typeId} and mt.type_id = #{typeId}