Browse Source

采购、领物料、其他领物料添加后台作业

master
mahao 2 years ago
parent
commit
1667cbbd36
  1. 6
      src/WmsWebApi.Application/StockMove/StockMoveService.cs
  2. 4
      src/WmsWebApi.Application/WmsWebApiApplicationModule.cs
  3. 5
      src/WmsWebApi.Domain/ProductRecieve/WmsWebApiProductRecieveDTO.cs
  4. 3
      src/WmsWebApi.Domain/StockMove/WmsWebApiStockMoveDTO.cs

6
src/WmsWebApi.Application/StockMove/StockMoveService.cs

@ -67,6 +67,12 @@ public class StockMoveService : ApplicationService, IStockMoveService
_backgroundJobRequestRetry = backgroundJobRequestRetry; _backgroundJobRequestRetry = backgroundJobRequestRetry;
} }
/// <summary>
/// 上架入库、下架出库
/// </summary>
/// <param name="content"></param>
/// <returns></returns>
/// <exception cref="Exception"></exception>
[HttpPost("add")] [HttpPost("add")]
public async Task<ReturnResult> AddAsync([FromBody] object content) public async Task<ReturnResult> AddAsync([FromBody] object content)
{ {

4
src/WmsWebApi.Application/WmsWebApiApplicationModule.cs

@ -36,8 +36,8 @@ namespace WmsWebApi
}); });
/* /*
* *
* 1 * 1
* 2.0 * 2.0
*/ */
Configure<AbpBackgroundJobWorkerOptions>(options => Configure<AbpBackgroundJobWorkerOptions>(options =>

5
src/WmsWebApi.Domain/ProductRecieve/WmsWebApiProductRecieveDTO.cs

@ -8,10 +8,11 @@ using WmsWebApi.Enums;
namespace WmsWebApi.Domain namespace WmsWebApi.Domain
{ {
/// <summary>
/// Agv完工收货入库
/// </summary>
public class WmsWebApiProductRecieveDTO : BasicAggregateRoot<Guid> public class WmsWebApiProductRecieveDTO : BasicAggregateRoot<Guid>
{ {
//public int UID { get; set; }
[Display(Name = "过账日期")] [Display(Name = "过账日期")]
public string AccountDate { get; set; } public string AccountDate { get; set; }

3
src/WmsWebApi.Domain/StockMove/WmsWebApiStockMoveDTO.cs

@ -8,6 +8,9 @@ using WmsWebApi.Enums;
namespace WmsWebApi.Domain namespace WmsWebApi.Domain
{ {
/// <summary>
/// Agv出入库
/// </summary>
public class WmsWebApiStockMoveDTO : BasicAggregateRoot<Guid> public class WmsWebApiStockMoveDTO : BasicAggregateRoot<Guid>
{ {
[Display(Name = "过账日期")] [Display(Name = "过账日期")]

Loading…
Cancel
Save