add:添加中鼎调用服务类
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user