Commit 275cf636 by jianan

来佣比对查询列表sql报错3

parent 4e51da61
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</when> </when>
<otherwise> <otherwise>
<if test="compareDate != null"> <if test="compareDate != null">
and (o.commission_check_id is null or date_format(f.withdrawable_date, '%Y-%m') &lt;= #{compareDate}) and (o.commission_check_id is null and date_format(f.withdrawable_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