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
77a44e2e
Commit
77a44e2e
authored
May 16, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/自建应用验证' into 'master'
企微订单统计 See merge request
!1256
parents
10bb0c1f
dde9c8b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
HaobanQywxFeeApiServiceImpl.java
...ice/service/out/impl/fee/HaobanQywxFeeApiServiceImpl.java
+13
-5
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/fee/HaobanQywxFeeApiServiceImpl.java
View file @
77a44e2e
...
...
@@ -89,11 +89,19 @@ public class HaobanQywxFeeApiServiceImpl implements HaobanQywxFeeApiService {
@Override
public
void
run
(
String
param
)
{
List
<
TabHaobanWxEnterprise
>
tabHaobanWxEnterprises
=
wxEnterpriseService
.
listAll
();
for
(
TabHaobanWxEnterprise
wxEnterprise
:
tabHaobanWxEnterprises
)
{
GicMQClient
instance
=
GICMQClientUtil
.
getClientInstance
();
GicMQClient
instance
=
GICMQClientUtil
.
getClientInstance
();
if
(
"-1"
.
equals
(
param
))
{
List
<
TabHaobanWxEnterprise
>
tabHaobanWxEnterprises
=
wxEnterpriseService
.
listAll
();
for
(
TabHaobanWxEnterprise
wxEnterprise
:
tabHaobanWxEnterprises
)
{
try
{
instance
.
sendMessage
(
"qywxAddFeeMq"
,
wxEnterprise
.
getWxEnterpriseId
());
}
catch
(
Exception
e
)
{
logger
.
info
(
"发送消息处理异常:{}"
,
e
.
getMessage
(),
e
);
}
}
}
else
{
try
{
instance
.
sendMessage
(
"qywxAddFeeMq"
,
wxEnterprise
.
getWxEnterpriseId
()
);
instance
.
sendMessage
(
"qywxAddFeeMq"
,
param
);
}
catch
(
Exception
e
)
{
logger
.
info
(
"发送消息处理异常:{}"
,
e
.
getMessage
(),
e
);
}
...
...
@@ -161,7 +169,7 @@ public class HaobanQywxFeeApiServiceImpl implements HaobanQywxFeeApiService {
}
String
serviceCorpid
=
config
.
getCorpid
();
WxEnterpriseDTO
wxEnterpriseDTO
=
wxEnterpriseService
.
selectById
(
wxEnterpriseId
);
if
(
wxEnterpriseDTO
.
getWxSecurityType
()
<=
0
||
wxEnterpriseDTO
.
getWxSecurityType
()==
5
)
{
if
(
wxEnterpriseDTO
.
getWxSecurityType
()
<=
0
)
{
logger
.
info
(
"WxSecurityType=0/5,wxEnterpriseId={}"
,
wxEnterpriseId
);
return
;
}
...
...
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