Browse Source

Merge branch 'master' of http://dev.ccwin-in.com:3000/BoXu.Zheng/BeiJinSettleAccount

# Conflicts:
#	code/.gitignore
pull/1/head
fangdawei 1 year ago
parent
commit
0d5e48dd22
  1. 19
      code/.gitignore
  2. 6
      code/WebApp/vanilla/index.html
  3. 14
      code/WebApp/vanilla/router/index.js
  4. 15
      code/WebApp/vanilla/views/user/index.js
  5. 60
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs
  6. 35
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs
  7. 54
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SAController.cs
  8. 21
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs
  9. 33
      docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs
  10. 60
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs
  11. 35
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs
  12. 54
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs
  13. 21
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs
  14. 33
      docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs
  15. 60
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DNController.cs
  16. 35
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs
  17. 54
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SAController.cs
  18. 21
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SA_DETAILController.cs
  19. 33
      docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs
  20. 60
      docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs
  21. 40
      docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs
  22. 60
      docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs
  23. 35
      docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs
  24. 55
      docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs
  25. 21
      docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs
  26. 33
      docs/demo/src/WTA.Application/Identity/Controllers/IN_SE_DETAILController.cs
  27. 60
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs
  28. 35
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs
  29. 54
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs
  30. 21
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs
  31. 33
      docs/demo/src/WTA.Application/Identity/Controllers/JIT_SE_DETAILController.cs
  32. 26
      docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_BJController.cs
  33. 22
      docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs
  34. 20
      docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs
  35. 20
      docs/demo/src/WTA.Application/Identity/Controllers/TB_RePartsRelationshipController.cs
  36. 2
      docs/demo/src/WTA.Application/Identity/Controllers/UserController.cs
  37. 246
      docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs
  38. 82
      docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs
  39. 642
      docs/demo/src/WTA.Application/Identity/Entities/BaseData/Class1.cs
  40. 84
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs
  41. 112
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs
  42. 47
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs
  43. 72
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs
  44. 98
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs
  45. 30
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs
  46. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs
  47. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs
  48. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs
  49. 10
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CaiWuShenHeGroup.cs
  50. 10
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs
  51. 447
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs
  52. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs
  53. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs
  54. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs
  55. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs
  56. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs
  57. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs
  58. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs
  59. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs
  60. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs
  61. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs
  62. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs
  63. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs
  64. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs
  65. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs
  66. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs
  67. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs
  68. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs
  69. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs
  70. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs
  71. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs
  72. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs
  73. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs
  74. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs
  75. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs
  76. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs
  77. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs
  78. 12
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs
  79. 10
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs
  80. 75
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs
  81. 102
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs
  82. 45
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs
  83. 57
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs
  84. 73
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs
  85. 94
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs
  86. 36
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs
  87. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs
  88. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs
  89. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs
  90. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs
  91. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs
  92. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs
  93. 73
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs
  94. 100
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs
  95. 36
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs
  96. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs
  97. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs
  98. 11
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs
  99. 10
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ShangWuShenHeGroup.cs
  100. 29
      docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs

19
code/.gitignore

@ -1,3 +1,4 @@
<<<<<<< HEAD
################################################################################
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
################################################################################
@ -16,3 +17,21 @@
/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20220226.txt
/src/.vs/SettleAccount/v17/.futdcache.v1
/src/.vs/SettleAccount/v17/fileList.bin
=======
*.bak
#fe
node_modules/
dist/
#be
.vs/
bin/
obj/
*.suo
*.user
*.db
*.db-shm
*.db-wal
>>>>>>> c0f08a7ed0ffc663a2852d4c0da54a983f033a2f

6
code/WebApp/vanilla/index.html

@ -3,7 +3,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<base href="/" />
<style>
@keyframes loading-rotate {
@ -69,4 +71,4 @@
<script type="module" src="./main.js"></script>
</body>
</html>
</html>

14
code/WebApp/vanilla/router/index.js

@ -89,14 +89,18 @@ router.afterEach((to, from) => {
}
});
const reset = (list, parent = null) => {
return list.map((o) => {
const reset = async (list, parent = null) => {
return list.map(async (o) => {
const item = {
path: o.path,
meta: o.meta,
};
if (item.component && item.component !== "Layout") {
item.component = import(`../views/${o.component ? o.component : "list"}.js`);
if (o.component && typeof o.component === "string" && o.component !== "Layout") {
try {
item.component = await import(`../views/${o.component}.js`);
} catch (error) {
item.component = await import(`../views/list.js`);
}
}
item.meta.path = `${parent === null ? "" : parent.meta.path + "/"}${item.path}`;
item.meta.fullName = `${parent === null ? "" : parent.meta.title + " > "}${item.meta.title}`;
@ -120,7 +124,7 @@ const refreshRouter = async () => {
await connect();
const appStore = useAppStore();
const permissions = appStore.user.permissions.filter((o) => !o.isHidden);
const serverRoutes = reset(permissions);
const serverRoutes = await reset(permissions);
const route = {
name: "layout",
path: "",

15
code/WebApp/vanilla/views/user/index.js

@ -0,0 +1,15 @@
import AppList from "../components/list/index.js";
import html from "html";
import router from "../router/index.js";
export default {
components: { AppList },
template: html`<app-list @command="onCommand"> </app-list>`,
setup() {
console.log(router.currentRoute.value.fullPath);
const onCommand = (item, rows) => {
console.log(item.path, item, rows);
};
return { onCommand };
},
};

60
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs

@ -0,0 +1,60 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BBAC_DNController : GenericController<BBAC_DN, BBAC_DN, BBAC_DN, BBAC_DN, BBAC_DN, BBAC_DN>
{
public BBAC_DNController(ILogger<BBAC_DN> logger, IRepository<BBAC_DN> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<BBAC_DN, BBAC_DN> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] BBAC_DN model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "审核出库单"), Multiple]
public IActionResult? OutboundAuditAsync()
{
return null;
}
[HttpPost, Display(Name = "生成待开票报表"), Multiple]
public IActionResult? AddBackGroundJob()
{
return null;
}
[HttpPost, Display(Name = "撤销出库审核"), Multiple]
public IActionResult? RevokeReviewAsync()
{
return null;
}
}

35
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs

@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BBAC_DN_DETAILController : GenericController<BBAC_DN_DETAIL, BBAC_DN_DETAIL, BBAC_DN_DETAIL, BBAC_DN_DETAIL, BBAC_DN_DETAIL, BBAC_DN_DETAIL>
{
public BBAC_DN_DETAILController(ILogger<BBAC_DN_DETAIL> logger, IRepository<BBAC_DN_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Create([FromBody] BBAC_DN_DETAIL model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "取消出库单"), Multiple]
public IActionResult? CancelOutbound()
{
return null;
}
}

54
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SAController.cs

@ -0,0 +1,54 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BBAC_SAController : GenericController<BBAC_SA, BBAC_SA, BBAC_SA, BBAC_SA, BBAC_SA, BBAC_SA>
{
public BBAC_SAController(ILogger<BBAC_SA> logger, IRepository<BBAC_SA> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<BBAC_SA, BBAC_SA> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] BBAC_SA model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "下载")]
public IActionResult? Download()//download
{
return null;
}
[HttpPost, Display(Name = "生成出库单"), Multiple]
public IActionResult? CreateOutOrdersAsync()
{
return null;
}
}

21
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BBAC_SA_DETAILController : GenericController<BBAC_SA_DETAIL, BBAC_SA_DETAIL, BBAC_SA_DETAIL, BBAC_SA_DETAIL, BBAC_SA_DETAIL, BBAC_SA_DETAIL>
{
public BBAC_SA_DETAILController(ILogger<BBAC_SA_DETAIL> logger, IRepository<BBAC_SA_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] BBAC_SA_DETAIL model)
{
return base.Create(model);
}
}

33
docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs

@ -0,0 +1,33 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BBAC_SE_DETAILController : GenericController<BBAC_SE_DETAIL, BBAC_SE_DETAIL, BBAC_SE_DETAIL, BBAC_SE_DETAIL, BBAC_SE_DETAIL, BBAC_SE_DETAIL>
{
public BBAC_SE_DETAILController(ILogger<BBAC_SE_DETAIL> logger, IRepository<BBAC_SE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] BBAC_SE_DETAIL model)
{
return base.Create(model);
}
}

60
docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs

@ -0,0 +1,60 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BJ_DNController : GenericController<BJ_DN, BJ_DN, BJ_DN, BJ_DN, BJ_DN, BJ_DN>
{
public BJ_DNController(ILogger<BJ_DN> logger, IRepository<BJ_DN> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<BJ_DN, BJ_DN> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] BJ_DN model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "审核出库单"), Multiple]
public IActionResult? OutboundAuditAsync()
{
return null;
}
[HttpPost, Display(Name = "生成待开票报表"), Multiple]
public IActionResult? AddBackGroundJob()
{
return null;
}
[HttpPost, Display(Name = "撤销出库审核"), Multiple]
public IActionResult? RevokeReviewAsync()
{
return null;
}
}

35
docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs

@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BJ_DN_DETAILController : GenericController<BJ_DN_DETAIL, BJ_DN_DETAIL, BJ_DN_DETAIL, BJ_DN_DETAIL, BJ_DN_DETAIL, BJ_DN_DETAIL>
{
public BJ_DN_DETAILController(ILogger<BJ_DN_DETAIL> logger, IRepository<BJ_DN_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[HttpPost, Display(Name = "取消出库单"), Multiple]
public IActionResult? CancelOutbound()
{
return null;
}
[NonAction]
public override IActionResult Create([FromBody] BJ_DN_DETAIL model)
{
return base.Create(model);
}
}

54
docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs

@ -0,0 +1,54 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BJ_SAController : GenericController<BJ_SA, BJ_SA, BJ_SA, BJ_SA, BJ_SA, BJ_SA>
{
public BJ_SAController(ILogger<BJ_SA> logger, IRepository<BJ_SA> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<BJ_SA, BJ_SA> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] BJ_SA model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "下载")]
public IActionResult? Download()//download
{
return null;
}
[HttpPost, Display(Name = "生成出库单"), Multiple]
public IActionResult? CreateOutOrdersAsync()
{
return null;
}
}

21
docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BJ_SA_DETAILController : GenericController<BJ_SA_DETAIL, BJ_SA_DETAIL, BJ_SA_DETAIL, BJ_SA_DETAIL, BJ_SA_DETAIL, BJ_SA_DETAIL>
{
public BJ_SA_DETAILController(ILogger<BJ_SA_DETAIL> logger, IRepository<BJ_SA_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] BJ_SA_DETAIL model)
{
return base.Create(model);
}
}

