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
e9bd9961
Commit
e9bd9961
authored
Jul 26, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活码列表
parent
a7a566a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
HmQrcodeController.java
...c/haoban/manage/web/controller/hm/HmQrcodeController.java
+4
-5
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/hm/HmQrcodeController.java
View file @
e9bd9961
...
...
@@ -140,21 +140,20 @@ public class HmQrcodeController {
if
(
CollectionUtils
.
isEmpty
(
storeList
))
{
return
RestResponse
.
failure
(
Convert
.
toStr
(
HaoBanErrCode
.
ERR_100007
.
getCode
()),
HaoBanErrCode
.
ERR_100007
.
getMsg
());
}
if
(!
storeList
.
contains
(
"-1"
))
{
StringBuffer
stringBuffer
=
new
StringBuffer
();
storeList
.
forEach
(
c
->
stringBuffer
.
append
(
c
).
append
(
","
));
hmQrcodeListQO
.
getInFields
().
setStoreId
(
stringBuffer
.
toString
());
}
HmQrcodeListQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
HmQrcodeListQDTO
.
class
,
hmQrcodeListQO
.
getInFields
());
if
(!
storeList
.
contains
(
"-1"
))
{
qdto
.
setStoreId
(
storeList
);
}
Long
hmGroupId
=
hmQrcodeListQO
.
getInFields
().
getHmGroupId
();
//-1 代表全部分组
if
(
hmGroupId
==
-
1
)
{
hmQrcodeListQO
.
getInFields
().
setHmGroupId
(
null
);
}
HmQrcodeListQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
HmQrcodeListQDTO
.
class
,
hmQrcodeListQO
.
getInFields
());
if
(!
storeList
.
contains
(
"-1"
))
{
qdto
.
setStoreId
(
storeList
);
}
ServiceResponse
<
List
<
String
>>
listResp
=
this
.
hmQrcodeApiService
.
listHmIdForIndex
(
qdto
);
logger
.
info
(
"HMid列表={}"
,
JSON
.
toJSONString
(
listResp
));
List
<
String
>
hmIds
=
listResp
.
getResult
();
...
...
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