工程管理
This commit is contained in:
parent
0b1dc5e473
commit
96e63e3008
|
|
@ -0,0 +1,21 @@
|
||||||
|
package com.securitycontrol.system.base.controller;
|
||||||
|
|
||||||
|
import com.securitycontrol.system.base.service.IProService;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-11-10:05
|
||||||
|
* @version:1.0
|
||||||
|
* @description:工程管理-web层
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/sys/pro/")
|
||||||
|
public class ProController {
|
||||||
|
|
||||||
|
@Resource(name = "IProService")
|
||||||
|
private IProService service;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.securitycontrol.system.base.mapper;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-11-10:11
|
||||||
|
* @version:1.0
|
||||||
|
* @description:工程管理-数据库交互
|
||||||
|
*/
|
||||||
|
@Repository(value = "IProMapper")
|
||||||
|
public interface IProMapper {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
package com.securitycontrol.system.base.service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-11-10:10
|
||||||
|
* @version:1.0
|
||||||
|
* @description:工程管理-业务层
|
||||||
|
*/
|
||||||
|
public interface IProService {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
package com.securitycontrol.system.base.service.impl;
|
||||||
|
|
||||||
|
import com.securitycontrol.system.base.mapper.IProMapper;
|
||||||
|
import com.securitycontrol.system.base.service.IProService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-11-10:11
|
||||||
|
* @version:1.0
|
||||||
|
* @description:工程管理-业务逻辑层
|
||||||
|
*/
|
||||||
|
@Service(value = "IProService")
|
||||||
|
public class ProServiceImpl implements IProService {
|
||||||
|
|
||||||
|
@Resource(name = "IProMapper")
|
||||||
|
private IProMapper 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.system.base.mapper.IProMapper">
|
||||||
|
|
||||||
|
</mapper>
|
||||||
Loading…
Reference in New Issue