Exemplo n.º 1
0
 /**
  * 返回值
  *
  * @param b 标示
  * @param s_msg 成功信息
  * @param f_msg 错误信息
  * @param url 返回路径
  */
 private void assertResult(boolean b, String s_msg, String f_msg, String url) {
   if (b) {
     super.addMessage(s_msg, url, SysConstant.SUCCESS);
   } else {
     super.addMessage(f_msg, url, SysConstant.ERROR);
   }
 }
Exemplo n.º 2
0
 /** 审核过程 */
 public String audit() {
   UserInfo userInfo = super.getUser();
   logger.info(contactLetterAudit);
   businessContactletterservice.auditThis(entity, contactLetterAudit, userInfo);
   super.addMessage("提示:审核成功!", WAIT_HANDLED_PAGE_URL, SysConstant.SUCCESS);
   return SUCCESS;
 }
Exemplo n.º 3
0
 /**
  * 删除
  *
  * @return
  */
 public String delete() {
   String id = super.getRequest().getParameter("id");
   businessContactletterservice.deleteBusinessContactletter(id); // 逻辑删
   // 将status=9
   super.addMessage("删除信息成功!", "/contactletter/contactletter!query.action", SysConstant.SUCCESS);
   return "queryList";
 }