施工管控

This commit is contained in:
cwchen 2024-08-08 10:00:56 +08:00
parent 4dfa5a429c
commit df082c93f4
5 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,26 @@
package com.bonus.bracelet.controller;
import com.bonus.bracelet.service.IConsControlService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @className:ConsControlController
* @author:cwchen
* @date:2024-08-08-9:56
* @version:1.0
* @description:施工管控
*/
@RestController
@RequestMapping("/consControl/")
@Slf4j
public class ConsControlController {
@Resource(name = "IConsControlService")
private IConsControlService service;
}

View File

@ -0,0 +1,14 @@
package com.bonus.bracelet.mapper;
import org.springframework.stereotype.Repository;
/**
* @className:ConsControlMapper
* @author:cwchen
* @date:2024-08-08-9:57
* @version:1.0
* @description:施工管控
*/
@Repository(value = "ConsControlMapper")
public interface ConsControlMapper {
}

View File

@ -0,0 +1,11 @@
package com.bonus.bracelet.service;
/**
* @className:IConsControlService
* @author:cwchen
* @date:2024-08-08-9:56
* @version:1.0
* @description:施工管控
*/
public interface IConsControlService {
}

View File

@ -0,0 +1,23 @@
package com.bonus.bracelet.service.impl;
import com.bonus.bracelet.mapper.ConsControlMapper;
import com.bonus.bracelet.service.IConsControlService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
* @className:ConsControlServiceImpl
* @author:cwchen
* @date:2024-08-08-9:56
* @version:1.0
* @description:施工管控
*/
@Service(value = "IConsControlService")
@Slf4j
public class ConsControlServiceImpl implements IConsControlService {
@Resource(name = "ConsControlMapper")
private ConsControlMapper 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.bracelet.mapper.ConsControlMapper">
</mapper>