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
4a0ff118
Commit
4a0ff118
authored
Feb 21, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://115.159.76.241/haoban3.0/haoban-manage3.0.git
into developer
parents
973c36ed
f865c2fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
WxEnterpriseServiceImpl.java
.../manage/service/service/impl/WxEnterpriseServiceImpl.java
+3
-1
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WxEnterpriseServiceImpl.java
View file @
4a0ff118
...
...
@@ -25,7 +25,9 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
wxDTO
.
setWxEnterpriseId
(
StringUtil
.
randomUUID
());
wxDTO
.
setCreateTime
(
now
);
wxDTO
.
setUpdateTime
(
now
);
mapper
.
insertSelective
(
EntityUtil
.
changeEntityByJSON
(
TabHaobanWxEnterprise
.
class
,
wxDTO
));
TabHaobanWxEnterprise
tabHaobanWxEnterprise
=
EntityUtil
.
changeEntityByJSON
(
TabHaobanWxEnterprise
.
class
,
wxDTO
);
tabHaobanWxEnterprise
.
setStatusFlag
(
1
);
mapper
.
insertSelective
(
tabHaobanWxEnterprise
);
return
wxDTO
.
getWxEnterpriseId
();
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
4a0ff118
...
...
@@ -157,7 +157,7 @@ public class MessageApiServiceImpl implements MessageApiService {
private
void
dealUser
(
QywxCallBackDTO
qywxCallBackDTO
){
TabHaobanStaff
staff
=
new
TabHaobanStaff
();
TabHaobanWxEnterprise
enterprise
=
this
.
enterpriseService
.
getEnterpriseBycorpId
(
qywxCallBackDTO
.
getAuthCorpId
());
if
(
enterprise
=
=
null
){
if
(
enterprise
!
=
null
){
staff
.
setWxEnterpriseId
(
enterprise
.
getWxEnterpriseId
());
staff
.
setActiveFlag
(
0
);
staff
.
setPhoneNumber
(
qywxCallBackDTO
.
getMobile
());
...
...
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