From 9abd356b3807a7655f3699e2c80e5e678dec5138 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期六, 02 九月 2023 14:54:27 +0800
Subject: [PATCH] 优化

---
 ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectRecordServiceImpl.java |   16 +++++++++++++++-
 1 files changed, 15 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 e1dda22..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
@@ -42,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);
+    }
+
     /**
      * 鏂板瑙嗛宸℃璁板綍
      *
@@ -50,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