ysh 2 gadi atpakaļ
vecāks
revīzija
821939332a

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

@@ -49,7 +49,7 @@ public interface SubcontractingOrderMapper extends BaseMapper<SubcontractingOrde
      * @param StuNo 单据类型  rd:入库单
      * @return
      */
-    Map<String,Integer> callGetUAMaxPK(@Param("StuNo") String StuNo);
+    Map<String,Integer> callGetUAMaxPK(@Param("StuNo") String StuNo,@Param("accId") String accId);
 
     /**
      * 根据委外订单编码获取订单详情

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

@@ -7,7 +7,7 @@
     </select>
 
     <select id="callGetUAMaxPK" resultType="map">
-        exec getUAMaxCode @StuNo = #{StuNo}
+        exec getUAMaxCode @StuNo = #{StuNo} ,@accId = #{accId}
     </select>
     
     <select id="selectInfoByCode" resultType="map">

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

@@ -53,7 +53,7 @@ public class SubcontractingOrderImpl extends ServiceImpl<SubcontractingOrderMapp
     @Transactional(propagation = Propagation.REQUIRES_NEW)
     @DS("multi-three")
     public Map<String,Integer> callGetUAMaxPK(String StuNo) {
-        Map<String,Integer> map = subcontractingOrderMapper.callGetUAMaxPK(StuNo);
+        Map<String,Integer> map = subcontractingOrderMapper.callGetUAMaxPK(StuNo,"103");
         Map<String,Integer> map1 = new HashMap<>();
 
         if(map.get("iFatherId") != null){//主表主键