From 215485725d2aa0b17f7b0e965163ab13924fa1e4 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期四, 31 八月 2023 13:45:57 +0800
Subject: [PATCH] 文档名称来源 修改

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentRepairServiceImpl.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentRepairServiceImpl.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentRepairServiceImpl.java
index 3d921bc..5b083fe 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentRepairServiceImpl.java
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentRepairServiceImpl.java
@@ -160,6 +160,10 @@
             repair.setMdcSectionIds(equipmentIds);
         }
 
+        if (repair.getMdcSectionIds() == null || repair.getMdcSectionIds().isEmpty()) {
+            return null;
+        }
+
         return this.baseMapper.pageList(page, repair);
     }
 

--
Gitblit v1.9.3