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
d27ab565
Commit
d27ab565
authored
Oct 09, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
焊口编码代码修改
parent
f76ecef2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
WeldController.java
...n/amos/boot/module/ugp/biz/controller/WeldController.java
+2
-2
WeldServiceImpl.java
...mos/boot/module/ugp/biz/service/impl/WeldServiceImpl.java
+6
-8
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 @
d27ab565
...
@@ -96,12 +96,12 @@ public class WeldController extends BaseController {
...
@@ -96,12 +96,12 @@ public class WeldController extends BaseController {
* @param current 每页大小
* @param current 每页大小
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/page"
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"焊口信息表分页查询"
,
notes
=
"焊口信息表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"焊口信息表分页查询"
,
notes
=
"焊口信息表分页查询"
)
public
ResponseModel
<
Page
<
WeldDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
WeldDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
(
value
=
"size"
)
int
size
)
{
return
ResponseHelper
.
buildResponse
(
weldServiceImpl
.
queryForWeldPage
(
current
,
size
));
return
ResponseHelper
.
buildResponse
(
weldServiceImpl
.
queryForWeldPage
(
current
,
size
));
}
}
/**
/**
...
...
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 @
d27ab565
...
@@ -63,13 +63,13 @@ class WeldServiceImpl extends BaseService<WeldDto, Weld, WeldMapper> implements
...
@@ -63,13 +63,13 @@ class WeldServiceImpl extends BaseService<WeldDto, Weld, WeldMapper> implements
QueryWrapper
<
Project
>
wrapperUnit
=
new
QueryWrapper
<>();
QueryWrapper
<
Project
>
wrapperUnit
=
new
QueryWrapper
<>();
wrapperUnit
.
eq
(
"installation_unit_id"
,
weldDto
.
getInstallCompany
());
wrapperUnit
.
eq
(
"installation_unit_id"
,
weldDto
.
getInstallCompany
());
Project
project1
=
projectMapper
.
selectOne
(
wrapperUnit
);
List
<
Project
>
projects
=
projectMapper
.
selectList
(
wrapperUnit
);
weldDto
.
setInstallationUnit
(
project1
.
getInstallationUnit
());
for
(
Project
project1
:
projects
)
{
weldDto
.
setCodingStatus
(
WeldCodeEnum
.
map
.
get
(
weldDto
.
getCodingStatus
()));
weldDto
.
setInstallationUnit
(
project1
.
getInstallationUnit
());
weldDto
.
setCodingMethod
(
WeldMethodEnum
.
map
.
get
(
weldDto
.
getCodingMethod
()));
weldDto
.
setCodingStatus
(
WeldCodeEnum
.
map
.
get
(
weldDto
.
getCodingStatus
()));
weldDto
.
setCodingMethod
(
WeldMethodEnum
.
map
.
get
(
weldDto
.
getCodingMethod
()));
}
}
}
return
weldDtoPage
;
return
weldDtoPage
;
}
}
...
@@ -133,8 +133,6 @@ class WeldServiceImpl extends BaseService<WeldDto, Weld, WeldMapper> implements
...
@@ -133,8 +133,6 @@ class WeldServiceImpl extends BaseService<WeldDto, Weld, WeldMapper> implements
welds
.
add
(
weld
);
welds
.
add
(
weld
);
}
}
saveBatch
(
welds
);
saveBatch
(
welds
);
}
}
...
...
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