fix:未出账单定时任务修改,脚本备份。

This commit is contained in:
tianyongbao
2024-05-01 06:34:33 +08:00
parent 51e7f44fe1
commit 829ba7f996
6 changed files with 31 additions and 14 deletions

View File

@@ -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