Exemplo n.º 1
0
 // 提交及查看审查意见
 public String editScyjSubmit() {
   IUser tuser = UserThreadLocal.get();
   PTUserBO user = userUCC.getSingleById(tuser.getUserTid());
   headService.getUserLX(pgscYj.getCldId(), String.valueOf(user.getTid())); // 得到当前用户的角色,来互相带意见
   radioValue = headService.findRadioValue(pgscYj.getCldId(), String.valueOf(user.getTid()));
   request.setAttribute("user", user);
   return "editScyj";
 }
Exemplo n.º 2
0
 // 修改意见
 public String updateScyj() {
   try {
     if (pgscYj == null) pgscYj = new ScyjVo();
     pgscYj.setId(request.getParameter("id"));
     pgscYj.setScxmText(request.getParameter("scxmText"));
     pgscYj.setScydText(request.getParameter("scydText"));
     pgscYj.setJtyjText(request.getParameter("jtyjText"));
     headService.updateScyj(pgscYj);
     response.getWriter().print("SUCCESS");
   } catch (Exception e) {
     if (log.isDebugEnabled()) {
       log.debug(e.getStackTrace());
     }
   }
   return null;
 }
Exemplo n.º 3
0
 // 取得已提交的审查意见Json
 public String getScyjSubmitJson() {
   try {
     String returnJson = headService.getSubmitScyjJson(pgscYj.getCldId());
     response.setCharacterEncoding("UTF-8");
     response.getWriter().print(returnJson);
   } catch (Exception e) {
     if (log.isDebugEnabled()) {
       log.debug(e.getStackTrace());
     }
   }
   return null;
 }
Exemplo n.º 4
0
 // 取得处理单对应的审查意见Json
 public String getMyScyjJson() {
   try {
     IUser tuser = UserThreadLocal.get();
     String returnJson =
         headService.getMyScyjJson(pgscYj.getCldId(), String.valueOf(tuser.getUserTid()));
     response.setCharacterEncoding("UTF-8");
     response.getWriter().print(returnJson);
   } catch (Exception e) {
     if (log.isDebugEnabled()) {
       log.debug(e.getStackTrace());
     }
   }
   return null;
 }