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
0b5ba891
Commit
0b5ba891
authored
Jul 26, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://git.gicdev.com/haoban3.0/haoban-manage3.0.git
into developer
parents
9afd6d7f
e9bd9961
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
MaidianDataController.java
...c/haoban/manage/web/controller/MaidianDataController.java
+1
-1
HmQrcodeController.java
...c/haoban/manage/web/controller/hm/HmQrcodeController.java
+6
-1
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/MaidianDataController.java
View file @
0b5ba891
...
@@ -327,7 +327,7 @@ public class MaidianDataController extends WebBaseController {
...
@@ -327,7 +327,7 @@ public class MaidianDataController extends WebBaseController {
}
}
if
(
StringUtils
.
isEmpty
(
paramsDTO
.
getSortType
()))
{
if
(
StringUtils
.
isEmpty
(
paramsDTO
.
getSortType
()))
{
paramsDTO
.
setSortType
(
"desc"
);
paramsDTO
.
setSortType
(
"desc"
);
}
·
}
paramsDTO
.
setAreaType
(
"store"
);
paramsDTO
.
setAreaType
(
"store"
);
Map
<
String
,
Object
>
returnMap
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
returnMap
=
new
HashMap
<
String
,
Object
>();
Page
<
AreaLoginDTO
>
page
=
maidianDataService
.
areaRankingList
(
paramsDTO
);
Page
<
AreaLoginDTO
>
page
=
maidianDataService
.
areaRankingList
(
paramsDTO
);
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/hm/HmQrcodeController.java
View file @
0b5ba891
...
@@ -140,12 +140,16 @@ public class HmQrcodeController {
...
@@ -140,12 +140,16 @@ public class HmQrcodeController {
if
(
CollectionUtils
.
isEmpty
(
storeList
))
{
if
(
CollectionUtils
.
isEmpty
(
storeList
))
{
return
RestResponse
.
failure
(
Convert
.
toStr
(
HaoBanErrCode
.
ERR_100007
.
getCode
()),
HaoBanErrCode
.
ERR_100007
.
getMsg
());
return
RestResponse
.
failure
(
Convert
.
toStr
(
HaoBanErrCode
.
ERR_100007
.
getCode
()),
HaoBanErrCode
.
ERR_100007
.
getMsg
());
}
}
if
(!
storeList
.
contains
(
"-1"
))
{
if
(!
storeList
.
contains
(
"-1"
))
{
StringBuffer
stringBuffer
=
new
StringBuffer
();
StringBuffer
stringBuffer
=
new
StringBuffer
();
storeList
.
forEach
(
c
->
stringBuffer
.
append
(
c
).
append
(
","
));
storeList
.
forEach
(
c
->
stringBuffer
.
append
(
c
).
append
(
","
));
hmQrcodeListQO
.
getInFields
().
setStoreId
(
stringBuffer
.
toString
());
hmQrcodeListQO
.
getInFields
().
setStoreId
(
stringBuffer
.
toString
());
}
}
Long
hmGroupId
=
hmQrcodeListQO
.
getInFields
().
getHmGroupId
();
//-1 代表全部分组
if
(
hmGroupId
==
-
1
)
{
hmQrcodeListQO
.
getInFields
().
setHmGroupId
(
null
);
}
HmQrcodeListQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
HmQrcodeListQDTO
.
class
,
hmQrcodeListQO
.
getInFields
());
HmQrcodeListQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
HmQrcodeListQDTO
.
class
,
hmQrcodeListQO
.
getInFields
());
if
(!
storeList
.
contains
(
"-1"
))
{
if
(!
storeList
.
contains
(
"-1"
))
{
qdto
.
setStoreId
(
storeList
);
qdto
.
setStoreId
(
storeList
);
...
@@ -208,6 +212,7 @@ public class HmQrcodeController {
...
@@ -208,6 +212,7 @@ public class HmQrcodeController {
hmQrcodeListDTO
.
setClerkList
(
clerkDTOList
);
hmQrcodeListDTO
.
setClerkList
(
clerkDTOList
);
hmQrcodeListDTO
.
setStoreList
(
storeDTOList
);
hmQrcodeListDTO
.
setStoreList
(
storeDTOList
);
}
}
statisticsDTO
.
setData
(
data
);
}
}
return
RestResponse
.
successResult
(
statisticsDTO
);
return
RestResponse
.
successResult
(
statisticsDTO
);
}
}
...
...
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