Browse Source

20230213 17:03

wangzhuo 2 năm trước cách đây
mục cha
commit
a26a5520da

+ 4 - 5
ruoyi-warehouse/src/main/resources/mapper/basicData/TWarehouseMapper.xml

@@ -701,9 +701,8 @@
 
     <select id="inventoryQueries" resultType="com.ruoyi.warehouseBusiness.response.InventoryQueryResponse">
         SELECT
-            TW.f_originalbillno AS warehouseSerialNumber,
+            TW.f_mblno AS warehouseSerialNumber,
             TW.f_originalbilldate AS originalWarehousingDate,
-            TW.f_mblno AS bl_no,
             TG.f_name AS cargoName,
             TW.f_marks AS cargoModel,
             TG.f_specs AS cargoSpec,
@@ -739,7 +738,7 @@
                 and TC.uscc = #{identifier}
             </if>
             <if test="numbersList != null and numbersList != ''">
-                and TW.f_originalbillno in
+                and TW.f_mblno in
                 <foreach item="number" collection="numbersList" open="(" separator="," close=")">
                     #{number}
                 </foreach>
@@ -762,7 +761,7 @@
                 and TC.uscc = #{identifier}
             </if>
             <if test="numbers != null and numbers != ''">
-                and  TW.f_billno = #{numbers}
+                and  TW.f_mblno = #{numbers}
             </if>
         </where>
     </update>
@@ -780,7 +779,7 @@
                 and TC.uscc = #{identifier}
             </if>
             <if test="numbers != null and numbers != ''">
-                and  TW.f_billno = #{numbers}
+                and  TW.f_mblno = #{numbers}
             </if>
         </where>
     </update>