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
e2b4a2ea
Commit
e2b4a2ea
authored
Oct 19, 2022
by
srx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目焊工管理查看
parent
ecb8e0e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
WelderController.java
...amos/boot/module/ugp/biz/controller/WelderController.java
+19
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/WelderController.java
View file @
e2b4a2ea
...
...
@@ -2,11 +2,15 @@ package com.yeejoin.amos.boot.module.ugp.biz.controller;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.WelderDto
;
import
com.yeejoin.amos.boot.module.ugp.api.entity.Project
;
import
com.yeejoin.amos.boot.module.ugp.api.mapper.ProjectMapper
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.OrgServiceImpl
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.ProjectServiceImpl
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.WelderServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -30,7 +34,11 @@ public class WelderController extends BaseController {
@Autowired
ProjectMapper
projectMapper
;
@Autowired
ProjectServiceImpl
projectService
;
@Autowired
WelderServiceImpl
welderServiceImpl
;
/**
* 新增焊工信息
*
...
...
@@ -67,5 +75,16 @@ public class WelderController extends BaseController {
return
ResponseHelper
.
buildResponse
(
jsonObjectList
);
}
/**
* 项目焊工人员分页查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"项目焊工人员分页查询列表"
,
notes
=
"项目焊工人员分页查询列表"
)
@GetMapping
(
value
=
"/getpageInfo"
)
public
ResponseModel
<
IPage
<
Map
>>
getpageInfo
(){
return
ResponseHelper
.
buildResponse
(
welderServiceImpl
.
getpageInfo
());
}
}
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