wanfa99 2 лет назад
Родитель
Сommit
b6845595db

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/openApi/mapper/xml/PurchaseWarehousingMapper.xml

@@ -366,7 +366,7 @@
         update PO_Podetails set iReceivedQTY=#{map.iReceivedQTY} where ID=#{map.ID}
     </update>
 
-    <select id="getOMMODetails" parameterType="java.lang.String" resultType="java.util.HashMap">
+    <select id="getOMMoDetails" parameterType="java.lang.String" resultType="java.util.HashMap">
         select * from OM_MODetails where MODetailsID=#{moDetailsId}
     </select>
     <update id="updateOMMODetailsfreceivedqty" parameterType="java.util.HashMap">

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/openApi/service/impl/PurchaseWarehousingServiceImpl.java

@@ -753,7 +753,7 @@ public class PurchaseWarehousingServiceImpl extends ServiceImpl<PurchaseWarehous
             for(Map<String,Object> recordsMap:rdRecords01List){
                 Map<String,Object> vouchsMap=new HashMap<>();
                 //获取下游委外订单行数据
-                Map<String,Object> mapOMMODetails=this.baseMapper.getOMMoDetails(String.valueOf(recordsMap.get("downstreamRowId")));//1
+                Map<String,Object> mapOMMODetails=this.baseMapper.getOMMoDetails(String.valueOf(recordsMap.get("moDetailId")));//1
                 if(mapOMMODetails==null){
                     throw new RuntimeException("第"+vI+"行未找到对应下游委外订单表体行");
                 }