Browse Source

1、修改命名空间

2、增加UTF-8空格强转校验
master
陈宜阳 7 months ago
parent
commit
4d66753980
  1. 4
      src/WmsWebApi.Application.Contracts/Boms/BomDetailDto.cs
  2. 5
      src/WmsWebApi.Application.Contracts/Boms/BomDto.cs
  3. 3
      src/WmsWebApi.Application.Contracts/Boms/IBomService.cs
  4. 3
      src/WmsWebApi.Application.Contracts/Boms/ReturnResult.cs
  5. 4
      src/WmsWebApi.Application.Contracts/OtherZll/IOtherZllService.cs
  6. 6
      src/WmsWebApi.Application.Contracts/OtherZll/OtherZllDto.cs
  7. 3
      src/WmsWebApi.Application.Contracts/OtherZll/ReturnResult.cs
  8. 4
      src/WmsWebApi.Application.Contracts/PPLan/IPPlanService.cs
  9. 4
      src/WmsWebApi.Application.Contracts/PPLan/PPlanDto.cs
  10. 4
      src/WmsWebApi.Application.Contracts/PPLan/ReturnResult.cs
  11. 3
      src/WmsWebApi.Application.Contracts/Parts/IPartService.cs
  12. 3
      src/WmsWebApi.Application.Contracts/Parts/PartDetailDto.cs
  13. 4
      src/WmsWebApi.Application.Contracts/Parts/PartDto.cs
  14. 4
      src/WmsWebApi.Application.Contracts/Parts/ReturnResult.cs
  15. 4
      src/WmsWebApi.Application.Contracts/ProductRecieve/IProductRecieveService.cs
  16. 4
      src/WmsWebApi.Application.Contracts/ProductRecieve/PRDetailDto.cs
  17. 4
      src/WmsWebApi.Application.Contracts/ProductRecieve/PRDto.cs
  18. 4
      src/WmsWebApi.Application.Contracts/ProductRecieve/ReturnResult.cs
  19. 3
      src/WmsWebApi.Application.Contracts/Purchase/IPurchaseService.cs
  20. 3
      src/WmsWebApi.Application.Contracts/Purchase/PurchaseDetailDto.cs
  21. 3
      src/WmsWebApi.Application.Contracts/Purchase/PurchaseDto.cs
  22. 4
      src/WmsWebApi.Application.Contracts/Purchase/ReturnResult.cs
  23. 4
      src/WmsWebApi.Application.Contracts/StockMove/IStockMoveService.cs
  24. 3
      src/WmsWebApi.Application.Contracts/StockMove/ReturnResult.cs
  25. 3
      src/WmsWebApi.Application.Contracts/StockMove/SSDetailDto.cs
  26. 3
      src/WmsWebApi.Application.Contracts/StockMove/SSDto.cs
  27. 3
      src/WmsWebApi.Application.Contracts/ZlldcjLogs/IZlldcjLogAppService.cs
  28. 3
      src/WmsWebApi.Application.Contracts/ZlldcjLogs/ReturnResult.cs
  29. 3
      src/WmsWebApi.Application.Contracts/ZlldcjLogs/ZlldcjLog.cs
  30. 4
      src/WmsWebApi.Application/Boms/BomService.cs
  31. 4
      src/WmsWebApi.Application/OtherZll/OtherZllService.cs
  32. 4
      src/WmsWebApi.Application/PPlan/PPlanService.cs
  33. 3
      src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs
  34. 3
      src/WmsWebApi.Application/Purchase/PurchaseService.cs
  35. 3
      src/WmsWebApi.Application/StockMove/StockMoveService.cs
  36. 12
      src/WmsWebApi.Application/TbParts/PartService.cs
  37. 3
      src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs
  38. 4
      src/WmsWebApi.Domain/Boms/BomManager.cs
  39. 4
      src/WmsWebApi.Domain/Boms/IBomManager.cs
  40. 4
      src/WmsWebApi.Domain/OtherZll/IOtherZllManager.cs
  41. 4
      src/WmsWebApi.Domain/OtherZll/OtherZllManager.cs
  42. 4
      src/WmsWebApi.Domain/PPlan/IPPlanManager.cs
  43. 4
      src/WmsWebApi.Domain/PPlan/PPlanManager.cs
  44. 4
      src/WmsWebApi.Domain/Parts/IPartManager.cs
  45. 4
      src/WmsWebApi.Domain/Parts/PartManager.cs
  46. 4
      src/WmsWebApi.Domain/ProductRecieve/IProductRecieveManager.cs
  47. 4
      src/WmsWebApi.Domain/ProductRecieve/ProductRecieveManager.cs
  48. 4
      src/WmsWebApi.Domain/Purchase/IPurchaseManager.cs
  49. 3
      src/WmsWebApi.Domain/Purchase/PurchaseManager.cs
  50. 3
      src/WmsWebApi.Domain/StockMove/IStockMoveManager.cs
  51. 3
      src/WmsWebApi.Domain/StockMove/StockMoveManager.cs
  52. 3
      src/WmsWebApi.Domain/TbOrfers/TbOrder.cs
  53. 4
      src/WmsWebApi.Domain/WMS/TbBillExtensions.cs
  54. 3
      src/WmsWebApi.Domain/ZlldcjLogs/IZlldcjLogManager.cs
  55. 3
      src/WmsWebApi.Domain/ZlldcjLogs/WmsWebApiZLLDCJDTO.cs
  56. 3
      src/WmsWebApi.Domain/ZlldcjLogs/ZlldcjLog.cs
  57. 3
      src/WmsWebApi.Domain/ZlldcjLogs/ZlldcjLogExtensions.cs
  58. 4
      src/WmsWebApi.Domain/ZlldcjLogs/ZlldcjLogManager.cs
  59. 4
      src/WmsWebApi.Domain/ZlldgbLogs/IZlldgbLogManager.cs
  60. 3
      src/WmsWebApi.Domain/ZlldgbLogs/ZlldgbLog.cs
  61. 3
      src/WmsWebApi.Domain/ZlldgbLogs/ZlldgbLogExtensions.cs
  62. 3
      src/WmsWebApi.Domain/ZlldgbLogs/ZlldgbLogManager.cs

