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
45d07948
Commit
45d07948
authored
Dec 14, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ugp接口提交
parent
16be9bf5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
ProjectController.java
...mos/boot/module/ugp/biz/controller/ProjectController.java
+19
-0
WeldController.java
...n/amos/boot/module/ugp/biz/controller/WeldController.java
+2
-2
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 @
45d07948
...
...
@@ -71,6 +71,8 @@ public class ProjectController extends BaseController {
EquipmentServiceImpl
equipmentService
;
@Autowired
AttachmentServiceImpl
attachmentServiceImpl
;
@Autowired
ProjectResourceServiceImpl
projectResourceServiceImpl
;
/**
...
...
@@ -409,6 +411,23 @@ public class ProjectController extends BaseController {
return
ResponseHelper
.
buildResponse
(
projectServiceImpl
.
projectSchedule
());
}
/**
* 项目进度
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"项目进度"
,
notes
=
"项目进度"
)
@GetMapping
(
value
=
"/getProjectNumber"
)
public
ResponseModel
<
Map
>
getProjectNumber
(){
Map
<
String
,
Integer
>
map
=
new
HashMap
<>();
map
.
put
(
"num"
,
0
);
List
<
Project
>
projects
=
projectResourceServiceImpl
.
getProjectList
();
if
(!
ValidationUtil
.
isEmpty
(
projects
)){
map
.
put
(
"num"
,
projects
.
size
());
}
return
ResponseHelper
.
buildResponse
(
map
);
}
/**
* 项目概况
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/WeldController.java
View file @
45d07948
...
...
@@ -216,9 +216,9 @@ public class WeldController extends BaseController {
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/getWeldList"
)
@GetMapping
(
value
=
"/getWeldList
/{projectId}
"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取焊口定位信息"
,
notes
=
"获取焊口定位信息"
)
public
ResponseModel
<
List
<
Weld
>>
getWeldList
(
@
RequestParam
(
value
=
"projectId"
,
required
=
false
)
String
projectId
){
public
ResponseModel
<
List
<
Weld
>>
getWeldList
(
@
PathVariable
(
value
=
"projectId"
)
String
projectId
){
return
ResponseHelper
.
buildResponse
(
weldServiceImpl
.
list
(
new
LambdaQueryWrapper
<
Weld
>().
eq
(
Weld:
:
getProjectId
,
projectId
)));
}
...
...
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