From 6cefb0802d055db3d76663f52a9683256708a8c2 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期一, 04 三月 2024 11:03:03 +0800
Subject: [PATCH] 用户管理添加字段

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/job/RunningEquipmentStatusJob.java |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/job/RunningEquipmentStatusJob.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/job/RunningEquipmentStatusJob.java
index a46e9de..8acc779 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/job/RunningEquipmentStatusJob.java
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/job/RunningEquipmentStatusJob.java
@@ -72,8 +72,8 @@
         log.info("璁惧鐘舵�侀暱鏈熸棤鍙樺寲鎶ヨ浠诲姟 RunningEquipmentStatusJob start!  鏃堕棿:" + DateUtils.getNow());
         long startTime = System.currentTimeMillis();
         try {
-            //List<MdcEquipment> equipmentList = mdcEquipmentService.list(new LambdaQueryWrapper<>());
-            List<MdcEquipment> equipmentList = mdcEquipmentService.list(new LambdaQueryWrapper<MdcEquipment>().eq(MdcEquipment::getEquipmentId, "2140198"));
+            List<MdcEquipment> equipmentList = mdcEquipmentService.list(new LambdaQueryWrapper<>());
+            //List<MdcEquipment> equipmentList = mdcEquipmentService.list(new LambdaQueryWrapper<MdcEquipment>().eq(MdcEquipment::getEquipmentId, "2140198"));
             // 鑾峰彇鍒╃敤鐜囧垽瀹氬ぉ鏁�
             List<DictModel> dictModelList1 = sysDictService.queryEnableDictItemsByCode(CommonConstant.DICT_EQUIPMENT_RATE_JUDGE);
             Integer equipmentRateJudge = 5;
@@ -81,13 +81,13 @@
                 equipmentRateJudge = Integer.valueOf(dictModelList1.get(0).getValue());
             }
             // 鑾峰彇鍒╃敤鐜囨甯稿��
-            List<DictModel> dictModelList2 = sysDictService.queryEnableDictItemsByCode(CommonConstant.DICT_EQUIPMENT_SPEED_JUDGE);
+            List<DictModel> dictModelList2 = sysDictService.queryEnableDictItemsByCode(CommonConstant.DICT_EQUIPMENT_RATE_NORMAL);
             Integer equipmentRateNormal = 20;
             if (dictModelList2 != null && !dictModelList2.isEmpty()) {
                 equipmentRateNormal = Integer.valueOf(dictModelList2.get(0).getValue());
             }
             // 鑾峰彇璁惧鐘舵�佸ぉ鏁�
-            List<DictModel> dictModelList3 = sysDictService.queryEnableDictItemsByCode(CommonConstant.DICT_EQUIPMENT_RATE_NORMAL);
+            List<DictModel> dictModelList3 = sysDictService.queryEnableDictItemsByCode(CommonConstant.DICT_EQUIPMENT_SPEED_JUDGE);
             Integer equipmentStatusJudge = 5;
             if (dictModelList3 != null && !dictModelList3.isEmpty()) {
                 equipmentStatusJudge = Integer.valueOf(dictModelList3.get(0).getValue());
@@ -107,6 +107,7 @@
                     if (flag) {
                         // 涓婃姤
                         MessageDTO messageDTO = new MessageDTO();
+                        messageDTO.setTitle("璁惧鍒╃敤鐜囨姤璀︼紒");
                         messageDTO.setCategory("棰勮娑堟伅");
                         messageDTO.setFromUser("admin");
                         messageDTO.setToUser("admin");
@@ -128,6 +129,7 @@
                     if (flag) {
                         // 涓婃姤
                         MessageDTO messageDTO = new MessageDTO();
+                        messageDTO.setTitle("璁惧鐘舵�侀暱鏈熸棤鍙樺寲鎶ヨ锛�");
                         messageDTO.setCategory("棰勮娑堟伅");
                         messageDTO.setFromUser("admin");
                         messageDTO.setToUser("admin");

--
Gitblit v1.9.3