add:添加中鼎调用服务类

This commit is contained in:
zhangzq
2026-06-03 13:55:10 +08:00
parent b7bf01d89d
commit 31d492750d
2 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
package org.nl.wms.ext_manage.service;
import com.alibaba.fastjson.JSONObject;
import org.nl.wms.ext_manage.service.dto.ZDInventory;
import org.springframework.http.ResponseEntity;
/**
* <p>
* WMS调用中鼎服务类
* </p>
*
* @author Liuxy
* @since 2025-06-03
*/
public interface WmsToZDWmdService {
/**
* 生产领料需求单下发
* @param whereJson {
* data []
* }
* @return JSONObject {
* status: 200 / !=200
* message 信息
* }
*/
ResponseEntity syncDemandOrder(JSONObject whereJson);
/**
* 采购入库单下发
*/
ResponseEntity syncPurchaseReceiving(JSONObject whereJson);
/**
*
*/
ResponseEntity<ZDInventory> queryInventory(String materialCode);
}

View File

@@ -0,0 +1,23 @@
package org.nl.wms.ext_manage.service.dto;
public class ZDInventory {
private String id;
/**
* 物料编码
*/
private String materialCode;
/**
* 物料名称
*/
private String materialName;
/**
* 物料总数量
*/
private String totalQty;
/**
* 所属仓库
*/
private String storCode;
}