Ver código fonte

问题修改

xiaochen 2 anos atrás
pai
commit
43d2cd65c5

+ 3 - 3
src/main/java/com/tld/service/impl/AskGoodsServiceImpl.java

@@ -1180,9 +1180,9 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             for (String noticeId : noticeIds) {
                 //删除父子表信息
                 //根据code
-            askGoodsMapper.delNoticesParent(noticeId);
-            //根据id
-            askGoodsMapper.delNoticesSubtabulation(noticeId);
+            askGoodsMapper.delNoticesParent(removalCode);
+//            //根据id
+//            askGoodsMapper.delNoticesSubtabulation(noticeId);
             }
             //添加记录到tld_access
             String names = "其它入库";

+ 2 - 2
src/main/resources/mapper/AskGoodsMapper.xml

@@ -1130,8 +1130,8 @@
     <!--删除其它入库父表信息-->
     <delete id="delNoticesParent">
         delete
-        from tld_notices_f
-        where notice_id = #{noticeId}
+        from tld_return_gs_other_warehousing
+        where storage_code = #{noticeId}
     </delete>
     <!--删除其它入库子表信息-->
     <delete id="delNoticesSubtabulation">