4
src/WmsWebApi.Application.Contracts/Boms/BomDetailDto.cs

@ -2,7 +2,8 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.Boms; namespace WmsWebApi.Boms
{
public class BomDetailDto : EntityDto public class BomDetailDto : EntityDto
{ {
@ -38,3 +39,4 @@ public class BomDetailDto : EntityDto
public string SANKA { get; set; } public string SANKA { get; set; }
public string SANFE { get; set; } public string SANFE { get; set; }
} }
}

5
src/WmsWebApi.Application.Contracts/Boms/BomDto.cs

@ -5,8 +5,8 @@ using System.Runtime.Serialization;
using System.Xml.Serialization; using System.Xml.Serialization;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.Boms; namespace WmsWebApi.Boms
{
public class BomDto : EntityDto public class BomDto : EntityDto
{ {
/// <summary> /// <summary>
@ -60,3 +60,4 @@ public class BomDto : EntityDto
public virtual List<BomDetailDto> items { get; set; } public virtual List<BomDetailDto> items { get; set; }
} }
}

3
src/WmsWebApi.Application.Contracts/Boms/IBomService.cs

@ -2,7 +2,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.Boms; namespace WmsWebApi.Boms {
public interface IBomService : IApplicationService public interface IBomService : IApplicationService
{ {
@ -13,3 +13,4 @@ public interface IBomService : IApplicationService
public Task<ReturnResult> AddAsync(object content); public Task<ReturnResult> AddAsync(object content);
} }
}

3
src/WmsWebApi.Application.Contracts/Boms/ReturnResult.cs

@ -1,6 +1,6 @@
using System; using System;
namespace WmsWebApi.Boms; namespace WmsWebApi.Boms {
public class ReturnResult public class ReturnResult
{ {
@ -10,3 +10,4 @@ public class ReturnResult
public string REQUEST_SYSTEM { get; set; } = "WinWMS"; public string REQUEST_SYSTEM { get; set; } = "WinWMS";
} }
}

4
src/WmsWebApi.Application.Contracts/OtherZll/IOtherZllService.cs

@ -2,7 +2,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.OtherZll; namespace WmsWebApi.OtherZll {
/// <summary> /// <summary>
/// 其他领物料 /// 其他领物料
@ -16,3 +16,5 @@ public interface IOtherZllService : IApplicationService
public Task<ReturnResult> AddAsync(object content); public Task<ReturnResult> AddAsync(object content);
} }
}

6
src/WmsWebApi.Application.Contracts/OtherZll/OtherZllDto.cs

@ -5,7 +5,9 @@ using System.Runtime.Serialization;
using System.Xml.Serialization; using System.Xml.Serialization;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.OtherZll; namespace WmsWebApi.OtherZll
{
public class OtherZllDto : EntityDto public class OtherZllDto : EntityDto
{ {
@ -61,3 +63,5 @@ public class OtherZllDto : EntityDto
public string LGORT1 { get; set; } public string LGORT1 { get; set; }
} }
}

3
src/WmsWebApi.Application.Contracts/OtherZll/ReturnResult.cs