33
docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs

@ -0,0 +1,33 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class BJ_SE_DETAILController : GenericController<BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL, BJ_SE_DETAIL>
{
public BJ_SE_DETAILController(ILogger<BJ_SE_DETAIL> logger, IRepository<BJ_SE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] BJ_SE_DETAIL model)
{
return base.Create(model);
}
}

60
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DNController.cs

@ -0,0 +1,60 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class HBPO_DNController : GenericController<HBPO_DN, HBPO_DN, HBPO_DN, HBPO_DN, HBPO_DN, HBPO_DN>
{
public HBPO_DNController(ILogger<HBPO_DN> logger, IRepository<HBPO_DN> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<HBPO_DN, HBPO_DN> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] HBPO_DN model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "审核出库单"), Multiple]
public IActionResult? OutboundAuditAsync()
{
return null;
}
[HttpPost, Display(Name = "生成待开票报表"), Multiple]
public IActionResult? AddBackGroundJob()
{
return null;
}
[HttpPost, Display(Name = "撤销出库审核"), Multiple]
public IActionResult? RevokeReviewAsync()
{
return null;
}
}

35
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs

@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class HBPO_DN_DETAILController : GenericController<HBPO_DN_DETAIL, HBPO_DN_DETAIL, HBPO_DN_DETAIL, HBPO_DN_DETAIL, HBPO_DN_DETAIL, HBPO_DN_DETAIL>
{
public HBPO_DN_DETAILController(ILogger<HBPO_DN_DETAIL> logger, IRepository<HBPO_DN_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Create([FromBody] HBPO_DN_DETAIL model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "取消出库单"), Multiple]
public IActionResult? CancelOutbound()
{
return null;
}
}

54
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SAController.cs

@ -0,0 +1,54 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class HBPO_SAController : GenericController<HBPO_SA, HBPO_SA, HBPO_SA, HBPO_SA, HBPO_SA, HBPO_SA>
{
public HBPO_SAController(ILogger<HBPO_SA> logger, IRepository<HBPO_SA> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] HBPO_SA model)
{
return base.Create(model);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<HBPO_SA, HBPO_SA> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[HttpPost, Display(Name = "下载")]
public IActionResult? Download()//download
{
return null;
}
[HttpPost, Display(Name = "生成出库单"), Multiple]
public IActionResult? CreateOutOrdersAsync()
{
return null;
}
}

21
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SA_DETAILController.cs

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class HBPO_SA_DETAILController : GenericController<HBPO_SA_DETAIL, HBPO_SA_DETAIL, HBPO_SA_DETAIL, HBPO_SA_DETAIL, HBPO_SA_DETAIL, HBPO_SA_DETAIL>
{
public HBPO_SA_DETAILController(ILogger<HBPO_SA_DETAIL> logger, IRepository<HBPO_SA_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] HBPO_SA_DETAIL model)
{
return base.Create(model);
}
}

33
docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs

@ -0,0 +1,33 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class HBPO_SE_DETAILController : GenericController<HBPO_SE_DETAIL, HBPO_SE_DETAIL, HBPO_SE_DETAIL, HBPO_SE_DETAIL, HBPO_SE_DETAIL, HBPO_SE_DETAIL>
{
public HBPO_SE_DETAILController(ILogger<HBPO_SE_DETAIL> logger, IRepository<HBPO_SE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] HBPO_SE_DETAIL model)
{
return base.Create(model);
}
}

60
docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs

@ -0,0 +1,60 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class INVOICEController : GenericController<INVOICE, INVOICE, INVOICE, INVOICE, INVOICE, INVOICE>
{
public INVOICEController(ILogger<INVOICE> logger, IRepository<INVOICE> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<INVOICE, INVOICE> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] INVOICE model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "导入开票文件"), Multiple]
public IActionResult? INVOICE_UploadExcelImport()
{
return null;
}
[HttpPost, Display(Name = "审核发票信息"), Multiple]
public IActionResult? AddBackGroundJob()
{
return null;
}
[HttpPost, Display(Name = "同步寄售库至QAD"), Multiple]
public IActionResult? SendWmsQAD()
{
return null;
}
}

40
docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs

@ -0,0 +1,40 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class INVOICE_DETAILController : GenericController<INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL>
{
public INVOICE_DETAILController(ILogger<INVOICE_DETAIL> logger, IRepository<INVOICE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<INVOICE_DETAIL, INVOICE_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] INVOICE_DETAIL model)
{
return base.Create(model);
}
}

60
docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs

@ -0,0 +1,60 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class IN_DNController : GenericController<IN_DN, IN_DN, IN_DN, IN_DN, IN_DN, IN_DN>
{
public IN_DNController(ILogger<IN_DN> logger, IRepository<IN_DN> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<IN_DN, IN_DN> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] IN_DN model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "审核出库单"), Multiple]
public IActionResult? OutboundAuditAsync()
{
return null;
}
[HttpPost, Display(Name = "生成待开票报表"), Multiple]
public IActionResult? AddBackGroundJob()
{
return null;
}
[HttpPost, Display(Name = "撤销出库审核"), Multiple]
public IActionResult? RevokeReviewAsync()
{
return null;
}
}

35
docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs

@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class IN_DN_DETAILController : GenericController<IN_DN_DETAIL, IN_DN_DETAIL, IN_DN_DETAIL, IN_DN_DETAIL, IN_DN_DETAIL, IN_DN_DETAIL>
{
public IN_DN_DETAILController(ILogger<IN_DN_DETAIL> logger, IRepository<IN_DN_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Create([FromBody] IN_DN_DETAIL model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "取消出库单"), Multiple]
public IActionResult? CancelOutbound()
{
return null;
}
}

55
docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs

@ -0,0 +1,55 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class IN_SAController : GenericController<IN_SA, IN_SA, IN_SA, IN_SA, IN_SA, IN_SA>
{
public IN_SAController(ILogger<IN_SA> logger, IRepository<IN_SA> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<IN_SA, IN_SA> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] IN_SA model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "下载")]
public IActionResult? Download()//download
{
return null;
}
[HttpPost, Display(Name = "生成出库单"), Multiple]
public IActionResult? CreateOutOrdersAsync()
{
return null;
}
}

21
docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class IN_SA_DETAILController : GenericController<IN_SA_DETAIL, IN_SA_DETAIL, IN_SA_DETAIL, IN_SA_DETAIL, IN_SA_DETAIL, IN_SA_DETAIL>
{
public IN_SA_DETAILController(ILogger<IN_SA_DETAIL> logger, IRepository<IN_SA_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] IN_SA_DETAIL model)
{
return base.Create(model);
}
}

33
docs/demo/src/WTA.Application/Identity/Controllers/IN_SE_DETAILController.cs

@ -0,0 +1,33 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class IN_SE_DETAILController : GenericController<IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL, IN_SE_DETAIL>
{
public IN_SE_DETAILController(ILogger<IN_SE_DETAIL> logger, IRepository<IN_SE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] IN_SE_DETAIL model)
{
return base.Create(model);
}
}

60
docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs

@ -0,0 +1,60 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class JIT_DNController : GenericController<JIT_DN, JIT_DN, JIT_DN, JIT_DN, JIT_DN, JIT_DN>
{
public JIT_DNController(ILogger<JIT_DN> logger, IRepository<JIT_DN> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<JIT_DN, JIT_DN> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] JIT_DN model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "审核出库单"), Multiple]
public IActionResult? OutboundAuditAsync()
{
return null;
}
[HttpPost, Display(Name = "生成待开票报表"), Multiple]
public IActionResult? AddBackGroundJob()
{
return null;
}
[HttpPost, Display(Name = "撤销出库审核"), Multiple]
public IActionResult? RevokeReviewAsync()
{
return null;
}
}

35
docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs

@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class JIT_DN_DETAILController : GenericController<JIT_DN_DETAIL, JIT_DN_DETAIL, JIT_DN_DETAIL, JIT_DN_DETAIL, JIT_DN_DETAIL, JIT_DN_DETAIL>
{
public JIT_DN_DETAILController(ILogger<JIT_DN_DETAIL> logger, IRepository<JIT_DN_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Create([FromBody] JIT_DN_DETAIL model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "取消出库单"), Multiple]
public IActionResult? CancelOutbound()
{
return null;
}
}

54
docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs

@ -0,0 +1,54 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Application;
using WTA.Shared.Attributes;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class JIT_SAController : GenericController<JIT_SA, JIT_SA, JIT_SA, JIT_SA, JIT_SA, JIT_SA>
{
public JIT_SAController(ILogger<JIT_SA> logger, IRepository<JIT_SA> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Export([FromBody] PaginationModel<JIT_SA, JIT_SA> model, bool includeAll = false, bool includeDeleted = false)
{
return base.Export(model, includeAll, includeDeleted);
}
[NonAction]
public override IActionResult Create([FromBody] JIT_SA model)
{
return base.Create(model);
}
[HttpPost, Display(Name = "下载")]
public IActionResult? Download()//download
{
return null;
}
[HttpPost, Display(Name = "生成出库单"), Multiple]
public IActionResult? CreateOutOrdersAsync()
{
return null;
}
}

21
docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class JIT_SA_DETAILController : GenericController<JIT_SA_DETAIL, JIT_SA_DETAIL, JIT_SA_DETAIL, JIT_SA_DETAIL, JIT_SA_DETAIL, JIT_SA_DETAIL>
{
public JIT_SA_DETAILController(ILogger<JIT_SA_DETAIL> logger, IRepository<JIT_SA_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] JIT_SA_DETAIL model)
{
return base.Create(model);
}
}

33
docs/demo/src/WTA.Application/Identity/Controllers/JIT_SE_DETAILController.cs

