diff --git a/ruoyi-system/src/main/resources/mapper/business/BusIntegralRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/business/BusIntegralRecordMapper.xml index 27c749c..f37c5a2 100644 --- a/ruoyi-system/src/main/resources/mapper/business/BusIntegralRecordMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/business/BusIntegralRecordMapper.xml @@ -36,9 +36,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and account = #{account} and platform = #{platform} and update_type = #{updateType} - and Integral_update_time = #{integralUpdateTime} + and DATE_FORMAT(Integral_update_time,'%Y-%m-%d') = DATE_FORMAT(#{integralUpdateTime},'%Y-%m-%d') and agent_remark = #{agentRemark} + ORDER BY DATE_FORMAT(Integral_update_time,'%Y-%m-%d') desc