From 96b08f20f1634594ddf88ee6d61cb09510b43dea Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 12 Dec 2023 15:51:29 +0900 Subject: [PATCH] =?UTF-8?q?select=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/foundation/test/TestMapper.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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) {