@ -1,6 +1,6 @@
using System; using System;
namespace WmsWebApi.OtherZll; namespace WmsWebApi.OtherZll {
public class ReturnResult public class ReturnResult
{ {
@ -10,3 +10,4 @@ public class ReturnResult
public string REQUEST_SYSTEM { get; set; } = "WinWMS"; public string REQUEST_SYSTEM { get; set; } = "WinWMS";
} }
}

4
src/WmsWebApi.Application.Contracts/PPLan/IPPlanService.cs

@ -2,7 +2,8 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.PPLan; namespace WmsWebApi.PPLan
{
/// <summary> /// <summary>
/// 计划 /// 计划
@ -16,3 +17,4 @@ public interface IPPlanService : IApplicationService
public Task<ReturnResult> AddAsync(object content); public Task<ReturnResult> AddAsync(object content);
} }
}

4
src/WmsWebApi.Application.Contracts/PPLan/PPlanDto.cs

@ -5,7 +5,8 @@ using System.Runtime.Serialization;
using System.Xml.Serialization; using System.Xml.Serialization;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.PPLan; namespace WmsWebApi.PPLan
{
public class PPlanDto : EntityDto public class PPlanDto : EntityDto
{ {
@ -94,3 +95,4 @@ public class PPlanDto : EntityDto
public string ZCTIME { get; set; } public string ZCTIME { get; set; }
} }
}

4
src/WmsWebApi.Application.Contracts/PPLan/ReturnResult.cs

@ -1,6 +1,7 @@
using System; using System;
namespace WmsWebApi.PPLan; namespace WmsWebApi.PPLan
{
public class ReturnResult public class ReturnResult
{ {
@ -10,3 +11,4 @@ public class ReturnResult
public string REQUEST_SYSTEM { get; set; } = "WinWMS"; public string REQUEST_SYSTEM { get; set; } = "WinWMS";
} }
}

3
src/WmsWebApi.Application.Contracts/Parts/IPartService.cs

@ -2,7 +2,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.Parts; namespace WmsWebApi.Parts {
/// <summary> /// <summary>
/// 零件 /// 零件
@ -16,3 +16,4 @@ public interface IPartService : IApplicationService
public Task<ReturnResult> AddAsync(object content); public Task<ReturnResult> AddAsync(object content);
} }
}

3
src/WmsWebApi.Application.Contracts/Parts/PartDetailDto.cs

@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.Parts; namespace WmsWebApi.Parts {
public class PartDetailDto : EntityDto public class PartDetailDto : EntityDto
{ {
@ -19,3 +19,4 @@ public class PartDetailDto : EntityDto
public string CHARACT_DESCR { get; set; } public string CHARACT_DESCR { get; set; }
} }
}

4
src/WmsWebApi.Application.Contracts/Parts/PartDto.cs

@ -5,8 +5,7 @@ using System.Runtime.Serialization;
using System.Xml.Serialization; using System.Xml.Serialization;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.Parts; namespace WmsWebApi.Parts {
public class PartDto : EntityDto public class PartDto : EntityDto
{ {
@ -518,3 +517,4 @@ public class PartDto : EntityDto
[DataMember, XmlArray("partDetails")] [DataMember, XmlArray("partDetails")]
public virtual List<PartDetailDto> zzchar { get; set; } public virtual List<PartDetailDto> zzchar { get; set; }
} }
}

4
src/WmsWebApi.Application.Contracts/Parts/ReturnResult.cs

@ -1,6 +1,7 @@
using System; using System;
namespace WmsWebApi.Parts; namespace WmsWebApi.Parts
{
public class ReturnResult public class ReturnResult
{ {
@ -14,3 +15,4 @@ public class ReturnResult
public string REQUEST_SYSTEM { get; set; } = "WinWMS"; public string REQUEST_SYSTEM { get; set; } = "WinWMS";
} }
}

4
src/WmsWebApi.Application.Contracts/ProductRecieve/IProductRecieveService.cs

@ -2,7 +2,8 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.ProductRecieve; namespace WmsWebApi.ProductRecieve
{
/// <summary> /// <summary>
/// Agv完工收货入库 /// Agv完工收货入库
@ -16,3 +17,4 @@ public interface IProductRecieveService : IApplicationService
public Task<ReturnResult> AddAsync(object content); public Task<ReturnResult> AddAsync(object content);
} }
}

4
src/WmsWebApi.Application.Contracts/ProductRecieve/PRDetailDto.cs

@ -2,7 +2,8 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.ProductRecieve; namespace WmsWebApi.ProductRecieve
{
public class PRDetailDto : EntityDto public class PRDetailDto : EntityDto
{ {
@ -39,3 +40,4 @@ public class PRDetailDto : EntityDto
public string Unit { get; set; } public string Unit { get; set; }
} }
}

