Explorar el Código

星闪豹支付改动

wangming hace 3 días
padre
commit
33a0dee237

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