Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pension
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
mengmeng
pension
Commits
24eb707e
Commit
24eb707e
authored
Feb 03, 2021
by
mengmeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix entityName errror
parent
114e12df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
PensionServiceController.java
...les/serviceOrder/controller/PensionServiceController.java
+1
-1
PensionServiceTypeServiceImpl.java
...viceOrder/service/impl/PensionServiceTypeServiceImpl.java
+1
-1
No files found.
hmit-api/src/main/java/io/hmit/modules/serviceOrder/controller/PensionServiceController.java
View file @
24eb707e
...
@@ -71,7 +71,7 @@ public class PensionServiceController {
...
@@ -71,7 +71,7 @@ public class PensionServiceController {
public
Result
<
PensionServiceDTO
>
getByServiceTypeId
(
@PathVariable
(
"serviceTypeId"
)
Long
serviceTypeId
){
public
Result
<
PensionServiceDTO
>
getByServiceTypeId
(
@PathVariable
(
"serviceTypeId"
)
Long
serviceTypeId
){
List
<
PensionServiceDTO
>
data
=
baseMapper
.
selectList
(
List
<
PensionServiceDTO
>
data
=
baseMapper
.
selectList
(
new
QueryWrapper
<
PensionServiceDTO
>().
lambda
()
new
QueryWrapper
<
PensionServiceDTO
>().
lambda
()
.
eq
(
PensionServiceDTO:
:
getService
Type
Id
,
serviceTypeId
));
.
eq
(
PensionServiceDTO:
:
getService
Parent
Id
,
serviceTypeId
));
return
new
Result
<
PensionServiceDTO
>().
ok
(
data
.
get
(
0
));
return
new
Result
<
PensionServiceDTO
>().
ok
(
data
.
get
(
0
));
}
}
...
...
hmit-api/src/main/java/io/hmit/modules/serviceOrder/service/impl/PensionServiceTypeServiceImpl.java
View file @
24eb707e
...
@@ -90,7 +90,7 @@ public class PensionServiceTypeServiceImpl extends CrudServiceImpl<PensionServic
...
@@ -90,7 +90,7 @@ public class PensionServiceTypeServiceImpl extends CrudServiceImpl<PensionServic
List
<
PensionServiceTypeDTO
>
resultList
=
new
ArrayList
<>();
List
<
PensionServiceTypeDTO
>
resultList
=
new
ArrayList
<>();
for
(
PensionServiceEntity
pensionService:
pensionServices
)
{
for
(
PensionServiceEntity
pensionService:
pensionServices
)
{
PensionServiceTypeDTO
pensionServiceTypeDTO
=
get
(
pensionService
.
getService
Type
Id
());
PensionServiceTypeDTO
pensionServiceTypeDTO
=
get
(
pensionService
.
getService
Parent
Id
());
resultList
.
add
(
pensionServiceTypeDTO
);
resultList
.
add
(
pensionServiceTypeDTO
);
}
}
return
resultList
;
return
resultList
;
...
...
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