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
225d91c9
Commit
225d91c9
authored
Oct 19, 2022
by
srx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目焊工查询
parent
21db5e3d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
ProjectController.java
...mos/boot/module/ugp/biz/controller/ProjectController.java
+25
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/ProjectController.java
View file @
225d91c9
...
@@ -2,8 +2,10 @@ package com.yeejoin.amos.boot.module.ugp.biz.controller;
...
@@ -2,8 +2,10 @@ package com.yeejoin.amos.boot.module.ugp.biz.controller;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.MaterialDto
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.MaterialDto
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.WelderEquipmentDto
;
import
com.yeejoin.amos.boot.module.ugp.api.entity.Project
;
import
com.yeejoin.amos.boot.module.ugp.api.entity.Project
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.OrgServiceImpl
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.OrgServiceImpl
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.ProjectInitiationServiceImpl
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.ProjectInitiationServiceImpl
;
...
@@ -17,6 +19,8 @@ import com.yeejoin.amos.boot.biz.common.controller.BaseController;
...
@@ -17,6 +19,8 @@ import com.yeejoin.amos.boot.biz.common.controller.BaseController;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.ProjectServiceImpl
;
import
com.yeejoin.amos.boot.module.ugp.biz.service.impl.ProjectServiceImpl
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
...
@@ -169,6 +173,7 @@ public class ProjectController extends BaseController {
...
@@ -169,6 +173,7 @@ public class ProjectController extends BaseController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询下拉选择框的值"
,
notes
=
"查询下拉选择框的值"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询下拉选择框的值"
,
notes
=
"查询下拉选择框的值"
)
@GetMapping
(
value
=
"/getCharge"
)
@GetMapping
(
value
=
"/getCharge"
)
public
ResponseModel
<
List
<
OrgUsr
>>
getCharge
(){
public
ResponseModel
<
List
<
OrgUsr
>>
getCharge
(){
return
ResponseHelper
.
buildResponse
(
orgServiceImpl
.
getCharge
());
return
ResponseHelper
.
buildResponse
(
orgServiceImpl
.
getCharge
());
}
}
...
@@ -193,4 +198,24 @@ public class ProjectController extends BaseController {
...
@@ -193,4 +198,24 @@ public class ProjectController extends BaseController {
return
ResponseHelper
.
buildResponse
(
projectServiceImpl
.
list
(
wrapper
));
return
ResponseHelper
.
buildResponse
(
projectServiceImpl
.
list
(
wrapper
));
}
}
/**
* 当前登陆人所在公司/单位/企业 下的 所有焊工人员分页查询
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"当前登陆人所在公司/单位/企业下的所有焊工人员分页列表"
,
notes
=
"当前登陆人所在公司/单位/企业下的所有焊工人员分页查询列表"
)
@GetMapping
(
value
=
"/getCompanyWelder"
)
public
ResponseModel
<
IPage
>
getCompanyWelder
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
){
Page
page
=
new
Page
();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
orgServiceImpl
.
getCompanyWelder
(
page
));
}
}
}
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