fix:未出账单定时任务修改,脚本备份。
This commit is contained in:
@@ -56,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="accountId != null and accountId != ''"> and a.account_id = #{accountId}</if>
|
||||
<if test="dealType != null and dealType != ''"> and a.deal_type = #{dealType}</if>
|
||||
<if test="dealCategory != null and dealCategory != ''"> and a.deal_category = #{dealCategory}</if>
|
||||
|
||||
<if test="endTime!=null and endTime !=''">
|
||||
and #{endTime}>=to_char(a.create_time, 'yyyy-MM-dd')
|
||||
</if>
|
||||
@@ -63,11 +64,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and to_char(a.create_time, 'yyyy-MM-dd')>=#{startTime}
|
||||
</if>
|
||||
<if test="endDateTime!=null">
|
||||
and #{endDateTime}>a.create_time
|
||||
and #{endDateTime}>=a.create_time
|
||||
</if>
|
||||
<if test="startDateTime!=null">
|
||||
and a.create_time>=#{startDateTime}
|
||||
</if>
|
||||
<if test="creditBill!=null">
|
||||
and a.deal_category!=#{creditBill}
|
||||
</if>
|
||||
|
||||
</where>
|
||||
order by a.create_time desc
|
||||
|
||||
Reference in New Issue
Block a user