4
src/WmsWebApi.Application.Contracts/ProductRecieve/PRDto.cs

@ -5,7 +5,8 @@ using System.Runtime.Serialization;
using System.Xml.Serialization; using System.Xml.Serialization;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.ProductRecieve; namespace WmsWebApi.ProductRecieve
{
public class PRDto : EntityDto public class PRDto : EntityDto
{ {
@ -49,3 +50,4 @@ public class PRDto : EntityDto
public virtual List<PRDetailDto> items { get; set; } public virtual List<PRDetailDto> items { get; set; }
} }
}

4
src/WmsWebApi.Application.Contracts/ProductRecieve/ReturnResult.cs

@ -1,6 +1,7 @@
using System; using System;
namespace WmsWebApi.ProductRecieve; namespace WmsWebApi.ProductRecieve
{
public class ReturnResult public class ReturnResult
{ {
@ -10,3 +11,4 @@ public class ReturnResult
public string REQUEST_SYSTEM { get; set; } = "WinWMS"; public string REQUEST_SYSTEM { get; set; } = "WinWMS";
} }
}

3
src/WmsWebApi.Application.Contracts/Purchase/IPurchaseService.cs

@ -2,7 +2,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.Purchase; namespace WmsWebApi.Purchase {
/// <summary> /// <summary>
/// 采购 /// 采购
@ -16,3 +16,4 @@ public interface IPurchaseService : IApplicationService
public Task<ReturnResult> AddAsync(object content); public Task<ReturnResult> AddAsync(object content);
} }
}

3
src/WmsWebApi.Application.Contracts/Purchase/PurchaseDetailDto.cs

@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.Purchase; namespace WmsWebApi.Purchase {
public class PurchaseDetailDto : EntityDto public class PurchaseDetailDto : EntityDto
{ {
@ -24,3 +24,4 @@ public class PurchaseDetailDto : EntityDto
public string EBELP { get; set; } public string EBELP { get; set; }
public string BWART { get; set; } public string BWART { get; set; }
} }
}

3
src/WmsWebApi.Application.Contracts/Purchase/PurchaseDto.cs

@ -5,7 +5,7 @@ using System.Runtime.Serialization;
using System.Xml.Serialization; using System.Xml.Serialization;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.Purchase; namespace WmsWebApi.Purchase {
public class PurchaseDto : EntityDto public class PurchaseDto : EntityDto
{ {
@ -28,3 +28,4 @@ public class PurchaseDto : EntityDto
public virtual List<PurchaseDetailDto> zzmseg { get; set; } public virtual List<PurchaseDetailDto> zzmseg { get; set; }
} }
}

4
src/WmsWebApi.Application.Contracts/Purchase/ReturnResult.cs

@ -1,6 +1,7 @@
using System; using System;
namespace WmsWebApi.Purchase; namespace WmsWebApi.Purchase
{
public class ReturnResult public class ReturnResult
{ {
@ -10,3 +11,4 @@ public class ReturnResult
public string REQUEST_SYSTEM { get; set; } = "WinWMS"; public string REQUEST_SYSTEM { get; set; } = "WinWMS";
} }
}

4
src/WmsWebApi.Application.Contracts/StockMove/IStockMoveService.cs

@ -2,7 +2,8 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.StockMove; namespace WmsWebApi.StockMove
{
/// <summary> /// <summary>
/// Agv出入库 /// Agv出入库
@ -16,3 +17,4 @@ public interface IStockMoveService : IApplicationService
public Task<ReturnResult> AddAsync(object content); public Task<ReturnResult> AddAsync(object content);
} }
}

3
src/WmsWebApi.Application.Contracts/StockMove/ReturnResult.cs

@ -1,6 +1,6 @@
using System; using System;
namespace WmsWebApi.StockMove; namespace WmsWebApi.StockMove {
public class ReturnResult public class ReturnResult
{ {
@ -10,3 +10,4 @@ public class ReturnResult
public string REQUEST_SYSTEM { get; set; } = "WinWMS"; public string REQUEST_SYSTEM { get; set; } = "WinWMS";
} }
}

3
src/WmsWebApi.Application.Contracts/StockMove/SSDetailDto.cs

@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.StockMove; namespace WmsWebApi.StockMove {
public class SSDetailDto : EntityDto public class SSDetailDto : EntityDto
{ {
@ -39,3 +39,4 @@ public class SSDetailDto : EntityDto
public string Unit { get; set; } public string Unit { get; set; }
} }
}

3
src/WmsWebApi.Application.Contracts/StockMove/SSDto.cs

