diff --git a/WebContent/jsp/onl/kjb/statistics/apiStatsDayMan.jsp b/WebContent/jsp/onl/kjb/statistics/apiStatsDayMan.jsp index 0e5c270..8f82e91 100644 --- a/WebContent/jsp/onl/kjb/statistics/apiStatsDayMan.jsp +++ b/WebContent/jsp/onl/kjb/statistics/apiStatsDayMan.jsp @@ -48,8 +48,8 @@ } function decimalFormatter(cellvalue, options, rowObject) { - if (cellvalue == null || cellvalue == '') return '0.000'; - return Number(cellvalue).toFixed(3); + if (cellvalue == null || cellvalue == '') return '0'; + return Math.round(Number(cellvalue)).toLocaleString(); } function initCharts() { diff --git a/WebContent/jsp/onl/kjb/statistics/apiStatsHourMan.jsp b/WebContent/jsp/onl/kjb/statistics/apiStatsHourMan.jsp index ac85e11..0a26b24 100644 --- a/WebContent/jsp/onl/kjb/statistics/apiStatsHourMan.jsp +++ b/WebContent/jsp/onl/kjb/statistics/apiStatsHourMan.jsp @@ -49,8 +49,8 @@ } function decimalFormatter(cellvalue, options, rowObject) { - if (cellvalue == null || cellvalue == '') return '0.000'; - return Number(cellvalue).toFixed(3); + if (cellvalue == null || cellvalue == '') return '0'; + return Math.round(Number(cellvalue)).toLocaleString(); } function initCharts() { diff --git a/WebContent/jsp/onl/kjb/statistics/apiStatsMinuteMan.jsp b/WebContent/jsp/onl/kjb/statistics/apiStatsMinuteMan.jsp index 3220afb..9ae5642 100644 --- a/WebContent/jsp/onl/kjb/statistics/apiStatsMinuteMan.jsp +++ b/WebContent/jsp/onl/kjb/statistics/apiStatsMinuteMan.jsp @@ -41,8 +41,8 @@ } function decimalFormatter(cellvalue, options, rowObject) { - if (cellvalue == null || cellvalue == '') return '0.000'; - return Number(cellvalue).toFixed(3); + if (cellvalue == null || cellvalue == '') return '0'; + return Math.round(Number(cellvalue)).toLocaleString(); } function initCharts() { diff --git a/WebContent/jsp/onl/kjb/statistics/apiStatsMonthMan.jsp b/WebContent/jsp/onl/kjb/statistics/apiStatsMonthMan.jsp index 8282166..8792df8 100644 --- a/WebContent/jsp/onl/kjb/statistics/apiStatsMonthMan.jsp +++ b/WebContent/jsp/onl/kjb/statistics/apiStatsMonthMan.jsp @@ -48,8 +48,8 @@ } function decimalFormatter(cellvalue, options, rowObject) { - if (cellvalue == null || cellvalue == '') return '0.000'; - return Number(cellvalue).toFixed(3); + if (cellvalue == null || cellvalue == '') return '0'; + return Math.round(Number(cellvalue)).toLocaleString(); } function initCharts() { diff --git a/WebContent/jsp/onl/kjb/statistics/apiStatsYearMan.jsp b/WebContent/jsp/onl/kjb/statistics/apiStatsYearMan.jsp index 64e8f2f..fb8dd9e 100644 --- a/WebContent/jsp/onl/kjb/statistics/apiStatsYearMan.jsp +++ b/WebContent/jsp/onl/kjb/statistics/apiStatsYearMan.jsp @@ -48,8 +48,8 @@ } function decimalFormatter(cellvalue, options, rowObject) { - if (cellvalue == null || cellvalue == '') return '0.000'; - return Number(cellvalue).toFixed(3); + if (cellvalue == null || cellvalue == '') return '0'; + return Math.round(Number(cellvalue)).toLocaleString(); } function initCharts() { diff --git a/src/main/java/com/eactive/eai/rms/data/entity/onl/logger/EAILogServiceImpl.java b/src/main/java/com/eactive/eai/rms/data/entity/onl/logger/EAILogServiceImpl.java index 1c86c8d..0ce13ca 100644 --- a/src/main/java/com/eactive/eai/rms/data/entity/onl/logger/EAILogServiceImpl.java +++ b/src/main/java/com/eactive/eai/rms/data/entity/onl/logger/EAILogServiceImpl.java @@ -82,7 +82,6 @@ public class EAILogServiceImpl implements EAILogService { apiMessageLogDTO.setApiServiceNumber(apiServiceNumber); apiMessageLogDTO.setTxDate(eaiLog.getMsgprcssyms()); apiMessageLogDTO.setProcessNumber(Integer.parseInt(eaiLog.getId().getLogprcssserno())); - apiMessageLogDTO.setQueryString(""); apiMessageLogDTO.setClientId(eaiLog.getClientid()); apiMessageLogDTO.setKeymgtmsgctnt(eaiLog.getKeymgtmsgctnt()); @@ -102,6 +101,8 @@ public class EAILogServiceImpl implements EAILogService { apiMessageLogDTO.setMethod(httpAdapterExtraLog.getHttpMethod()); apiMessageLogDTO.setHttpStatus(httpAdapterExtraLog.getHttpStatus()); apiMessageLogDTO.setUrl(httpAdapterExtraLog.getUrl()); + + apiMessageLogDTO.setQueryString(StringUtils.substringAfter(httpAdapterExtraLog.getUrl(), "?")); } }