Commit 3d75cc0e by liyanlin

fix

parent 8acd20e4
......@@ -12,7 +12,7 @@
left join `user` u on u.userid = ah.approval_user_id
left join status s2 on s2.statusname = 'cost_status' and s2.statuskey = ah.cost_status
where ah.approval_time between #{req.startTime} and #{req.endTime}
<if test="req.costStatus != null">and ah.cost_status = #{costStatus}</if>
<if test="req.costStatus != null">and ah.cost_status = #{req.costStatus}</if>
<if test="req.typeNo != null and req.typeNo != ''">and c.type_no = #{req.typeNo}</if>
<if test="req.userId != null and req.userId != ''">and ah.approval_user_id = #{req.userId}</if>
<if test="req.costNo != null and req.costNo != ''">and ah.cost_no like concat('%',#{req.costNo},'%')</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