|
|
@ -51,10 +51,11 @@ namespace BWP.B3ClientService.Rpcs |
|
|
{ |
|
|
{ |
|
|
var goodsID = GetGoodsID(obj.SaleGoods_Code, session); |
|
|
var goodsID = GetGoodsID(obj.SaleGoods_Code, session); |
|
|
var update = new DQUpdateDom(typeof(CarcassFullInfo)); |
|
|
var update = new DQUpdateDom(typeof(CarcassFullInfo)); |
|
|
update.Columns.Add(new DQUpdateColumn("PickGroupID", obj.GroupID)); |
|
|
|
|
|
update.Columns.Add(new DQUpdateColumn("SaleGoods_ID", goodsID)); |
|
|
update.Columns.Add(new DQUpdateColumn("SaleGoods_ID", goodsID)); |
|
|
update.Columns.Add(new DQUpdateColumn("PickWeight", obj.Weight)); |
|
|
update.Columns.Add(new DQUpdateColumn("PickWeight", obj.Weight)); |
|
|
update.Columns.Add(new DQUpdateColumn("PickTime", obj.Time)); |
|
|
update.Columns.Add(new DQUpdateColumn("PickTime", obj.Time)); |
|
|
|
|
|
if (obj.ProductBatch_ID.HasValue) |
|
|
|
|
|
update.Columns.Add(new DQUpdateColumn("ProductBatch_ID", obj.ProductBatch_ID)); |
|
|
update.Columns.Add(new DQUpdateColumn("PickType", 领用类型.白条销售)); |
|
|
update.Columns.Add(new DQUpdateColumn("PickType", 领用类型.白条销售)); |
|
|
update.Where.Conditions.Add(DQCondition.EQ("ID", id)); |
|
|
update.Where.Conditions.Add(DQCondition.EQ("ID", id)); |
|
|
session.ExecuteNonQuery(update); |
|
|
session.ExecuteNonQuery(update); |
|
|
@ -112,8 +113,8 @@ namespace BWP.B3ClientService.Rpcs |
|
|
public string BarCode { get; set; } |
|
|
public string BarCode { get; set; } |
|
|
public decimal? Weight { get; set; } |
|
|
public decimal? Weight { get; set; } |
|
|
public DateTime? Time { get; set; } |
|
|
public DateTime? Time { get; set; } |
|
|
public long? GroupID { get; set; } |
|
|
|
|
|
public string SaleGoods_Code { get; set; } |
|
|
public string SaleGoods_Code { get; set; } |
|
|
|
|
|
public long? ProductBatch_ID { get; set; } |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
class MinCarcassSaleOutObj |
|
|
class MinCarcassSaleOutObj |
|
|
|