Browse Source

更新服务路由

master
学 赵 1 year ago
parent
commit
b8c655945c
  1. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_CAN_SA_SERVICE.cs
  2. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_NOT_SA_SERVICE.cs
  3. 10
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_CAN_SA_SERVICE.cs
  4. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_NOT_SA_SERVICE.cs
  5. 10
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_CAN_SA_SERVICE.cs
  6. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_NOT_SA_SERVICE.cs
  7. 15
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/BBAC_SE_EDI.cs
  8. 29
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/HBPO_SE_EDI.cs

8
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_CAN_SA_SERVICE.cs

@ -16,11 +16,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
[AllowAnonymous] [AllowAnonymous]
[Route("api/settleaccount/bbac_can_sa_service")] [Route("api/settleaccount/[controller]/[action]")]
public class BBAC_CAN_SA_SERVICE : ApplicationService, IBBAC_CAN_SA_SERVICE public class BBAC_CAN_SA_SERVICE : ApplicationService, IBBAC_CAN_SA_SERVICE
{ {
[HttpPost] [HttpPost]
[Route("detailquery")] //[Route("detailquery")]
public Task<PagedResultDto<BBAC_CAN_SA_DETAIL_DTO>> DetailQueryAsync(BBAC_CAN_SA_DETAIL_REQ_DTO input) public Task<PagedResultDto<BBAC_CAN_SA_DETAIL_DTO>> DetailQueryAsync(BBAC_CAN_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
@ -32,7 +32,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("generateinvoice")] //[Route("generateinvoice")]
public Task<bool> GenerateInvoice(BBAC_CAN_SA_REQ_DTO input) public Task<bool> GenerateInvoice(BBAC_CAN_SA_REQ_DTO input)
{ {
List<BBAC_CAN_SA_DETAIL_DTO> _ls = new List<BBAC_CAN_SA_DETAIL_DTO>(); List<BBAC_CAN_SA_DETAIL_DTO> _ls = new List<BBAC_CAN_SA_DETAIL_DTO>();
@ -86,7 +86,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
} }
[HttpPost] [HttpPost]
[Route("mainquery")] //[Route("mainquery")]
public Task<PagedResultDto<BBAC_CAN_SA_DTO>> MainQueryAsync(BBAC_CAN_SA_REQ_DTO input) public Task<PagedResultDto<BBAC_CAN_SA_DTO>> MainQueryAsync(BBAC_CAN_SA_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

8
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_NOT_SA_SERVICE.cs

@ -13,23 +13,23 @@ using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ namespace Win.Sfs.SettleAccount.Entities.BQ
{ {
[AllowAnonymous] [AllowAnonymous]
[Route("api/settleaccount/bbac_not_sa_service")] [Route("api/settleaccount/[controller]/[action]")]
public class BBAC_NOT_SA_SERVICE : ApplicationService, IBBAC_NOT_SA_SERVICE public class BBAC_NOT_SA_SERVICE : ApplicationService, IBBAC_NOT_SA_SERVICE
{ {
[HttpPost] [HttpPost]
[Route("detailquery")] //[Route("detailquery")]
public Task<PagedResultDto<BBAC_NOT_SA_DETAIL_DTO>> DetailQueryAsync(BBAC_NOT_SA_DETAIL_REQ_DTO input) public Task<PagedResultDto<BBAC_NOT_SA_DETAIL_DTO>> DetailQueryAsync(BBAC_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("export")] //[Route("export")]
public Task<string> ExportAsync(BBAC_NOT_SA_DETAIL_REQ_DTO input) public Task<string> ExportAsync(BBAC_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("generatesettlementorder")] //[Route("generatesettlementorder")]
public Task<bool> GenerateSettlementOrder(BBAC_NOT_SA_DETAIL_REQ_DTO input) public Task<bool> GenerateSettlementOrder(BBAC_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

10
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_CAN_SA_SERVICE.cs

@ -13,29 +13,29 @@ using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ namespace Win.Sfs.SettleAccount.Entities.BQ
{ {
[AllowAnonymous] [AllowAnonymous]
[Route("api/settleaccount/hbpo_can_sa_service")] [Route("api/settleaccount/[controller]/[action]")]
public class HBPO_CAN_SA_SERVICE : ApplicationService, IHBPO_CAN_SA_SERVICE public class HBPO_CAN_SA_SERVICE : ApplicationService, IHBPO_CAN_SA_SERVICE
{ {
[HttpPost] [HttpPost]
[Route("detailquery")] //[Route("detailquery")]
public Task<PagedResultDto<HBPO_CAN_SA_DETAIL_DTO>> DetailQueryAsync(HBPO_CAN_SA_DETAIL_REQ_DTO input) public Task<PagedResultDto<HBPO_CAN_SA_DETAIL_DTO>> DetailQueryAsync(HBPO_CAN_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("export")] //[Route("export")]
public Task<string> ExportAsync(HBPO_CAN_SA_REQ_DTO input) public Task<string> ExportAsync(HBPO_CAN_SA_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("generateinvoice")] //[Route("generateinvoice")]
public Task<bool> GenerateInvoice(HBPO_CAN_SA_REQ_DTO input) public Task<bool> GenerateInvoice(HBPO_CAN_SA_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("mainquery")] //[Route("mainquery")]
public Task<PagedResultDto<HBPO_CAN_SA_DTO>> MainQueryAsync(HBPO_CAN_SA_REQ_DTO input) public Task<PagedResultDto<HBPO_CAN_SA_DTO>> MainQueryAsync(HBPO_CAN_SA_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

8
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_NOT_SA_SERVICE.cs

@ -13,23 +13,23 @@ using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ namespace Win.Sfs.SettleAccount.Entities.BQ
{ {
[AllowAnonymous] [AllowAnonymous]
[Route("api/settleaccount/hbpo_not_sa_service")] [Route("api/settleaccount/[controller]/[action]")]
public class HBPO_NOT_SA_SERVICE : ApplicationService, IHBPO_NOT_SA_SERVICE public class HBPO_NOT_SA_SERVICE : ApplicationService, IHBPO_NOT_SA_SERVICE
{ {
[HttpPost] [HttpPost]
[Route("detailquery")] //[Route("detailquery")]
public Task<PagedResultDto<HBPO_NOT_SA_DETAIL_DTO>> DetailQueryAsync(HBPO_NOT_SA_DETAIL_REQ_DTO input) public Task<PagedResultDto<HBPO_NOT_SA_DETAIL_DTO>> DetailQueryAsync(HBPO_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("export")] //[Route("export")]
public Task<string> ExportAsync(HBPO_NOT_SA_DETAIL_REQ_DTO input ) public Task<string> ExportAsync(HBPO_NOT_SA_DETAIL_REQ_DTO input )
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("generatesettlementorder")] //[Route("generatesettlementorder")]
public Task<bool> GenerateSettlementOrder(HBPO_NOT_SA_DETAIL_REQ_DTO input) public Task<bool> GenerateSettlementOrder(HBPO_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

10
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_CAN_SA_SERVICE.cs

@ -13,29 +13,29 @@ using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ namespace Win.Sfs.SettleAccount.Entities.BQ
{ {
[AllowAnonymous] [AllowAnonymous]
[Route("api/settleaccount/pub_can_sa_service")] [Route("api/settleaccount/[controller]/[action]")]
public class PUB_CAN_SA_SERVICE : ApplicationService, IPUB_CAN_SA_SERVICE public class PUB_CAN_SA_SERVICE : ApplicationService, IPUB_CAN_SA_SERVICE
{ {
[HttpPost] [HttpPost]
[Route("detailquery")] //[Route("detailquery")]
public Task<PagedResultDto<PUB_CAN_SA_DETAIL_DTO>> DetailQueryAsync(HBPO_CAN_SA_DETAIL_REQ_DTO input) public Task<PagedResultDto<PUB_CAN_SA_DETAIL_DTO>> DetailQueryAsync(HBPO_CAN_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("export")] //[Route("export")]
public Task<string> ExportAsync(PUB_CAN_SA_REQ_DTO input) public Task<string> ExportAsync(PUB_CAN_SA_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("generateInvoice")] //[Route("generateInvoice")]
public Task<bool> GenerateInvoice(PUB_CAN_SA_REQ_DTO input) public Task<bool> GenerateInvoice(PUB_CAN_SA_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("mainquery")] //[Route("mainquery")]
public Task<PagedResultDto<PUB_CAN_SA_DTO>> MainQueryAsync(HBPO_CAN_SA_REQ_DTO input) public Task<PagedResultDto<PUB_CAN_SA_DTO>> MainQueryAsync(HBPO_CAN_SA_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

8
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_NOT_SA_SERVICE.cs

@ -13,23 +13,23 @@ using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
namespace Win.Sfs.SettleAccount.Entities.BQ namespace Win.Sfs.SettleAccount.Entities.BQ
{ {
[AllowAnonymous] [AllowAnonymous]
[Route("api/settleaccount/pub_not_sa_service")] [Route("api/settleaccount/[controller]/[action]")]
public class PUB_NOT_SA_SERVICE : ApplicationService, IPUB_NOT_SA_SERVICE public class PUB_NOT_SA_SERVICE : ApplicationService, IPUB_NOT_SA_SERVICE
{ {
[HttpPost] [HttpPost]
[Route("detailquery")] //[Route("detailquery")]
public Task<PagedResultDto<PUB_NOT_SA_DETAIL_DTO>> DetailQueryAsync(PUB_NOT_SA_DETAIL_REQ_DTO input) public Task<PagedResultDto<PUB_NOT_SA_DETAIL_DTO>> DetailQueryAsync(PUB_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("export")] //[Route("export")]
public Task<string> ExportAsync(PUB_NOT_SA_DETAIL_REQ_DTO input) public Task<string> ExportAsync(PUB_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
[HttpPost] [HttpPost]
[Route("generatesettlementorder")] //[Route("generatesettlementorder")]
public Task<bool> GenerateSettlementOrder(PUB_NOT_SA_DETAIL_REQ_DTO input) public Task<bool> GenerateSettlementOrder(PUB_NOT_SA_DETAIL_REQ_DTO input)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

15
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/BBAC_SE_EDI.cs

@ -36,8 +36,10 @@ public class BBAC_SE_EDI:FullAuditedAggregateRoot<Guid>
[Display(Name = "订货时间")] [Display(Name = "订货时间")]
public DateTime BeginDate { get; set; } public DateTime BeginDate { get; set; }
public string Extend1 { set; get; } [Display(Name = "工厂")]
public string Site { get; set; }
public string Extend1 { set; get; }
public string Extend2 { set; get; } public string Extend2 { set; get; }
public string Extend3 { set; get; } public string Extend3 { set; get; }
public string Extend4 { set; get; } public string Extend4 { set; get; }
@ -45,7 +47,9 @@ public class BBAC_SE_EDI:FullAuditedAggregateRoot<Guid>
public BBAC_SE_EDI() public BBAC_SE_EDI()
{ } { }
public BBAC_SE_EDI(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate) public BBAC_SE_EDI(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate
,string site, string extend1, string extend2, string extend3, string extend4)
{ {
Id = guid; Id = guid;
@ -58,5 +62,12 @@ public class BBAC_SE_EDI:FullAuditedAggregateRoot<Guid>
InjectionCode = injectionCode; InjectionCode = injectionCode;
Qty = qty; Qty = qty;
BeginDate = beginDate; BeginDate = beginDate;
Site = site;
Extend1 = extend1;
Extend2 = extend2;
Extend3 = extend3;
Extend4 = extend4;
} }
} }

29
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/HBPO_SE_EDI.cs

@ -36,16 +36,20 @@ public class HBPO_SE_EDI :FullAuditedAggregateRoot<Guid>
[Display(Name = "订货时间")] [Display(Name = "订货时间")]
public DateTime BeginDate { get; set; } public DateTime BeginDate { get; set; }
[Display(Name = "工厂")]
public string Site { get; set; }
public string Extend1 { set; get; } public string Extend1 { set; get; }
public string Extend2 { set; get; } public string Extend2 { set; get; }
public string Extend3 { set; get; } public string Extend3 { set; get; }
public string Extend4 { set; get; } public string Extend4 { set; get; }
public HBPO_SE_EDI(Guid guid ,string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate, string site, string extend1, string extend2, string extend3, string extend4)
public HBPO_SE_EDI(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate)
{ {
Id=guid; Id = guid;
KeyCode = keyCode; KeyCode = keyCode;
Version = version; Version = version;
LU = lU; LU = lU;
@ -55,8 +59,27 @@ public class HBPO_SE_EDI :FullAuditedAggregateRoot<Guid>
InjectionCode = injectionCode; InjectionCode = injectionCode;
Qty = qty; Qty = qty;
BeginDate = beginDate; BeginDate = beginDate;
Site = site;
Extend1 = extend1;
Extend2 = extend2;
Extend3 = extend3;
Extend4 = extend4;
} }
//public HBPO_SE_EDI(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate)
//{
// Id=guid;
// KeyCode = keyCode;
// Version = version;
// LU = lU;
// PN = pN;
// SeqNumber = seqNumber;
// AssemblyCode = assemblyCode;
// InjectionCode = injectionCode;
// Qty = qty;
// BeginDate = beginDate;
//}
public HBPO_SE_EDI() public HBPO_SE_EDI()
{ {
} }

Loading…
Cancel
Save