|
|
@ -114,6 +114,7 @@ namespace ButcherFactory.BO.LocalBL |
|
|
{ |
|
|
{ |
|
|
Update(id, session, new Tuple<string, object>("GroupID", id), new Tuple<string, object>("Weight", weight)); |
|
|
Update(id, session, new Tuple<string, object>("GroupID", id), new Tuple<string, object>("Weight", weight)); |
|
|
GroupUpdate(ids.Where(x => x != id), session, new Tuple<string, object>("GroupID", id), new Tuple<string, object>("Weight", 0)); |
|
|
GroupUpdate(ids.Where(x => x != id), session, new Tuple<string, object>("GroupID", id), new Tuple<string, object>("Weight", 0)); |
|
|
|
|
|
session.Commit(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|