bug 修改

This commit is contained in:
jiang 2025-07-16 22:33:10 +08:00
parent 1d3fb7e535
commit 8596e17ab5
1 changed files with 9 additions and 3 deletions

View File

@ -34,9 +34,15 @@
from car_plan_apply cpa
left join bm_project pro on pro.bid_id=cpa.pro_id
where 1=1 and cpa.apply_type=0
<if test="auditStatus!=null and auditStatus!=''">
and status=#{auditStatus}
</if>
<if test="auditStatus == 1">
and status = 1 and status_type != 1
</if>
<if test="auditStatus == 2">
and status = 1 and status_type = 1
</if>
<if test="auditStatus == 3">
and status = 3
</if>
<if test="keyWord!=null and keyWord!=''">
and (cpa.code like concat('%',#{keyWord},'%') or
pro.name like concat('%',#{keyWord},'%') or