@@ -649,10 +649,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<sql id="arBillCutoffDateCondition">
|
||||
<choose>
|
||||
<when test="dateType != null and dateType == 'PICKUP_DATE'">
|
||||
and p.pickup_date < DATE_ADD(#{cutoffDate}, INTERVAL 1 DAY)
|
||||
and p.pickup_date <= CONCAT(DATE_FORMAT(#{cutoffDate}, '%Y-%m-%d'), ' 23:59:59')
|
||||
</when>
|
||||
<otherwise>
|
||||
and p.biz_date < DATE_ADD(#{cutoffDate}, INTERVAL 1 DAY)
|
||||
and p.biz_date <= CONCAT(DATE_FORMAT(#{cutoffDate}, '%Y-%m-%d'), ' 23:59:59')
|
||||
</otherwise>
|
||||
</choose>
|
||||
</sql>
|
||||
|
||||
Reference in New Issue
Block a user