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
0bb040c5
Commit
0bb040c5
authored
Jan 15, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/代开发调整25年' into 'developer'
Feature/xgh/代开发调整25年 See merge request
!2420
parents
41b821b5
89595341
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
+22
-4
ChatEventDTO.java
...java/com/gic/haoban/manage/api/dto/chat/ChatEventDTO.java
+11
-0
GroupChatApiServiceImpl.java
...ervice/service/out/impl/chat/GroupChatApiServiceImpl.java
+9
-2
HaobanQywxFeeApiServiceImpl.java
...ice/service/out/impl/fee/HaobanQywxFeeApiServiceImpl.java
+2
-2
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/chat/ChatEventDTO.java
View file @
0bb040c5
...
...
@@ -18,6 +18,17 @@ public class ChatEventDTO implements Serializable {
private
String
corpid
;
// 是否自建应用的回调
private
int
selfCallback
=
0
;
// 用于判断是否代开发应用的回调
private
String
suiteId
;
public
String
getSuiteId
()
{
return
suiteId
;
}
public
void
setSuiteId
(
String
suiteId
)
{
this
.
suiteId
=
suiteId
;
}
public
int
getSelfCallback
()
{
return
selfCallback
;
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/chat/GroupChatApiServiceImpl.java
View file @
0bb040c5
...
...
@@ -75,6 +75,7 @@ public class GroupChatApiServiceImpl implements GroupChatApiService {
private
GroupChatMapper
groupChatMapper
;
@Autowired
private
GroupChatUserMapper
groupChatUserMapper
;
private
static
final
String
SELF_APP
=
"selfSuiteId"
;
@Override
public
ServiceResponse
<
Page
<
GroupChatDTO
>>
listPage
(
GroupChatSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
...
...
@@ -229,8 +230,14 @@ public class GroupChatApiServiceImpl implements GroupChatApiService {
}
String
wxEnterpriseId
=
wxEnterprise
.
getWxEnterpriseId
();
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseService
.
getQwInfo
(
wxEnterpriseId
);
if
(
qwDTO
.
isSelf
()
&&
dto
.
getSelfCallback
()==
0
)
{
logger
.
info
(
"非自建应用回调"
);
if
(
qwDTO
.
getWxSecurityType
()==
5
)
{
if
(
qwDTO
.
isSelf
()
&&
dto
.
getSelfCallback
()
==
0
)
{
logger
.
info
(
"非自建应用回调"
);
return
ServiceResponse
.
success
();
}
}
if
(
qwDTO
.
getWxSecurityType
()
!=
6
&&
StringUtils
.
isNotBlank
(
dto
.
getSuiteId
())
&&
SELF_APP
.
equals
(
dto
.
getSuiteId
()))
{
logger
.
info
(
"非仅代开的不处理代发的回调"
);
return
ServiceResponse
.
success
();
}
// 群解散事件
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/fee/HaobanQywxFeeApiServiceImpl.java
View file @
0bb040c5
...
...
@@ -114,8 +114,8 @@ public class HaobanQywxFeeApiServiceImpl implements HaobanQywxFeeApiService {
feeOrderListQDTO
.
setCorpid
(
corpid
);
if
(
null
==
RedisUtil
.
getCache
(
"qywx-order-search-date"
))
{
feeOrderListQDTO
.
setStartTime
(
DateUtil
.
beginOfDay
(
new
Date
()).
offsetNew
(
DateField
.
HOUR_OF_DAY
,
-
24
).
getTime
());
feeOrderListQDTO
.
setEndTime
(
new
Date
().
getTime
());
.
setStartTime
(
DateUtil
.
beginOfDay
(
new
Date
()).
offsetNew
(
DateField
.
HOUR_OF_DAY
,
-
24
).
getTime
()
/
1000
);
feeOrderListQDTO
.
setEndTime
(
new
Date
().
getTime
()
/
1000
);
}
feeOrderListQDTO
.
setLimit
(
Manage3Constants
.
QW_LIMIT
);
FeeOrderResponseList
feeOrderResponseList
=
qywxUserApiService
.
listOrder
(
corpid
,
config
.
getCorpid
(),
...
...
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