Exemplo n.º 1
0
 public String saveEdit() {
   activity.setBegin_time(begin_time.getTime());
   activity.setEnd_time(end_time.getTime());
   try {
     promotionActivityManager.edit(activity);
     this.msgs.add("活动修改成功");
   } catch (Exception e) {
     this.msgs.add("活动修改失败");
     e.printStackTrace();
   }
   this.urls.put("促销活动列表", "activity!list.do");
   return this.MESSAGE;
 }
Exemplo n.º 2
0
 public String edit() {
   activity = promotionActivityManager.get(activity_id);
   return "edit";
 }
Exemplo n.º 3
0
 public String list() {
   this.webpage = promotionActivityManager.list(this.getPage(), this.getPageSize());
   return "list";
 }