Example #1
0
 /** 展示所有的设备设施列表 */
 public String doList() {
   codeValueSBLX = codevalueService.retrieveCodeByType("equip_type");
   if (b00401PO == null) {
     b00401PO = new B00401PO();
   }
   String ss = request.getParameter("b00401PO.MA002");
   b00401PO.setMA002(ss == null ? this.getSessionUserPO().getCorpid() : ss);
   return SUCCESS;
 }
Example #2
0
 /** 修改记录 */
 public String doEditB00401() {
   try {
     b00401PO = b00401Service.retrieveB00401ByID(b00401PO.getMA001());
     codeValueSBLX = codevalueService.retrieveCodeByType("equip_type");
     if (b00401PO == null) {
       setEmptyDataMsg();
       return JSON_MSG;
     } else {
       setEmptyDataMsg();
     }
   } catch (Exception e) {
     e.printStackTrace();
   }
   return "queryB00401";
 }
Example #3
0
 /** 跳转到添加页面 */
 public String doAdd() {
   codeValueSBLX = codevalueService.retrieveCodeByType("equip_type");
   return "add";
 }
Example #4
0
 /**
  * 跳转到设备设施列表页面
  *
  * @return
  */
 public String getCount() {
   codeValueSBLX = codevalueService.retrieveCodeByType("equip_type");
   return "count";
 }
Example #5
0
 /** 跳转到统计页面 */
 public String doGetB00401Details() {
   codeValueSBLX = codevalueService.retrieveCodeByType("equip_type");
   return "tj";
 }