From 52c913fe44f860cf071a990f8b0eabce2486ad8c Mon Sep 17 00:00:00 2001 From: bobol Date: Thu, 8 Feb 2024 11:40:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lzbi-admin/src/main/resources/application-test.yml | 2 +- .../src/main/java/com/lzbi/task/TaskWorkParamRead.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lzbi-admin/src/main/resources/application-test.yml b/lzbi-admin/src/main/resources/application-test.yml index 81f14b7..deff539 100644 --- a/lzbi-admin/src/main/resources/application-test.yml +++ b/lzbi-admin/src/main/resources/application-test.yml @@ -147,7 +147,7 @@ wechat: goal-server: # iot平台服务地址 iot: http://10.10.10.56:9010 - magic: http://localhost:9012/magic/api + magic: http://10.10.10.56:9012/magic/api # IOT服务接口 iot-server-api: diff --git a/lzbi-module/src/main/java/com/lzbi/task/TaskWorkParamRead.java b/lzbi-module/src/main/java/com/lzbi/task/TaskWorkParamRead.java index bdb8854..a622e49 100644 --- a/lzbi-module/src/main/java/com/lzbi/task/TaskWorkParamRead.java +++ b/lzbi-module/src/main/java/com/lzbi/task/TaskWorkParamRead.java @@ -92,13 +92,12 @@ public class TaskWorkParamRead { private final String SOURCE = "work"; public int createParamBill(String inComeDate) { - //String inComeDate="2023-11-29"; DcBusiCoderuleConfigDao ruleIdByBusicode = dcBaseCoderuleDefineService.getRuleIdByBusicode(BUSICODE); DcBaseCoderuleDefineDao ruleDao = dcBaseCoderuleDefineService.selectDcBaseCoderuleDefineDaoById(ruleIdByBusicode.getRuleId()); DcBusiParamBillMaster billm = new DcBusiParamBillMaster(); String billNo = codeNoGenerater.getCode(ruleDao); if (StringUtils.isNull(billNo)) { - billNo = "AD_" + String.valueOf(System.currentTimeMillis()); + billNo = "AD_" + System.currentTimeMillis(); } billm.setBillNo(billNo); billm.setCreatedBy("robot"); @@ -109,7 +108,6 @@ public class TaskWorkParamRead { billm.setCheckStatus("1"); List billSub = new ArrayList<>(); DcBusiWorkReadConfig dwrc = new DcBusiWorkReadConfig(); - //dwrc.setAssetCode(assetCode); dwrc.setGoalSource(SOURCE); List dcBusiWorkReadConfigs = dcBusiWorkReadConfigService.selectDcBusiWorkReadConfigList(dwrc); List pcl = dcBusiWorkReadConfigs.parallelStream().filter(o -> StringUtils.isNotEmpty(o.getGoalParamCode())).map(DcBusiWorkReadConfig::getGoalParamCode).collect(Collectors.toList());