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
b5cb7b86
Commit
b5cb7b86
authored
Jul 27, 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
212b7165
c65c7d10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
TabHaobanHmQrcodeMapper.xml
.../src/main/resources/mapper/hm/TabHaobanHmQrcodeMapper.xml
+1
-1
HmQrcodeController.java
...c/haoban/manage/web/controller/hm/HmQrcodeController.java
+6
-1
No files found.
haoban-manage3-service/src/main/resources/mapper/hm/TabHaobanHmQrcodeMapper.xml
View file @
b5cb7b86
...
@@ -342,7 +342,7 @@
...
@@ -342,7 +342,7 @@
and a.wx_enterprise_id = #{wxEnterpriseId}
and a.wx_enterprise_id = #{wxEnterpriseId}
</if>
</if>
<if
test=
"null != hmSelect and '' != hmSelect "
>
<if
test=
"null != hmSelect and '' != hmSelect "
>
and (a.hm_
code=#{hmSelect} or a.name like '%${hmSelect}%' or a.creator_name like '%${hmSelect}%' )
and (a.hm_
id=#{hmSelect} or a.hm_code=#{hmSelect} or a.name like '%${hmSelect}%' or a.creator_name like '%${hmSelect}%' )
</if>
</if>
<if
test=
"null != clerkSelect and '' != clerkSelect"
>
<if
test=
"null != clerkSelect and '' != clerkSelect"
>
and ( a.clerk_id = #{clerkSelect} or b.clerk_id = #{clerkSelect} )
and ( a.clerk_id = #{clerkSelect} or b.clerk_id = #{clerkSelect} )
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/hm/HmQrcodeController.java
View file @
b5cb7b86
...
@@ -186,7 +186,7 @@ public class HmQrcodeController {
...
@@ -186,7 +186,7 @@ public class HmQrcodeController {
}
else
if
(
hmType
==
2
)
{
}
else
if
(
hmType
==
2
)
{
BasePageInfo
basePageInfo
=
new
BasePageInfo
();
BasePageInfo
basePageInfo
=
new
BasePageInfo
();
basePageInfo
.
setPageNum
(
1
);
basePageInfo
.
setPageNum
(
1
);
basePageInfo
.
setPage
Num
(
1000
);
basePageInfo
.
setPage
Size
(
1000
);
Page
<
HmClerkRelationDTO
>
hmClerkByHmId
=
hmQrcodeApiService
.
getHmClerkByHmId
(
basePageInfo
,
hmId
);
Page
<
HmClerkRelationDTO
>
hmClerkByHmId
=
hmQrcodeApiService
.
getHmClerkByHmId
(
basePageInfo
,
hmId
);
List
<
HmClerkRelationDTO
>
hmClerkRelationDTOList
=
hmClerkByHmId
.
getResult
();
List
<
HmClerkRelationDTO
>
hmClerkRelationDTOList
=
hmClerkByHmId
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
hmClerkRelationDTOList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
hmClerkRelationDTOList
))
{
...
@@ -211,6 +211,11 @@ public class HmQrcodeController {
...
@@ -211,6 +211,11 @@ public class HmQrcodeController {
if
(
hmGroupDTO
!=
null
)
{
if
(
hmGroupDTO
!=
null
)
{
hmQrcodeListDTO
.
setHmGroupName
(
hmGroupDTO
.
getGroupName
());
hmQrcodeListDTO
.
setHmGroupName
(
hmGroupDTO
.
getGroupName
());
}
}
//if (CollectionUtils.isNotEmpty(storeDTOList)) {
// //门店id去重
// storeDTOList = storeDTOList.stream()
// .collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(HmStoreDTO::getStoreId))), ArrayList::new));
//}
hmQrcodeListDTO
.
setClerkList
(
clerkDTOList
);
hmQrcodeListDTO
.
setClerkList
(
clerkDTOList
);
hmQrcodeListDTO
.
setStoreList
(
storeDTOList
);
hmQrcodeListDTO
.
setStoreList
(
storeDTOList
);
}
}
...
...
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