From b397edee2be2dfcc3f28eeac50298b4de26b1afa Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 13 十二月 2024 16:53:45 +0800 Subject: [PATCH] 取水口日取水量表中,出现一些大数,明显不正确,发析系统日志,发现一些阀控器会上报一些累计流量为0的数据,且无规律,推测是其不能从水表读取到累计流量时会上报0值。如果间歇上报0值,间歇上报一些非0值,非0值减去0值,就会出现大数,一天中出现几次那么会大数进行累加,数值将更大。为此变更算法,规避这种情况,但也会丢失一些流量值。 --- pipIrr-platform/pipIrr-global/src/main/resources/application-global(sp沙盘系统).yml | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git "a/pipIrr-platform/pipIrr-global/src/main/resources/application-global\050sp\346\262\231\347\233\230\347\263\273\347\273\237\051.yml" "b/pipIrr-platform/pipIrr-global/src/main/resources/application-global\050sp\346\262\231\347\233\230\347\263\273\347\273\237\051.yml" index 4888c2c..eb28c05 100644 --- "a/pipIrr-platform/pipIrr-global/src/main/resources/application-global\050sp\346\262\231\347\233\230\347\263\273\347\273\237\051.yml" +++ "b/pipIrr-platform/pipIrr-global/src/main/resources/application-global\050sp\346\262\231\347\233\230\347\263\273\347\273\237\051.yml" @@ -65,7 +65,8 @@ #type-aliases-package: com.dy.pipIrrGlobal.daoBa configuration: #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #鏃惰�岃緭鍑烘棩蹇楋紝鏃惰�屼笉杈撳嚭鏃ュ織 - log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl + #log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl 涓嶅啀搴旂敤锛屾敼涓篜rintSqlInterceptor鎷︽埅鍣ㄨ緭鍑簊ql鏃ュ織锛屼笅闈rint-sql椤归厤缃� + print-sql: true # 杈撳嚭sql鏃ュ織寮�鍏筹紝鎺у埗PrintSqlInterceptor鎷︽埅鍣ㄦ槸鍚﹀姞杞� #寮�鍚┘宄皍Name鑷姩鏄犲皠鍒皍_name #2023-10-24缁忓疄楠岋紝涓嬮潰閰嶇疆true鎴杅alse锛岄兘鑳戒粠u_name鏄犲皠鍒皍Name #map-underscore-to-camel-case: true @@ -310,21 +311,20 @@ #閫氳涓棿浠剁浉鍏抽厤缃� #protocol: DYJS_2023,DYJS_2024 mw: - #鍛戒护鍙戦�佸湴鍧�(涓紑鏄満鏋則ag锛屽叾涔熸槸鏁版嵁婧愬悗缂�鍚嶇О) + #鍛戒护鍙戦�侀�氫俊涓棿浠跺湴鍧� ym: + url: "http://127.0.0.1:8070" comSendUrl: "http://127.0.0.1:8070/rtuMw/com/send" - rtuLogFileUrl: "http://127.0.0.1:8070/rtuMw/com/rtuLogFile" - rtuLogTextUrl: "http://127.0.0.1:8070/rtuMw/com/rtuLogText" sp: - comSendUrl: "http://127.0.0.1:8071/rtuMw/com/send" - rtuLogFileUrl: "http://127.0.0.1:8071/rtuMw/com/rtuLogFile" - rtuLogTextUrl: "http://127.0.0.1:8071/rtuMw/com/rtuLogText" + url: "http://127.0.0.1:8073" + comSendUrl: "http://127.0.0.1:8073/rtuMw/com/send" test: + url: "http://127.0.0.1:8072" comSendUrl: "http://127.0.0.1:8072/rtuMw/com/send" - rtuLogFileUrl: "http://127.0.0.1:8072/rtuMw/com/rtuLogFile" - rtuLogTextUrl: "http://127.0.0.1:8072/rtuMw/com/rtuLogText" #鐩戞祴鎺у埗妯″潡鍥炶皟鍦板潃 rtuCallbackUrl_rm: "http://127.0.0.1:8081/remote/comRes/receive" + #rtu杩滅▼鍗囩骇妯″潡鍥炶皟鍦板潃 + ugCallbackUrl_rm: "http://127.0.0.1:8081/remote/rtuUpgradeStateReceiver/receive" #寰俊灏忕▼搴忓洖璋冨湴鍧� rtuCallbackUrl_wx: "http://127.0.0.1:8087/wx/comRes/receive" @@ -333,9 +333,11 @@ urls: - /sso/sso - /remote/comRes/receive + - /remote/rtuUpgradeStateReceiver/receive - /wx/comRes/receive - /app/captcha/get - /file/file #web鍒嗗竷寮忔枃浠剁郴缁� + - /file/fm #web鍒嗗竷寮忔枃浠剁郴缁� #鑷姩缁熻閰嶇疆锛岃嚜鍔ㄧ粺璁″畾鏃朵换鍔′細姣忓ぉ瀹氭椂杩涜 auto-statistics: -- Gitblit v1.8.0