From f5a30d8468ee71e15e6a445363c094ea09faed13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=96=8C?= <1324361213@qq.com> Date: Sat, 23 Aug 2025 16:57:16 +0800 Subject: [PATCH 1/3] 0 --- Reportapi/FrameWork/Fleck/Fleck.csproj | 2 +- Reportapi/FrameWork/SqlSugar/SqlSugar.csproj | 2 +- .../Swashbuckle.Core/Swashbuckle.Core.csproj | 3 +- .../SwashbuckleEx/Swashbuckle.Core/app.config | 8 +- .../Swashbuckle.WebHost.csproj | 3 +- Reportapi/MyCode.Project.Domain/App.config | 28 +-- .../MyCode.Project.Domain.csproj | 2 +- .../MyCode.Project.GenerateCode/App.config | 118 +++++----- .../MyCode.Project.GenerateCode.csproj | 2 +- .../MyCode.Project.Infrastructure.csproj | 2 +- .../MyCode.Project.Infrastructure/app.config | 28 +-- .../packages.config | 6 +- .../MyCode.Project.OutSideService.csproj | 2 +- .../MyCode.Project.OutSideService/app.config | 24 +-- .../MyCode.Project.Repositories/App.config | 28 +-- .../MyCode.Project.Repositories.csproj | 2 +- .../MyCode.Project.ScheduleTask/App.config | 154 ++++++------- .../MyCode.Project.ScheduleTask.csproj | 2 +- Reportapi/MyCode.Project.Services/App.config | 28 +-- .../{ZhuBinService.cs => IPrdOrderService.cs} | 4 +- .../MyCode.Project.Services.csproj | 4 +- .../MyCode.Project.WebApi.csproj | 2 +- Reportapi/MyCode.Project.WebApi/Web.config | 204 ++++++++---------- .../App.config | 118 +++++----- .../MyCode.Project.ZHMDGenerateCode.csproj | 2 +- 25 files changed, 381 insertions(+), 397 deletions(-) rename Reportapi/MyCode.Project.Services/Implementation/{ZhuBinService.cs => IPrdOrderService.cs} (73%) diff --git a/Reportapi/FrameWork/Fleck/Fleck.csproj b/Reportapi/FrameWork/Fleck/Fleck.csproj index 068f235..7be24ea 100644 --- a/Reportapi/FrameWork/Fleck/Fleck.csproj +++ b/Reportapi/FrameWork/Fleck/Fleck.csproj @@ -9,7 +9,7 @@ Properties Fleck Fleck - v4.5 + v4.8 512 diff --git a/Reportapi/FrameWork/SqlSugar/SqlSugar.csproj b/Reportapi/FrameWork/SqlSugar/SqlSugar.csproj index bc1cd8c..7efafd9 100644 --- a/Reportapi/FrameWork/SqlSugar/SqlSugar.csproj +++ b/Reportapi/FrameWork/SqlSugar/SqlSugar.csproj @@ -9,7 +9,7 @@ Properties SqlSugar SqlSugar - v4.6.1 + v4.8 512 diff --git a/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/Swashbuckle.Core.csproj b/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/Swashbuckle.Core.csproj index 95928d6..54e4438 100644 --- a/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/Swashbuckle.Core.csproj +++ b/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/Swashbuckle.Core.csproj @@ -9,8 +9,9 @@ Properties Swashbuckle Swashbuckle.Core - v4.5 + v4.8 512 + true diff --git a/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/app.config b/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/app.config index e936cc1..c764f53 100644 --- a/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/app.config +++ b/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.Core/app.config @@ -1,11 +1,11 @@ - + - - + + - \ No newline at end of file + diff --git a/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.WebHost/Swashbuckle.WebHost.csproj b/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.WebHost/Swashbuckle.WebHost.csproj index 0be46db..3ddde11 100644 --- a/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.WebHost/Swashbuckle.WebHost.csproj +++ b/Reportapi/FrameWork/SwashbuckleEx/Swashbuckle.WebHost/Swashbuckle.WebHost.csproj @@ -9,8 +9,9 @@ Properties Swashbuckle.WebHost Swashbuckle.WebHost - v4.5 + v4.8 512 + true diff --git a/Reportapi/MyCode.Project.Domain/App.config b/Reportapi/MyCode.Project.Domain/App.config index 9472fee..a3d2107 100644 --- a/Reportapi/MyCode.Project.Domain/App.config +++ b/Reportapi/MyCode.Project.Domain/App.config @@ -1,33 +1,33 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj index 72d2153..08c9bd3 100644 --- a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj +++ b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj @@ -9,7 +9,7 @@ Properties MyCode.Project.Domain MyCode.Project.Domain - v4.6.1 + v4.8 512 ..\ true diff --git a/Reportapi/MyCode.Project.GenerateCode/App.config b/Reportapi/MyCode.Project.GenerateCode/App.config index 35fc290..7c4782d 100644 --- a/Reportapi/MyCode.Project.GenerateCode/App.config +++ b/Reportapi/MyCode.Project.GenerateCode/App.config @@ -1,45 +1,45 @@ - + -
+
- - + + - + - + - + - + - + - + - + - + - + - + - + - - - + + + @@ -61,106 +61,106 @@ - + - + - + - + - + - + - + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.GenerateCode/MyCode.Project.GenerateCode.csproj b/Reportapi/MyCode.Project.GenerateCode/MyCode.Project.GenerateCode.csproj index ce7184d..6f8f56d 100644 --- a/Reportapi/MyCode.Project.GenerateCode/MyCode.Project.GenerateCode.csproj +++ b/Reportapi/MyCode.Project.GenerateCode/MyCode.Project.GenerateCode.csproj @@ -8,7 +8,7 @@ Exe MyCode.Project.GenerateCode MyCode.Project.GenerateCode - v4.6.1 + v4.8 512 true diff --git a/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj b/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj index 4282fc8..83a2df7 100644 --- a/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj +++ b/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj @@ -9,7 +9,7 @@ Properties MyCode.Project.Infrastructure MyCode.Project.Infrastructure - v4.6.1 + v4.8 512 ..\ true diff --git a/Reportapi/MyCode.Project.Infrastructure/app.config b/Reportapi/MyCode.Project.Infrastructure/app.config index e46a897..4769706 100644 --- a/Reportapi/MyCode.Project.Infrastructure/app.config +++ b/Reportapi/MyCode.Project.Infrastructure/app.config @@ -1,32 +1,32 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.Infrastructure/packages.config b/Reportapi/MyCode.Project.Infrastructure/packages.config index 651819d..aa6288e 100644 --- a/Reportapi/MyCode.Project.Infrastructure/packages.config +++ b/Reportapi/MyCode.Project.Infrastructure/packages.config @@ -10,10 +10,10 @@ - + - + @@ -25,5 +25,5 @@ - + \ No newline at end of file diff --git a/Reportapi/MyCode.Project.OutSideService/MyCode.Project.OutSideService.csproj b/Reportapi/MyCode.Project.OutSideService/MyCode.Project.OutSideService.csproj index e28eb1d..db57f85 100644 --- a/Reportapi/MyCode.Project.OutSideService/MyCode.Project.OutSideService.csproj +++ b/Reportapi/MyCode.Project.OutSideService/MyCode.Project.OutSideService.csproj @@ -9,7 +9,7 @@ Properties MyCode.Project.OutSideService MyCode.Project.OutSideService - v4.6.1 + v4.8 512 diff --git a/Reportapi/MyCode.Project.OutSideService/app.config b/Reportapi/MyCode.Project.OutSideService/app.config index 62fa261..9e1cbb7 100644 --- a/Reportapi/MyCode.Project.OutSideService/app.config +++ b/Reportapi/MyCode.Project.OutSideService/app.config @@ -1,28 +1,28 @@ - + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.Repositories/App.config b/Reportapi/MyCode.Project.Repositories/App.config index 5172969..3c691af 100644 --- a/Reportapi/MyCode.Project.Repositories/App.config +++ b/Reportapi/MyCode.Project.Repositories/App.config @@ -1,32 +1,32 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj b/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj index 19a8647..8156859 100644 --- a/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj +++ b/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj @@ -9,7 +9,7 @@ Properties MyCode.Project.Repositories MyCode.Project.Repositories - v4.6.1 + v4.8 512 ..\ true diff --git a/Reportapi/MyCode.Project.ScheduleTask/App.config b/Reportapi/MyCode.Project.ScheduleTask/App.config index 3ae4efb..073e12c 100644 --- a/Reportapi/MyCode.Project.ScheduleTask/App.config +++ b/Reportapi/MyCode.Project.ScheduleTask/App.config @@ -1,4 +1,4 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -70,142 +70,142 @@ --> - - - + + + - + - - - + + + - - - - + + + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.ScheduleTask/MyCode.Project.ScheduleTask.csproj b/Reportapi/MyCode.Project.ScheduleTask/MyCode.Project.ScheduleTask.csproj index 99dff04..9824d7c 100644 --- a/Reportapi/MyCode.Project.ScheduleTask/MyCode.Project.ScheduleTask.csproj +++ b/Reportapi/MyCode.Project.ScheduleTask/MyCode.Project.ScheduleTask.csproj @@ -9,7 +9,7 @@ Properties MyCode.Project.ScheduleTask MyCode.Project.ScheduleTask - v4.6.1 + v4.8 512 diff --git a/Reportapi/MyCode.Project.Services/App.config b/Reportapi/MyCode.Project.Services/App.config index e46a897..4769706 100644 --- a/Reportapi/MyCode.Project.Services/App.config +++ b/Reportapi/MyCode.Project.Services/App.config @@ -1,32 +1,32 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.Services/Implementation/ZhuBinService.cs b/Reportapi/MyCode.Project.Services/Implementation/IPrdOrderService.cs similarity index 73% rename from Reportapi/MyCode.Project.Services/Implementation/ZhuBinService.cs rename to Reportapi/MyCode.Project.Services/Implementation/IPrdOrderService.cs index 0ca2138..4b7b785 100644 --- a/Reportapi/MyCode.Project.Services/Implementation/ZhuBinService.cs +++ b/Reportapi/MyCode.Project.Services/Implementation/IPrdOrderService.cs @@ -6,12 +6,12 @@ using System; namespace MyCode.Project.Services.Implementation { - public class ZhuBinService : ServiceBase //, IZhuBinService + public class PrdOrderService : ServiceBase //, IZhuBinService { private IYTKJTShopParameterRepository _yTKJTShopParameterRepository; - public ZhuBinService(IYTKJTShopParameterRepository yTKJTShopParameterRepository) + public PrdOrderService(IYTKJTShopParameterRepository yTKJTShopParameterRepository) { _yTKJTShopParameterRepository = yTKJTShopParameterRepository; } diff --git a/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj b/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj index 262fe1b..5561e33 100644 --- a/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj +++ b/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj @@ -12,7 +12,7 @@ Properties MyCode.Project.Services MyCode.Project.Services - v4.6.1 + v4.8 @@ -115,7 +115,7 @@ - + diff --git a/Reportapi/MyCode.Project.WebApi/MyCode.Project.WebApi.csproj b/Reportapi/MyCode.Project.WebApi/MyCode.Project.WebApi.csproj index 7e0b55c..30fc336 100644 --- a/Reportapi/MyCode.Project.WebApi/MyCode.Project.WebApi.csproj +++ b/Reportapi/MyCode.Project.WebApi/MyCode.Project.WebApi.csproj @@ -15,7 +15,7 @@ Properties MyCode.Project.WebApi MyCode.Project.WebApi - v4.6.1 + v4.8 false false diff --git a/Reportapi/MyCode.Project.WebApi/Web.config b/Reportapi/MyCode.Project.WebApi/Web.config index fba5b9f..1a06261 100644 --- a/Reportapi/MyCode.Project.WebApi/Web.config +++ b/Reportapi/MyCode.Project.WebApi/Web.config @@ -1,71 +1,60 @@ - + - -
+
- - - - - - - - + + + + + + + - - - - - - + + + - - + - + - + - + - + - + - + - + - + - - + - - + - + - - - - + - - - - + + + + - + - + - + - + - + - + - + - - - + + + - - + - + - + - + - + - + - + - - - + + + - - - - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - + + - - - - - - - + + - - + + - - + + - - - - - - - + + - - + + - - + + + + + + + + + + + + + + - - + + \ No newline at end of file diff --git a/Reportapi/MyCode.Project.ZHMDGenerateCode/App.config b/Reportapi/MyCode.Project.ZHMDGenerateCode/App.config index 65eb285..2f36935 100644 --- a/Reportapi/MyCode.Project.ZHMDGenerateCode/App.config +++ b/Reportapi/MyCode.Project.ZHMDGenerateCode/App.config @@ -1,45 +1,45 @@ - + -
+
- - + + - + - + - + - + - + - + - + - + - + - + - + - - - + + + @@ -61,106 +61,106 @@ - + - + - + - + - + - + - + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Reportapi/MyCode.Project.ZHMDGenerateCode/MyCode.Project.ZHMDGenerateCode.csproj b/Reportapi/MyCode.Project.ZHMDGenerateCode/MyCode.Project.ZHMDGenerateCode.csproj index 573a7c5..0b8deef 100644 --- a/Reportapi/MyCode.Project.ZHMDGenerateCode/MyCode.Project.ZHMDGenerateCode.csproj +++ b/Reportapi/MyCode.Project.ZHMDGenerateCode/MyCode.Project.ZHMDGenerateCode.csproj @@ -8,7 +8,7 @@ Exe MyCode.Project.GenerateCode MyCode.Project.GenerateCode - v4.6.1 + v4.8 512 true From 028174444dbfbfa95e33ee834091f3941ff7762d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=96=8C?= <1324361213@qq.com> Date: Sat, 23 Aug 2025 17:15:28 +0800 Subject: [PATCH 2/3] 0 --- .../Model/PrdMo/T_PRD_MO.cs | 220 +++++++++++ .../Model/PrdMo/T_PRD_MOENTRY.cs | 367 ++++++++++++++++++ .../Model/PrdMo/T_PRD_MOENTRY_A.cs | 367 ++++++++++++++++++ .../Model/PrdMo/T_PRD_MOENTRY_C.cs | 171 ++++++++ .../Model/PrdMo/T_PRD_MOENTRY_D.cs | 66 ++++ .../Model/PrdMo/T_PRD_MOENTRY_L.cs | 52 +++ .../Model/PrdMo/T_PRD_MOENTRY_LK.cs | 136 +++++++ .../Model/PrdMo/T_PRD_MOENTRY_Q.cs | 339 ++++++++++++++++ .../Model/PrdMo/T_PRD_MOSCHEDULEDETAIL.cs | 206 ++++++++++ .../Model/PrdMo/T_PRD_MOSNDETAIL.cs | 101 +++++ .../Model/PrdMo/T_PRD_MO_L.cs | 45 +++ .../MyCode.Project.Domain.csproj | 11 + ...{IZhuBinService.cs => IPrdOrderService.cs} | 2 +- ...IPrdOrderService.cs => PrdOrderService.cs} | 2 +- .../MyCode.Project.Services.csproj | 4 +- 15 files changed, 2085 insertions(+), 4 deletions(-) create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_A.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_C.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_D.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_L.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_LK.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_Q.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSCHEDULEDETAIL.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSNDETAIL.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO_L.cs rename Reportapi/MyCode.Project.Services/IServices/{IZhuBinService.cs => IPrdOrderService.cs} (73%) rename Reportapi/MyCode.Project.Services/Implementation/{IPrdOrderService.cs => PrdOrderService.cs} (88%) diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO.cs new file mode 100644 index 0000000..6449a12 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO.cs @@ -0,0 +1,220 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MO + { + public T_PRD_MO(){ + + + } + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FFORMID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FBILLNO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FBILLTYPE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FTRUSTTEED {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FBUSINESSTYPE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FPRDORGID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FWORKSHOPID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FWORKGROUPID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FPLANNERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FOWNERTYPEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FOWNERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FDOCUMENTSTATUS {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FCREATORID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FCREATEDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FMODIFIERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FMODIFYDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FAPPROVERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FAPPROVEDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FCANCELER {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FCANCELDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FCANCELSTATUS {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:True + /// + public string FISREWORK {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:True + /// + public string FISENTRUST {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:True + /// + public int? FENTRUSTORGID {get;set;} + + /// + /// Desc: + /// Default:1 + /// Nullable:False + /// + public string FPPBOMTYPE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISSUEMTRL {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FISQCMO {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY.cs new file mode 100644 index 0000000..934efd4 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY.cs @@ -0,0 +1,367 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOENTRY + { + public T_PRD_MOENTRY(){ + + + } + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSEQ {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FGROUP {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FPRODUCTTYPE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FMATERIALID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FBASEUNITID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FUNITID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEUNITQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FPLANSTARTDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FPLANFINISHDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FBOMID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FLOT {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FLOT_TEXT {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FMTONO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FPROJECTNO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FROUTINGID {get;set;} + + /// + /// Desc: + /// Default:100 + /// Nullable:False + /// + public decimal FYIELDRATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FREQUESTORGID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINLIMITH {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESTOCKINLIMITH {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINULRATIO {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINLIMITL {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESTOCKINLIMITL {get;set;} + + /// + /// Desc: + /// Default:100 + /// Nullable:False + /// + public decimal FSTOCKINLLRATIO {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISSUSPEND {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSTOCKINORGID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSTOCKID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSTOCKLOCID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FAUXPROPID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FOPERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FPROCESSID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public decimal? FCOSTRATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSRCBILLTYPE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSRCBILLID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSRCBILLNO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSRCBILLENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSRCBILLENTRYSEQ {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSALEORDERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSALEORDERNO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSALEORDERENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSALEORDERENTRYSEQ {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEYIELDQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FCOPYENTRYID {get;set;} + + /// + /// Desc: + /// Default:newid() + /// Nullable:False + /// + public string FROWID {get;set;} + + /// + /// Desc: + /// Default:newid() + /// Nullable:False + /// + public string FPARENTROWID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FROWEXPANDTYPE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FBFLOWID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FWORKSHOPID {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_A.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_A.cs new file mode 100644 index 0000000..18991cd --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_A.cs @@ -0,0 +1,367 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOENTRY_A + { + public T_PRD_MOENTRY_A(){ + + + } + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FENTRYID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINQUASELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINQUASELAUXQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINFAILSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINFAILSELAUXQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINQUAQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINQUAAUXQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINFAILQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINFAILAUXQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPQUAQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPFAILQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPFAILAUXQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPQUAAUXQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSTATUS {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FPLANCONFIRMDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FSCHEDULEDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FCONVEYDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FSTARTDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FFINISHDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FCLOSEDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FCOSTDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FCREATETYPE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPQUASELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPQUASELAUXQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPFAILSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPFAILSELAUXQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FPRIORITY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FREQTYPE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESTOCKREADYQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKREADYQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASERPTFINISHQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FRPTFINISHQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESCRAPQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSCRAPQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEREPAIRQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESTOCKINSCRAPSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINSCRAPSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESTOCKINSCRAPQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINSCRAPQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREPAIRQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FINSTOCKOWNERTYPEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FINSTOCKOWNERID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FINSTOCKTYPE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FCHECKPRODUCT {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:True + /// + public string FOUTPUTOPTQUEUE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FYIELDQTY {get;set;} + + /// + /// Desc: + /// Default:A + /// Nullable:False + /// + public string FQAIP {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISBACKFLUSH {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FREQSRC {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_C.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_C.cs new file mode 100644 index 0000000..2aa21e2 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_C.cs @@ -0,0 +1,171 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOENTRY_C + { + public T_PRD_MOENTRY_C(){ + + + } + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FCONFIRMID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FRELEASEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSTARTID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FFINISHID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISMRP {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESAMPLEDAMAGEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSAMPLEDAMAGEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISENABLESCHEDULE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FPPBOMENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FBOMENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FPATHENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSRCFORMID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FNOTECOBY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FFIRSTQCCONTROLTYPE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISMRPCAL {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISGENERATEORDER {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEDIRECTSTOCKINQUAQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FDIRECTSTOCKINQUAQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEDIRECTPICKMTRLSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FDIRECTPICKMTRLSELQTY {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_D.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_D.cs new file mode 100644 index 0000000..67ff1e5 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_D.cs @@ -0,0 +1,66 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOENTRY_D + { + public T_PRD_MOENTRY_D(){ + + + } + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FMATCHDATE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FMATCHQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FINVMATCHQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FCOMPLETECON {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FREMARKS {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_L.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_L.cs new file mode 100644 index 0000000..17bf960 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_L.cs @@ -0,0 +1,52 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOENTRY_L + { + public T_PRD_MOENTRY_L(){ + + + } + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FPKID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FLOCALEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FMEMO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FCLOSEREASON {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_LK.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_LK.cs new file mode 100644 index 0000000..5f1762b --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_LK.cs @@ -0,0 +1,136 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOENTRY_LK + { + public T_PRD_MOENTRY_LK(){ + + + } + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FLINKID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSTABLEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSBILLID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FLNKTRACKERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FLNKSSTATE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FLNKAMOUNT {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FLNKSETOMOTRACKERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FLNKSETOMOSSTATE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FLNKSETOMOAMOUNT {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FFLOWID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FFLOWLINEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FRULEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FSTABLENAME {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEUNITQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEUNITQTYOLD {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_Q.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_Q.cs new file mode 100644 index 0000000..ce74f25 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOENTRY_Q.cs @@ -0,0 +1,339 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOENTRY_Q + { + public T_PRD_MOENTRY_Q(){ + + + } + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FENTRYID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FNOSTOCKINQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASENOSTOCKINQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FFORCECLOSERID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FCLOSETYPE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FREMWORKSHOPID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSCHEDULESEQ {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FSCHEDULESTARTTIME {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FSCHEDULEFINISHTIME {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FSNUNITID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSNQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FSCHEDULEPROCSPLIT {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FRESTKQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASERESTKQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FRESTKQUAQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASERESTKQUAQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FRESTKFAILQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASERESTKFAILQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FRESTKSCRAPQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASERESTKSCRAPQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FPICKMTLQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEPICKMTLQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FISNEWLC {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FPICKMTRLSTATUS {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FISSUEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEISSUEQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSRCSPLITBILLNO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSRCSPLITSEQ {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSRCSPLITENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSRCSPLITID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FMOCHANGEFLAG {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FSRCBOMENTRYID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEREMADEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FREMADEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESTOCKINREMADEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINREMADEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESTOCKINREMADESELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSTOCKINREMADESELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASERESTKREMADEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FRESTKREMADEQTY {get;set;} + + /// + /// Desc: + /// Default:1 + /// Nullable:False + /// + public string FSCHEDULESTATUS {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESCHEDULEDQTYSUM {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSCHEDULEDQTYSUM {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public string FISFIRSTINSPECT {get;set;} + + /// + /// Desc: + /// Default:A + /// Nullable:False + /// + public string FFIRSTINSPECTSTATUS {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSCHEDULEDETAIL.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSCHEDULEDETAIL.cs new file mode 100644 index 0000000..e2fe10a --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSCHEDULEDETAIL.cs @@ -0,0 +1,206 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOSCHEDULEDETAIL + { + public T_PRD_MOSCHEDULEDETAIL(){ + + + } + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public int FENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public int FID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FMOENTRYID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FSEQ {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FMOSEQ {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FMATERIALID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FDAILYOUTPUTQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEDAILYOUTPUTQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FPLANQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEPLANQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FUNITID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FBASEUNITID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSCHEDULEDQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESCHEDULEDQTY {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FPRODUCTIONLINEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FPLANSTARTDATE {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public DateTime? FPLANFINISHDATE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:True + /// + public string FISLOCKED {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSCHDTLROWID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEDIFFERQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FDIFFERQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEFINISHEDQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FFINISHEDQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FMATCHQTY1 {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FMATCHQTY2 {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FISSUEQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASEISSUEQTY {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSNDETAIL.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSNDETAIL.cs new file mode 100644 index 0000000..43bd3ac --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MOSNDETAIL.cs @@ -0,0 +1,101 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MOSNDETAIL + { + public T_PRD_MOSNDETAIL(){ + + + } + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FDETAILID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FENTRYID {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FSEQ {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FSERIALID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + public string FSERIALNO {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FSERIALNOTE {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSNQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSNSTOCKINSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FSNRPTSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESNQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESNRPTSELQTY {get;set;} + + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public decimal FBASESNSTOCKINSELQTY {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO_L.cs b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO_L.cs new file mode 100644 index 0000000..cf1ea91 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/PrdMo/T_PRD_MO_L.cs @@ -0,0 +1,45 @@ +using System; +using System.Linq; +using System.Text; + +namespace MyCode.Project.Domain.Model.PrdMo +{ + /// + /// + /// + public partial class T_PRD_MO_L + { + public T_PRD_MO_L(){ + + + } + /// + /// Desc: + /// Default:0 + /// Nullable:False + /// + public int FPKID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public int? FLOCALEID {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:True + /// + public string FDESCRIPTION {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj index 08c9bd3..0a46a8e 100644 --- a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj +++ b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj @@ -78,6 +78,17 @@ + + + + + + + + + + + diff --git a/Reportapi/MyCode.Project.Services/IServices/IZhuBinService.cs b/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs similarity index 73% rename from Reportapi/MyCode.Project.Services/IServices/IZhuBinService.cs rename to Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs index fa692d2..be53809 100644 --- a/Reportapi/MyCode.Project.Services/IServices/IZhuBinService.cs +++ b/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs @@ -2,7 +2,7 @@ namespace MyCode.Project.Services { - public interface IZhuBinService + public interface IPrdOrderService { diff --git a/Reportapi/MyCode.Project.Services/Implementation/IPrdOrderService.cs b/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs similarity index 88% rename from Reportapi/MyCode.Project.Services/Implementation/IPrdOrderService.cs rename to Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs index 4b7b785..8bfdb21 100644 --- a/Reportapi/MyCode.Project.Services/Implementation/IPrdOrderService.cs +++ b/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs @@ -6,7 +6,7 @@ using System; namespace MyCode.Project.Services.Implementation { - public class PrdOrderService : ServiceBase //, IZhuBinService + public class PrdOrderService : ServiceBase, IPrdOrderService { private IYTKJTShopParameterRepository _yTKJTShopParameterRepository; diff --git a/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj b/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj index 5561e33..6ee0d1a 100644 --- a/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj +++ b/Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj @@ -115,7 +115,7 @@ - + @@ -123,7 +123,7 @@ - + From d74421c3c1876aef0148e4735b41caf4d1edaa2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=96=8C?= <1324361213@qq.com> Date: Sat, 23 Aug 2025 17:38:02 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8D=95=E5=A4=B4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Response/LxmZHMDReport/PrdMoOrderResp.cs | 39 +++++++++++ .../MyCode.Project.Domain.csproj | 2 + .../Repositories/IMOOrdersRepository.cs | 27 ++++++++ .../MOOrdersRepository.cs | 64 +++++++++++++++++++ .../MyCode.Project.Repositories.csproj | 1 + .../IServices/IPrdOrderService.cs | 11 +++- .../Implementation/PrdOrderService.cs | 18 +++++- 7 files changed, 157 insertions(+), 5 deletions(-) create mode 100644 Reportapi/MyCode.Project.Domain/Message/Response/LxmZHMDReport/PrdMoOrderResp.cs create mode 100644 Reportapi/MyCode.Project.Domain/Repositories/IMOOrdersRepository.cs create mode 100644 Reportapi/MyCode.Project.Repositories/MOOrdersRepository.cs diff --git a/Reportapi/MyCode.Project.Domain/Message/Response/LxmZHMDReport/PrdMoOrderResp.cs b/Reportapi/MyCode.Project.Domain/Message/Response/LxmZHMDReport/PrdMoOrderResp.cs new file mode 100644 index 0000000..e25a04f --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Message/Response/LxmZHMDReport/PrdMoOrderResp.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MyCode.Project.Domain.Message.Response.LxmZHMDReport +{ + /// + /// 生产订单大屏数据 + /// + public class PrdMoOrderResp + { + /// + /// 生产订单Id + /// + public int Fid { get; set; } + + /// + /// 订单编号 + /// + public string FBILLNO { get; set; } + + /// + /// 订单编号 + /// + public DateTime FDate { get; set; } + + /// + /// 总数量 + /// + public decimal Qty { get; set; } + + /// + /// 入库总数量 + /// + public decimal InStockQty { get; set; } + } +} diff --git a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj index b5820b3..16af0de 100644 --- a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj +++ b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj @@ -68,6 +68,7 @@ + @@ -95,6 +96,7 @@ + diff --git a/Reportapi/MyCode.Project.Domain/Repositories/IMOOrdersRepository.cs b/Reportapi/MyCode.Project.Domain/Repositories/IMOOrdersRepository.cs new file mode 100644 index 0000000..c49fd09 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Repositories/IMOOrdersRepository.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Infrastructure; +using MyCode.Project.Domain; +using MyCode.Project.Domain.Model; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Domain.Message; +using MyCode.Project.Domain.Message.Response.LxmZHMDReport; + +namespace MyCode.Project.Domain.Repositories +{ + public interface IMOOrdersRepository : IRepository + { + + + /// + /// 获取生产数据 + /// + /// + /// + PageResult GetPrdMoPageList(PagedSearch search); + + } +} diff --git a/Reportapi/MyCode.Project.Repositories/MOOrdersRepository.cs b/Reportapi/MyCode.Project.Repositories/MOOrdersRepository.cs new file mode 100644 index 0000000..bbf66bb --- /dev/null +++ b/Reportapi/MyCode.Project.Repositories/MOOrdersRepository.cs @@ -0,0 +1,64 @@ +using MyCode.Project.Repositories.Common; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Domain.Message; +using MyCode.Project.Domain.Model; +using MyCode.Project.Domain.Repositories; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Infrastructure.Search; +using MyCode.Project.Domain.Message.Response.LxmZHMDReport; + +namespace MyCode.Project.Repositories +{ + public class MOOrdersRepository : Repository, IMOOrdersRepository + { + public MOOrdersRepository(MyCodeSqlSugarClient context) : base(context) + { } + + + + + public PageResult GetPrdMoPageList(PagedSearch search) + { + SearchCondition where = new SearchCondition(); + where.AddSqlCondition("1=1 ", true); + + string sql = $@" +SELECT + * +FROM + ( + SELECT + t1.FID Fid, + t1.FBILLNO FBillNo, + t1.FDATE FDate, + SUM(t1e.FQTY) Qty, + SUM( + t1e_a.FSTOCKINFAILAUXQTY + t1e_a.FSTOCKINQUAAUXQTY + ) InStockQty + FROM + T_PRD_MO t1 + LEFT JOIN T_PRD_MOENTRY t1e ON t1.FID = t1e.FID + LEFT JOIN T_PRD_MOENTRY_A t1e_a ON t1e.FENTRYID = t1e_a.FENTRYID + WHERE + 1 = 1 + AND t1.FDOCUMENTSTATUS = 'C' + GROUP BY + t1.FID, + t1.FBILLNO, + t1.FDATE + ) t1Temp + +"; + + + var list = this.SelectListPage(sql, where, search.Page, search.PageSize, $@"FDATE desc "); + return list; + } + + + } +} \ No newline at end of file diff --git a/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj b/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj index 8156859..2f547e4 100644 --- a/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj +++ b/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj @@ -86,6 +86,7 @@ + diff --git a/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs b/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs index be53809..c2ead08 100644 --- a/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs +++ b/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs @@ -1,10 +1,17 @@ -using MyCode.Project.Infrastructure.JackYun; +using MyCode.Project.Domain.Message.Response.LxmZHMDReport; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Infrastructure.JackYun; namespace MyCode.Project.Services { public interface IPrdOrderService { - + /// + /// 获取生产订单列表数据 + /// + /// + /// + PageResult GetPrdMoPageList(PagedSearch search); } } diff --git a/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs b/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs index 8bfdb21..6e318af 100644 --- a/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs +++ b/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs @@ -1,7 +1,9 @@ using MyCode.Project.Domain.Message.Request.JackYun; +using MyCode.Project.Domain.Message.Response.LxmZHMDReport; using MyCode.Project.Domain.Repositories; using MyCode.Project.Infrastructure.Common; using MyCode.Project.Infrastructure.JackYun; +using MyCode.Project.Repositories; using System; namespace MyCode.Project.Services.Implementation @@ -9,11 +11,21 @@ namespace MyCode.Project.Services.Implementation public class PrdOrderService : ServiceBase, IPrdOrderService { - private IYTKJTShopParameterRepository _yTKJTShopParameterRepository; + private IMOOrdersRepository _MOOrdersRepository; - public PrdOrderService(IYTKJTShopParameterRepository yTKJTShopParameterRepository) + public PrdOrderService(IMOOrdersRepository MOOrdersRepository) { - _yTKJTShopParameterRepository = yTKJTShopParameterRepository; + _MOOrdersRepository = MOOrdersRepository; + } + + /// + /// 生产订单列表 + /// + /// + /// + public PageResult GetPrdMoPageList(PagedSearch search) + { + return _MOOrdersRepository.GetPrdMoPageList(search); } }