APP智能安全帽
This commit is contained in:
parent
2901dea04c
commit
cae5aff16e
|
|
@ -0,0 +1,25 @@
|
|||
package com.bonus.app.controller;
|
||||
|
||||
import com.bonus.app.service.IAppSafetyHatService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
* @className:AppSafetyHatController
|
||||
* @author:cwchen
|
||||
* @date:2024-08-07-15:37
|
||||
* @version:1.0
|
||||
* @description:APP-智能安全帽
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/appSafetyHat/")
|
||||
@Slf4j
|
||||
public class AppSafetyHatController {
|
||||
|
||||
@Resource(name = "IAppSafetyHatService")
|
||||
private IAppSafetyHatService service;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.bonus.app.mapper;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @className:AppSafetyHatMapper
|
||||
* @author:cwchen
|
||||
* @date:2024-08-07-15:38
|
||||
* @version:1.0
|
||||
* @description:APP-智能安全帽
|
||||
*/
|
||||
@Repository(value = "AppSafetyHatMapper")
|
||||
public interface AppSafetyHatMapper {
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
package com.bonus.app.service;
|
||||
|
||||
/**
|
||||
* @className:IAppSafetyHatService
|
||||
* @author:cwchen
|
||||
* @date:2024-08-07-15:37
|
||||
* @version:1.0
|
||||
* @description:APP-智能安全帽
|
||||
*/
|
||||
public interface IAppSafetyHatService {
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
package com.bonus.app.service.impl;
|
||||
|
||||
import com.bonus.app.mapper.AppSafetyHatMapper;
|
||||
import com.bonus.app.service.IAppSafetyHatService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
* @className:AppSafetyHatServiceImpl
|
||||
* @author:cwchen
|
||||
* @date:2024-08-07-15:38
|
||||
* @version:1.0
|
||||
* @description:APP-智能安全帽
|
||||
*/
|
||||
@Service(value = "IAppSafetyHatService")
|
||||
@Slf4j
|
||||
public class AppSafetyHatServiceImpl implements IAppSafetyHatService {
|
||||
|
||||
@Resource(name = "AppSafetyHatMapper")
|
||||
private AppSafetyHatMapper mapper;
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?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.bonus.app.mapper.AppSafetyHatMapper">
|
||||
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue