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
d3406d0d
Commit
d3406d0d
authored
Feb 18, 2022
by
xugaojun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
鸿星尔克定制需求匹配条件修改、企业列表判断条件修改
parent
d73a9950
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
EnterpriseController.java
...ic/haoban/manage/web/controller/EnterpriseController.java
+7
-5
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+1
-4
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/EnterpriseController.java
View file @
d3406d0d
...
@@ -150,11 +150,13 @@ public class EnterpriseController extends WebBaseController {
...
@@ -150,11 +150,13 @@ public class EnterpriseController extends WebBaseController {
return
;
return
;
}
}
list
.
forEach
(
one
->
{
list
.
forEach
(
one
->
{
String
wxEnterpriseId
=
one
.
getWxEnterpriseId
();
if
(
one
.
getOpenMassFlag
())
{
String
key
=
String
.
format
(
MEMBER_RELATE_ENT_OPE_KEY
,
wxEnterpriseId
);
String
wxEnterpriseId
=
one
.
getWxEnterpriseId
();
Object
cache
=
RedisUtil
.
getCache
(
key
);
String
key
=
String
.
format
(
MEMBER_RELATE_ENT_OPE_KEY
,
wxEnterpriseId
);
if
(
Objects
.
nonNull
(
cache
))
{
Object
cache
=
RedisUtil
.
getCache
(
key
);
one
.
setOpenMassFlag
(
Boolean
.
FALSE
);
if
(
Objects
.
nonNull
(
cache
))
{
one
.
setOpenMassFlag
(
Boolean
.
FALSE
);
}
}
}
});
});
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
d3406d0d
...
@@ -189,10 +189,7 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -189,10 +189,7 @@ public class MessageApiServiceImpl implements MessageApiService {
return
false
;
return
false
;
}
}
String
userid
=
dto
.
getUserid
();
String
userid
=
dto
.
getUserid
();
// 当前规则 userId是12位并且以5开头
// 只处理5开头的-不是5开头不同步
if
(
userid
.
length
()
!=
12
)
{
return
false
;
}
return
userid
.
startsWith
(
"5"
);
return
userid
.
startsWith
(
"5"
);
}
}
...
...
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