Browse Source

bug

master
yibo 6 years ago
parent
commit
da52157b43
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      ButcherFactory.BO/LocalBL/SegmentProductionBL.cs

+ 3
- 2
ButcherFactory.BO/LocalBL/SegmentProductionBL.cs View File

@ -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);
}


Loading…
Cancel
Save