Merge branch 'master' of http://49.232.154.205:10100/DeXun/rtsp-video-analysis-system
This commit is contained in:
@@ -3,6 +3,7 @@ package com.ruoyi.video.service.impl;
|
|||||||
import com.ruoyi.video.domain.VModel;
|
import com.ruoyi.video.domain.VModel;
|
||||||
import com.ruoyi.video.mapper.VModelMapper;
|
import com.ruoyi.video.mapper.VModelMapper;
|
||||||
import com.ruoyi.video.service.IVModelService;
|
import com.ruoyi.video.service.IVModelService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -11,11 +12,9 @@ import java.util.Map;
|
|||||||
@Service
|
@Service
|
||||||
public class VModelServiceImpl implements IVModelService {
|
public class VModelServiceImpl implements IVModelService {
|
||||||
|
|
||||||
private final VModelMapper mapper;
|
@Autowired
|
||||||
|
private VModelMapper mapper;
|
||||||
|
|
||||||
public VModelServiceImpl(VModelMapper mapper) {
|
|
||||||
this.mapper = mapper;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int insert(VModel model) {
|
public int insert(VModel model) {
|
||||||
|
|||||||
Reference in New Issue
Block a user