Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinx009 committed Jun 1, 2017
1 parent e2f8e97 commit b4076bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/entry/webapp/active/ActiveController.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ public void addOrUpdate(HttpServletRequest req, HttpServletResponse res, Active
} catch (Exception e) {
e.printStackTrace();
}
active.setShowStatus(activeOld.getShowStatus());
active.setNum(activeOld.getNum());
active.setAddUser("0");
activeService.update(active);
} else {
active.setAddTime(new Date());
active.setShowStatus(0);
active.setAddUser("0");
active.setNum(0);
activeService.save(active);
Expand Down

0 comments on commit b4076bc

Please sign in to comment.