From eb0f13efdbd48b88411b4ff214bb92169202d157 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期四, 01 六月 2023 16:39:15 +0800 Subject: [PATCH] 优化光电巡检手动控制 --- ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectRecordServiceImpl.java | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectRecordServiceImpl.java b/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectRecordServiceImpl.java index eed0d0d..c33dfa4 100644 --- a/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectRecordServiceImpl.java +++ b/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectRecordServiceImpl.java @@ -2,6 +2,7 @@ import java.util.List; +import com.ruoyi.common.utils.SecurityUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ruoyi.inspect.mapper.ArdVideoInspectRecordMapper; @@ -41,6 +42,20 @@ return ardVideoInspectRecordMapper.selectArdVideoInspectRecordList(ardVideoInspectRecord); } + @Override + public List selectArdVideoInspectRecordListByStartTime(ArdVideoInspectRecord ardVideoInspectRecord) { + return ardVideoInspectRecordMapper.selectArdVideoInspectRecordListByStartTime(ardVideoInspectRecord); + } + + /** + * 鎸夋湀浠借幏鍙栨瘡鏃ヨ褰曟枃浠舵暟閲� + * @param startMonth + * @return + */ + public List<ArdVideoInspectRecord> selectArdVideoInspectRecordCountByStartMonth(String startMonth) { + return ardVideoInspectRecordMapper.selectArdVideoInspectRecordCountByStartMonth(startMonth); + } + /** * 鏂板瑙嗛宸℃璁板綍 * @@ -49,7 +64,7 @@ */ @Override public int insertArdVideoInspectRecord(ArdVideoInspectRecord ardVideoInspectRecord) { - ardVideoInspectRecord.setUserId(SecurityUtils.getUserId()); + // ardVideoInspectRecord.setUserId(SecurityUtils.getUserId()); return ardVideoInspectRecordMapper.insertArdVideoInspectRecord(ardVideoInspectRecord); } -- Gitblit v1.9.3