From 164f4c8b7d971215e478fbb08f899d224cd2555b Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Thu, 6 Apr 2023 15:33:09 +0800 Subject: [PATCH 1/2] update --- .../jsowell/pile/service/impl/PileBasicInfoServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java index 8eab7ebd3..d285c925f 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java @@ -302,7 +302,8 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService { @Override public PileInfoVO selectPileInfoBySn(String pileSn) { - PileBasicInfo basicInfo = pileBasicInfoMapper.selectPileBasicInfoBySn(pileSn); + // TODO 换成缓存方法 + PileBasicInfo basicInfo = selectPileBasicInfoBySN(pileSn); if (basicInfo == null) { return null; } From 263970c1e03f0fe68b6067555963ccbfb9ed236e Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Thu, 6 Apr 2023 16:01:10 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update=20=E8=BF=9C=E7=A8=8B=E5=8D=87?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/jsowell/common/constant/Constants.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java b/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java index 785f162eb..814338cf9 100644 --- a/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java +++ b/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java @@ -20,16 +20,16 @@ public class Constants { public static final String SOCKET_IP = "127.0.0.1"; public static final Integer SOCKET_PORT = 9011; - public static final String updateServerIP = "192.168.2.2"; + public static final String updateServerIP = "47.103.124.69"; public static final int port = 0x21; public static final byte[] updateServerPort = new byte[]{port}; - public static final String updateServerUserName = "ftpuser"; + public static final String updateServerUserName = "ftptest"; - public static final String updateServerPassword = "ftp123456"; + public static final String updateServerPassword = "js160829"; - public static final String filePath = "/pile/test.bin"; + public static final String filePath = "/update.bin"; public static final String partnerId = "1632405339"; // 商户号Id