public PaginationResult<?> queryListPage(DynamicSqlParameter requestParam) throws UPPException { // TODO Auto-generated method stub PaginationResult<Object> result = null; try { System.out.println("queryListPage"); result = new PaginationResult<Object>(); result.setMessage("成功!"); } catch (Exception e) { throw new UPPException("UC_E0001:调用通用queryListPage方法异常", e); // UC_0001 调用通用queryListPage方法异常 } return result; }
public PaginationResult<?> delete(String id) throws UPPException { // TODO Auto-generated method stub PaginationResult<Object> result = null; try { System.out.println("delete"); result = new PaginationResult<Object>(); result.setMessage("成功!"); } catch (Exception e) { throw new UPPException("UC_E0004:调用通用delete方法异常", e); // UC_0002 调用通用delete方法异常 } return result; }
public PaginationResult<?> add(Object model) throws UPPException { PaginationResult<Object> result = null; try { System.out.println("add"); result = new PaginationResult<Object>(); result.setMessage("成功!"); } catch (Exception e) { throw new UPPException("UC_E0002:调用通用add方法异常", e); // UC_0001 调用通用add方法异常 } return result; }
public PaginationResult<?> queryObjectById(Object model) throws UPPException { // TODO Auto-generated method stub PaginationResult<Object> result = null; try { System.out.println("queryObject"); result = new PaginationResult<Object>(); // result.setDataObject(dataObject); result.setMessage("成功!"); } catch (Exception e) { throw new UPPException("UC_E0005:调用通用queryObject方法异常", e); // UC_0004 调用通用delete方法异常 } return result; }