Browse Source

充值列表,时间查询优化

zhaoxian 2 years ago
parent
commit
47ce3b3965

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/finance/payment/mapper/xml/FinancePaymentRechargeApplicationMapper.xml

@@ -105,7 +105,7 @@
             </if>
             <if test="startDate != null and startDate != '' ">
                 and t1.create_time >= #{startDate}
-                and t1.create_time &lt;= #{endDate}
+                and t1.create_time &lt;= concat(#{endDate},' 23:59:59')
             </if>
         </where>
         GROUP BY t1.id