@ -5,7 +5,7 @@ using System.Runtime.Serialization;
using System.Xml.Serialization; using System.Xml.Serialization;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.StockMove; namespace WmsWebApi.StockMove {
public class SSDto : EntityDto public class SSDto : EntityDto
{ {
@ -49,3 +49,4 @@ public class SSDto : EntityDto
public virtual List<SSDetailDto> items { get; set; } public virtual List<SSDetailDto> items { get; set; }
} }
}

3
src/WmsWebApi.Application.Contracts/ZlldcjLogs/IZlldcjLogAppService.cs

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
/// <summary> /// <summary>
/// 领物料 /// 领物料
@ -21,3 +21,4 @@ public interface IZlldcjLogAppService :IApplicationService
public Task<ReturnResult> CloseAsync(object content); public Task<ReturnResult> CloseAsync(object content);
} }
}

3
src/WmsWebApi.Application.Contracts/ZlldcjLogs/ReturnResult.cs

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
public class ReturnResult public class ReturnResult
{ {
@ -16,3 +16,4 @@ public class ReturnResult
} }
} }
}

3
src/WmsWebApi.Application.Contracts/ZlldcjLogs/ZlldcjLog.cs

@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
public class ZlldcjLogDto : EntityDto public class ZlldcjLogDto : EntityDto
{ {
@ -165,3 +165,4 @@ public class ZlldcjLogDto:EntityDto
[Display(Name = "接口类型")] [Display(Name = "接口类型")]
public string IType { get; set; }*/ public string IType { get; set; }*/
} }
}

4
src/WmsWebApi.Application/Boms/BomService.cs

@ -16,7 +16,8 @@ using WmsWebApi.EntityFrameworkCore;
using WmsWebApi.Jsons; using WmsWebApi.Jsons;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Boms; namespace WmsWebApi.Boms
{
[Route("/api/bom")] [Route("/api/bom")]
public class BomService : ApplicationService, IBomService public class BomService : ApplicationService, IBomService
@ -304,3 +305,4 @@ public class BomService : ApplicationService, IBomService
} }
} }
} }
}

4
src/WmsWebApi.Application/OtherZll/OtherZllService.cs

@ -18,7 +18,8 @@ using WmsWebApi.Jsons;
using WmsWebApi.Options; using WmsWebApi.Options;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.OtherZll; namespace WmsWebApi.OtherZll
{
/// <summary> /// <summary>
/// 其他领物料 /// 其他领物料
@ -444,3 +445,4 @@ public class OtherZllService : ApplicationService, IOtherZllService
} }
} }
} }
}

4
src/WmsWebApi.Application/PPlan/PPlanService.cs

@ -14,7 +14,8 @@ using WmsWebApi.Jsons;
using WmsWebApi.PPLan; using WmsWebApi.PPLan;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.PPlan; namespace WmsWebApi.PPlan
{
/// <summary> /// <summary>
/// 计划 /// 计划
@ -263,3 +264,4 @@ public class PPlanService : ApplicationService, IPPlanService
} }
} }
} }
}

3
src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs

@ -21,7 +21,7 @@ using WmsWebApi.Wms;
using WmsWebApi.WMS; using WmsWebApi.WMS;
using WmsWebApi.WMS.IRepository; using WmsWebApi.WMS.IRepository;
namespace WmsWebApi.ProductRecieve; namespace WmsWebApi.ProductRecieve {
/// <summary> /// <summary>
/// Agv完工收货入库 /// Agv完工收货入库
@ -401,3 +401,4 @@ public class ProductRecieveService : ApplicationService, IProductRecieveService
} }
} }
} }
}

3
src/WmsWebApi.Application/Purchase/PurchaseService.cs

@ -17,7 +17,7 @@ using WmsWebApi.Jsons;
using WmsWebApi.Purchase; using WmsWebApi.Purchase;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.PPlan; namespace WmsWebApi.PPlan {
/// <summary> /// <summary>
/// 采购 /// 采购
@ -450,3 +450,4 @@ public class PurchaseService : ApplicationService, IPurchaseService
} }
} }
} }
}

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

@ -23,7 +23,7 @@ using WmsWebApi.Wms;
using WmsWebApi.WMS; using WmsWebApi.WMS;
using WmsWebApi.WMS.IRepository; using WmsWebApi.WMS.IRepository;
namespace WmsWebApi.StockMove; namespace WmsWebApi.StockMove {
/// <summary> /// <summary>
/// Agv出入库 /// Agv出入库
@ -570,3 +570,4 @@ public class StockMoveService : ApplicationService, IStockMoveService
} }
} }
} }
}

12
src/WmsWebApi.Application/TbParts/PartService.cs

