diff --git a/src/main/java/cokr/xit/foundation/test/TestMapper.java b/src/main/java/cokr/xit/foundation/test/TestMapper.java index 1bcd049..0f0f30c 100644 --- a/src/main/java/cokr/xit/foundation/test/TestMapper.java +++ b/src/main/java/cokr/xit/foundation/test/TestMapper.java @@ -1,13 +1,21 @@ package cokr.xit.foundation.test; +import java.util.List; import java.util.Map; import org.egovframe.rte.psl.dataaccess.mapper.Mapper; import cokr.xit.foundation.component.AbstractMapper; +import cokr.xit.foundation.data.DataObject; @Mapper("testMapper") public interface TestMapper extends AbstractMapper { + List select(Map params); + + default List execSelect(String sql) { + return select(params().set("sql", sql)); + } + int insert(Map params); default int execInsert(String sql) {