From c19de84fa332a00c651f28e3a52292fd14f143a1 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 23 九月 2025 17:30:07 +0800
Subject: [PATCH] 陆常丽反应软件系统财务对账时而数据不准确,分析源码,找到bug原因是,财务对账统计只有用户点击后才会触发统计功能,把历史上及当天进行了统计,如果当天统计时未下班,例如是中午触发统计了,而下午又进行了充值售水,但下班后未再点击触发对账统计,那么今天的对账统计完成了但数据不对。编写自动任务,在下半夜进行对账统计。
---
pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java | 52 +++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 41 insertions(+), 11 deletions(-)
diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java
index c3affa5..065e784 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java
@@ -8,12 +8,18 @@
//妯℃嫙瀹㈡埛鐨処MEI鍙锋埅姝㈠彿
public Long rtuAddrEnd = 0L ;
//鏈嶅姟绔疘P
- public String serverIp = "" ;
+ public String tcpServerIp = "" ;
//鏈嶅姟绔笂涓嬫枃
- public Integer serverPort = 0 ;
+ public Integer tcpServerPort = 0 ;
+ //鍙戦�佹暟鎹棿闅�
+ public Integer sendInterval = 2 ;//绉�
+ //姣忎竴杞鍙戦�佹暟鎹紝鍏朵腑鍖呮嫭蹇冭烦鍙戦�佹鏁�
+ public Integer heartbeatTimes = 3 ;
//鍙戦�佹暟鎹鏁�
public Integer sendTimes = 0 ;
-
+ //鍙戦�佸畬鏁版嵁鍚庯紝鏄惁鍏抽棴TCP杩炴帴锛�1鏄紝0鍚�
+ public Integer sendOverThenCloseConnect = 0 ;
+
/**
* 瀵硅薄杞垚json
* @return 瀵硅薄json
@@ -58,20 +64,36 @@
this.rtuAddrEnd = rtuAddrEnd;
}
- public String getServerIp() {
- return serverIp;
+ public String getTcpServerIp() {
+ return tcpServerIp;
}
- public void setServerIp(String serverIp) {
- this.serverIp = serverIp;
+ public void setTcpServerIp(String tcpServerIp) {
+ this.tcpServerIp = tcpServerIp;
}
- public Integer getServerPort() {
- return serverPort;
+ public Integer getTcpServerPort() {
+ return tcpServerPort;
}
- public void setServerPort(Integer serverPort) {
- this.serverPort = serverPort;
+ public void setTcpServerPort(Integer tcpServerPort) {
+ this.tcpServerPort = tcpServerPort;
+ }
+
+ public Integer getSendInterval() {
+ return sendInterval;
+ }
+
+ public void setSendInterval(Integer sendInterval) {
+ this.sendInterval = sendInterval;
+ }
+
+ public Integer getHeartbeatTimes() {
+ return heartbeatTimes;
+ }
+
+ public void setHeartbeatTimes(Integer heartbeatTimes) {
+ this.heartbeatTimes = heartbeatTimes;
}
public Integer getSendTimes() {
@@ -81,4 +103,12 @@
public void setSendTimes(Integer sendTimes) {
this.sendTimes = sendTimes;
}
+
+ public Integer getSendOverThenCloseConnect() {
+ return sendOverThenCloseConnect;
+ }
+
+ public void setSendOverThenCloseConnect(Integer sendOverThenCloseConnect) {
+ this.sendOverThenCloseConnect = sendOverThenCloseConnect;
+ }
}
--
Gitblit v1.8.0