聚水潭接口对接

This commit is contained in:
18942506660
2024-10-18 14:45:42 +08:00
parent 46817280e7
commit 6189bc2912
15 changed files with 607 additions and 13 deletions

View File

@@ -0,0 +1,36 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.JuShuiTan
{
public class JuShuiTanInventoryRequst
{
/// <summary>
/// 页码
/// </summary>
[JsonProperty("page_index")]
public int page_index { get; set; } = 1;
/// <summary>
/// 页条数
/// </summary>
[JsonProperty("page_size")]
public int page_size { get; set; } = 30;
/// <summary>
/// 仓库Id
/// </summary>
[JsonProperty("wms_co_id")]
public int wms_co_id { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[JsonProperty("modified_begin")]
public string modified_begin { get; set; }
/// <summary>
/// 结算时间
/// </summary>
[JsonProperty("modified_end")]
public string modified_end { get; set; }
}
}

View File

@@ -0,0 +1,55 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using Ubiety.Dns.Core.Common;
namespace WMS.Web.Core.Dto.JuShuiTan
{
public class JuShuiTanInventoryResponse
{
/// <summary>
/// 商品
/// </summary>
[JsonProperty("sku_id")]
public string sku_id { get; set; }
[JsonProperty("wms_co_id")]
public int wms_co_id { get; set; }
/// <summary>
/// 总量
/// </summary>
[JsonProperty("qty")]
public int? qty { get; set; }
/// <summary>
/// 可用数:可用数[同步线上的库存数]=
/// 主仓实际库存-订单占有数+虚拟库存+采购在途(业务设置)+进货仓(业务设置)+销退仓库存(业务设置)
/// </summary>
[JsonProperty("ky_qty")]
public int ky_qty { get; set; }
/// <summary>
/// 订单占有数
/// </summary>
[JsonProperty("order_lock")]
public int? order_lock { get; set; }
/// <summary>
/// 虚拟库存
/// </summary>
[JsonProperty("virtual_qty")]
public int? virtual_qty { get; set; }
/// <summary>
/// 采购在途
/// </summary>
[JsonProperty("purchase_qty")]
public int? purchase_qty { get; set; }
/// <summary>
/// 销退仓库存
/// </summary>
[JsonProperty("return_qty")]
public int? return_qty { get; set; }
/// <summary>
/// 进货仓
/// </summary>
[JsonProperty("in_qty")]
public int? in_qty { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.JuShuiTan
{
public class JuShuiTanStockRequst
{
/// <summary>
/// 页码
/// </summary>
[JsonProperty("page_index")]
public int page_index { get; set; } = 1;
/// <summary>
/// 页条数
/// </summary>
[JsonProperty("page_size")]
public int page_size { get; set; } = 30;
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.JuShuiTan
{
public class JuShuiTanStockResResponse
{
public int code { get; set; }
public string msg { get; set; }
public object data { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.JuShuiTan
{
public class JuShuiTanStockResponse
{
/// <summary>
/// 仓库id
/// </summary>
[JsonProperty("wms_co_id")]
public int Id { get; set; }
/// <summary>
/// 仓库名
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
}
}