Commit 2b0faf07 by jianan

来佣比对列表查询时间过滤条件

parent c657264f
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</when> </when>
<otherwise> <otherwise>
<if test="compareDate != null"> <if test="compareDate != null">
and date_format(o.order_date, '%Y-%m') = #{compareDate} and date_format(o.order_date, '%Y-%m') &lt; #{compareDate}
</if> </if>
<if test="insurerId != null"> <if test="insurerId != null">
and o.insurer_id = #{insurerId} and o.insurer_id = #{insurerId}
......
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