@ -0,0 +1,33 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class JIT_SE_DETAILController : GenericController<JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL, JIT_SE_DETAIL>
{
public JIT_SE_DETAILController(ILogger<JIT_SE_DETAIL> logger, IRepository<JIT_SE_DETAIL> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Import(IFormFile importexcelfile)
{
return base.Import(importexcelfile);
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
public override IActionResult Create([FromBody] JIT_SE_DETAIL model)
{
return base.Create(model);
}
}

26
docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_BJController.cs

@ -0,0 +1,26 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class TB_PRICE_BJController : GenericController<TB_PRICE_BJ, TB_PRICE_BJ, TB_PRICE_BJ, TB_PRICE_BJ, TB_PRICE_BJ, TB_PRICE_BJ>
{
public TB_PRICE_BJController(ILogger<TB_PRICE_BJ> logger, IRepository<TB_PRICE_BJ> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] TB_PRICE_BJ model)
{
return base.Create(model);
}
//[NonAction]
//public override IActionResult Index([FromBody] PaginationModel<TB_PRICE_BJ, TB_PRICE_BJ> model)
//{
// return base.Index(model);
//}
}

22
docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs

@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class TB_PRICE_LISTController : GenericController<TB_PRICE_LIST, TB_PRICE_LIST, TB_PRICE_LIST, TB_PRICE_LIST, TB_PRICE_LIST, TB_PRICE_LIST>
{
public TB_PRICE_LISTController(ILogger<TB_PRICE_LIST> logger, IRepository<TB_PRICE_LIST> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] TB_PRICE_LIST model)
{
return base.Create(model);
}
}

20
docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs

@ -0,0 +1,20 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class TB_ReAssemblyRelationshipController : GenericController<TB_ReAssemblyRelationship, TB_ReAssemblyRelationship, TB_ReAssemblyRelationship, TB_ReAssemblyRelationship, TB_ReAssemblyRelationship, TB_ReAssemblyRelationship>
{
public TB_ReAssemblyRelationshipController(ILogger<TB_ReAssemblyRelationship> logger, IRepository<TB_ReAssemblyRelationship> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] TB_ReAssemblyRelationship model)
{
return base.Create(model);
}
}

20
docs/demo/src/WTA.Application/Identity/Controllers/TB_RePartsRelationshipController.cs

@ -0,0 +1,20 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
public class TB_RePartsRelationshipController : GenericController<TB_RePartsRelationship, TB_RePartsRelationship, TB_RePartsRelationship, TB_RePartsRelationship, TB_RePartsRelationship, TB_RePartsRelationship>
{
public TB_RePartsRelationshipController(ILogger<TB_RePartsRelationship> logger, IRepository<TB_RePartsRelationship> repository) : base(logger, repository)
{
}
[NonAction]
public override IActionResult Create([FromBody] TB_RePartsRelationship model)
{
return base.Create(model);
}
}

2
docs/demo/src/WTA.Application/Identity/Controllers/UserController.cs

@ -20,7 +20,7 @@ public class UserController : GenericController<User, User, User, User, User, Us
}
[HttpPost, Display(Name = "密码重置")]
public virtual IActionResult ResetPassword()
public virtual IActionResult? ResetPassword()
{
return null;
}

246
docs/demo/src/WTA.Application/Identity/Data/Config/BaseDataDbConfig.cs

@ -0,0 +1,246 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using WTA.Application.Identity.Entities.SystemManagement;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Data.Config;
public class BaseDataDbConfig : IDbConfig<IdentityDbContext>,
IEntityTypeConfiguration<Class1>,
IEntityTypeConfiguration<Class2>,
IEntityTypeConfiguration<TB_RePartsRelationship>,
IEntityTypeConfiguration<TB_ReAssemblyRelationship>,
IEntityTypeConfiguration<Class5>,
IEntityTypeConfiguration<TB_PRICE_LIST>,
IEntityTypeConfiguration<Class7>,
IEntityTypeConfiguration<Class8>,
IEntityTypeConfiguration<HBPO_SA>,
IEntityTypeConfiguration<BBAC_SA>,
IEntityTypeConfiguration<HBPO_SE_DETAIL>,
IEntityTypeConfiguration<BBAC_SE_DETAIL>,
IEntityTypeConfiguration<Class13>,
IEntityTypeConfiguration<Class14>,
IEntityTypeConfiguration<Class15>,
IEntityTypeConfiguration<Class16>,
IEntityTypeConfiguration<Class17>,
IEntityTypeConfiguration<Class18>,
IEntityTypeConfiguration<JIT_SA>,
IEntityTypeConfiguration<JIT_SE_DETAIL>,
IEntityTypeConfiguration<Class21>,
IEntityTypeConfiguration<Class22>,
IEntityTypeConfiguration<Class23>,
IEntityTypeConfiguration<BJ_SA>,
IEntityTypeConfiguration<BJ_SE_DETAIL>,
IEntityTypeConfiguration<Class26>,
IEntityTypeConfiguration<Class27>,
IEntityTypeConfiguration<Class28>,
IEntityTypeConfiguration<Class29>,
IEntityTypeConfiguration<IN_SA>,
IEntityTypeConfiguration<IN_SE_DETAIL>,
IEntityTypeConfiguration<Class32>,
IEntityTypeConfiguration<Class33>,
IEntityTypeConfiguration<Class34>,
IEntityTypeConfiguration<Class35>,
IEntityTypeConfiguration<HBPO_DN>,
IEntityTypeConfiguration<BBAC_DN>,
IEntityTypeConfiguration<JIT_DN>,
IEntityTypeConfiguration<BJ_DN>,
IEntityTypeConfiguration<IN_DN>,
IEntityTypeConfiguration<Class41>,
IEntityTypeConfiguration<INVOICE>,
IEntityTypeConfiguration<Class43>,
IEntityTypeConfiguration<Class44>,
IEntityTypeConfiguration<Class45>,
IEntityTypeConfiguration<Class46>,
IEntityTypeConfiguration<Class47>,
IEntityTypeConfiguration<BBAC_DN_DETAIL>,
IEntityTypeConfiguration<BBAC_SA_DETAIL>,
IEntityTypeConfiguration<BJ_DN_DETAIL>,
IEntityTypeConfiguration<HBPO_DN_DETAIL>,
IEntityTypeConfiguration<HBPO_SA_DETAIL>,
IEntityTypeConfiguration<IN_DN_DETAIL>,
IEntityTypeConfiguration<IN_SA_DETAIL>,
IEntityTypeConfiguration<INVOICE_DETAIL>,
IEntityTypeConfiguration<JIT_DN_DETAIL>,
IEntityTypeConfiguration<JIT_SA_DETAIL>,
IEntityTypeConfiguration<BJ_SA_DETAIL>,
IEntityTypeConfiguration<TB_PRICE_BJ>
{
public void Configure(EntityTypeBuilder<Class1> builder)
{ }
public void Configure(EntityTypeBuilder<Class2> builder)
{ }
public void Configure(EntityTypeBuilder<TB_RePartsRelationship> builder)
{ }
public void Configure(EntityTypeBuilder<TB_ReAssemblyRelationship> builder)
{ }
public void Configure(EntityTypeBuilder<Class5> builder)
{ }
public void Configure(EntityTypeBuilder<TB_PRICE_LIST> builder)
{ }
public void Configure(EntityTypeBuilder<Class7> builder)
{ }
public void Configure(EntityTypeBuilder<Class8> builder)
{ }
public void Configure(EntityTypeBuilder<HBPO_SA> builder)
{ }
public void Configure(EntityTypeBuilder<BBAC_SA> builder)
{ }
public void Configure(EntityTypeBuilder<HBPO_SE_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<BBAC_SE_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<Class13> builder)
{ }
public void Configure(EntityTypeBuilder<Class14> builder)
{ }
public void Configure(EntityTypeBuilder<Class15> builder)
{ }
public void Configure(EntityTypeBuilder<Class16> builder)
{ }
public void Configure(EntityTypeBuilder<Class17> builder)
{ }
public void Configure(EntityTypeBuilder<Class18> builder)
{ }
public void Configure(EntityTypeBuilder<JIT_SA> builder)
{ }
public void Configure(EntityTypeBuilder<JIT_SE_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<Class21> builder)
{ }
public void Configure(EntityTypeBuilder<Class22> builder)
{ }
public void Configure(EntityTypeBuilder<Class23> builder)
{ }
public void Configure(EntityTypeBuilder<BJ_SA> builder)
{ }
public void Configure(EntityTypeBuilder<BJ_SE_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<Class26> builder)
{ }
public void Configure(EntityTypeBuilder<Class27> builder)
{ }
public void Configure(EntityTypeBuilder<Class28> builder)
{ }
public void Configure(EntityTypeBuilder<Class29> builder)
{ }
public void Configure(EntityTypeBuilder<IN_SA> builder)
{ }
public void Configure(EntityTypeBuilder<IN_SE_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<Class32> builder)
{ }
public void Configure(EntityTypeBuilder<Class33> builder)
{ }
public void Configure(EntityTypeBuilder<Class34> builder)
{ }
public void Configure(EntityTypeBuilder<Class35> builder)
{ }
public void Configure(EntityTypeBuilder<HBPO_DN> builder)
{ }
public void Configure(EntityTypeBuilder<BBAC_DN> builder)
{ }
public void Configure(EntityTypeBuilder<JIT_DN> builder)
{ }
public void Configure(EntityTypeBuilder<BJ_DN> builder)
{ }
public void Configure(EntityTypeBuilder<IN_DN> builder)
{ }
public void Configure(EntityTypeBuilder<Class41> builder)
{ }
public void Configure(EntityTypeBuilder<INVOICE> builder)
{ }
public void Configure(EntityTypeBuilder<Class43> builder)
{ }
public void Configure(EntityTypeBuilder<Class44> builder)
{ }
public void Configure(EntityTypeBuilder<Class45> builder)
{ }
public void Configure(EntityTypeBuilder<Class46> builder)
{ }
public void Configure(EntityTypeBuilder<Class47> builder)
{ }
public void Configure(EntityTypeBuilder<BBAC_DN_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<BBAC_SA_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<BJ_DN_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<HBPO_DN_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<HBPO_SA_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<IN_DN_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<IN_SA_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<INVOICE_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<JIT_DN_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<JIT_SA_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<BJ_SA_DETAIL> builder)
{ }
public void Configure(EntityTypeBuilder<TB_PRICE_BJ> builder)
{ }
}

82
docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs

