From 3e14829b2d8b40dda14e6e552258948e3aefc99f Mon Sep 17 00:00:00 2001 From: liujiang <569804566@qq.com> Date: Mon, 8 Dec 2025 21:18:52 +0800 Subject: [PATCH] =?UTF-8?q?master=EF=BC=9A=E7=B3=BB=E7=BB=9F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E8=B0=83=E4=BC=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xkt/src/main/resources/mapper/AdvertStoreFileMapper.xml | 2 +- xkt/src/main/resources/mapper/StoreMemberMapper.xml | 2 +- .../resources/mapper/StoreProductDemandDetailMapper.xml | 2 +- xkt/src/main/resources/mapper/StoreProductFileMapper.xml | 2 +- xkt/src/main/resources/mapper/StoreProductMapper.xml | 2 +- .../resources/mapper/StoreProductStorageDetailMapper.xml | 4 ++-- xkt/src/main/resources/mapper/StoreProductStorageMapper.xml | 2 +- xkt/src/main/resources/mapper/StoreSaleMapper.xml | 6 +++--- xkt/src/main/resources/mapper/UserNoticeMapper.xml | 4 ++-- xkt/src/main/resources/mapper/UserSubscriptionsMapper.xml | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/xkt/src/main/resources/mapper/AdvertStoreFileMapper.xml b/xkt/src/main/resources/mapper/AdvertStoreFileMapper.xml index 705ca5c6a..e8b3a742d 100644 --- a/xkt/src/main/resources/mapper/AdvertStoreFileMapper.xml +++ b/xkt/src/main/resources/mapper/AdvertStoreFileMapper.xml @@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND ssf.type_id = #{typeId} ORDER BY - ssf.create_time DESC + ssf.id DESC \ No newline at end of file diff --git a/xkt/src/main/resources/mapper/StoreMemberMapper.xml b/xkt/src/main/resources/mapper/StoreMemberMapper.xml index d71d50279..8393be1ac 100644 --- a/xkt/src/main/resources/mapper/StoreMemberMapper.xml +++ b/xkt/src/main/resources/mapper/StoreMemberMapper.xml @@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ORDER BY - sm.create_time DESC + sm.id DESC diff --git a/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml b/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml index a92d47265..60c188f04 100644 --- a/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml +++ b/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml @@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and spdd.emergency = #{emergency} and spdd.detail_status = #{demandStatus} ORDER BY - spdd.create_time DESC + spdd.id DESC diff --git a/xkt/src/main/resources/mapper/StoreProductFileMapper.xml b/xkt/src/main/resources/mapper/StoreProductFileMapper.xml index 06d3c4328..e15421c4c 100644 --- a/xkt/src/main/resources/mapper/StoreProductFileMapper.xml +++ b/xkt/src/main/resources/mapper/StoreProductFileMapper.xml @@ -163,7 +163,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND spf2.file_type = 1 AND spf2.order_num = 1 ORDER BY - spf2.create_time DESC + spf2.id DESC LIMIT 1 ); diff --git a/xkt/src/main/resources/mapper/StoreProductMapper.xml b/xkt/src/main/resources/mapper/StoreProductMapper.xml index 227ce3753..769176382 100644 --- a/xkt/src/main/resources/mapper/StoreProductMapper.xml +++ b/xkt/src/main/resources/mapper/StoreProductMapper.xml @@ -329,7 +329,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" GROUP BY sp.id ORDER BY - sp.create_time DESC + sp.id DESC LIMIT 10 diff --git a/xkt/src/main/resources/mapper/StoreProductStorageDetailMapper.xml b/xkt/src/main/resources/mapper/StoreProductStorageDetailMapper.xml index 0f1f1db12..a76202051 100644 --- a/xkt/src/main/resources/mapper/StoreProductStorageDetailMapper.xml +++ b/xkt/src/main/resources/mapper/StoreProductStorageDetailMapper.xml @@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND sps.storage_type = #{storageType} ORDER BY - spsd.create_time DESC + spsd.id DESC \ No newline at end of file diff --git a/xkt/src/main/resources/mapper/StoreProductStorageMapper.xml b/xkt/src/main/resources/mapper/StoreProductStorageMapper.xml index 8bfeaf439..fb9e05832 100644 --- a/xkt/src/main/resources/mapper/StoreProductStorageMapper.xml +++ b/xkt/src/main/resources/mapper/StoreProductStorageMapper.xml @@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and sps.voucher_date >= #{createTimeStart} and sps.voucher_date <= #{createTimeEnd} ORDER BY - sps.create_time DESC + sps.id DESC diff --git a/xkt/src/main/resources/mapper/StoreSaleMapper.xml b/xkt/src/main/resources/mapper/StoreSaleMapper.xml index d22adcde4..667b53430 100644 --- a/xkt/src/main/resources/mapper/StoreSaleMapper.xml +++ b/xkt/src/main/resources/mapper/StoreSaleMapper.xml @@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and ss.voucher_date >= #{createTimeStart} and ss.voucher_date <= #{createTimeEnd} ORDER BY - ss.create_time DESC + ss.id DESC diff --git a/xkt/src/main/resources/mapper/UserNoticeMapper.xml b/xkt/src/main/resources/mapper/UserNoticeMapper.xml index b0c9591f2..98d384f13 100644 --- a/xkt/src/main/resources/mapper/UserNoticeMapper.xml +++ b/xkt/src/main/resources/mapper/UserNoticeMapper.xml @@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND un.user_id = #{userId} ORDER BY - un.create_time DESC, + un.id DESC, un.target_notice_type @@ -60,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND un.target_notice_type = #{targetNoticeType} AND un.user_id = #{userId} ORDER BY - un.create_time DESC + un.id DESC \ No newline at end of file diff --git a/xkt/src/main/resources/mapper/UserSubscriptionsMapper.xml b/xkt/src/main/resources/mapper/UserSubscriptionsMapper.xml index ee78fcf91..b6ae3d4e1 100644 --- a/xkt/src/main/resources/mapper/UserSubscriptionsMapper.xml +++ b/xkt/src/main/resources/mapper/UserSubscriptionsMapper.xml @@ -24,7 +24,7 @@ us.del_flag = 0 AND us.user_id = #{userId} and s.store_name LIKE CONCAT('%', #{storeName}, '%') ORDER BY - us.create_time DESC + us.id DESC