sql修复

This commit is contained in:
hongchao 2025-09-19 14:54:54 +08:00
parent 0ae0d50578
commit 130440d3d8
1 changed files with 1 additions and 1 deletions

View File

@ -851,7 +851,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN `micro-tool`.bzgl_bz bz ON bp.external_id = bz.project_id
AND bz.bzmc = bu.unit_name
WHERE
sai.`status` = 0 and bu.type_id = 1731
sai.`status` = 0 and bu.type_id = 1731 and bp.pro_id is not null
<if test="keyWord != null and keyWord != ''">
and (
bu.unit_name like concat('%',#{keyWord},'%') or