From 65e6e4a2b2e3daba29d2bb6aafa587db4aa097cb Mon Sep 17 00:00:00 2001 From: zhangxin Date: Sat, 14 May 2022 18:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddashboard=E5=9B=BE=E4=BE=8B1?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=97=B6=E9=97=B4=E6=8E=92=E5=BA=8F=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pln/implments/CustOrder.service.impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pln/implments/CustOrder.service.impl.go b/services/pln/implments/CustOrder.service.impl.go index 6f851fc..2ed68f0 100644 --- a/services/pln/implments/CustOrder.service.impl.go +++ b/services/pln/implments/CustOrder.service.impl.go @@ -1709,7 +1709,7 @@ func (impl *CustOrderServiceImplement) QuickSortProductData(values []model.HourP head, tail := 0, len(values)-1 for head < tail { iTime := values[i].LastDoneTime - if iTime.Before(midTime) { + if iTime.After(midTime) { values[i], values[tail] = values[tail], values[i] tail-- } else {