diff --git a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml index b8b39f9..2e04cef 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml @@ -51,7 +51,7 @@ end) as order_type , Sum(Store_Qty) as stock , Store_Code - from IMOS_LO_STORE_DETIAL losd + from IMOS_LO_BIN losd where Store_Code =#{id} and Material_Code is not null and Store_Qty > 0 @@ -953,7 +953,7 @@ where 600 < ROUND(TO_NUMBER(t1.day - t2.day) * 24 * 60 * 60) - t3.RHYTHM substr( MATERIAL_NAME, instr(MATERIAL_NAME, '-', 1, 1) + 1, - instr(MATERIAL_NAME, ',', 1, 1) - 2 - instr(MATERIAL_NAME, '-', 1, 1) + 1) as name + instr(MATERIAL_NAME, ',', 1, 2) - 2 - instr(MATERIAL_NAME, '-', 1, 1) + 1) as name from IMOS_PR_PRODUCT_BARCODE ippb left join (select * from (select * from haiwei.BASE_DAY_WBTIME order by CREATE_TIME desc) where ROWNUM = 1) wb on 1 = 1