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
6e1d26f9
Commit
6e1d26f9
authored
May 23, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改为近6个月
parent
341ae3b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TabContactFollowMapper.xml
.../main/resources/mapper/contact/TabContactFollowMapper.xml
+3
-3
No files found.
haoban-manage3-service/src/main/resources/mapper/contact/TabContactFollowMapper.xml
View file @
6e1d26f9
...
...
@@ -65,7 +65,7 @@
<include
refid=
"Base_Column_List"
/>
FROM tab_contact_follow
<where>
enterprise_id = #{enterpriseId} and delete_flag = 0 and follow_time >= now() - interval
1 year
enterprise_id = #{enterpriseId} and delete_flag = 0 and follow_time >= now() - interval
6 month
<if
test=
"search.clerkId != null and search.clerkId != ''"
>
AND clerk_id = #{search.clerkId}
</if>
...
...
@@ -87,7 +87,7 @@
INNER JOIN ( SELECT clerk_id, member_id, MAX( follow_time ) AS max_follow_time FROM tab_contact_follow WHERE
enterprise_id = #{enterpriseId}
and delete_flag = 0
and follow_time >= now() - interval
1 year
and follow_time >= now() - interval
6 month
and member_id IN
<foreach
item=
"item"
index=
"index"
collection=
"memberIdList"
open=
"("
separator=
","
close=
")"
>
#{item}
...
...
@@ -97,7 +97,7 @@
AND t.member_id = latest.member_id
AND t.follow_time = latest.max_follow_time
where t.enterprise_id = #{enterpriseId}
and t.delete_flag = 0 and t.follow_time >= now() - interval
1 year
and t.delete_flag = 0 and t.follow_time >= now() - interval
6 month
<if
test=
"clerkId!=null and clerkId!=''"
>
and t.clerk_id = #{clerkId}
</if>
...
...
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