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
867a73d5
Commit
867a73d5
authored
Aug 12, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
10d3f72f
0d1fd3a7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
2 deletions
+25
-2
WxEnterpriseDTO.java
...n/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
+10
-1
WxEnterpriseQwDTO.java
...java/com/gic/haoban/manage/api/dto/WxEnterpriseQwDTO.java
+9
-0
WxEnterpriseServiceImpl.java
.../manage/service/service/impl/WxEnterpriseServiceImpl.java
+5
-0
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+1
-1
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+0
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
View file @
867a73d5
...
...
@@ -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-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseQwDTO.java
View file @
867a73d5
...
...
@@ -16,12 +16,21 @@ public class WxEnterpriseQwDTO implements Serializable {
private
String
memberSuiteId
;
// 第三方
private
String
thirdCorpid
;
// 明文的corpid
private
String
selfCorpid
;
// 第三方使用的加密的userid
public
boolean
needOpenUserId3th
()
{
return
this
.
wxSecurityType
==
2
||
this
.
wxSecurityType
==
3
;
}
public
String
getSelfCorpid
()
{
return
selfCorpid
;
}
public
void
setSelfCorpid
(
String
selfCorpid
)
{
this
.
selfCorpid
=
selfCorpid
;
}
public
String
getDkSuiteId
()
{
return
dkSuiteId
;
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WxEnterpriseServiceImpl.java
View file @
867a73d5
...
...
@@ -77,6 +77,11 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
}
});
}
if
(
StringUtils
.
isBlank
(
qw
.
getMemberCorpid
()))
{
logger
.
info
(
"会员小程序是自建"
);
qw
.
setMemberCorpid
(
wxEnterprise
.
getWxCorpid
());
}
qw
.
setSelfCorpid
(
wxEnterprise
.
getWxCorpid
());
logger
.
info
(
"企微所有corpid信息={}"
,
JSON
.
toJSON
(
qw
));
return
qw
;
}
...
...
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
867a73d5
...
...
@@ -471,7 +471,7 @@
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_wx_enterprise
where
wx_corpid = #{corpId} or open_corpid = #{corpid}
where
( wx_corpid = #{corpId} or open_corpid = #{corpId} )
<if
test=
"statusFlag != null"
>
and status_flag = #{statusFlag}
</if>
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
867a73d5
This diff is collapsed.
Click to expand it.
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