From fb30d19699d7d0b2772d005b744befca36e1debd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=9D=B4=EC=86=94?= Date: Sun, 17 Jul 2022 09:37:07 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=88=98=EC=A0=95]=20=EB=A9=94=EB=AA=A8?= =?UTF-8?q?=EB=A6=AC=20=EC=9D=BC=EA=B0=84=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sqlmap/m/memory/com.backoffice.m.memory.memory.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/sqlmap/m/memory/com.backoffice.m.memory.memory.xml b/src/main/resources/sqlmap/m/memory/com.backoffice.m.memory.memory.xml index f45775b..61a06fb 100644 --- a/src/main/resources/sqlmap/m/memory/com.backoffice.m.memory.memory.xml +++ b/src/main/resources/sqlmap/m/memory/com.backoffice.m.memory.memory.xml @@ -116,7 +116,7 @@ CASE WHEN add_degree = '0' then '1' else add_degree END as add_degree FROM ( SELECT DATE_FORMAT(b.reg_dt, '%H:%i') as hour_min, - (DATE_FORMAT(b.reg_dt, '%H') * 60 + DATE_FORMAT(a.reg_dt, '%i')) * 0.25 as start_degree, + (DATE_FORMAT(b.reg_dt, '%H') * 60 + DATE_FORMAT(b.reg_dt, '%i')) * 0.25 as start_degree, (select color_cd from tbl_code_item ts where ts.val_1 = c.cd_no) as category, c.title, ifnull( @@ -192,7 +192,7 @@ from tbl_bf_daily_nutrition_15 tn1 where tn1.dn_no = b.dn_no ) - END, 1) AS add_degree + END, 1) * 0.25 AS add_degree FROM tbl_bf_family_match a INNER JOIN tbl_bf_daily_nutrition b on a.smc_no = b.smc_no INNER JOIN tbl_code_item_str c on b.nutirition_cd_no = c.cd_no