@Override public List<UserOperationInParam> findUserOperationByParams(Map params) { if (params == null) { params = new HashMap(); } List<UserOperation> temp = userOperationDao.findUserOperationByParams(params); return convertUserOperationToInParam(temp); }
@Override public DaoPage findUserOperationByParams(Map params, Integer pageIndex, Integer pageSize) { if (params == null) { params = new HashMap(); } DaoPage daoPage = userOperationDao.findUserOperationByParams(params, pageIndex, pageSize); daoPage.setResult(convertUserOperationToInParam((List<UserOperation>) daoPage.getResult())); return daoPage; }