省侧大屏
This commit is contained in:
parent
8b169cde50
commit
f63da34fab
|
|
@ -15,18 +15,16 @@ spring:
|
||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
|
username: nacos
|
||||||
|
password: nacos
|
||||||
|
namespace: jjzhgd
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 127.0.0.1:8848
|
||||||
# server-addr: 27.196.164.56:8848
|
|
||||||
namespace: jjzhgd
|
|
||||||
username: nacos
|
|
||||||
password: Jjsp@nacos2023
|
|
||||||
config:
|
config:
|
||||||
# server-addr: 27.196.164.56:8848
|
|
||||||
server-addr: 127.0.0.1:8848
|
|
||||||
namespace: jjzhgd
|
|
||||||
username: nacos
|
username: nacos
|
||||||
password: Jjsp@nacos2023
|
password: nacos
|
||||||
|
namespace: jjzhgd
|
||||||
|
server-addr: 127.0.0.1:8848
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
package com.securitycontrol.screen.controller;
|
||||||
|
|
||||||
|
import com.securitycontrol.screen.service.IScIndexService;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-27-10:13
|
||||||
|
* @version:1.0
|
||||||
|
* @description:省侧大屏-web
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/screen/scIndex/")
|
||||||
|
public class ScIndexController {
|
||||||
|
|
||||||
|
@Resource(name = "IScIndexService")
|
||||||
|
private IScIndexService service;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.securitycontrol.screen.mapper;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-27-10:15
|
||||||
|
* @version:1.0
|
||||||
|
* @description:省侧大屏
|
||||||
|
*/
|
||||||
|
@Repository(value = "IScIndexMapper")
|
||||||
|
public interface IScIndexMapper {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
package com.securitycontrol.screen.service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-27-10:14
|
||||||
|
* @version:1.0
|
||||||
|
* @description:省侧大屏-业务层
|
||||||
|
*/
|
||||||
|
public interface IScIndexService {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package com.securitycontrol.screen.service.impl;
|
||||||
|
|
||||||
|
import com.securitycontrol.screen.mapper.IScIndexMapper;
|
||||||
|
import com.securitycontrol.screen.service.IScIndexService;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:cwchen
|
||||||
|
* @date:2024-03-27-10:14
|
||||||
|
* @version:1.0
|
||||||
|
* @description:省侧大屏-业务逻辑层
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
@Service(value = "IScIndexService")
|
||||||
|
public class ScIndexServiceImpl implements IScIndexService {
|
||||||
|
|
||||||
|
@Resource(name = "IScIndexMapper")
|
||||||
|
private IScIndexMapper 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.screen.mapper.IScIndexMapper">
|
||||||
|
|
||||||
|
</mapper>
|
||||||
Loading…
Reference in New Issue