diff --git a/ButcherFactory.BO/LocalBL/SegmentProductionBL.cs b/ButcherFactory.BO/LocalBL/SegmentProductionBL.cs index 61b282d..7de023a 100644 --- a/ButcherFactory.BO/LocalBL/SegmentProductionBL.cs +++ b/ButcherFactory.BO/LocalBL/SegmentProductionBL.cs @@ -107,8 +107,9 @@ namespace ButcherFactory.BO.LocalBL static void FillGroupIDAsID(IDmoSession session, long id) { - var update = new DQUpdateDom(typeof(SegmentProduction)); - update.Where.Conditions.Add(DQCondition.EQ("ID", id)); + var update = new DQUpdateDom(typeof(SegmentProduction)); + update.Where.Conditions.Add(DQCondition.EQ("ID", id)); + update.Columns.Add(new DQUpdateColumn("MsgID", string.Format("{0}_{1}", AppContext.ConnectInfo.ClientCode, id))); update.Columns.Add(new DQUpdateColumn("GroupID", id)); session.ExecuteNonQuery(update); }