Commit 448c42d3 by liyanlin

fix

parent fa93ceff
...@@ -283,6 +283,7 @@ ...@@ -283,6 +283,7 @@
select c.* from cost c select c.* from cost c
left join cost_current_reviewer ccr on ccr.cost_no = c.cost_no left join cost_current_reviewer ccr on ccr.cost_no = c.cost_no
where ccr.oa_user_id = #{req.userid} where ccr.oa_user_id = #{req.userid}
and c.cost_status != 5
<if test="req.costNo !=null and req.costNo !=''">and c.cost_no like concat('%',#{req.costNo},'%')</if> <if test="req.costNo !=null and req.costNo !=''">and c.cost_no like concat('%',#{req.costNo},'%')</if>
<if test="req.companyNo!=null and req.companyNo!='' ">and c.company_no = #{req.companyNo}</if> <if test="req.companyNo!=null and req.companyNo!='' ">and c.company_no = #{req.companyNo}</if>
<if test="req.costForm!=null">and c.cost_form = #{req.costForm}</if> <if test="req.costForm!=null">and c.cost_form = #{req.costForm}</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment