Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
f4aa2ca9
Commit
f4aa2ca9
authored
Jul 15, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:使用成员
parent
7747543a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
HmQrcodeController.java
...c/haoban/manage/web/controller/hm/HmQrcodeController.java
+6
-4
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/hm/HmQrcodeController.java
View file @
f4aa2ca9
...
...
@@ -232,7 +232,7 @@ public class HmQrcodeController {
* 使用成员
* @return
*/
@RequestMapping
(
value
=
"detail-clerk-list"
,
method
=
RequestMethod
.
GE
T
)
@RequestMapping
(
value
=
"detail-clerk-list"
,
method
=
RequestMethod
.
POS
T
)
public
RestResponse
detailClerkList
(
@RequestBody
HmQrcodeDetailQO
hmQrcodeDetailQO
)
{
Long
hmId
=
hmQrcodeDetailQO
.
getHmId
();
HmQrcodeDTO
hmQrcodeDTO
=
hmQrcodeApiService
.
queryById
(
hmId
);
...
...
@@ -240,18 +240,20 @@ public class HmQrcodeController {
return
RestResponse
.
failure
(
Convert
.
toStr
(
HaoBanErrCode
.
ERR_8
.
getCode
()),
HaoBanErrCode
.
ERR_8
.
getMsg
());
}
Integer
hmType
=
hmQrcodeDTO
.
getHmType
();
Page
page
=
new
Page
();
List
<
HmDetailClerkListVO
>
list
=
new
ArrayList
<>();
if
(
hmType
==
1
)
{
HmDetailClerkListVO
hmDetailClerkListVO
=
EntityUtil
.
changeEntityNew
(
HmDetailClerkListVO
.
class
,
hmQrcodeDTO
);
list
.
add
(
hmDetailClerkListVO
);
page
.
setResult
(
list
);
page
.
setTotalCount
(
list
.
size
());
}
else
if
(
hmType
==
2
)
{
BasePageInfo
basePageInfo
=
new
BasePageInfo
();
basePageInfo
.
setPageNum
(
hmQrcodeDetailQO
.
getPageNum
());
basePageInfo
.
setPageSize
(
hmQrcodeDetailQO
.
getPageSize
());
Page
<
HmClerkRelationDTO
>
hmClerkRelationDTOPage
=
hmQrcodeApiService
.
getHmClerkByHmId
(
basePageInfo
,
hmId
);
list
=
EntityUtil
.
changeEntityListNew
(
HmDetailClerkListVO
.
class
,
hmClerkRelationDTOPage
.
getResult
());
page
=
hmQrcodeApiService
.
getHmClerkByHmId
(
basePageInfo
,
hmId
);
}
return
RestResponse
.
successResult
(
list
);
return
RestResponse
.
successResult
(
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