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 (