feat: add integration test (#65)

* feat: add integration test

* feat: update action config

* fix: action run failed

* feat: add test report step in action
This commit is contained in:
vran
2022-03-26 19:26:50 +08:00
committed by GitHub
parent 17d0f3a024
commit 4edadae62e
41 changed files with 806 additions and 59 deletions

View File

@@ -86,6 +86,12 @@ public abstract class BaseDao<R> {
.fetchOptionalInto(pojoType);
}
public List<R> selectList(Condition condition) {
return getDslContext()
.select(table.fields()).from(table).where(condition)
.fetchInto(pojoType);
}
public R selectOne(Condition condition) {
return selectOptionalOne(condition)
.orElseThrow(() -> new DataNotExistsException("data not exists in "