Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
71c9c051
Commit
71c9c051
authored
Jul 09, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏相关路径文件初始化
parent
f1d35223
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
0 deletions
+73
-0
ScreenDto.java
...a/com/yeejoin/amos/boot/module/tcm/api/dto/ScreenDto.java
+13
-0
IScreenService.java
...oot/module/tcm/api/service/statistics/IScreenService.java
+22
-0
ScreenController.java
...le/tcm/biz/controller/statistics/dp/ScreenController.java
+38
-0
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-api/src/main/java/com/yeejoin/amos/boot/module/tcm/api/dto/ScreenDto.java
0 → 100644
View file @
71c9c051
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tcm
.
api
.
dto
;
import
lombok.Data
;
@Data
public
class
ScreenDto
{
/**
* 城市编码
*/
String
cityCode
;
}
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-api/src/main/java/com/yeejoin/amos/boot/module/tcm/api/service/statistics/IScreenService.java
0 → 100644
View file @
71c9c051
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tcm
.
api
.
service
.
statistics
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tcm.api.dto.*
;
import
com.yeejoin.amos.boot.module.tcm.api.enums.DispatchPaperEnums
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.List
;
import
java.util.Map
;
/**
* 大屏接口类
*
* @author maxy
* @date 2024-07-09
*/
public
interface
IScreenService
{
ResponseModel
<
Map
>
companyInfo
(
ScreenDto
screenDto
);
}
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/controller/statistics/dp/ScreenController.java
0 → 100644
View file @
71c9c051
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tcm
.
biz
.
controller
.
statistics
.
dp
;
import
com.yeejoin.amos.boot.module.tcm.api.dto.ScreenDto
;
import
com.yeejoin.amos.boot.module.tcm.api.service.statistics.IScreenService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
javax.annotation.Resource
;
import
java.util.Map
;
/**
* 大屏控制层
*
* @author maxy
* @date 2024-07-09
*/
@RestController
@Api
(
tags
=
"警情接警填报记录Api"
)
@RequestMapping
(
value
=
"/statistics"
)
public
class
ScreenController
{
@Resource
private
IScreenService
screenService
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/companyInfo"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"大屏企业统计"
,
notes
=
"大屏企业统计"
)
public
ResponseModel
<
Map
>
companyInfo
(
@RequestBody
ScreenDto
screenDto
){
return
screenService
.
companyInfo
(
screenDto
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment