APP智能安全帽

This commit is contained in:
cwchen 2024-08-07 15:53:17 +08:00
parent 2901dea04c
commit cae5aff16e
5 changed files with 80 additions and 0 deletions

View File

@ -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;
}

View File

@ -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 {
}

View File

@ -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 {
}

View File

@ -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;
}

View File

@ -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>