@Action("/pub/subject/subjectSaveOrUpdate")
 public void saveComSubjects() throws Exception {
   comSubjectService.saveOrUpdateComSubject(comSubject);
   Map<String, Object> map = new HashMap<String, Object>();
   map.put("success", true);
   map.put("message", "操作成功!");
   this.sendAjaxResultByJson(JSONObject.fromObject(map).toString());
 }
 @Action("/pub/subject/updateSeq")
 public String updateSeqs() throws Exception {
   try {
     comSubjectService.updateSeqs(subjectSeqs);
     this.sendAjaxMsg("success");
   } catch (Exception ex) {
     ex.printStackTrace();
     this.sendAjaxMsg("error");
   }
   return null;
 }
 @Action("/pub/subject/subjectEdie")
 public String editComSubjects() {
   comSubject.setSubjectType(subjectTypeStr);
   // 修改
   if (StringUtils.isNotBlank(comSubjectIdStr)) {
     comSubject.setComSubjectId(Long.parseLong(comSubjectIdStr));
     comSubject = comSubjectService.getComSubjectById(comSubject);
   } else {
     // 新增
     comSubject.setCreateTime(new Date());
     comSubject.setUpdateTime(new Date());
     comSubject.setUsedByCount(0L);
   }
   return "subjectEdit";
 }
 @Action("/pub/subject/subjectList")
 public String queryComSubjects() {
   comSubjectList = comSubjectService.findComSubjects(comSubject, Integer.MAX_VALUE);
   return "subjectList";
 }