Przeglądaj źródła

销售订单单证 面辅料

liuchaohui 2 lat temu
rodzic
commit
153b43bbae

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/mapper/xml/SyOrderDataMapper.xml

@@ -59,10 +59,10 @@
                 AND b.surplus_num <![CDATA[ >= ]]> b.quantity
             </if>
              <if test="(sy.isProduct != null and sy.isProduct != '') and (sy.isProduct == '0' or sy.isProduct ==0) ">
-                 AND b.inventory_code like '19%'
+                 AND (b.inventory_code like '19%' or b.inventory_code like 'N19%')
              </if>
              <if test="(sy.isProduct != null and sy.isProduct != '') and (sy.isProduct == '1' or sy.isProduct == 1) ">
-                 AND b.inventory_code not like '19%'
+                 AND (b.inventory_code not like '19%' and b.inventory_code not like 'N19%')
              </if>
         GROUP BY a.id
         ORDER BY