示例#1
0
 /** 修改操作 */
 public String doEdit() {
   try {
     b00401PO = b00401Service.retrieveB00401ByID(b00401PO.getMA001());
     if (b00401PO == null) {
       setEmptyDataMsg();
       return JSON_MSG;
     } else {
       setEmptyDataMsg();
     }
   } catch (Exception e) {
     e.printStackTrace();
   }
   return JSON_PO;
 }
示例#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";
 }