2023-05-23 16:13:17 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Data;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
using System.IO;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using System.ServiceModel;
|
|
|
|
|
using System.ServiceModel.Web;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using DeiNiu.wms.Data.Model.Wcf;
|
|
|
|
|
|
|
|
|
|
namespace DeiNiu.Wcf
|
|
|
|
|
{
|
|
|
|
|
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IAndroid”。
|
|
|
|
|
[ServiceContract]
|
|
|
|
|
public interface IAndroid
|
|
|
|
|
{
|
2023-05-23 16:30:13 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "login?account={account}&passwd={passwd}")]
|
|
|
|
|
FormatedResult login(string account, string passwd);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "getPortAuths?userId={userId}&token={token}")]
|
|
|
|
|
FormatedResult getPortAuths(int userId, string token);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "validuser?userId={userId}&passwd={passwd}")]
|
|
|
|
|
FormatedResult validUser(string userId, string passwd);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "getDictionary")]
|
|
|
|
|
FormatedResult getDictionary();
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "getTmpAuthCode")]
|
|
|
|
|
FormatedResult getTmpAuthCode();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///取所有线路
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="custName">可为null,取所有线路</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "getLines?custId={custId}")]
|
|
|
|
|
FormatedResult getLines(string custId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///取所属货区
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="userId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "getPartions?userId={userId}")]
|
|
|
|
|
FormatedResult getPartions(int userId);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "validRole?account={account}&passwd={passwd}&role={role}")]
|
|
|
|
|
FormatedResult validRole(string account, string passwd, string role);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取字典项
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="flag"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "getNodesByflag?flag={flag}")]
|
|
|
|
|
FormatedResult getNodesByFlag(int flag);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//------------------------- stock location begin ------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// get stock goods info by locid
|
|
|
|
|
/// return table data with json format
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="locId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,BodyStyle = WebMessageBodyStyle.Bare ,
|
|
|
|
|
UriTemplate = "stock/getStockLocation?locId={locId}")]
|
|
|
|
|
FormatedResult getStockLocation(string locId);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getStockLocationsByBarcode?barcode={barcode}")]
|
|
|
|
|
FormatedResult getStockLocationsByBarcode(string barcode);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// update stock goods info
|
|
|
|
|
/// on wince stock check
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/updateStockLocation")]
|
|
|
|
|
FormatedResult updateStockLocation(string locId, string goodsId, int skuId, string batch, decimal count, string reason, int type);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/initialStockIn")]
|
|
|
|
|
FormatedResult initialStockIn(string goodsId, string locId, decimal batchCount, string prodDate, string validDate, string batch);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// clear the location
|
|
|
|
|
/// on wince
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="locId"></param>
|
|
|
|
|
/// <param name="reason"></param>
|
|
|
|
|
/// <param name="operId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/clearLocation")]
|
|
|
|
|
FormatedResult clearLocation(string locId, string reason);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新location status
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="locId"></param>
|
|
|
|
|
/// <param name="status"></param>
|
|
|
|
|
/// <param name="operId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/upLocationStatus")]
|
|
|
|
|
FormatedResult upLocationStatus(string locId, int status);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新商品库容量
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="goodsId"></param>
|
|
|
|
|
/// <param name="volType"></param>
|
|
|
|
|
/// <param name="volume"></param>
|
|
|
|
|
/// <param name="operId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/updateGoodsLocationVolume")]
|
|
|
|
|
FormatedResult updateGoodsLocationVolume(string goodsId, int volType, decimal volume);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// location info
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="locId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getLocation?locId={locId}")]
|
|
|
|
|
FormatedResult getLocation(string locId);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 扫描货位,得到货架上的商品信息,比较该商品在erp和wms库存
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="goodsId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/compareErp?goodsId={goodsId}&barcode={barcode}")]
|
|
|
|
|
FormatedResult getStockCompareErp(string goodsId, string barcode);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手持上下架
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="locId"></param>
|
|
|
|
|
/// <param name="goodsId"></param>
|
|
|
|
|
/// <param name="batch"></param>
|
|
|
|
|
/// <param name="count"></param>
|
|
|
|
|
/// <param name="type"></param>
|
|
|
|
|
/// <param name="operId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json , BodyStyle = WebMessageBodyStyle.Wrapped,
|
2023-11-21 19:18:23 +08:00
|
|
|
|
UriTemplate = "stock/upDownStockLocation")]
|
|
|
|
|
FormatedResult upDownStockLocation(string locId, string goodsId, int skuId, string batch, decimal count, int type, int oldRecId, string flowNo);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已下架待上架商品
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="goodsId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
2023-11-21 19:18:23 +08:00
|
|
|
|
UriTemplate = "stock/getDownStockList4Up?operId={operId}&flowNo={flowNo}")]
|
|
|
|
|
FormatedResult getDownStockList4Up(int operId,string flowNo);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
//绑定id
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "locationEleIdCombine")]
|
|
|
|
|
FormatedResult locationEleIdCombine(string locId, int eleId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 补零入库
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="locId"></param>
|
|
|
|
|
/// <param name="goodsId"></param>
|
|
|
|
|
/// <param name="batch"></param>
|
|
|
|
|
/// <param name="count"></param>
|
|
|
|
|
/// <param name="reason"></param>
|
|
|
|
|
/// <param name="operId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/repItemIn")]
|
|
|
|
|
FormatedResult repItemIn(string locId, string goodsId, int skuId, string batch, decimal count, int portId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货位分配
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="goodsId"></param>
|
|
|
|
|
/// <param name="batch"></param>
|
|
|
|
|
/// <param name="count"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getLocations?skuId={skuId}&skuCode={skuCode}&goodsId={goodsId}&batch={batch}&count={count}")]
|
|
|
|
|
FormatedResult getLocations(int skuId, string skuCode, string goodsId, string batch, decimal count);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 根据商品找库存货位信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="goodsId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getGoodsStockLocations?barcode={barcode}")]
|
|
|
|
|
FormatedResult getGoodsStockLocations(string barcode);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// get erp storage by barcode
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="barcode"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getGoodsERPStoreByBarcode?barcode={barcode}")]
|
|
|
|
|
FormatedResult getGoodsERPStoreByBarcode(string barcode);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// get pandian orders by ownerid and status
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ownerId"></param>
|
|
|
|
|
/// <param name="status"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getPandianOrders?ownerId={ownerId}&status={status}")]
|
|
|
|
|
FormatedResult getPandianOrders(int ownerId, int status);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getPandianItem?orderNo={orderNo}&locationId={locationId}")]
|
|
|
|
|
FormatedResult getPandianItem(string orderNo, string locationId);
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===盘点
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getPandianTargetItem?orderNo={orderNo}&locationId={locationId}")]
|
|
|
|
|
FormatedResult getPandianTargetItem(string orderNo, string locationId);
|
|
|
|
|
|
2024-02-06 19:36:47 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getPandianTasksByLoc?locationId={locationId}")]
|
|
|
|
|
FormatedResult getPandianTasksByLoc(string locationId);
|
2023-11-21 19:18:23 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
/// <summary>
|
2023-11-21 19:18:23 +08:00
|
|
|
|
/// 盘点采集,通过列表item更新数量, 货物种类一致的情况下
|
2023-05-23 16:13:17 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="orderNo"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
2023-11-21 19:18:23 +08:00
|
|
|
|
UriTemplate = "stock/postPandianItem")]
|
|
|
|
|
FormatedResult postPandianItem( int mirrorId, decimal count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 未在盘点计划列表的异常货物
|
|
|
|
|
/// 采集条码、效期数据,绑定货位
|
|
|
|
|
/// 尽量调整使得 货和货位一一对应
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="orderNo"></param>
|
|
|
|
|
/// <param name="locationId"></param>
|
|
|
|
|
/// <param name="barcode"></param>
|
|
|
|
|
/// <param name="prdDate"></param>
|
|
|
|
|
/// <param name="batch"></param>
|
|
|
|
|
/// <param name="count"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/newPandianItem")]
|
|
|
|
|
FormatedResult newPandianItem(string orderNo, string locationId, int mirrroId, string goodsId, string prdDate, string batch, decimal count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getGoodsPackByBarcode?barcode={barcode}")]
|
|
|
|
|
FormatedResult getGoodsPackByBarcode(string barcode);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getGoodsPacking?goodsId={goodsId}")]
|
|
|
|
|
FormatedResult getGoodsPacking(string goodsId);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/goodsMaintain")]
|
2024-02-06 19:36:47 +08:00
|
|
|
|
FormatedResult goodsMaintain(string goodsId, decimal fullMax, decimal bulkMax, decimal batch1Max, decimal batch2Max, decimal batch3Max, int ABC, int storeType, string barcode,int expiredDays, bool canSeedOut);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stock/goodsPacking")]
|
2023-11-21 19:18:23 +08:00
|
|
|
|
FormatedResult goodsPacking(int id, string goodsId,string barcode, int packingQty, string manufacturer2, string spec, decimal chang, decimal kuan, decimal gao, decimal weight, int stackLayers, int stackLayNums, bool isDelete);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// -------------------stock In request begin --------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 根据预到单收货
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getPreInDetail?preInNo={preInNo}")]
|
|
|
|
|
FormatedResult getPreInDetail(string preInNo);
|
|
|
|
|
|
|
|
|
|
// [OperationContract]
|
|
|
|
|
// DataTable getPreInInfo(string preInNo);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/receiveDetail")]
|
|
|
|
|
FormatedResult receiveDetail(string preInNo, string goodsId, decimal arriveNumber, decimal receiveNumber, int inType, string inRemark,
|
|
|
|
|
decimal temperature, bool isCache, int cachePartion);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getReceiveDetailByBarcode?preInOrder={preInOrder}&barcode={barcode}")]
|
|
|
|
|
FormatedResult getReceiveDetailByBarcode(string preInOrder, string barcode);
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getValidSeedsCnt?goodsId={goodsId}&batchCount={batchCount}")]
|
|
|
|
|
FormatedResult getValidSeedsCnt(string goodsId, decimal batchCount);
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/isFlowNoValid?preInOrder={preInOrder}&flowNo={flowNo}")]
|
|
|
|
|
FormatedResult isFlowNoValid(string preInOrder, string flowNo);
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/validIn")]
|
|
|
|
|
FormatedResult validIn(string preInNo, string flowNo, string goodsId, decimal batchCount, decimal seedsCount,
|
2023-09-04 22:41:19 +08:00
|
|
|
|
string prdDate, string validDate, string batch, string entiId, bool isPass, bool isIsuLocations, bool isVirtualIn, int secondValidUserId, bool isFlowUni,
|
2024-02-06 19:36:47 +08:00
|
|
|
|
bool isZhitong = false, string pickOrderNo = null, int zhitongPartion = 0, int outPickDetailId = 0, int purch_d_id = 0,bool isOnce = false);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getPreValidResult?preInNo={preInNo}&flowNo={flowNo}&showAllUsers={showAllUsers}")]
|
|
|
|
|
FormatedResult getPreValidResult(string preInNo, string flowNo, bool showAllUsers = false);
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getStockInPortDetail?portId={portId}")]
|
|
|
|
|
FormatedResult getStockInPortDetail(int portId);
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getStockInDetails?flowNo={flowNo}")]
|
|
|
|
|
FormatedResult getStockInDetails(string flowNo);
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/finishUpShelfItem")]
|
|
|
|
|
FormatedResult finishUpShelfItem(string flowNo, int id, decimal count, string locationId, string reason);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/retrieveValidIn")]
|
|
|
|
|
FormatedResult retrieveValidIn(int jobId);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/retrieveValidByDetailId")]
|
|
|
|
|
FormatedResult retrieveValidByDetailId(int detailId);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/retrieveValidBySkuId")]
|
|
|
|
|
FormatedResult retrieveValidBySkuId(string preInNo,int skuId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getValidInDetail?preInNo={preInNo}&flowNo={flowNo}")]
|
|
|
|
|
FormatedResult getValidInDetail(string preInNo, string flowNo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockIn/getZhiTongOrderDetail?flowNo={flowNo}")]
|
|
|
|
|
FormatedResult getZhiTongOrderDetail( string flowNo);
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
2023-11-21 19:18:23 +08:00
|
|
|
|
UriTemplate = "stockIn/getZhiTongOrderByCust?preNo={preNo}&barcode={barcode}&orderBy={orderBy}")]
|
|
|
|
|
FormatedResult getZhiTongOrderByCust(string preNo, string barcode, string orderBy);
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/zhiTongSeedOut")]
|
2023-09-04 22:41:19 +08:00
|
|
|
|
FormatedResult zhiTongSeedOut(int outDetailId,int inDetailId,decimal seedCnt, string flowNo);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/newPackBarcode")]
|
|
|
|
|
FormatedResult newPackBarcode(string goodsId,string barcode, decimal packingQty, decimal chang, decimal kuan, decimal gao, decimal weight);
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/stackDone")]
|
|
|
|
|
|
|
|
|
|
FormatedResult stackDone(string preInNo, string flowNo);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockIn/preInDone")]
|
|
|
|
|
|
2024-02-06 19:36:47 +08:00
|
|
|
|
FormatedResult preInDone(string preInNo,bool isZhitongAuto);
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
// -------------------stock OUT request begin --------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取待复核订单列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockOut/getBatchPickOrders4Valid")]
|
|
|
|
|
FormatedResult getBatchPickOrders4Valid();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取待复核订单明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="orderNo"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockOut/getPickOrderDetails?orderNo={orderNO}")]
|
|
|
|
|
FormatedResult getPickOrderDetails(string orderNo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// get batch pick detail by port record id
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Id"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
2023-12-03 22:13:49 +08:00
|
|
|
|
UriTemplate = "stockOut/getPickDetail?id={id}&isAssignToMe={isAssignToMe}")]
|
|
|
|
|
FormatedResult getPickDetail(int id,bool isAssignToMe);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手持捡完一个货位,更新状态
|
|
|
|
|
/// 检测到出库单所有整货都已经分拣完毕后将更新订单明细及订单 batchPickStatus,status
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pickOrderNo"></param>
|
|
|
|
|
/// <param name="id"></param>
|
|
|
|
|
/// <param name="operId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockOut/finishPickItem")]
|
|
|
|
|
FormatedResult finishPickItem(string flowNo, string waveNo, string pickOrderNo, int id, decimal pickCount);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手持复核一个货位,更新状态
|
|
|
|
|
/// 检测到出库单所有整货都已经复核完毕后将更新订单明细及订单 batchPickStatus,status
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pickOrderNo"></param>
|
|
|
|
|
/// <param name="id"></param>
|
|
|
|
|
/// <param name="operId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockOut/finishBatchValidateItem")]
|
|
|
|
|
FormatedResult finishBatchValidateItem(string pickOrderNo, int id, int operId, int checkBy2, string token);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
int batchPickCount4Valid(string pickOrderNo);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当天待分拣补货明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pickOrderNo"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockOut/repTodayDetails4Pick?userId={userId}")]
|
|
|
|
|
FormatedResult repTodayDetails4Pick(int userId = 0);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 待上架补货任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockOut/repInDetailsByFlowNo?flowNo={flowNo}")]
|
|
|
|
|
FormatedResult repInDetailsByFlowNo(string flowNo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取出库下架任务
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
2024-02-06 19:36:47 +08:00
|
|
|
|
UriTemplate = "stockOut/getTaskAssigned?operId={operId}&locationId={locationId}&partion={partion}&lineId={lineId}&batchOnly={batchOnly}&orderType={orderType}&taskId={taskId}&state={state}")]
|
|
|
|
|
FormatedResult getTaskAssigned(int operId,string locationId, int partion, int lineId, bool batchOnly, int orderType, int taskId, int state);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockOut/taskAssign")]
|
|
|
|
|
FormatedResult taskAssign(int takeBy,int partion, int lineId, bool batchOnly, int orderType);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockOut/taskResign")]
|
|
|
|
|
FormatedResult taskResign(int partion, int lineId, bool batchOnly, int orderType);
|
|
|
|
|
|
|
|
|
|
|
2023-12-03 22:13:49 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockOut/taskAssignByLocation")]
|
|
|
|
|
FormatedResult taskAssignByLocation(string lastJobNo, string locationId,int warehouse);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stockOut/getSeedsPickDetail?flowNo={flowNo}&isOrderByCust={isOrderByCust}")]
|
|
|
|
|
FormatedResult getSeedsPickDetail(string flowNo,bool isOrderByCust);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "stockOut/seedsPickOut")]
|
2024-02-06 19:36:47 +08:00
|
|
|
|
FormatedResult seedsPickOut(string flowNo, int skuId, string productDate, string batch, int outDetailId, decimal seedCnt, string toFlowNo, int inDetailId, bool isForceClose);
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "upValidImage")]
|
|
|
|
|
FormatedResult upValidImage(string preNo,int purch_d_id, string description,Stream fileContent);
|
|
|
|
|
// FormatedResult upValidImage(RemoteFileInfo request);
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "upValidImage/{preNo}/{goodsId}")]
|
|
|
|
|
FormatedResult upValidImage(string preNo, string goodsId, Stream fileContent);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "upValidImageByStr")]
|
|
|
|
|
FormatedResult upValidImageByStr(string preNo, string purch_d_id, string fileContent);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "validImages?preNo={preNo}&goodsId={goodsId}")]
|
|
|
|
|
FormatedResult validImages(string preNo, string goodsId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//------------容器管理
|
2023-11-21 19:18:23 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
2024-02-06 19:36:47 +08:00
|
|
|
|
UriTemplate = "plate/getRegistedPlate?flowNo={flowNo}")]
|
|
|
|
|
|
|
|
|
|
FormatedResult getRegistedPlate(string flowNo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "plate/getFromPlate?flowNo={flowNo}")]
|
|
|
|
|
|
|
|
|
|
FormatedResult getFromPlate(string flowNo);
|
|
|
|
|
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "plate/getPlateContent?flowNo={flowNo}&isShowSubs={isShowSubs}")]
|
|
|
|
|
FormatedResult getPlateContents(string flowNo,bool isShowSubs);
|
|
|
|
|
|
2024-02-06 19:36:47 +08:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "plate/getUnLoadTruckStks?flowNo={flowNo}&cnt={cnt}")]
|
|
|
|
|
FormatedResult getUnLoadTruckStks(string flowNo,int cnt);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "plate/getLoadContent?flowNo={flowNo}")]
|
|
|
|
|
FormatedResult getLoadContent(string flowNo);
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "plate/getParentPlate?flowNo={flowNo}")]
|
|
|
|
|
FormatedResult getParentPlate(string flowNo);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "plate/getSubPlates?flowNo={flowNo}")]
|
|
|
|
|
FormatedResult getSubPlates(string flowNo);
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "plate/putPlateInto")]
|
|
|
|
|
FormatedResult putPlateIntoPlate(string fromPlate, string toPlate);
|
2023-12-03 22:13:49 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "plate/mergePlate")]
|
|
|
|
|
FormatedResult mergePlate(string fromPlate, string toPlate);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "plate/takeOutPlate")]
|
|
|
|
|
FormatedResult takeOutPlate(string fromPlate, string toPlate);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "plate/plateValidation")]
|
2024-02-06 19:36:47 +08:00
|
|
|
|
FormatedResult plateValidation(string plateId, int portId, int skuId, string productDate, string validDate, string batch, decimal validationCnt, string validReason, bool finialValidation);
|
2023-11-21 19:18:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//------装车运输
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "tran/startTran")]
|
|
|
|
|
FormatedResult startTran(string plateId);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
|
|
|
|
|
UriTemplate = "tran/loadTruck")]
|
|
|
|
|
FormatedResult loadTruck(string fromPlate,string toPlate);
|
2024-02-06 19:36:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "plate/getLatestPlate?custId={custId}&goodsId={goodsId}")]
|
|
|
|
|
FormatedResult getLatestPlate(string custId, string goodsId);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
[WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
|
|
|
|
|
UriTemplate = "stock/getGoodsById?goodsId={goodsId}")]
|
|
|
|
|
FormatedResult getGoodsById( string goodsId);
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
|
|
|
|
|
//---灯光分拣
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
}
|
|
|
|
|
}
|