Browse Source

2023年2月3日17:26:00

纪新园 2 years ago
parent
commit
7f4504ac25

+ 2 - 1
ruoyi-warehouse/src/main/resources/mapper/warehouseBusiness/TWarehousebillsMapper.xml

@@ -1108,9 +1108,10 @@
         AND dicttr.STATUS = '0'
         AND dicttr.dict_type = 'data_trademodes'
         AND leg.f_billtype IN (
-        'SJRk',
+        'SJRK',
         'SJCK'
         )
+        AND it.f_billstatus = 40
         <if test="fBilltype != null">AND leg.f_billtype = #{fBilltype}</if>
         <if test="fGoodsid != null ">and it.f_goodsid = #{fGoodsid}</if>
         <if test="fTrademodeid != null ">and leg.f_trademodeid = #{fTrademodeid}</if>