From 1e9ddbfa2fb43ba02060d62f442d043a6c8aba70 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Wed, 21 Aug 2024 10:22:47 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20logging=20oracle=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/core/logging-oracle-mapper.xml | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 mens-api/src/main/resources/egovframework/mapper/core/logging-oracle-mapper.xml diff --git a/mens-api/src/main/resources/egovframework/mapper/core/logging-oracle-mapper.xml b/mens-api/src/main/resources/egovframework/mapper/core/logging-oracle-mapper.xml new file mode 100644 index 0000000..b34f93d --- /dev/null +++ b/mens-api/src/main/resources/egovframework/mapper/core/logging-oracle-mapper.xml @@ -0,0 +1,80 @@ + + + + + + + /** logging-oracle-mapper|saveApiLogging|julim */ + INSERT INTO tb_cmm_api_log ( + request_id + , system_id + , req_system_id + , method + , uri + , param + , ip + , access_token + , session_id + , success + , response + , message + , regist_dt + , regist_id + ) VALUES ( + #{requestId} + , #{systemId} + , #{reqSystemId} + , #{method} + , #{uri} + , #{param} + , #{ip} + , #{accessToken} + , #{sessionId} + , #{success} + , #{response} + , #{message} + , sysdate + , #{registId} + ) + + + + /** logging-oracle-mapper|updateLogging|julim */ + UPDATE tb_cmm_api_log + SET success = #{success} + , response = #{response} + , message = #{message} + , updt_dt = sysdate + , updt_id = #{updtId} + WHERE request_id = #{requestId} + + + +