边带设备

This commit is contained in:
cwchen 2024-03-20 13:53:57 +08:00
parent 5fd33a98f0
commit 68eee52a4e
5 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,21 @@
package com.securitycontrol.background.controller;
import com.securitycontrol.background.service.IDeviceOfBdService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @authorcwchen
* @date2024-03-20-13:10
* @version1.0
* @description边带设备-web层
*/
@RestController
@RequestMapping("/back/deviceBd/")
public class DeviceOfBdController {
@Resource(name = "IDeviceOfBdService")
private IDeviceOfBdService service;
}

View File

@ -0,0 +1,13 @@
package com.securitycontrol.background.mapper;
import org.springframework.stereotype.Repository;
/**
* @authorcwchen
* @date2024-03-20-13:12
* @version1.0
* @description边带设备-数据库访问层
*/
@Repository(value = "IDeviceOfBdMapper")
public interface IDeviceOfBdMapper {
}

View File

@ -0,0 +1,10 @@
package com.securitycontrol.background.service;
/**
* @authorcwchen
* @date2024-03-20-13:11
* @version1.0
* @description边带设备-业务层
*/
public interface IDeviceOfBdService {
}

View File

@ -0,0 +1,20 @@
package com.securitycontrol.background.service.impl;
import com.securitycontrol.background.mapper.IDeviceOfBdMapper;
import com.securitycontrol.background.service.IDeviceOfBdService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
* @authorcwchen
* @date2024-03-20-13:11
* @version1.0
* @description边带设备-业务逻辑层
*/
@Service(value = "IDeviceOfBdService")
public class DeviceOfBdServiceImpl implements IDeviceOfBdService {
@Resource(name = "IDeviceOfBdMapper")
private IDeviceOfBdMapper mapper;
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.securitycontrol.background.mapper.IDeviceOfBdMapper">
</mapper>