工程查询修改

This commit is contained in:
haozq 2025-01-17 14:25:30 +08:00
parent 0ec4e0327f
commit ec9cb9bc38
2 changed files with 7 additions and 1 deletions

View File

@ -27,6 +27,9 @@
AND (
INSTR(spa.code,#{keyWord}) > 0 OR
INSTR(spa.creator,#{keyWord}) > 0 OR
INSTR(spa.project_part,#{keyWord}) > 0 OR
INSTR(spa.project_content,#{keyWord}) > 0 OR
INSTR(spa.remark,#{keyWord}) > 0 OR
INSTR(tbp.name,#{keyWord}) > 0
)
</if>

View File

@ -33,8 +33,11 @@
<where>
<if test="keyWord!=null and keyWord!=''">
AND (
INSTR(code,#{keyWord}) > 0
INSTR(code,#{keyWord}) > 0 or
INSTR(name,#{keyWord}) > 0 or
INSTR(remark,#{keyWord}) > 0
)
</if>
</where>
</select>