Browse Source

u8查询优化

hu 3 weeks ago
parent
commit
4d89d83271

+ 1 - 1
src/custom/restcontroller/webmanage/sale/u8/SQL/销售出库U8上传序列号查询.sql

@@ -33,7 +33,7 @@ FROM
         FROM
             st_stockbill t1
                 INNER JOIN st_stockbill_items t2 ON t1.st_stockbillid = t2.st_stockbillid
-                LEFT JOIN u8 t3 ON t3.period = t1.period
+                inner JOIN u8 t3 ON t3.period = t1.period
                 AND t1.billdate <= t3.billdate
                 AND t3.u8id = $u8id$
                 INNER JOIN st_stock t4 ON t2.stockid = t4.stockid