Browse Source

推送srm调整

fenghaifu 1 week ago
parent
commit
84057472c6

+ 15 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/shippingDetails/service/ISyShippingDetailsService.java

@@ -2,6 +2,7 @@ package org.jeecg.modules.documents.shippingDetails.service;
 
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.apache.ibatis.annotations.Param;
 import org.jeecg.modules.documents.shippingDetails.entity.SyShippingDetails;
 import com.baomidou.mybatisplus.extension.service.IService;
 import org.jeecg.modules.documents.shippingDetails.entity.VO.*;
@@ -66,5 +67,19 @@ public interface ISyShippingDetailsService extends IService<SyShippingDetails> {
 
     public List<PurchasePreDeliverVo> getPurchasePreDeliverVo(List<String> id);
 
+    /**
+     * 传入出运明细主表ID,返货根据订单、出运日期、group_id分组的多个预发货单
+     * @param id
+     * @return
+     */
+    public List<PurchasePreDeliverVo> getPurchasePreDeliverVoList(String id);
     public void getStrings(List<String> idsList);
+
+    // 获取待推送SRM的主表信息
+    List<String> getPushSrmIds();
+
+    // 回写SRM推送结果
+    void setPurshInfo(List<String> groupIdList,
+                     String status,
+                     String message);
 }