From 0d91fb4b914e188889996760a19bbd2211e767b5 Mon Sep 17 00:00:00 2001 From: wonyongChoi05 Date: Wed, 27 Sep 2023 10:56:37 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EC=BB=AC=EB=9F=BC=EB=A7=8C=20=EC=A1=B0=ED=9A=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/techcourse/dao/UserDaoImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/techcourse/dao/UserDaoImpl.java b/app/src/main/java/com/techcourse/dao/UserDaoImpl.java index 16f1cbac8f..fac68dacf2 100644 --- a/app/src/main/java/com/techcourse/dao/UserDaoImpl.java +++ b/app/src/main/java/com/techcourse/dao/UserDaoImpl.java @@ -28,7 +28,7 @@ public void update(final User user) { @Override public List findAll() { - final String sql = "select * from users"; + final String sql = "select id, account, password, email from users"; return jdbcTemplate.query(sql, getUserRowMapper()); }