コード例 #1
0
 public String update() {
   lyff = lyffService.update(lyff);
   if (lyff.getLylx().getZdbm().equals(LylxDto.LYLX_DEPT)) {
     return "dept";
   } else {
     return "person";
   }
 }
コード例 #2
0
 public String save() {
   lyff.setSqr(getCurrentRyxx());
   lyffService.save(lyff);
   return SUCCESS;
 }
コード例 #3
0
 public String editForZx() {
   lyff = lyffService.get(lyff);
   lyff.setLyzt(LyztDto.getwly());
   return SUCCESS;
 }
コード例 #4
0
 public String addDept() {
   lyff.setLybh(DateUtils.format("yyyyMMddHHmm", new Date()));
   lyff.setLylx(LylxDto.getDept());
   return SUCCESS;
 }