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
3c91499f
Commit
3c91499f
authored
Nov 30, 2022
by
3533457856@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 通过项目id获取焊口编码 接口
parent
ccb3c897
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
WeldController.java
...n/amos/boot/module/ugp/biz/controller/WeldController.java
+2
-2
WeldServiceImpl.java
...mos/boot/module/ugp/biz/service/impl/WeldServiceImpl.java
+5
-5
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/WeldController.java
View file @
3c91499f
...
@@ -177,8 +177,8 @@ public class WeldController extends BaseController {
...
@@ -177,8 +177,8 @@ public class WeldController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查看焊口编码"
,
notes
=
"查看焊口编码"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查看焊口编码"
,
notes
=
"查看焊口编码"
)
@GetMapping
(
value
=
"/lookCode"
)
@GetMapping
(
value
=
"/lookCode"
)
public
ResponseModel
<
List
<
Weld
>>
lookCode
(
String
projectId
)
{
public
ResponseModel
<
IPage
<
Weld
>>
lookCode
(
long
current
,
long
size
,
String
projectId
)
{
return
ResponseHelper
.
buildResponse
(
weldServiceImpl
.
lookCode
(
projectId
));
return
ResponseHelper
.
buildResponse
(
weldServiceImpl
.
lookCode
(
current
,
size
,
projectId
));
}
}
/**
/**
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/WeldServiceImpl.java
View file @
3c91499f
...
@@ -226,16 +226,16 @@ class WeldServiceImpl extends BaseService<WeldDto, Weld, WeldMapper> implements
...
@@ -226,16 +226,16 @@ class WeldServiceImpl extends BaseService<WeldDto, Weld, WeldMapper> implements
/**
/**
* 通过项目id获取焊口编码
* 通过项目id获取焊口编码
*/
*/
public
List
<
Weld
>
lookCode
(
String
projectId
){
public
IPage
<
Weld
>
lookCode
(
long
current
,
long
size
,
String
projectId
){
IPage
<
Weld
>
page
=
new
Page
<>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
LambdaQueryWrapper
<
Weld
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
Weld
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
Weld:
:
getProjectId
,
projectId
);
IPage
<
Weld
>
weldList
=
weldMapper
.
selectPage
(
page
,
wrapper
.
eq
(
Weld:
:
getProjectId
,
projectId
));
List
<
Weld
>
weldList
=
weldMapper
.
selectList
(
wrapper
);
return
weldList
;
return
weldList
;
}
}
/**
/**
* 通过项目id获取焊口智能监验信息
* 通过项目id获取焊口智能监验信息
...
...
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