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
264131c5
Commit
264131c5
authored
Mar 15, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
00efd58e
e4f50275
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+4
-0
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
264131c5
...
...
@@ -129,6 +129,10 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
Page
<
TabHaobanWxEnterprise
>
page
=
wxEnterpriseMapper
.
list
(
keyword
,
enterpriseIds
,
gicContactFlag
,
version
,
enterpriseIdsNotIn
);
// 数据转换+白名单过滤
if
(
Objects
.
isNull
(
page
)
||
CollectionUtils
.
isEmpty
(
page
.
getResult
()))
{
com
.
gic
.
api
.
base
.
commons
.
Page
<
Object
>
objectPage
=
new
com
.
gic
.
api
.
base
.
commons
.
Page
<>();
objectPage
.
setPageSize
(
pageInfo
.
getPageSize
());
objectPage
.
setCurrentPage
(
pageInfo
.
getPageNum
());
objectPage
.
setResult
(
Collections
.
emptyList
());
return
new
com
.
gic
.
api
.
base
.
commons
.
Page
<>();
}
com
.
gic
.
api
.
base
.
commons
.
Page
<
YwWxEnterpriseDTO
>
resPage
=
PageUtil
.
changePageHelperToCurrentPage
(
page
,
YwWxEnterpriseDTO
.
class
);
...
...
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
264131c5
...
...
@@ -398,7 +398,7 @@
)
</if>
<if
test=
"keyword != null and keyword != '' and (enterpriseIds == null or enterpriseIds.size() == 0)"
>
and
(
corp_name like CONCAT('%',#{keyword},'%')
and corp_name like CONCAT('%',#{keyword},'%')
</if>
</if>
...
...
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