From 136974c8fe9a2e1698a41ad56838e0cf13d4b006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Tue, 20 Oct 2020 10:59:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Models/UniApiEntity/xxbom_pt_mstr.cs | 1 + Models/UniApiEntity/xxqad_ctrl.cs | 16 ++++++++-------- Models/UniApiEntity/xxqad_pod_det.cs | 9 +++++++-- Models/UniApiEntity/xxqad_vp_mstr.cs | 3 ++- Models/UniApiEntity/xxscm_tx_mstr.cs | 3 ++- Models/UniApiEntity/xxwms_rct_det.cs | 3 +++ UniApiGroup/Controller/OdbcApiQadController.cs | 6 ------ 7 files changed, 23 insertions(+), 18 deletions(-) diff --git a/Models/UniApiEntity/xxbom_pt_mstr.cs b/Models/UniApiEntity/xxbom_pt_mstr.cs index c8c016f..1c2a5d5 100644 --- a/Models/UniApiEntity/xxbom_pt_mstr.cs +++ b/Models/UniApiEntity/xxbom_pt_mstr.cs @@ -150,5 +150,6 @@ namespace CK.SCP.Models.UniApiEntity [StringLength(8)] public string xxbom_pt_domain { get; set; } + public string xxqad_pt_draw { get; set; } } } diff --git a/Models/UniApiEntity/xxqad_ctrl.cs b/Models/UniApiEntity/xxqad_ctrl.cs index 57ba9c8..7dd46f8 100644 --- a/Models/UniApiEntity/xxqad_ctrl.cs +++ b/Models/UniApiEntity/xxqad_ctrl.cs @@ -33,13 +33,13 @@ namespace CK.SCP.Models.UniApiEntity public string xxqad_rmks { get; set; } -// public DateTime xxqad_create_time { get; set; } -// -// [Required(AllowEmptyStrings = true)] -// [StringLength(20)] -// public string xxqad_domain { get; set; } - - //[StringLength(8)] - //public string xxqad_site { get; set; } + public DateTime xxqad_create_time { get; set; } + + [Required(AllowEmptyStrings = true)] + [StringLength(20)] + public string xxqad_domain { get; set; } + + [StringLength(8)] + public string xxqad_site { get; set; } } } diff --git a/Models/UniApiEntity/xxqad_pod_det.cs b/Models/UniApiEntity/xxqad_pod_det.cs index f88e06b..a5c4013 100644 --- a/Models/UniApiEntity/xxqad_pod_det.cs +++ b/Models/UniApiEntity/xxqad_pod_det.cs @@ -125,10 +125,15 @@ namespace CK.SCP.Models.UniApiEntity public string xxqad_pod_wolot { get; set; } */ public string xxqad_pod_loc { get; set; } - + public string xxqad_pod_type { get; set; } + public string xxqad_pod_wolot { get; set; } + public string xxqad_pod_pllist { get; set; } public string xxqad_pod_prj { get; set; } - + public Nullable xxqad_pod_qty_rcvd { get; set; } + public Nullable xxqad_pod_qty_open { get; set; } + public Nullable xxqad_pod_ord_date { get; set; } + public Nullable xxqad_pod_dur_date { get; set; } } } diff --git a/Models/UniApiEntity/xxqad_vp_mstr.cs b/Models/UniApiEntity/xxqad_vp_mstr.cs index 08ed54c..d3fc26d 100644 --- a/Models/UniApiEntity/xxqad_vp_mstr.cs +++ b/Models/UniApiEntity/xxqad_vp_mstr.cs @@ -80,7 +80,8 @@ namespace CK.SCP.Models.UniApiEntity public string xxqad_vp_updateur { get; set; } public int? xxqad_vp_vend_lead { get; set; } - + public string xxqad_vp_consignment { get; set; } + public string xxqad_vp_price_comfirm { get; set; } diff --git a/Models/UniApiEntity/xxscm_tx_mstr.cs b/Models/UniApiEntity/xxscm_tx_mstr.cs index e7fe63e..c9f8d4d 100644 --- a/Models/UniApiEntity/xxscm_tx_mstr.cs +++ b/Models/UniApiEntity/xxscm_tx_mstr.cs @@ -97,7 +97,8 @@ namespace CK.SCP.Models.UniApiEntity [StringLength(50)] public string xxscm_tx_status { get; set; } - + + } diff --git a/Models/UniApiEntity/xxwms_rct_det.cs b/Models/UniApiEntity/xxwms_rct_det.cs index 7336e4d..16bf415 100644 --- a/Models/UniApiEntity/xxwms_rct_det.cs +++ b/Models/UniApiEntity/xxwms_rct_det.cs @@ -75,5 +75,8 @@ namespace CK.SCP.Models.UniApiEntity [StringLength(8)] public string xxwms_rct_project { get; set; } + public string xxwms_rct_costcenter { get; set; } + public string xxwms_rct_manual { get; set; } + public string xxwms_rct_origin_loc { get; set; } } } diff --git a/UniApiGroup/Controller/OdbcApiQadController.cs b/UniApiGroup/Controller/OdbcApiQadController.cs index 03d0752..185e203 100644 --- a/UniApiGroup/Controller/OdbcApiQadController.cs +++ b/UniApiGroup/Controller/OdbcApiQadController.cs @@ -19,10 +19,6 @@ using System.Configuration; namespace CK.SCP.GrupUniApi.Controller { - - - - public class TP_TB_PO_PLAN { @@ -78,8 +74,6 @@ namespace CK.SCP.GrupUniApi.Controller EntitiesFactory.SaveDb(authdb); UpdateVenderExtend(qadDataList, wdb, authdb); EntitiesFactory.SaveDb(authdb); - - } else continue;