From a4052e2940840e590afbf941d8693c2e71ff8c64 Mon Sep 17 00:00:00 2001
From: aijinhui <aijinhui>
Date: 星期四, 21 九月 2023 13:49:26 +0800
Subject: [PATCH] 巡检修改
---
ard-work/src/main/java/com/ruoyi/app/patrolplan/service/impl/ArdAppPatrolplanServiceImpl.java | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/app/patrolplan/service/impl/ArdAppPatrolplanServiceImpl.java b/ard-work/src/main/java/com/ruoyi/app/patrolplan/service/impl/ArdAppPatrolplanServiceImpl.java
index 9c4f482..919535b 100644
--- a/ard-work/src/main/java/com/ruoyi/app/patrolplan/service/impl/ArdAppPatrolplanServiceImpl.java
+++ b/ard-work/src/main/java/com/ruoyi/app/patrolplan/service/impl/ArdAppPatrolplanServiceImpl.java
@@ -300,17 +300,6 @@
ArdAppPatrolpointRecord record = records.get(i);
record.setDel(1);
recordMapper.updateById(record);
- String id = record.getId();
- QueryWrapper<ArdAppPatrolpointRecordImg> recordImgQueryWrapper = new QueryWrapper<>();
- recordImgQueryWrapper.eq("plan_id",planId);
- List<ArdAppPatrolpointRecordImg> recordImgs = recordImgMapper.selectList(recordImgQueryWrapper);
- if(recordImgs.size()>0){
- for (int j = 0; j < recordImgs.size(); j++) {
- ArdAppPatrolpointRecordImg recordImg = recordImgs.get(j);
- recordImg.setDel(1);
- recordImgMapper.updateById(recordImg);
- }
- }
}
}
int num = insertArdAppPatrolplan(para);
--
Gitblit v1.9.3