@Test public void insertDataSearchLog() throws Exception { Long id = dataSearchLogDao.insertDataSearchLog(dataSearchLog); System.out.println("insertDataSearchLog :-------> " + id); Assert.assertTrue(id > 0); }
public Long insertDataSearchLog(DataSearchLog dataSearchLog) throws SQLException { if (dataSearchLog == null) { return 0L; } this.getDasClient().insert(dataSearchLog, Hints.hints().setIdBack()); return dataSearchLog.getId(); }
DataSearchLogDao extends BaseDao { public Long insertDataSearchLog(DataSearchLog dataSearchLog) throws SQLException { if (dataSearchLog == null) { return 0L; } this.getDasClient().insert(dataSearchLog, Hints.hints().setIdBack()); return dataSearchLog.getId(); } }
DataSearchLogDao extends BaseDao { public Long insertDataSearchLog(DataSearchLog dataSearchLog) throws SQLException { if (dataSearchLog == null) { return 0L; } this.getDasClient().insert(dataSearchLog, Hints.hints().setIdBack()); return dataSearchLog.getId(); }  }
DataSearchLogDao extends BaseDao { public Long insertDataSearchLog(DataSearchLog dataSearchLog) throws SQLException { if (dataSearchLog == null) { return 0L; } this.getDasClient().insert(dataSearchLog, Hints.hints().setIdBack()); return dataSearchLog.getId(); }  Long insertDataSearchLog(DataSearchLog dataSearchLog); Long getTotalCount(Paging<DataSearchLogView> paging); List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging); List<DataSearchLog> findDataSearchLogList(Integer limit); }
DataSearchLogDao extends BaseDao { public Long insertDataSearchLog(DataSearchLog dataSearchLog) throws SQLException { if (dataSearchLog == null) { return 0L; } this.getDasClient().insert(dataSearchLog, Hints.hints().setIdBack()); return dataSearchLog.getId(); }  Long insertDataSearchLog(DataSearchLog dataSearchLog); Long getTotalCount(Paging<DataSearchLogView> paging); List<DataSearchLogView> findLogPageList(Paging<DataSearchLogView> paging); List<DataSearchLog> findDataSearchLogList(Integer limit);  }