边带设备
This commit is contained in:
parent
5fd33a98f0
commit
68eee52a4e
|
|
@ -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;
|
||||
|
||||
/**
|
||||
* @author:cwchen
|
||||
* @date:2024-03-20-13:10
|
||||
* @version:1.0
|
||||
* @description:边带设备-web层
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/back/deviceBd/")
|
||||
public class DeviceOfBdController {
|
||||
|
||||
@Resource(name = "IDeviceOfBdService")
|
||||
private IDeviceOfBdService service;
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
package com.securitycontrol.background.mapper;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author:cwchen
|
||||
* @date:2024-03-20-13:12
|
||||
* @version:1.0
|
||||
* @description:边带设备-数据库访问层
|
||||
*/
|
||||
@Repository(value = "IDeviceOfBdMapper")
|
||||
public interface IDeviceOfBdMapper {
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package com.securitycontrol.background.service;
|
||||
|
||||
/**
|
||||
* @author:cwchen
|
||||
* @date:2024-03-20-13:11
|
||||
* @version:1.0
|
||||
* @description:边带设备-业务层
|
||||
*/
|
||||
public interface IDeviceOfBdService {
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
||||
/**
|
||||
* @author:cwchen
|
||||
* @date:2024-03-20-13:11
|
||||
* @version:1.0
|
||||
* @description:边带设备-业务逻辑层
|
||||
*/
|
||||
@Service(value = "IDeviceOfBdService")
|
||||
public class DeviceOfBdServiceImpl implements IDeviceOfBdService {
|
||||
|
||||
@Resource(name = "IDeviceOfBdMapper")
|
||||
private IDeviceOfBdMapper mapper;
|
||||
}
|
||||
|
|
@ -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>
|
||||
Loading…
Reference in New Issue