浏览代码

星闪豹支付改动

wangming 3 天之前
父节点
当前提交
33a0dee237
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      yami-shop-service/src/main/resources/mapper/PointsRecordMapper.xml

+ 3 - 2
yami-shop-service/src/main/resources/mapper/PointsRecordMapper.xml

@@ -127,10 +127,10 @@
                 AND b.user_mobile LIKE CONCAT("%",#{po.mobile},"%")
             </if>
             <if test="po.startTime != null and po.startTime != ''">
-                and ort.create_time&gt;= #{po.startTime}
+                and a.creation_date&gt;= #{po.startTime}
             </if>
             <if test="po.endTime != null and po.endTime != ''">
-                and ort.create_time&lt;= #{po.endTime}
+                and a.creation_date&lt;= #{po.endTime}
             </if>
             <if test="po.businessType != null and po.businessType != ''">
                 <if test="po.businessType == 'CZ'">
@@ -147,6 +147,7 @@
                 </if>
             </if>
         </where>
+        order by a.creation_date desc
     </select>
 
 </mapper>