@ -40,6 +40,8 @@ public class IdentityDbSeed : IDbSeed<IdentityDbContext>
// 数据字典初始化
InitDictionaries(context);
//测试数据初始化
InitTestDate(context);
//租户初始化
var tenant = new Tenant
{
@ -117,8 +119,86 @@ public class IdentityDbSeed : IDbSeed<IdentityDbContext>
context.Set<User>().Add(superUser);
}
private void InitDictionaries(DbContext context)
private static void InitTestDate(IdentityDbContext context)
{
context.Set<HBPO_SA>().Add(new HBPO_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<HBPO_SA>().Add(new HBPO_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<HBPO_SA_DETAIL>().Add(new HBPO_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<HBPO_SA_DETAIL>().Add(new HBPO_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<BBAC_SA>().Add(new BBAC_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<BBAC_SA>().Add(new BBAC_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<BBAC_SA_DETAIL>().Add(new BBAC_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" });
context.Set<BBAC_SA_DETAIL>().Add(new BBAC_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" });
context.Set<JIT_SA>().Add(new JIT_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<JIT_SA>().Add(new JIT_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<JIT_SA_DETAIL>().Add(new JIT_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<JIT_SA_DETAIL>().Add(new JIT_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<BJ_SA>().Add(new BJ_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<BJ_SA>().Add(new BJ_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" });
context.Set<BJ_SA_DETAIL>().Add(new BJ_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<BJ_SA_DETAIL>().Add(new BJ_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<IN_SA>().Add(new IN_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据" });
context.Set<IN_SA>().Add(new IN_SA { Version = "测试数据", BillNum = "456", DNBillNum = "测试数据", State = "测试数据" });
context.Set<IN_SA_DETAIL>().Add(new IN_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<IN_SA_DETAIL>().Add(new IN_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "456", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" });
context.Set<HBPO_DN>().Add(new HBPO_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" });
context.Set<HBPO_DN>().Add(new HBPO_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" });
context.Set<HBPO_DN_DETAIL>().Add(new HBPO_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" });
context.Set<HBPO_DN_DETAIL>().Add(new HBPO_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" });
context.Set<BBAC_DN>().Add(new BBAC_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" });
context.Set<BBAC_DN>().Add(new BBAC_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" });
context.Set<BBAC_DN_DETAIL>().Add(new BBAC_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" });
context.Set<BBAC_DN_DETAIL>().Add(new BBAC_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" });
context.Set<JIT_DN>().Add(new JIT_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" });
context.Set<JIT_DN>().Add(new JIT_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" });
context.Set<JIT_DN_DETAIL>().Add(new JIT_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" });
context.Set<JIT_DN_DETAIL>().Add(new JIT_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" });
context.Set<BJ_DN>().Add(new BJ_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" });
context.Set<BJ_DN>().Add(new BJ_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" });
context.Set<BJ_DN_DETAIL>().Add(new BJ_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" });
context.Set<BJ_DN_DETAIL>().Add(new BJ_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" });
context.Set<IN_DN>().Add(new IN_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" });
context.Set<IN_DN>().Add(new IN_DN { Version = "测试数据", DNBillNum = "456", StockCount = "测试数据" });
context.Set<IN_DN_DETAIL>().Add(new IN_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "123" });
context.Set<IN_DN_DETAIL>().Add(new IN_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "456" });
context.Set<INVOICE>().Add(new INVOICE { RealnvBillNum = "测试数据", InvbillNum = "123", INVGroupNum = "测试数据", FileName = "测试数据", BusinessType = "测试数据" });
context.Set<INVOICE>().Add(new INVOICE { RealnvBillNum = "测试数据", InvbillNum = "456", INVGroupNum = "测试数据", FileName = "测试数据", BusinessType = "测试数据" });
context.Set<INVOICE_DETAIL>().Add(new INVOICE_DETAIL { LU = "测试数据", InvbillNum = "123" });
context.Set<INVOICE_DETAIL>().Add(new INVOICE_DETAIL { LU = "测试数据", InvbillNum = "456" });
}
private static void InitDictionaries(DbContext context)
{
context.Set<DictionaryItem>().Add(new DictionaryItem
{
Name = "测试1",
Number = "test1",
Children = new List<DictionaryItem> {
new DictionaryItem{
Name="测试1.1",
Number="test1.1",
},
new DictionaryItem{
Name="测试1.2",
Number="test1.2",
}
}
}.UpdateId());
context.Set<DictionaryItem>().Add(new DictionaryItem
{
Name = "测试2",
Number = "test2",
Children = new List<DictionaryItem> {
new DictionaryItem{
Name="测试2.1",
Number="test2.1",
},
new DictionaryItem{
Name="测试2.2",
Number="test2.2",
}
}
}.UpdateId());
}
private void InitPermissions(DbContext context)

642
docs/demo/src/WTA.Application/Identity/Entities/BaseData/Class1.cs

@ -1,642 +0,0 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using WTA.Shared.Attributes;
using WTA.Shared.Data;
using WTA.Shared.Domain;
using WTA.Shared.Module;
namespace WTA.Application.Identity.Entities.BaseData;
[Order(7)]
[SystemManagement]
[Display(Name = "物料主数据")]
public class Class1 : BaseEntity
{
}
[Order(8)]
[SystemManagement]
[Display(Name = "客户零件关系")]
public class Class2 : BaseEntity
{
}
[Order(9)]
[SystemManagement]
[Display(Name = "客户端替换件关系")]
public class Class3 : BaseEntity
{
}
[Order(10)]
[SystemManagement]
[Display(Name = "寄售库出库总成替换关系")]
public class Class4 : BaseEntity
{
}
[Order(11)]
[SystemManagement]
[Display(Name = "期间设置")]
public class Class5 : BaseEntity
{
}
[Order(12)]
[SystemManagement]
[Display(Name = "销售价格单")]
public class Class6 : BaseEntity
{
}
[Order(2)]
[Display(Name = "EDI业务")]
public class EdiAttribute : GroupAttribute
{
}
[Order(1)]
[Edi]
[Display(Name = "EDI和HBPO核对")]
public class Class7 : BaseEntity
{
}
[Order(2)]
[Edi]
[Display(Name = "EDI和BBAC核对")]
public class Class8 : BaseEntity
{
}
[Order(2)]
[Display(Name = "JIS业务")]
public class JISModule : BaseModule
{
}
[Order(1)]
[Module<JISModule>]
[Display(Name = "数据输入")]
public class JISDataInputAttribute : GroupAttribute
{
}
[Order(2)]
[Module<JISModule>]
[Display(Name = "数据输出")]
public class JISDataOutputAttribute : GroupAttribute
{
}
[Order(1)]
[JISDataInput]
[Display(Name = "HBPO结算导入")]
public class Class9 : BaseEntity
{
}
[Order(2)]
[JISDataInput]
[Display(Name = "BBAC结算导入")]
public class Class10 : BaseEntity
{
}
[Order(3)]
[JISDataInput]
[Display(Name = "HBPO发运数据")]
public class Class11 : BaseEntity
{
}
[Order(4)]
[JISDataInput]
[Display(Name = "BBAC发运数据")]
public class Class12 : BaseEntity
{
}
[Order(1)]
[JISDataOutput]
[Display(Name = "HBPO结算核对明细输出")]
public class Class13 : BaseEntity
{
}
[Order(2)]
[JISDataOutput]
[Display(Name = "BBAC结算核对明细输出")]
public class Class14 : BaseEntity
{
}
[Order(3)]
[JISDataOutput]
[Display(Name = "HBPO无法出库明细与汇总输出")]
public class Class15 : BaseEntity
{
}
[Order(4)]
[JISDataOutput]
[Display(Name = "BBAC无法出库明细与汇总输出")]
public class Class16 : BaseEntity
{
}
[Order(5)]
[JISDataOutput]
[Display(Name = "HBPO结算发货明细与汇总")]
public class Class17 : BaseEntity
{
}
[Order(6)]
[JISDataOutput]
[Display(Name = "BBAC结算发货明细与汇总")]
public class Class18 : BaseEntity
{
}
/////
[Order(3)]
[Display(Name = "JIT业务")]
public class JITModule : BaseModule
{
}
[Order(1)]
[Module<JITModule>]
[Display(Name = "数据输入")]
public class JITDataInputAttribute : GroupAttribute
{
}
[Order(2)]
[Module<JITModule>]
[Display(Name = "数据输出")]
public class JITDataOutputAttribute : GroupAttribute
{
}
[Order(1)]
[JITDataInput]
[Display(Name = "JIT件结算导入")]
public class Class19 : BaseEntity
{
}
[Order(2)]
[JITDataInput]
[Display(Name = "JIT发运数据查询")]
public class Class20 : BaseEntity
{
}
[Order(1)]
[JITDataOutput]
[Display(Name = "JIT件结算核对明细输出")]
public class Class21 : BaseEntity
{
}
[Order(2)]
[JITDataOutput]
[Display(Name = "JIT件寄售库不能出库明细与汇总")]
public class Class22 : BaseEntity
{
}
[Order(3)]
[JITDataOutput]
[Display(Name = "JIT件结算发货明细与汇总")]
public class Class23 : BaseEntity
{
}
/////
[Order(4)]
[Display(Name = "备件业务")]
public class BeiJianModule : BaseModule
{
}
[Order(1)]
[Module<BeiJianModule>]
[Display(Name = "数据输入")]
public class BeiJianDataInputAttribute : GroupAttribute
{
}
[Order(2)]
[Module<BeiJianModule>]
[Display(Name = "数据输出")]
public class BeiJianDataOutputAttribute : GroupAttribute
{
}
[Order(1)]
[BeiJianDataInput]
[Display(Name = "备件结算导入")]
public class Class24 : BaseEntity
{
}
[Order(2)]
[BeiJianDataInput]
[Display(Name = "备件发运数据查询")]
public class Class25 : BaseEntity
{
}
[Order(1)]
[BeiJianDataOutput]
[Display(Name = "备件结算核对明细输出")]
public class Class26 : BaseEntity
{
}
[Order(2)]
[BeiJianDataOutput]
[Display(Name = "备件寄售库不能出库明细与汇总输出")]
public class Class27 : BaseEntity
{
}
[Order(3)]
[BeiJianDataOutput]
[Display(Name = "备件有结算有发货明细与汇总输出")]
public class Class28 : BaseEntity
{
}
[Order(4)]
[BeiJianDataOutput]
[Display(Name = "备件有结算无发货明细与汇总输出")]
public class Class29 : BaseEntity
{
}
/////
[Order(5)]
[Display(Name = "备件业务")]
public class MaiDanJianModule : BaseModule
{
}
[Order(1)]
[Module<MaiDanJianModule>]
[Display(Name = "数据输入")]
public class MaiDanJianDataInputAttribute : GroupAttribute
{
}
[Order(2)]
[Module<MaiDanJianModule>]
[Display(Name = "数据输出")]
public class MaiDanJianDataOutputAttribute : GroupAttribute
{
}
[Order(1)]
[MaiDanJianDataInput]
[Display(Name = "印度件结算导入")]
public class Class30 : BaseEntity
{
}
[Order(2)]
[MaiDanJianDataInput]
[Display(Name = "印度件发运数据查询")]
public class Class31 : BaseEntity
{
}
[Order(1)]
[MaiDanJianDataOutput]
[Display(Name = "印度件结算核对明细输出")]
public class Class32 : BaseEntity
{
}
[Order(2)]
[MaiDanJianDataOutput]
[Display(Name = "印度件寄售库不能出库明细与汇总输出")]
public class Class33 : BaseEntity
{
}
[Order(3)]
[MaiDanJianDataOutput]
[Display(Name = "印度件有结算有发货明细与汇总输出")]
public class Class34 : BaseEntity
{
}
[Order(4)]
[MaiDanJianDataOutput]
[Display(Name = "印度件有结算无发货明细与汇总输出")]
public class Class35 : BaseEntity
{
}
//////
[Order(6)]
[Display(Name = "出库单")]
public class ChuKuDanGroup : GroupAttribute
{
}
[Order(1)]
[ChuKuDanGroup]
[Display(Name = "HBPO-JIS出库单")]
public class Class36 : BaseEntity
{
}
[Order(2)]
[ChuKuDanGroup]
[Display(Name = "BBAC-JIS出库单")]
public class Class37 : BaseEntity
{
}
[Order(3)]
[ChuKuDanGroup]
[Display(Name = "JIT件件出库单")]
public class Class38 : BaseEntity
{
}
[Order(4)]
[ChuKuDanGroup]
[Display(Name = "备件出库单")]
public class Class39 : BaseEntity
{
}
[Order(5)]
[ChuKuDanGroup]
[Display(Name = "印度件出库单")]
public class Class40 : BaseEntity
{
}
[Order(6)]
[ChuKuDanGroup]
[Display(Name = "不能出库记录出库业务")]
public class Class41 : BaseEntity
{
}
//////
[Order(7)]
[Display(Name = "商务审核")]
public class ShangWuShenHeGroup : GroupAttribute
{
}
[Order(1)]
[ShangWuShenHeGroup]
[Display(Name = "HBPO-JIS 商务待开票")]
public class Class42 : BaseEntity
{
}
[Order(2)]
[ShangWuShenHeGroup]
[Display(Name = "BBAC-JIS商务待开票")]
public class Class43 : BaseEntity
{
}
[Order(3)]
[ShangWuShenHeGroup]
[Display(Name = "JIT件商务发票待开票")]
public class Class44 : BaseEntity
{
}
[Order(4)]
[ShangWuShenHeGroup]
[Display(Name = "备件商务发票待开票")]
public class Class45 : BaseEntity
{
}
[Order(5)]
[ShangWuShenHeGroup]
[Display(Name = "印度件商务发票待开票")]
public class Class46 : BaseEntity
{
}
//////
[Order(7)]
[Display(Name = "财务审核")]
public class CaiWuShenHeGroup : GroupAttribute
{
}
[Order(1)]
[CaiWuShenHeGroup]
[Display(Name = " BBAC-JIS财务管理审核")]
public class Class47 : BaseEntity
{
}
public class BaseDataDbConfig : IDbConfig<IdentityDbContext>,
IEntityTypeConfiguration<Class1>,
IEntityTypeConfiguration<Class2>,
IEntityTypeConfiguration<Class3>,
IEntityTypeConfiguration<Class4>,
IEntityTypeConfiguration<Class5>,
IEntityTypeConfiguration<Class6>,
IEntityTypeConfiguration<Class7>,
IEntityTypeConfiguration<Class8>,
IEntityTypeConfiguration<Class9>,
IEntityTypeConfiguration<Class10>,
IEntityTypeConfiguration<Class11>,
IEntityTypeConfiguration<Class12>,
IEntityTypeConfiguration<Class13>,
IEntityTypeConfiguration<Class14>,
IEntityTypeConfiguration<Class15>,
IEntityTypeConfiguration<Class16>,
IEntityTypeConfiguration<Class17>,
IEntityTypeConfiguration<Class18>,
IEntityTypeConfiguration<Class19>,
IEntityTypeConfiguration<Class20>,
IEntityTypeConfiguration<Class21>,
IEntityTypeConfiguration<Class22>,
IEntityTypeConfiguration<Class23>,
IEntityTypeConfiguration<Class24>,
IEntityTypeConfiguration<Class25>,
IEntityTypeConfiguration<Class26>,
IEntityTypeConfiguration<Class27>,
IEntityTypeConfiguration<Class28>,
IEntityTypeConfiguration<Class29>,
IEntityTypeConfiguration<Class30>,
IEntityTypeConfiguration<Class31>,
IEntityTypeConfiguration<Class32>,
IEntityTypeConfiguration<Class33>,
IEntityTypeConfiguration<Class34>,
IEntityTypeConfiguration<Class35>,
IEntityTypeConfiguration<Class36>,
IEntityTypeConfiguration<Class37>,
IEntityTypeConfiguration<Class38>,
IEntityTypeConfiguration<Class39>,
IEntityTypeConfiguration<Class40>,
IEntityTypeConfiguration<Class41>,
IEntityTypeConfiguration<Class42>,
IEntityTypeConfiguration<Class43>,
IEntityTypeConfiguration<Class44>,
IEntityTypeConfiguration<Class45>,
IEntityTypeConfiguration<Class46>,
IEntityTypeConfiguration<Class47>
{
public void Configure(EntityTypeBuilder<Class1> builder)
{ }
public void Configure(EntityTypeBuilder<Class2> builder)
{ }
public void Configure(EntityTypeBuilder<Class3> builder)
{ }
public void Configure(EntityTypeBuilder<Class4> builder)
{ }
public void Configure(EntityTypeBuilder<Class5> builder)
{ }
public void Configure(EntityTypeBuilder<Class6> builder)
{ }
public void Configure(EntityTypeBuilder<Class7> builder)
{ }
public void Configure(EntityTypeBuilder<Class8> builder)
{ }
public void Configure(EntityTypeBuilder<Class9> builder)
{ }
public void Configure(EntityTypeBuilder<Class10> builder)
{ }
public void Configure(EntityTypeBuilder<Class11> builder)
{ }
public void Configure(EntityTypeBuilder<Class12> builder)
{ }
public void Configure(EntityTypeBuilder<Class13> builder)
{ }
public void Configure(EntityTypeBuilder<Class14> builder)
{ }
public void Configure(EntityTypeBuilder<Class15> builder)
{ }
public void Configure(EntityTypeBuilder<Class16> builder)
{ }
public void Configure(EntityTypeBuilder<Class17> builder)
{ }
public void Configure(EntityTypeBuilder<Class18> builder)
{ }
public void Configure(EntityTypeBuilder<Class19> builder)
{ }
public void Configure(EntityTypeBuilder<Class20> builder)
{ }
public void Configure(EntityTypeBuilder<Class21> builder)
{ }
public void Configure(EntityTypeBuilder<Class22> builder)
{ }
public void Configure(EntityTypeBuilder<Class23> builder)
{ }
public void Configure(EntityTypeBuilder<Class24> builder)
{ }
public void Configure(EntityTypeBuilder<Class25> builder)
{ }
public void Configure(EntityTypeBuilder<Class26> builder)
{ }
public void Configure(EntityTypeBuilder<Class27> builder)
{ }
public void Configure(EntityTypeBuilder<Class28> builder)
{ }
public void Configure(EntityTypeBuilder<Class29> builder)
{ }
public void Configure(EntityTypeBuilder<Class30> builder)
{ }
public void Configure(EntityTypeBuilder<Class31> builder)
{ }
public void Configure(EntityTypeBuilder<Class32> builder)
{ }
public void Configure(EntityTypeBuilder<Class33> builder)
{ }
public void Configure(EntityTypeBuilder<Class34> builder)
{ }
public void Configure(EntityTypeBuilder<Class35> builder)
{ }
public void Configure(EntityTypeBuilder<Class36> builder)
{ }
public void Configure(EntityTypeBuilder<Class37> builder)
{ }
public void Configure(EntityTypeBuilder<Class38> builder)
{ }
public void Configure(EntityTypeBuilder<Class39> builder)
{ }
public void Configure(EntityTypeBuilder<Class40> builder)
{ }
public void Configure(EntityTypeBuilder<Class41> builder)
{ }
public void Configure(EntityTypeBuilder<Class42> builder)
{ }
public void Configure(EntityTypeBuilder<Class43> builder)
{ }
public void Configure(EntityTypeBuilder<Class44> builder)
{ }
public void Configure(EntityTypeBuilder<Class45> builder)
{ }
public void Configure(EntityTypeBuilder<Class46> builder)
{ }
public void Configure(EntityTypeBuilder<Class47> builder)
{ }
}

84
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs

@ -0,0 +1,84 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[ChuKuDanGroup]
[Display(Name = "BBAC-JIS出库单")]
public class BBAC_DN : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 如 BA2023060212
/// </summary>
[Display(Name = "出库单号")]
[OneToMany<BBAC_DN_DETAIL>]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 定时统计记录数量
/// </summary>
[Display(Name = "不能出库记录、已扣减统计")]
public string StockCount { get; set; } = null!;
}
[Display(Name = "BBAC出库单明细")]
[ChuKuDanGroup]
[Hidden]
public class BBAC_DN_DETAIL : BaseEntity
{
/// <summary>
/// 对应字段(Material+ExternalCalNumber)
/// </summary>
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
/// <summary>
/// 期间
/// </summary>
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 结算单号
/// </summary>
[Display(Name = "结算单号")]
public string BillNum { get; set; } = null!;
[Display(Name = "发票分组号")]
public string INVGroupNum { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 对应字段Material
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
/// <summary>
/// 对应字段ExternalCalNumber
/// </summary>
[Display(Name = "生产码")]
public string PN { get; set; } = null!;
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票信息分组
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
[Display(Name = "单价")]
public decimal Price { get; set; }
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

112
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs

@ -0,0 +1,112 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[JISDataInput]
[Display(Name = "BBAC结算导入")]
public class BBAC_SA : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "结算单据")]
[OneToMany<BBAC_SA_DETAIL>]
public string BillNum { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 1、新建 2、已有出库3、已有扣减寄售库
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
/// <summary>
/// 明细记录行数
/// </summary>
[Display(Name = "明细记录行数")]
public string RecordCount { get; set; } = null!;
}
[Display(Name = "BBAC结算导入明细")]
[JISDataInput]
[Hidden]
public class BBAC_SA_DETAIL : BaseEntity
{
/// <summary>
/// 对应字段(Material+ExternalCalNumber)
/// </summary>
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
/// <summary>
/// 期间
/// </summary>
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 结算单号
/// </summary>
[Display(Name = "结算单号")]
public string BillNum { get; set; } = null!;
/// <summary>
/// 对应字段Material
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
/// <summary>
/// 对应字段ExternalCalNumber
/// </summary>
[Display(Name = "生产码")]
public string PN { get; set; } = null!;
/// <summary>
/// 选择工厂导入
/// </summary>
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 对应字段Quantity
/// </summary>
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
/// <summary>
/// 匹配价格表对应区间对应地点带出
/// </summary>
[Display(Name = "单价")]
public decimal Price { get; set; }
/// <summary>
/// ExternalCallNumber包含(R0)为买单件 1为JIS 2.为买单件
/// </summary>
[Display(Name = "业务类别")]
public string Category { get; set; } = null!;
/// <summary>
/// 对应字段MovementType,996正常,997为退货
/// </summary>
[Display(Name = "是否退货")]
public string IsReturn { get; set; } = null!;
/// <summary>
/// 对应字段PostingDate
/// </summary>
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
/// <summary>
/// 对应字段Reference
/// </summary>
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

47
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs

@ -0,0 +1,47 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[JISDataInput]
[Display(Name = "BBAC发运数据")]
public class BBAC_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "生产码")]
public string PN { get; set; } = null!;
[Display(Name = "日顺序号")]
public string SeqNumber { get; set; } = null!;
[Display(Name = "小总成号")]
public string AssemblyCode { get; set; } = null!;
[Display(Name = "注塑码")]
public string InjectionCode { get; set; } = null!;
[Display(Name = "发货数量")]
public decimal Qty { get; set; }
[Display(Name = "EDI数量")]
public decimal EDIQty { get; set; }
[Display(Name = "订单时间")]
public DateTime BeginDate { get; set; }
[Display(Name = "发货时间")]
public DateTime ShippingDate { get; set; }
[Display(Name = "Wms发货单号")]
public string WmsBillNum { get; set; } = null!;
}

72
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs

@ -0,0 +1,72 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[ChuKuDanGroup]
[Display(Name = "备件出库单")]
public class BJ_DN : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 如 J2023060212
/// </summary>
[Display(Name = "出库单号")]
[OneToMany<BJ_DN_DETAIL>]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 定时统计记录数量
/// </summary>
[Display(Name = "各种状态统计显示")]
public string StockCount { get; set; } = null!;
}
[Display(Name = "备件出库单明细")]
[ChuKuDanGroup]
[Hidden]
public class BJ_DN_DETAIL : BaseEntity
{
[Display(Name = "LU+交付识别号")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
[Display(Name = "发票分组号")]
public string INVGroupNum { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "交付识别号")]
public string PN { get; set; } = null!;
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
[Display(Name = "单价")]
public decimal Price { get; set; }
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

98
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs

@ -0,0 +1,98 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[BeiJianDataInput]
[Display(Name = "备件结算导入")]
public class BJ_SA : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "结算单据号")]
[OneToMany<BJ_SA_DETAIL>]
public string BillNum { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 1、新建 2、已有出库3、已有扣减寄售库
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
/// <summary>
/// 明细记录行数
/// </summary>
[Display(Name = "明细记录行数")]
public string RecordCount { get; set; } = null!;
}
[Display(Name = "备件结算导入明细")]
[BeiJianDataInput]
[Hidden]
public class BJ_SA_DETAIL : BaseEntity
{
/// <summary>
/// 对应字段(零件号+交付识别号)
/// </summary>
[Display(Name = "LU+交付识别号")]
public string KeyCode { get; set; } = null!;
/// <summary>
/// 期间号
/// </summary>
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 结算单号
/// </summary>
[Display(Name = "结算单号")]
public string BillNum { get; set; } = null!;
/// <summary>
/// 对应字段【零件号】
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
/// <summary>
/// 对应字段【交付识别号】
/// </summary>
[Display(Name = "交付识别号")]
public string PN { get; set; } = null!;
/// <summary>
/// 无
/// </summary>
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 对应字段【数量】
/// </summary>
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
/// <summary>
/// 从备件价格单里取
/// </summary>
[Display(Name = "单价")]
public decimal Price { get; set; }
/// <summary>
/// 无
/// </summary>
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
/// <summary>
/// 对应字段【凭证号】
/// </summary>
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

30
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs

@ -0,0 +1,30 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[BeiJianDataInput]
[Display(Name = "备件发运数据查询")]
public class BJ_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = ("ASN单号"))]
public string PN { get; set; } = null!;
[Display(Name = ("发货数量"))]
public decimal Qty { get; set; }
[Display(Name = ("订单时间"))]
public DateTime BeginDate { get; set; }
[Display(Name = ("发货时间"))]
public DateTime ShppingDate { get; set; }
[Display(Name = ("Wms发货单号"))]
public string WmsBillNum { get; set; } = null!;
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[Module<BeiJianModule>]
[Display(Name = "数据输入")]
public class BeiJianDataInputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[Module<BeiJianModule>]
[Display(Name = "数据输出")]
public class BeiJianDataOutputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Module;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[Display(Name = "备件业务")]
public class BeiJianModule : BaseModule
{
}

10
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CaiWuShenHeGroup.cs

@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(7)]
[Display(Name = "财务审核")]
public class CaiWuShenHeGroup : GroupAttribute
{
}

10
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs

@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(6)]
[Display(Name = "出库单")]
public class ChuKuDanGroup : GroupAttribute
{
}

447
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs

@ -0,0 +1,447 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(7)]
[SystemManagement]
[Display(Name = "物料主数据")]
public class Class1 : BaseEntity
{
}
//[Order(8)]
//[SystemManagement]
//[Display(Name = "客户零件关系")]
//public class Class2 : BaseEntity
//{
//}
//[Order(9)]
//[SystemManagement]
//[Display(Name = "客户端替换件关系")]
//public class Class3 : BaseEntity
//{
//}
//[Order(10)]
//[SystemManagement]
//[Display(Name = "寄售库出库总成替换关系")]
//public class Class4 : BaseEntity
//{
//}
//[Order(11)]
//[SystemManagement]
//[Display(Name = "期间设置")]
//public class Class5 : BaseEntity
//{
//}
//[Order(12)]
//[SystemManagement]
//[Display(Name = "销售价格单")]
//public class TB_PRICE_LIST : BaseEntity
//{
//}
//[Order(2)]
//[Display(Name = "EDI业务")]
//public class EdiAttribute : GroupAttribute
//{
//}
//[Order(1)]
//[Edi]
//[Display(Name = "EDI和HBPO核对")]
//public class Class7 : BaseEntity
//{
//}
//[Order(2)]
//[Edi]
//[Display(Name = "EDI和BBAC核对")]
//public class Class8 : BaseEntity
//{
//}
//[Order(2)]
//[Display(Name = "JIS业务")]
//public class JISModule : BaseModule
//{
//}
//[Order(1)]
//[Module<JISModule>]
//[Display(Name = "数据输入")]
//public class JISDataInputAttribute : GroupAttribute
//{
//}
//[Order(2)]
//[Module<JISModule>]
//[Display(Name = "数据输出")]
//public class JISDataOutputAttribute : GroupAttribute
//{
//}
//[Order(1)]
//[JISDataInput]
//[Display(Name = "HBPO结算导入")]
//public class Class9 : BaseEntity
//{
//}
//[Order(2)]
//[JISDataInput]
//[Display(Name = "BBAC结算导入")]
//public class Class10 : BaseEntity
//{
//}
//[Order(3)]
//[JISDataInput]
//[Display(Name = "HBPO发运数据")]
//public class Class11 : BaseEntity
//{
//}
//[Order(4)]
//[JISDataInput]
//[Display(Name = "BBAC发运数据")]
//public class Class12 : BaseEntity
//{
//}
//[Order(1)]
//[JISDataOutput]
//[Display(Name = "HBPO结算核对明细输出")]
//public class Class13 : BaseEntity
//{
//}
//[Order(2)]
//[JISDataOutput]
//[Display(Name = "BBAC结算核对明细输出")]
//public class Class14 : BaseEntity
//{
//}
//[Order(3)]
//[JISDataOutput]
//[Display(Name = "HBPO无法出库明细与汇总输出")]
//public class Class15 : BaseEntity
//{
//}
//[Order(4)]
//[JISDataOutput]
//[Display(Name = "BBAC无法出库明细与汇总输出")]
//public class Class16 : BaseEntity
//{
//}
//[Order(5)]
//[JISDataOutput]
//[Display(Name = "HBPO结算发货明细与汇总")]
//public class Class17 : BaseEntity
//{
//}
//[Order(6)]
//[JISDataOutput]
//[Display(Name = "BBAC结算发货明细与汇总")]
//public class Class18 : BaseEntity
//{
//}
/////
//[Order(3)]
//[Display(Name = "JIT业务")]
//public class JITModule : BaseModule
//{
//}
//[Order(1)]
//[Module<JITModule>]
//[Display(Name = "数据输入")]
//public class JITDataInputAttribute : GroupAttribute
//{
//}
//[Order(2)]
//[Module<JITModule>]
//[Display(Name = "数据输出")]
//public class JITDataOutputAttribute : GroupAttribute
//{
//}
//[Order(1)]
//[JITDataInput]
//[Display(Name = "JIT件结算导入")]
//public class Class19 : BaseEntity
//{
//}
//IResource
//[Order(2)]
//[JITDataInput]
//[Display(Name = "JIT发运数据查询")]
//public class Class20 : BaseEntity
//{
//}
//[Order(1)]
//[JITDataOutput]
//[Display(Name = "JIT件结算核对明细输出")]
//public class Class21 : BaseEntity
//{
//}
//[Order(2)]
//[JITDataOutput]
//[Display(Name = "JIT件寄售库不能出库明细与汇总")]
//public class Class22 : BaseEntity
//{
//}
//[Order(3)]
//[JITDataOutput]
//[Display(Name = "JIT件结算发货明细与汇总")]
//public class Class23 : BaseEntity
//{
//}
/////
//[Order(4)]
//[Display(Name = "备件业务")]
//public class BeiJianModule : BaseModule
//{
//}
//[Order(1)]
//[Module<BeiJianModule>]
//[Display(Name = "数据输入")]
//public class BeiJianDataInputAttribute : GroupAttribute
//{
//}
//[Order(2)]
//[Module<BeiJianModule>]
//[Display(Name = "数据输出")]
//public class BeiJianDataOutputAttribute : GroupAttribute
//{
//}
//[Order(1)]
//[BeiJianDataInput]
//[Display(Name = "备件结算导入")]
//public class Class24 : BaseEntity
//{
//}
//[Order(2)]
//[BeiJianDataInput]
//[Display(Name = "备件发运数据查询")]
//public class Class25 : BaseEntity
//{
//}
//[Order(1)]
//[BeiJianDataOutput]
//[Display(Name = "备件结算核对明细输出")]
//public class Class26 : BaseEntity
//{
//}
//[Order(2)]
//[BeiJianDataOutput]
//[Display(Name = "备件寄售库不能出库明细与汇总输出")]
//public class Class27 : BaseEntity
//{
//}
//[Order(3)]
//[BeiJianDataOutput]
//[Display(Name = "备件有结算有发货明细与汇总输出")]
//public class Class28 : BaseEntity
//{
//}
//[Order(4)]
//[BeiJianDataOutput]
//[Display(Name = "备件有结算无发货明细与汇总输出")]
//public class Class29 : BaseEntity
//{
//}
/////
//[Order(5)]
//[Display(Name = "备件业务")]
//public class MaiDanJianModule : BaseModule
//{
//}
//[Order(1)]
//[Module<MaiDanJianModule>]
//[Display(Name = "数据输入")]
//public class MaiDanJianDataInputAttribute : GroupAttribute
//{
//}
//[Order(2)]
//[Module<MaiDanJianModule>]
//[Display(Name = "数据输出")]
//public class MaiDanJianDataOutputAttribute : GroupAttribute
//{
//}
//[Order(1)]
//[MaiDanJianDataInput]
//[Display(Name = "印度件结算导入")]
//public class Class30 : BaseEntity
//{
//}
//[Order(2)]
//[MaiDanJianDataInput]
//[Display(Name = "印度件发运数据查询")]
//public class Class31 : BaseEntity
//{
//}
//[Order(1)]
//[MaiDanJianDataOutput]
//[Display(Name = "印度件结算核对明细输出")]
//public class Class32 : BaseEntity
//{
//}
//[Order(2)]
//[MaiDanJianDataOutput]
//[Display(Name = "印度件寄售库不能出库明细与汇总输出")]
//public class Class33 : BaseEntity
//{
//}
//[Order(3)]
//[MaiDanJianDataOutput]
//[Display(Name = "印度件有结算有发货明细与汇总输出")]
//public class Class34 : BaseEntity
//{
//}
//[Order(4)]
//[MaiDanJianDataOutput]
//[Display(Name = "印度件有结算无发货明细与汇总输出")]
//public class Class35 : BaseEntity
//{
//}
//////
//[Order(6)]
//[Display(Name = "出库单")]
//public class ChuKuDanGroup : GroupAttribute
//{
//}
//[Order(1)]
//[ChuKuDanGroup]
//[Display(Name = "HBPO-JIS出库单")]
//public class Class36 : BaseEntity
//{
//}
//[Order(2)]
//[ChuKuDanGroup]
//[Display(Name = "BBAC-JIS出库单")]
//public class Class37 : BaseEntity
//{
//}
//[Order(3)]
//[ChuKuDanGroup]
//[Display(Name = "JIT件件出库单")]
//public class Class38 : BaseEntity
//{
//}
//[Order(4)]
//[ChuKuDanGroup]
//[Display(Name = "备件出库单")]
//public class Class39 : BaseEntity
//{
//}
//[Order(5)]
//[ChuKuDanGroup]
//[Display(Name = "印度件出库单")]
//public class Class40 : BaseEntity
//{
//}
//[Order(6)]
//[ChuKuDanGroup]
//[Display(Name = "不能出库记录出库业务")]
//public class Class41 : BaseEntity
//{
//}
//////
//[Order(7)]
//[Display(Name = "商务审核")]
//public class ShangWuShenHeGroup : GroupAttribute
//{
//}
//[Order(1)]
//[ShangWuShenHeGroup]
//[Display(Name = "HBPO-JIS 商务待开票")]
//public class Class42 : BaseEntity
//{
//}
//[Order(2)]
//[ShangWuShenHeGroup]
//[Display(Name = "BBAC-JIS商务待开票")]
//public class Class43 : BaseEntity
//{
//}
//[Order(3)]
//[ShangWuShenHeGroup]
//[Display(Name = "JIT件商务发票待开票")]
//public class Class44 : BaseEntity
//{
//}
//[Order(4)]
//[ShangWuShenHeGroup]
//[Display(Name = "备件商务发票待开票")]
//public class Class45 : BaseEntity
//{
//}
//[Order(5)]
//[ShangWuShenHeGroup]
//[Display(Name = "印度件商务发票待开票")]
//public class Class46 : BaseEntity
//{
//}
//////
//[Order(7)]
//[Display(Name = "财务审核")]
//public class CaiWuShenHeGroup : GroupAttribute
//{
//}
//[Order(1)]
//[CaiWuShenHeGroup]
//[Display(Name = " BBAC-JIS财务管理审核")]
//public class Class47 : BaseEntity
//{
//}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[JISDataOutput]
[Display(Name = "HBPO结算核对明细输出")]
public class Class13 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[JISDataOutput]
[Display(Name = "BBAC结算核对明细输出")]
public class Class14 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(3)]
[JISDataOutput]
[Display(Name = "HBPO无法出库明细与汇总输出")]
public class Class15 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[JISDataOutput]
[Display(Name = "BBAC无法出库明细与汇总输出")]
public class Class16 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(5)]
[JISDataOutput]
[Display(Name = "HBPO结算发货明细与汇总")]
public class Class17 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(6)]
[JISDataOutput]
[Display(Name = "BBAC结算发货明细与汇总")]
public class Class18 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(8)]
[SystemManagement]
[Display(Name = "客户零件关系")]
public class Class2 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[JITDataOutput]
[Display(Name = "JIT件结算核对明细输出")]
public class Class21 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[JITDataOutput]
[Display(Name = "JIT件寄售库不能出库明细与汇总")]
public class Class22 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(3)]
[JITDataOutput]
[Display(Name = "JIT件结算发货明细与汇总")]
public class Class23 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[BeiJianDataOutput]
[Display(Name = "备件结算核对明细输出")]
public class Class26 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[BeiJianDataOutput]
[Display(Name = "备件寄售库不能出库明细与汇总输出")]
public class Class27 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(3)]
[BeiJianDataOutput]
[Display(Name = "备件有结算有发货明细与汇总输出")]
public class Class28 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[BeiJianDataOutput]
[Display(Name = "备件有结算无发货明细与汇总输出")]
public class Class29 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[MaiDanJianDataOutput]
[Display(Name = "印度件结算核对明细输出")]
public class Class32 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[MaiDanJianDataOutput]
[Display(Name = "印度件寄售库不能出库明细与汇总输出")]
public class Class33 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(3)]
[MaiDanJianDataOutput]
[Display(Name = "印度件有结算有发货明细与汇总输出")]
public class Class34 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[MaiDanJianDataOutput]
[Display(Name = "印度件有结算无发货明细与汇总输出")]
public class Class35 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(6)]
[ChuKuDanGroup]
[Display(Name = "不能出库记录出库业务")]
public class Class41 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[ShangWuShenHeGroup]
[Display(Name = "BBAC-JIS商务待开票")]
public class Class43 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(3)]
[ShangWuShenHeGroup]
[Display(Name = "JIT件商务发票待开票")]
public class Class44 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(4)]
[ShangWuShenHeGroup]
[Display(Name = "备件商务发票待开票")]
public class Class45 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(5)]
[ShangWuShenHeGroup]
[Display(Name = "印度件商务发票待开票")]
public class Class46 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[CaiWuShenHeGroup]
[Display(Name = " BBAC-JIS财务管理审核")]
public class Class47 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(11)]
[SystemManagement]
[Display(Name = "期间设置")]
public class Class5 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[Edi]
[Display(Name = "EDI和HBPO核对")]
public class Class7 : BaseEntity
{
}

12
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[Edi]
[Display(Name = "EDI和BBAC核对")]
public class Class8 : BaseEntity
{
}

10
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs

@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[Display(Name = "EDI业务")]
public class EdiAttribute : GroupAttribute
{
}

75
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs

@ -0,0 +1,75 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[ChuKuDanGroup]
[Display(Name = "HBPO-JIS出库单")]
public class HBPO_DN : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 如 H2023060212
/// </summary>
[Display(Name = "出库单号")]
[OneToMany<HBPO_DN_DETAIL>]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 定时统计记录数量
/// </summary>
[Display(Name = "出库记状态统计")]
public string StockCount { get; set; } = null!;
}
[Display(Name = "HBPO出库单明细")]
[ChuKuDanGroup]
[Hidden]
public class HBPO_DN_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "结算单号")]
public string BillNum { get; set; } = null!;
[Display(Name = "发票分组号")]
public string INVGroupNum { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "生产码")]
public string PN { get; set; } = null!;
/// <summary>
/// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票信息
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
[Display(Name = "发货数量")]
public decimal Qty { get; set; }
[Display(Name = "单价")]
public decimal Price { get; set; }
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

102
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs

@ -0,0 +1,102 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[JISDataInput]
[Display(Name = "HBPO结算导入")]
public class HBPO_SA : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "结算单据")]
[OneToMany<HBPO_SA_DETAIL>]
public string BillNum { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 1、新建 2、已有出库3、已有扣减寄售库
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
/// <summary>
/// 明细记录行数
/// </summary>
[Display(Name = "明细记录行数")]
public string RecordCount { get; set; } = null!;
//集合导航
}
[Display(Name = "HBPO结算导入明细")]
[JISDataInput]
[Hidden]
public class HBPO_SA_DETAIL : BaseEntity
{
/// <summary>
/// 对应字段(PartNumber+ProductioNumber)
/// </summary>
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
/// <summary>
/// 期间
/// </summary>
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 结算单号
/// </summary>
[Display(Name = "结算单号")]
public string BillNum { get; set; } = null!;
/// <summary>
/// 对应字段PartNumber
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
/// <summary>
/// 对应字段productionlumber
/// </summary>
[Display(Name = "生产码")]
public string PN { get; set; } = null!;
/// <summary>
/// 对应字段filename 区分 cn1、cn5
/// </summary>
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 对应字段Qty
/// </summary>
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
/// <summary>
/// 匹配价格表对应区间带出
/// </summary>
[Display(Name = "单价")]
public decimal Price { get; set; }
/// <summary>
/// 对应字段ReceiveDate
/// </summary>
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
/// <summary>
/// 对应字段DeliveryNode
/// </summary>
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

45
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs

@ -0,0 +1,45 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Display(Name = "HBPO发运数据")]
[JISDataInput]
public class HBPO_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "生产码")]
public string PN { get; set; } = null!;
[Display(Name = "日顺序号")]
public string SeqNumber { get; set; } = null!;
[Display(Name = "小总成号")]
public string AssemblyCode { get; set; } = null!;
[Display(Name = "注塑码")]
public string InjectionCode { get; set; } = null!;
[Display(Name = "发货数量")]
public decimal Qty { get; set; }
[Display(Name = "EDI数量")]
public decimal EDIQty { get; set; }
[Display(Name = "订单时间")]
public DateTime BeginDate { get; set; }
[Display(Name = "发货时间")]
public DateTime ShippingDate { get; set; }
[Display(Name = "Wms发货单号")]
public string WmsBillNum { get; set; } = null!;
}

57
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs

@ -0,0 +1,57 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[ShangWuShenHeGroup]
[Display(Name = "财务管理审核主表")]
public class INVOICE : BaseEntity
{
[Display(Name = "实际纸质发票号")]
public string RealnvBillNum { get; set; } = null!;
[Display(Name = "系统生成发票号")]
[OneToMany<INVOICE_DETAIL>]
public string InvbillNum { get; set; } = null!;
[Display(Name = "未税金额")]
public decimal Amt { get; set; }
[Display(Name = "税后金额")]
public decimal TaxAmt { get; set; }
[Display(Name = "发票分组号")]
public string INVGroupNum { get; set; } = null!;
[Display(Name = "开票Excel文件")]
public string FileName { get; set; } = null!;
/// <summary>
/// 1-HBPO 2-BBAC(和买单件一起开票,扣减库存时要注意分开) 3-JIT 4-备件、5-印度件
/// </summary>
[Display(Name = "业务类别")]
public string BusinessType { get; set; } = null!;
}
[ShangWuShenHeGroup]
[Hidden]
[Display(Name = "财务管理审核明细")]
public class INVOICE_DETAIL : BaseEntity
{
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "单价")]
public decimal PRICE { get; set; }
[Display(Name = "数量")]
public decimal Qty { get; set; }
[Display(Name = "金额")]
public decimal Amt { get; set; }
[Display(Name = "系统生成发票号")]
public string InvbillNum { get; set; } = null!;
}

73
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs

@ -0,0 +1,73 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(5)]
[ChuKuDanGroup]
[Display(Name = "印度件出库单")]
public class IN_DN : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 如 J2023060212
/// </summary>
[Display(Name = "出库单号")]
[OneToMany<IN_DN_DETAIL>]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 定时统计记录数量
/// </summary>
[Display(Name = "各种状态统计显示")]
public string StockCount { get; set; } = null!;
}
[ChuKuDanGroup]
[Display(Name = "印度件出库单明细")]
[Hidden]
public class IN_DN_DETAIL : BaseEntity
{
[Display(Name = "LU+交付识别号")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
[Display(Name = "发票分组号")]
public string INVGroupNum { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "交付识别号")]
public string PU { get; set; } = null!;
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
[Display(Name = "单价")]
public decimal Price { get; set; }
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

94
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs

@ -0,0 +1,94 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[MaiDanJianDataInput]
[Display(Name = "印度件结算导入")]
public class IN_SA : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "结算单据")]
[OneToMany<IN_SA_DETAIL>]
public string BillNum { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 1、新建 2、已有出库单3、已有扣减寄售库
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
}
[Display(Name = "印度件结算明细")]
[MaiDanJianDataInput]
[Hidden]
public class IN_SA_DETAIL : BaseEntity
{
/// <summary>
/// 对应字段(LU+External Delivery ID)
/// </summary>
[Display(Name = "LU+ASN单号")]
public string KeyCode { get; set; } = null!;
/// <summary>
/// 期间
/// </summary>
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 结算单号
/// </summary>
[Display(Name = "结算单号")]
public string BillNum { get; set; } = null!;
/// <summary>
/// 对应字段Material
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
/// <summary>
/// 对应字段External Delivery ID
/// </summary>
[Display(Name = "发货单号")]
public string PU { get; set; } = null!;
/// <summary>
/// 无
/// </summary>
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 对应字段Original Delivery Quantity
/// </summary>
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
/// <summary>
/// 匹配价格表对应区间带出
/// </summary>
[Display(Name = "单价")]
public decimal Price { get; set; }
/// <summary>
/// 对应字段Delivery Date
/// </summary>
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
/// <summary>
/// 对应字段【凭证号】
/// </summary>
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

36
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs

@ -0,0 +1,36 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[MaiDanJianDataInput]
[Display(Name = "印度件发运数据查询")]
public class IN_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "交付识别号")]
public string PN { get; set; } = null!;
[Display(Name = "发货数量")]
public decimal Qty { get; set; }
[Display(Name = "开始时间")]
public DateTime BeginDate { get; set; }
[Display(Name = "发货时间")]
public DateTime ShippingDate { get; set; }
[Display(Name = "WMS发货单号")]
public string WmsBillNum { get; set; } = null!;
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[Module<JISModule>]
[Display(Name = "数据输入")]
public class JISDataInputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[Module<JISModule>]
[Display(Name = "数据输出")]
public class JISDataOutputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Module;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[Display(Name = "JIS业务")]
public class JISModule : BaseModule
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[Module<JITModule>]
[Display(Name = "数据输入")]
public class JITDataInputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[Module<JITModule>]
[Display(Name = "数据输出")]
public class JITDataOutputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Module;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(3)]
[Display(Name = "JIT业务")]
public class JITModule : BaseModule
{
}

