bug 修改
This commit is contained in:
parent
1d3fb7e535
commit
8596e17ab5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue