From ca0391eeab5a1586aed14018510cb4c3c0cd6131 Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期三, 28 二月 2024 09:17:12 +0800
Subject: [PATCH] 三一车辆用户查询修改提交
---
ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectRecordServiceImpl.java | 28 +++++++++++++++++++++++-----
1 files changed, 23 insertions(+), 5 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 b5b98cc..20da998 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
@@ -1,13 +1,15 @@
package com.ruoyi.inspect.service.impl;
+import java.util.HashMap;
import java.util.List;
-import com.ruoyi.common.utils.SecurityUtils;
-import org.springframework.beans.factory.annotation.Autowired;
+import com.ruoyi.common.utils.uuid.IdUtils;
import org.springframework.stereotype.Service;
import com.ruoyi.inspect.mapper.ArdVideoInspectRecordMapper;
import com.ruoyi.inspect.domain.ArdVideoInspectRecord;
import com.ruoyi.inspect.service.IArdVideoInspectRecordService;
+
+import javax.annotation.Resource;
/**
* 瑙嗛宸℃璁板綍Service涓氬姟灞傚鐞�
@@ -17,7 +19,7 @@
*/
@Service
public class ArdVideoInspectRecordServiceImpl implements IArdVideoInspectRecordService {
- @Autowired
+ @Resource
private ArdVideoInspectRecordMapper ardVideoInspectRecordMapper;
/**
@@ -42,6 +44,21 @@
return ardVideoInspectRecordMapper.selectArdVideoInspectRecordList(ardVideoInspectRecord);
}
+ @Override
+ public List<HashMap> selectArdVideoInspectRecordListByStartTime(ArdVideoInspectRecord ardVideoInspectRecord) {
+ return ardVideoInspectRecordMapper.selectArdVideoInspectRecordListByStartTime(ardVideoInspectRecord);
+ }
+
+ /**
+ * 鎸夋湀浠借幏鍙栨瘡鏃ヨ褰曟枃浠舵暟閲�
+ *
+ * @param startMonth
+ * @return
+ */
+ public List<ArdVideoInspectRecord> selectArdVideoInspectRecordCountByStartMonth(String startMonth) {
+ return ardVideoInspectRecordMapper.selectArdVideoInspectRecordCountByStartMonth(startMonth);
+ }
+
/**
* 鏂板瑙嗛宸℃璁板綍
*
@@ -50,8 +67,9 @@
*/
@Override
public int insertArdVideoInspectRecord(ArdVideoInspectRecord ardVideoInspectRecord) {
- // ardVideoInspectRecord.setUserId(SecurityUtils.getUserId());
- return ardVideoInspectRecordMapper.insertArdVideoInspectRecord(ardVideoInspectRecord);
+ // ardVideoInspectRecord.setUserId(SecurityUtils.getUserId());
+ ardVideoInspectRecord.setId(IdUtils.simpleUUID());
+ return ardVideoInspectRecordMapper.insertArdVideoInspectRecord(ardVideoInspectRecord);
}
/**
--
Gitblit v1.9.3