73
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs

@ -0,0 +1,73 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(3)]
[ChuKuDanGroup]
[Display(Name = "JIT出库单主表")]
public class JIT_DN : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 如 J2023060212
/// </summary>
[Display(Name = "出库单号")]
[OneToMany<JIT_DN_DETAIL>]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 定时统计记录数量
/// </summary>
[Display(Name = "各种状态统计显示")]
public string StockCount { get; set; } = null!;
}
[Display(Name = "JIT出库单明细")]
[ChuKuDanGroup]
[Hidden]
public class JIT_DN_DETAIL : BaseEntity
{
[Display(Name = "LU+ASN单号")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
[Display(Name = "发票分组号")]
public string INVGroupNum { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = "发货单号")]
public string PN { get; set; } = null!;
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
[Display(Name = "单价")]
public decimal Price { get; set; }
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

100
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs

@ -0,0 +1,100 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[JITDataInput]
[Display(Name = "JIT件结算导入")]
public class JIT_SA : BaseEntity
{
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "结算单据")]
[OneToMany<JIT_SA_DETAIL>]
public string BillNum { get; set; } = null!;
[Display(Name = "出库单号")]
public string DNBillNum { get; set; } = null!;
/// <summary>
/// 1、新建 2、已有出库3、已有扣减寄售库
/// </summary>
[Display(Name = "状态")]
public string State { get; set; } = null!;
/// <summary>
/// 明细记录行数
/// </summary>
[Display(Name = "明细记录行数")]
public string RecordCount { get; set; } = null!;
}
[Display(Name = "JIT结算导入明细")]
[JITDataInput]
[Hidden]
public class JIT_SA_DETAIL : BaseEntity
{
/// <summary>
/// 对应字段(Material+External Delivery ID)
/// </summary>
[Display(Name = "LU+ASN单号")]
public string KeyCode { get; set; } = null!;
/// <summary>
/// 版本号
/// </summary>
[Display(Name = "期间")]
public string Version { get; set; } = null!;
/// <summary>
/// 结算单号
/// </summary>
[Display(Name = "结算单号")]
public string BillNum { get; set; } = null!;
/// <summary>
/// 取值字段Material
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
/// <summary>
/// 取值字段External Delivery ID
/// </summary>
[Display(Name = "发货单号")]
public string PN { get; set; } = null!;
/// <summary>
/// 无
/// </summary>
[Display(Name = "工厂地点")]
public string Site { get; set; } = null!;
/// <summary>
/// 对应字段Quantity
/// </summary>
[Display(Name = "结算数量")]
public decimal Qty { get; set; }
/// <summary>
/// 匹配价格表对应区间带出
/// </summary>
[Display(Name = "单价")]
public decimal Price { get; set; }
/// <summary>
/// 对应字段Pstng Date
/// </summary>
[Display(Name = "结算日期(收货日期)")]
public DateTime SettleDate { get; set; }
/// <summary>
/// 对应字段Delivery
/// </summary>
[Display(Name = "结算分组")]
public string GroupNum { get; set; } = null!;
}

