Commit 46c4dcec by jianshuqin

修复费用单过虑所属项目问题

parent 82808019
......@@ -346,7 +346,7 @@
<if test=" req.endPayTime != null">and t1.pay_time <![CDATA[<=]]>date_add(#{req.endPayTime},INTERVAL 1 day)</if>
<if test=" req.linkCost!=null and req.linkCost != ''">and (t1.sup_cost_no=#{req.linkCost} or t1.cost_no=#{req.linkCost})</if>
<if test=" req.projectTypes!=null and req.projectTypes != ''">and find_in_set(t1.project_type,#{req.projectTypes})</if>
<if test=" req.project != null and req.project != ''">and t1.cost_no in (SELECT t12.cost_no FROM cost_detail t12 WHERE t12.project = #{req.project})</if>
<if test=" req.project != null and req.project != ''">and t1.cost_no in (SELECT * FROM ( SELECT t12.cost_no FROM cost_detail t12 WHERE t12.project = #{req.project} UNION SELECT t13.cost_no FROM cost t13 WHERE t13.cost_form = 2 AND t13.project = #{req.project} ) AS t14 )</if>
<if test="req.bankCardUser !=null and req.bankCardUser !='' ">and t1.bank_card_user like concat('%',#{req.bankCardUser},'%')</if>
<if test=" req.keys!=null and req.keys.size()>0 ">
and (false
......
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