@ -5,6 +5,7 @@ using Polly;
using Polly.Retry; using Polly.Retry;
using System; using System;
using System.Linq; using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories; using Volo.Abp.Domain.Repositories;
@ -14,8 +15,8 @@ using WmsWebApi.EntityFrameworkCore;
using WmsWebApi.Jsons; using WmsWebApi.Jsons;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Parts; namespace WmsWebApi.Parts
{
/// <summary> /// <summary>
/// 零件 /// 零件
/// </summary> /// </summary>
@ -74,7 +75,11 @@ public class PartService : ApplicationService, IPartService
bool bUpdate = false, bOtherWork = false, bErr = false; bool bUpdate = false, bOtherWork = false, bErr = false;
try try
{ {
_part = JsonConvert.DeserializeObject<PartDto>(content.ToString()); string contentstr = content.ToString();
byte[] space = new byte[] { 0xc2, 0xa0 };
string UTFSpace = Encoding.GetEncoding("UTF-8").GetString(space);
contentstr = contentstr.Replace(UTFSpace, " ");
_part = JsonConvert.DeserializeObject<PartDto>(contentstr.ToString());
} }
catch (Exception ex) catch (Exception ex)
{ {
@ -365,3 +370,4 @@ public class PartService : ApplicationService, IPartService
} }
} }
} }
}

3
src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs

@ -18,7 +18,7 @@ using WmsWebApi.Enums;
using WmsWebApi.Jsons; using WmsWebApi.Jsons;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
/// <summary> /// <summary>
/// 领物料 /// 领物料
@ -447,3 +447,4 @@ public class ZlldcjLogAppService : ApplicationService, IZlldcjLogAppService
return result; return result;
} }
} }
}

4
src/WmsWebApi.Domain/Boms/BomManager.cs

@ -9,7 +9,8 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Boms; namespace WmsWebApi.Boms
{
public class BomManager : DomainService, IBomManager public class BomManager : DomainService, IBomManager
{ {
@ -48,3 +49,4 @@ public class BomManager : DomainService, IBomManager
return bomDetails[0]; return bomDetails[0];
} }
} }
}

4
src/WmsWebApi.Domain/Boms/IBomManager.cs

@ -1,7 +1,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.Boms; namespace WmsWebApi.Boms
{
public interface IBomManager public interface IBomManager
{ {
@ -10,3 +11,4 @@ public interface IBomManager
Task<WmsWebApiBom> AddBomAsync(WmsWebApiBom bom); Task<WmsWebApiBom> AddBomAsync(WmsWebApiBom bom);
Task<WmsWebApiBomDetail> AddBomDetailAsync(List<WmsWebApiBomDetail> bomDetails); Task<WmsWebApiBomDetail> AddBomDetailAsync(List<WmsWebApiBomDetail> bomDetails);
} }
}

4
src/WmsWebApi.Domain/OtherZll/IOtherZllManager.cs

@ -1,9 +1,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.OtherZll; namespace WmsWebApi.OtherZll
{
public interface IOtherZllManager public interface IOtherZllManager
{ {
Task<WmsWebApiOtherZLLDTO> AddAsync(WmsWebApiOtherZLLDTO dto); Task<WmsWebApiOtherZLLDTO> AddAsync(WmsWebApiOtherZLLDTO dto);
} }
}

4
src/WmsWebApi.Domain/OtherZll/OtherZllManager.cs

@ -9,7 +9,8 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.OtherZll; namespace WmsWebApi.OtherZll
{
public class OtherZllManager : DomainService, IOtherZllManager public class OtherZllManager : DomainService, IOtherZllManager
{ {
@ -31,3 +32,4 @@ public class OtherZllManager : DomainService, IOtherZllManager
} }
} }
}

4
src/WmsWebApi.Domain/PPlan/IPPlanManager.cs

@ -1,9 +1,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.PPlan; namespace WmsWebApi.PPlan
{
public interface IPPlanManager public interface IPPlanManager
{ {
Task<WmsWebApiPPLANDTO> AddAsync(WmsWebApiPPLANDTO pplan); Task<WmsWebApiPPLANDTO> AddAsync(WmsWebApiPPLANDTO pplan);
} }
}

4
src/WmsWebApi.Domain/PPlan/PPlanManager.cs

@ -9,7 +9,8 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.PPlan; namespace WmsWebApi.PPlan
{
public class PPlanManager : DomainService, IPPlanManager public class PPlanManager : DomainService, IPPlanManager
{ {
@ -31,3 +32,4 @@ public class PPlanManager : DomainService, IPPlanManager
} }
} }
}

4
src/WmsWebApi.Domain/Parts/IPartManager.cs

@ -1,9 +1,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.Parts; namespace WmsWebApi.Parts
{
public interface IPartManager public interface IPartManager
{ {
Task<WmsWebApiPARTDTO> AddAsync(WmsWebApiPARTDTO part); Task<WmsWebApiPARTDTO> AddAsync(WmsWebApiPARTDTO part);
} }
}