36
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs

@ -0,0 +1,36 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[JITDataInput]
[Display(Name = "JIT发运数据查询")]
public class JIT_SE_DETAIL : BaseEntity
{
[Display(Name = "LU+生产码")]
public string KeyCode { get; set; } = null!;
[Display(Name = "期间")]
public string Version { get; set; } = null!;
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
[Display(Name = ("ASN单号"))]
public string PN { get; set; } = null!;
[Display(Name = ("发货数量"))]
public decimal Qty { get; set; }
[Display(Name = ("订单时间"))]
public DateTime BeginDate { get; set; }
[Display(Name = ("发货时间"))]
public DateTime ShppingDate { get; set; }
[Display(Name = ("Wms发货单号"))]
public string WmsBillNum { get; set; } = null!;
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(1)]
[Module<MaiDanJianModule>]
[Display(Name = "数据输入")]
public class MaiDanJianDataInputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(2)]
[Module<MaiDanJianModule>]
[Display(Name = "数据输出")]
public class MaiDanJianDataOutputAttribute : GroupAttribute
{
}

11
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Module;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(5)]
[Display(Name = "备件业务")]
public class MaiDanJianModule : BaseModule
{
}

10
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ShangWuShenHeGroup.cs

@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(7)]
[Display(Name = "商务审核")]
public class ShangWuShenHeGroup : GroupAttribute
{
}

29
docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs

@ -0,0 +1,29 @@
using System.ComponentModel.DataAnnotations;
using WTA.Shared.Attributes;
using WTA.Shared.Domain;
namespace WTA.Application.Identity.Entities.SystemManagement;
[Order(11)]
[Display(Name = "备件价格表")]
[SystemManagement]
public class TB_PRICE_BJ : BaseEntity
{
/// <summary>
/// 取值字段【零件号】
/// </summary>
[Display(Name = "零件号")]
public string LU { get; set; } = null!;
/// <summary>
/// 取值字段【零件价格】
/// </summary>
[Display(Name = "价格")]
public decimal Price { get; set; }
/// <summary>
/// 取值字段【客户编码】
/// </summary>
[Display(Name = "客户编码")]
public string ClientCode { get; set; } = null!;
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save