|
|
@ -172,7 +172,6 @@ LEFT JOIN {1}.dbo.[OM_MODetails] b With(NoLock) ON a.OODetailID= CAST(b.MODetail |
|
|
|
values.Add("Currency", "a.CurrencyName");//币种
|
|
|
|
values.Add("Status", "a.Status"); |
|
|
|
values.Add("CreatePerson", "a.CreatePerson");//创建人
|
|
|
|
values.Add("ReleaseState", "'0'");//发布状态
|
|
|
|
values.Add("PlanArriveDate", "a.PreArriveDate");//预计到货日期
|
|
|
|
values.Add("CreateDateTime", "a.CreateDateTime");//业务员名称
|
|
|
|
values.Add("OODetailID", "a.OODetailID"); |
|
|
@ -195,6 +194,7 @@ LEFT JOIN {1}.dbo.[OM_MODetails] b With(NoLock) ON a.OODetailID= CAST(b.MODetail |
|
|
|
values.Add("MUSERName", "'" + ConstWorkPoint.Musername + "'");//操作人姓名
|
|
|
|
values.Add("WorkPoint", "'" + WorkPoint + "'");//站点
|
|
|
|
values.Add("EATTRIBUTE1", "''");//站点
|
|
|
|
values.Add("ReleaseState", "'0'");//发布状态
|
|
|
|
//插入新增数据
|
|
|
|
sql += ICSHelper.InsertSQL("ICSOutsourcingOrder", values) |
|
|
|
+ @" #TempPOWW a
|
|
|
|