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
27eb9146
Commit
27eb9146
authored
Aug 11, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回微信corpid
parent
09a6f1d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
WxEnterpriseDTO.java
...n/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
+10
-1
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+2
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
View file @
27eb9146
...
...
@@ -12,7 +12,8 @@ public class WxEnterpriseDTO implements Serializable {
private
String
wxEnterpriseId
;
private
String
permanentCode
;
// 业务中请不要使用此属性
private
String
corpid
;
private
String
corpName
;
private
String
corpType
;
...
...
@@ -108,6 +109,14 @@ public class WxEnterpriseDTO implements Serializable {
private
Integer
wxSecurityType
;
private
String
wxCorpid
;
private
String
openCorpid
;
public
String
getCorpid
()
{
return
corpid
;
}
public
void
setCorpid
(
String
corpid
)
{
this
.
corpid
=
corpid
;
}
public
Integer
getWxSecurityType
()
{
return
wxSecurityType
;
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
27eb9146
...
...
@@ -175,7 +175,9 @@ public class WxEnterpriseController extends WebBaseController {
if
(
contactFlag
==
0
)
{
wxDTO
.
setContactFlag
(
1
);
}
String
corpid
=
Arrays
.
asList
(
wxDTO
.
getWxCorpid
(),
wxDTO
.
getOpenCorpid
()).
stream
().
filter
(
str
->
StringUtils
.
isNotBlank
(
str
)).
collect
(
Collectors
.
joining
(
"/"
))
;
wxEnterpriseApiService
.
update
(
wxDTO
);
wxDTO
.
setCorpid
(
corpid
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
wxEnterpriseDTO
);
}
...
...
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