Browse Source

bug

master
yibo 7 years ago
parent
commit
5fce899f5b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ButcherFactory.BO/LocalBL/CarcassTakeOutBL.cs

+ 1
- 0
ButcherFactory.BO/LocalBL/CarcassTakeOutBL.cs View File

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


Loading…
Cancel
Save