From cb9d40e12c5c51397e8a86c89b113b12becd48a6 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Sat, 03 Jul 2021 18:04:33 +0800 Subject: [PATCH] fix jhy range --- gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml b/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml index 5e74ca4..7e52764 100644 --- a/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml +++ b/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml @@ -13,7 +13,7 @@ ,a.weight ,a.status ,a.remark - ,date_format(a.receiving_time, '%Y-%m-%d %H:%d') receivingTime + ,date_format(a.receiving_time, '%Y-%m-%d %H:%i') receivingTime ,CONCAT(a.reserve_date, ' ', a.reserve_time) reserveTime ,GROUP_CONCAT(b.title) items ,c.username jhyName @@ -35,6 +35,6 @@ </if> </where> group by a.id - order by a.id + order by a.receiving_time desc, a.id desc </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1