Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
afanti-open-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
java-ms
afanti-open-api
Commits
0aa86a86
Commit
0aa86a86
authored
Aug 21, 2025
by
潘志辉
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'uat'
Master See merge request
!81
parents
bd3a6c8b
dca0fd55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
ClueImMessageController.java
...car/afantiopenapi/controller/ClueImMessageController.java
+3
-1
OpenIdDTO.java
...java/com/afanticar/afantiopenapi/model/dto/OpenIdDTO.java
+1
-0
OpenApiClientPrincipalRelationMapper.xml
...resources/mapper/OpenApiClientPrincipalRelationMapper.xml
+1
-1
No files found.
src/main/java/com/afanticar/afantiopenapi/controller/ClueImMessageController.java
View file @
0aa86a86
...
...
@@ -51,7 +51,9 @@ public class ClueImMessageController extends BaseController {
Page
<
LiveCrmCustomerChat
>
page
=
new
Page
<>(
request
.
getCurrent
(),
request
.
getSize
());
LambdaQueryWrapper
<
LiveCrmCustomerChat
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
openIdDTOList
.
forEach
(
openIdDTO
->
{
queryWrapper
.
or
().
eq
(
LiveCrmCustomerChat:
:
getAuthorOpenId
,
openIdDTO
.
getAuthorOpenId
())
queryWrapper
.
or
()
.
eq
(
LiveCrmCustomerChat:
:
getAuthorId
,
openIdDTO
.
getAuthorId
())
.
eq
(
LiveCrmCustomerChat:
:
getAuthorOpenId
,
openIdDTO
.
getAuthorOpenId
())
.
eq
(
LiveCrmCustomerChat:
:
getFansOpenId
,
openIdDTO
.
getUserOpenId
());
});
...
...
src/main/java/com/afanticar/afantiopenapi/model/dto/OpenIdDTO.java
View file @
0aa86a86
...
...
@@ -12,6 +12,7 @@ import javax.validation.constraints.NotNull;
@JsonNaming
(
value
=
com
.
fasterxml
.
jackson
.
databind
.
PropertyNamingStrategy
.
SnakeCaseStrategy
.
class
)
@JSONType
(
naming
=
com
.
alibaba
.
fastjson
.
PropertyNamingStrategy
.
SnakeCase
)
public
class
OpenIdDTO
{
private
String
authorId
;
private
String
authorOpenId
;
private
String
userOpenId
;
private
int
platform
;
...
...
src/main/resources/mapper/OpenApiClientPrincipalRelationMapper.xml
View file @
0aa86a86
...
...
@@ -8,7 +8,7 @@
<select
id=
"getOpenIdByStoreCodeAndPhone"
resultType=
"com.afanticar.afantiopenapi.model.dto.OpenIdDTO"
>
select distinct author_open_id ,user_open_id,platform from fhl_mkms_clue_follow_up lea
select distinct author_
id ,author_
open_id ,user_open_id,platform from fhl_mkms_clue_follow_up lea
inner join base_dealer dea on lea.dealer_id = dea.id and dea.status=1 and dea.is_deleted =0 and dea.store_code =#{storeCode}
where lea.contact =#{phone} and lea.is_deleted = 0
</select>
...
...
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