4
src/WmsWebApi.Domain/Parts/PartManager.cs

@ -9,7 +9,8 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Parts; namespace WmsWebApi.Parts
{
public class PartManager : DomainService, IPartManager public class PartManager : DomainService, IPartManager
{ {
@ -31,3 +32,4 @@ public class PartManager : DomainService, IPartManager
} }
} }
}

4
src/WmsWebApi.Domain/ProductRecieve/IProductRecieveManager.cs

@ -1,9 +1,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.Domain; namespace WmsWebApi.Domain
{
public interface IProductRecieveManager public interface IProductRecieveManager
{ {
Task<WmsWebApiProductRecieveDTO> AddAsync(WmsWebApiProductRecieveDTO part); Task<WmsWebApiProductRecieveDTO> AddAsync(WmsWebApiProductRecieveDTO part);
} }
}

4
src/WmsWebApi.Domain/ProductRecieve/ProductRecieveManager.cs

@ -9,7 +9,8 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Domain; namespace WmsWebApi.Domain
{
public class ProductRecieveManager : DomainService, IProductRecieveManager public class ProductRecieveManager : DomainService, IProductRecieveManager
{ {
@ -31,3 +32,4 @@ public class ProductRecieveManager : DomainService, IProductRecieveManager
} }
} }
}

4
src/WmsWebApi.Domain/Purchase/IPurchaseManager.cs

@ -1,9 +1,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.Purchase; namespace WmsWebApi.Purchase
{
public interface IPurchaseManager public interface IPurchaseManager
{ {
Task<WmsWebApiPURCHASEDTO> AddAsync(WmsWebApiPURCHASEDTO dto); Task<WmsWebApiPURCHASEDTO> AddAsync(WmsWebApiPURCHASEDTO dto);
} }
}

3
src/WmsWebApi.Domain/Purchase/PurchaseManager.cs

@ -9,7 +9,7 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Purchase; namespace WmsWebApi.Purchase {
public class PurchaseManager : DomainService, IPurchaseManager public class PurchaseManager : DomainService, IPurchaseManager
{ {
@ -31,3 +31,4 @@ public class PurchaseManager : DomainService, IPurchaseManager
} }
} }
}

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

@ -1,9 +1,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.Domain; namespace WmsWebApi.Domain {
public interface IStockMoveManager public interface IStockMoveManager
{ {
Task<WmsWebApiStockMoveDTO> AddAsync(WmsWebApiStockMoveDTO part); Task<WmsWebApiStockMoveDTO> AddAsync(WmsWebApiStockMoveDTO part);
} }
}

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

@ -9,7 +9,7 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Domain; namespace WmsWebApi.Domain {
public class StockMoveManager : DomainService, IStockMoveManager public class StockMoveManager : DomainService, IStockMoveManager
{ {
@ -31,3 +31,4 @@ public class StockMoveManager : DomainService, IStockMoveManager
} }
} }
}

3
src/WmsWebApi.Domain/TbOrfers/TbOrder.cs

@ -1,7 +1,7 @@
using System; using System;
using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Entities;
namespace WmsWebApi.TbOrfers; namespace WmsWebApi.TbOrfers {
public class TbOrder : BasicAggregateRoot<Guid> public class TbOrder : BasicAggregateRoot<Guid>
{ {
@ -9,3 +9,4 @@ public class TbOrder:BasicAggregateRoot<Guid>
public int Status { get; set; } public int Status { get; set; }
} }
}

4
src/WmsWebApi.Domain/WMS/TbBillExtensions.cs

@ -1,7 +1,8 @@
using Volo.Abp; using Volo.Abp;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.Wms; namespace WmsWebApi.Wms
{
public static class TbBillExtensions public static class TbBillExtensions
{ {
@ -46,3 +47,4 @@ public static class TbBillExtensions
} }
} }
}

3
src/WmsWebApi.Domain/ZlldcjLogs/IZlldcjLogManager.cs

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
public interface IZlldcjLogManager public interface IZlldcjLogManager
{ {
@ -9,3 +9,4 @@ public interface IZlldcjLogManager
Task<ZlldcjLog> CloseAsync(List<ZlldcjLog> zlldcjLogs); Task<ZlldcjLog> CloseAsync(List<ZlldcjLog> zlldcjLogs);
Task<WmsWebApiZLLDCJDTO> AddDtoAsync(WmsWebApiZLLDCJDTO dto); Task<WmsWebApiZLLDCJDTO> AddDtoAsync(WmsWebApiZLLDCJDTO dto);
} }
}

3
src/WmsWebApi.Domain/ZlldcjLogs/WmsWebApiZLLDCJDTO.cs

