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 1a486de..c55b119 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/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/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 08b5a27..16af0de 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 @@ -68,6 +68,7 @@ + @@ -79,11 +80,23 @@ + + + + + + + + + + + + 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.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 c17f0e2..dba8d7b 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.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/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 19a8647..2f547e4 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 @@ -86,6 +86,7 @@ + diff --git a/Reportapi/MyCode.Project.ScheduleTask/MyCode.Project.ScheduleTask.csproj b/Reportapi/MyCode.Project.ScheduleTask/MyCode.Project.ScheduleTask.csproj index 3d18b28..2e0176f 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/IServices/IPrdOrderService.cs b/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs new file mode 100644 index 0000000..c2ead08 --- /dev/null +++ b/Reportapi/MyCode.Project.Services/IServices/IPrdOrderService.cs @@ -0,0 +1,17 @@ +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/IServices/IZhuBinService.cs b/Reportapi/MyCode.Project.Services/IServices/IZhuBinService.cs deleted file mode 100644 index fa692d2..0000000 --- a/Reportapi/MyCode.Project.Services/IServices/IZhuBinService.cs +++ /dev/null @@ -1,10 +0,0 @@ -using MyCode.Project.Infrastructure.JackYun; - -namespace MyCode.Project.Services -{ - public interface IZhuBinService - { - - - } -} diff --git a/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs b/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs new file mode 100644 index 0000000..6e318af --- /dev/null +++ b/Reportapi/MyCode.Project.Services/Implementation/PrdOrderService.cs @@ -0,0 +1,32 @@ +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 +{ + public class PrdOrderService : ServiceBase, IPrdOrderService + { + + private IMOOrdersRepository _MOOrdersRepository; + + public PrdOrderService(IMOOrdersRepository MOOrdersRepository) + { + _MOOrdersRepository = MOOrdersRepository; + } + + /// + /// 生产订单列表 + /// + /// + /// + public PageResult GetPrdMoPageList(PagedSearch search) + { + return _MOOrdersRepository.GetPrdMoPageList(search); + } + + } +} diff --git a/Reportapi/MyCode.Project.Services/Implementation/ZhuBinService.cs b/Reportapi/MyCode.Project.Services/Implementation/ZhuBinService.cs deleted file mode 100644 index 0ca2138..0000000 --- a/Reportapi/MyCode.Project.Services/Implementation/ZhuBinService.cs +++ /dev/null @@ -1,20 +0,0 @@ -using MyCode.Project.Domain.Message.Request.JackYun; -using MyCode.Project.Domain.Repositories; -using MyCode.Project.Infrastructure.Common; -using MyCode.Project.Infrastructure.JackYun; -using System; - -namespace MyCode.Project.Services.Implementation -{ - public class ZhuBinService : ServiceBase //, IZhuBinService - { - - private IYTKJTShopParameterRepository _yTKJTShopParameterRepository; - - public ZhuBinService(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..6ee0d1a 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 @@ - + @@ -123,7 +123,7 @@ - + diff --git a/Reportapi/MyCode.Project.WebApi/MyCode.Project.WebApi.csproj b/Reportapi/MyCode.Project.WebApi/MyCode.Project.WebApi.csproj index ccd215a..f87be7b 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.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