From 1100a88fb4ddf156efc5a7695f91caae0859df94 Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期一, 29 一月 2024 10:36:17 +0800
Subject: [PATCH] pc端查看三一车辆位置申请提交
---
ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectTaskStepServiceImpl.java | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectTaskStepServiceImpl.java b/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectTaskStepServiceImpl.java
index 3975c2a..f7e07a7 100644
--- a/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectTaskStepServiceImpl.java
+++ b/ard-work/src/main/java/com/ruoyi/inspect/service/impl/ArdVideoInspectTaskStepServiceImpl.java
@@ -2,11 +2,15 @@
import java.util.List;
+import com.ruoyi.common.utils.SecurityUtils;
+import com.ruoyi.common.utils.uuid.IdUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.inspect.mapper.ArdVideoInspectTaskStepMapper;
import com.ruoyi.inspect.domain.ArdVideoInspectTaskStep;
import com.ruoyi.inspect.service.IArdVideoInspectTaskStepService;
+
+import javax.annotation.Resource;
/**
* 瑙嗛宸℃姝ラService涓氬姟灞傚鐞�
@@ -16,7 +20,7 @@
*/
@Service
public class ArdVideoInspectTaskStepServiceImpl implements IArdVideoInspectTaskStepService {
- @Autowired
+ @Resource
private ArdVideoInspectTaskStepMapper ardVideoInspectTaskStepMapper;
/**
@@ -49,8 +53,9 @@
*/
@Override
public int insertArdVideoInspectTaskStep(ArdVideoInspectTaskStep ardVideoInspectTaskStep) {
- ardVideoInspectTaskStep.setUserId(SecurityUtils.getUserId());
- return ardVideoInspectTaskStepMapper.insertArdVideoInspectTaskStep(ardVideoInspectTaskStep);
+ ardVideoInspectTaskStep.setId(IdUtils.simpleUUID());
+ ardVideoInspectTaskStep.setUserId(SecurityUtils.getUserId());
+ return ardVideoInspectTaskStepMapper.insertArdVideoInspectTaskStep(ardVideoInspectTaskStep);
}
/**
@@ -85,4 +90,9 @@
public int deleteArdVideoInspectTaskStepByTaskId(String taskId) {
return ardVideoInspectTaskStepMapper.deleteArdVideoInspectTaskStepByTaskId(taskId);
}
+
+ @Override
+ public List selectByTaskId(String taskId) {
+ return ardVideoInspectTaskStepMapper.selectByTaskId(taskId);
+ }
}
--
Gitblit v1.9.3