Commit ef56b732 by jianshuqin

修复BUG:日期过虑条件

parent 266fb527
......@@ -339,9 +339,9 @@
<if test=" req.isTax!=null ">and t1.is_tax=#{req.isTax}</if>
<if test=" req.isLend!=null ">and t1.is_lend=#{req.isLend}</if>
<if test=" req.beginTime != null">and t1.create_time <![CDATA[>=]]> #{req.beginTime}</if>
<if test=" req.endTime != null">and t1.create_time <![CDATA[<=]]>#{req.endTime}</if>
<if test=" req.endTime != null">and t1.create_time <![CDATA[<=]]>date_add(#{req.endTime},INTERVAL 1 day)</if>
<if test=" req.beginPayTime != null">and t1.actual_time <![CDATA[>=]]> #{req.beginPayTime}</if>
<if test=" req.endPayTime != null">and t1.actual_time <![CDATA[<=]]>#{req.endPayTime}</if>
<if test=" req.endPayTime != null">and t1.actual_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.bankCardUser !=null and req.bankCardUser !='' ">and t1.bank_card_user like concat('%',#{req.bankCardUser},'%')</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