|
|
|
@ -56,7 +56,10 @@ namespace BWP.B3ClientService.Rpcs |
|
|
|
var goodsID = GetGoodsID(obj.SaleGoods_Code, session); |
|
|
|
var update = new DQUpdateDom(typeof(CarcassFullInfo)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("SaleGoods_ID", goodsID)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickWeight", obj.Weight)); |
|
|
|
if (obj.Weight.HasValue) |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickWeight", obj.Weight)); |
|
|
|
else |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickWeight", DQExpression.Field("InStoreWeight"))); |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickTime", obj.Time)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickNumber", obj.Number)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickType", 领用类型.白条销售)); |
|
|
|
@ -93,7 +96,8 @@ namespace BWP.B3ClientService.Rpcs |
|
|
|
static void FillSectionStoreWeight(CarcassSaleOutStoreObj item, IDmoSession session) |
|
|
|
{ |
|
|
|
var update = new DQUpdateDom(typeof(SectionStoreDetail)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("Weight", item.Weight)); |
|
|
|
if (item.Weight.HasValue) |
|
|
|
update.Columns.Add(new DQUpdateColumn("Weight", item.Weight)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("OutStoreTime", item.Time)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickType", 领用类型.白条销售)); |
|
|
|
update.Columns.Add(new DQUpdateColumn("PickNumber", item.Number)); |
|
|
|
|