Browse Source

问题修改

zhs 2 years ago
parent
commit
510fd20c12

+ 3 - 1
src/main/resources/mapper/AskGoodsMapper.xml

@@ -270,7 +270,9 @@
             e.name as department,
             g.storage_location_name as storageLocationName,
             a.scrq,
-            a.num
+            a.num,
+            a.storage_code,
+            a.wbs
         from tld_removal a
         left join tld_material b on a.wllb_code = b.code
         left join tld_user c on a.user_id = c.id

+ 1 - 1
src/main/resources/mapper/WarehousingMapper.xml

@@ -148,7 +148,7 @@
         insert into tld_storage(wllb_code,supplier_id,serial,produc_date,produc_batch,capacity,seq,type,user_id,department_id,storage_location_code,scrq,storage_code,wbs)
         values
         <foreach collection="list" index="index" item="item" separator=",">
-            (#{item.wllbCode},#{item.suppId},#{item.serial},#{item.producDate},#{item.producDate},#{item.num},#{item.seq},#{item.type},#{item.userId},#{item.departmentId},#{item.storageLocationCode},now(),#{storageCode},#{wbs})
+            (#{item.wllbCode},#{item.suppId},#{item.serial},#{item.producDate},#{item.producDate},#{item.num},#{item.seq},#{item.type},#{item.userId},#{item.departmentId},#{item.storageLocationCode},now(),#{item.storageCode},#{item.wbs})
         </foreach>
     </insert>
     <!-- 插入库存 -->