From 704f201f9281edc6a5359445b2b08ae2e44de491 Mon Sep 17 00:00:00 2001 From: hylee Date: Tue, 3 Sep 2024 19:11:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=9C=ED=87=B4=EA=B7=BC=20=EC=A7=80?= =?UTF-8?q?=EB=AC=B8=20=EB=94=94=EB=B9=84=20=EC=A0=91=EC=86=8D=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 4 ++-- src/main/resources/static/cmn/js/agent/timerForOneC.js | 4 ++-- src/main/resources/static/cmn/js/agent/timerForTwoC.js | 7 ++----- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 981c86b..9225efd 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -31,8 +31,8 @@ spring.main.datasource.password=itntest123 # spring.commute.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy -spring.commute.datasource.jdbc-url=jdbc:log4jdbc:mysql://192.168.0.200:3312/biostar2_ac?serverTimezone=Asia/Seoul -#spring.commute.datasource.jdbc-url=jdbc:log4jdbc:mysql://192.168.0.30:3312/biostar2_ac?serverTimezone=Asia/Seoul +#spring.commute.datasource.jdbc-url=jdbc:log4jdbc:mysql://192.168.0.200:3312/biostar2_ac?serverTimezone=Asia/Seoul +spring.commute.datasource.jdbc-url=jdbc:log4jdbc:mysql://192.168.0.31:3312/biostar2_ac?serverTimezone=Asia/Seoul spring.commute.datasource.username=root spring.commute.datasource.password=itntest! diff --git a/src/main/resources/static/cmn/js/agent/timerForOneC.js b/src/main/resources/static/cmn/js/agent/timerForOneC.js index 21c1dc5..6ca8a41 100644 --- a/src/main/resources/static/cmn/js/agent/timerForOneC.js +++ b/src/main/resources/static/cmn/js/agent/timerForOneC.js @@ -168,7 +168,7 @@ function fn_oneTranferCntAndTime(userId){ $('#divOneSmsCard .transferCnt').text(cnt); let text = $('#divOneSmsCard .insertCnt').text(); let numberOnly = text.match(/\d+/)[0]; - if(cnt >= numberOnly){ + if(cnt >= Number(numberOnly)){ oneStopTransferTimer(); } } @@ -237,7 +237,7 @@ function fn_oneReportCntAndTime(userId){ contentType: 'application/json', // async: true, success: function (data) { - console.log('tranfer data : ', data); + console.log('findByLogMoveCntWhereMessage data : ', data); if (data.status == 'OK') { var cnt = data.data; diff --git a/src/main/resources/static/cmn/js/agent/timerForTwoC.js b/src/main/resources/static/cmn/js/agent/timerForTwoC.js index fe5a1d5..8373171 100644 --- a/src/main/resources/static/cmn/js/agent/timerForTwoC.js +++ b/src/main/resources/static/cmn/js/agent/timerForTwoC.js @@ -159,7 +159,7 @@ function fn_twoTranferCntAndTime(userId){ contentType: 'application/json', // async: true, success: function (data) { - // console.log('tranfer data : ', data); + console.log('tranfer data : ', data); if (data.status == 'OK') { var cnt = data.data; @@ -167,9 +167,6 @@ function fn_twoTranferCntAndTime(userId){ $('#divTwoSmsCard .transferCnt').text(cnt); let text = $('#divTwoSmsCard .insertCnt').text(); let numberOnly = text.match(/\d+/)[0]; - // console.log('numberOnly : ', numberOnly); - // console.log('cnt : ', cnt); - // console.log('cnt >= numberOnly : ', cnt >= Number(numberOnly)); if(cnt >= Number(numberOnly)){ twoStopTransferTimer(); } @@ -240,7 +237,7 @@ function fn_twoReportCntAndTime(userId){ contentType: 'application/json', // async: true, success: function (data) { - console.log('tranfer data : ', data); + console.log('findByLogMoveCntWhereMessage data : ', data); if (data.status == 'OK') { var cnt = data.data;