@ -6,7 +6,7 @@ using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Guids; using Volo.Abp.Guids;
using WmsWebApi.Enums; using WmsWebApi.Enums;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
public class WmsWebApiZLLDCJDTO : BasicAggregateRoot<Guid> public class WmsWebApiZLLDCJDTO : BasicAggregateRoot<Guid>
{ {
@ -43,3 +43,4 @@ public class WmsWebApiZLLDCJDTO : BasicAggregateRoot<Guid>
this.Id = guidGenerator.Create(); this.Id = guidGenerator.Create();
} }
} }
}

3
src/WmsWebApi.Domain/ZlldcjLogs/ZlldcjLog.cs

@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Guids; using Volo.Abp.Guids;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
public class ZlldcjLog : CreationAuditedAggregateRoot<Guid> public class ZlldcjLog : CreationAuditedAggregateRoot<Guid>
{ {
@ -174,3 +174,4 @@ public class ZlldcjLog:CreationAuditedAggregateRoot<Guid>
[Display(Name = "接口类型")] [Display(Name = "接口类型")]
public string IType { get; set; } public string IType { get; set; }
} }
}

3
src/WmsWebApi.Domain/ZlldcjLogs/ZlldcjLogExtensions.cs

@ -1,7 +1,7 @@
using Volo.Abp; using Volo.Abp;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs {
public static class ZlldcjLogExtensions public static class ZlldcjLogExtensions
{ {
@ -30,3 +30,4 @@ public static class ZlldcjLogExtensions
} }
} }
}

4
src/WmsWebApi.Domain/ZlldcjLogs/ZlldcjLogManager.cs

@ -9,7 +9,8 @@ using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
using WmsWebApi.Wms; using WmsWebApi.Wms;
namespace WmsWebApi.ZlldcjLogs; namespace WmsWebApi.ZlldcjLogs
{
public class ZlldcjLogManager : DomainService, IZlldcjLogManager public class ZlldcjLogManager : DomainService, IZlldcjLogManager
{ {
@ -171,3 +172,4 @@ public class ZlldcjLogManager:DomainService,IZlldcjLogManager
return dtos.Count; return dtos.Count;
} }
} }
}

4
src/WmsWebApi.Domain/ZlldgbLogs/IZlldgbLogManager.cs

@ -1,9 +1,11 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WmsWebApi.ZlldgbLogs; namespace WmsWebApi.ZlldgbLogs
{
public interface IZlldgbLogManager public interface IZlldgbLogManager
{ {
Task<ZlldgbLog> AddAsync(ZlldgbLog zlldcjLog); Task<ZlldgbLog> AddAsync(ZlldgbLog zlldcjLog);
Task<ZlldgbLog> CloseAsync(ZlldgbLog zlldcjLog); Task<ZlldgbLog> CloseAsync(ZlldgbLog zlldcjLog);
} }
}

3
src/WmsWebApi.Domain/ZlldgbLogs/ZlldgbLog.cs

@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Guids; using Volo.Abp.Guids;
namespace WmsWebApi.ZlldgbLogs; namespace WmsWebApi.ZlldgbLogs {
public class ZlldgbLog : CreationAuditedAggregateRoot<Guid> public class ZlldgbLog : CreationAuditedAggregateRoot<Guid>
{ {
@ -168,3 +168,4 @@ public class ZlldgbLog:CreationAuditedAggregateRoot<Guid>
this.Id = guidGenerator.Create(); this.Id = guidGenerator.Create();
} }
} }
}

3
src/WmsWebApi.Domain/ZlldgbLogs/ZlldgbLogExtensions.cs

@ -1,7 +1,7 @@
using Volo.Abp; using Volo.Abp;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
namespace WmsWebApi.ZlldgbLogs; namespace WmsWebApi.ZlldgbLogs {
public static class ZlldgbLogExtensions public static class ZlldgbLogExtensions
{ {
@ -30,3 +30,4 @@ public static class ZlldgbLogExtensions
} }
} }
}

3
src/WmsWebApi.Domain/ZlldgbLogs/ZlldgbLogManager.cs

@ -6,7 +6,7 @@ using Volo.Abp.Domain.Repositories;
using Volo.Abp.Domain.Services; using Volo.Abp.Domain.Services;
using WmsWebApi.TbOrfers; using WmsWebApi.TbOrfers;
namespace WmsWebApi.ZlldgbLogs; namespace WmsWebApi.ZlldgbLogs {
public class ZlldgbLogManager : DomainService, IZlldgbLogManager public class ZlldgbLogManager : DomainService, IZlldgbLogManager
{ {
@ -63,3 +63,4 @@ public class ZlldgbLogManager:DomainService,IZlldgbLogManager
} }
}
Loading…
Cancel
Save