From 180b6ead52f47ce31625878bd6fadbbafdd675e8 Mon Sep 17 00:00:00 2001 From: wangh <123456> Date: Sat, 23 Jul 2022 09:41:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=80=BB=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/system/BroadDataMapper.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml index e96406a..aeabe79 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml @@ -157,7 +157,7 @@ FROM (select PLAN_NUMBER select nvl(sum(actual_qty), 0) from IMOS.IMOS_PR_PLAN ipp - left join (select * from haiwei.BASE_DAY_WBTIME where ROWNUM = 1 order by CREATE_TIME desc) wb on 1=1 + left join (select * from (select * from haiwei.BASE_DAY_WBTIME order by CREATE_TIME desc) where ROWNUM = 1) wb on 1=1 where plan_date is not null and process_code = 1002 and delete_flag = '0' @@ -530,7 +530,7 @@ from (