Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
ht_project_doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f843b74b
authored
Apr 17, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交轻改定时任务sql
1 parent
d00cbb6e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
05_v5.7.1_20260417/sql/DML/scrm组dj_smartcarlife_dml.sql
05_v5.7.1_20260417/sql/DML/scrm组dj_smartcarlife_dml.sql
View file @
f843b74
INSERT
INTO
dj_smartcarlife
.
agent_job_configuration
(
description
,
circle_sql
,
cron_expression
,
rule_description
,
config_status
,
created_by
,
created_date
,
updated_by
,
updated_date
,
deleted_flag
,
job_uuid
,
reminder_type
,
param_map
,
param_type
,
first_execute_time
)
VALUES
(
'轻改录音推送'
,
'SELECT
t3.id AS recording_id,
t5.wechat_user_id AS user_ids
,t4.phone_number
FROM inspection_conversation_detail_ext t1
LEFT JOIN inspection_conversation_batch t2 ON t1.batch_id = t2.id
LEFT JOIN inspection_badge_recordings t3 ON t2.record_id = t3.id
LEFT JOIN inspection_employee_badge t4 ON t3.badge_id = t4.badge_id
LEFT JOIN agent_staff_info t5 ON t5.mobile_phone = t4.phone_number
left join reception_customer_info rci on t2.task_id = rci.id and rci.deleted_flag =
\'
N
\'
where t1.created_date >= NOW() - INTERVAL 20 minute and rci.bussiness_type = 2
and t5.wechat_user_id is not null
limit 40'
,
'0 */2 * * * ?'
,
'轻改录音推送'
,
1
,
'system'
,
'2025-11-24 14:24:43'
,
'system'
,
'2026-04-17 15:28:15'
,
'N'
,
'agent008'
,
'mod_recording_judge'
,
'{"user_ids":"@user_ids","recording_id":"@recording_id"}
'
,
'2'
,
'2025-12-14 09:10:00'
);
Write
Preview
Markdown
is supported
Attach a file
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 post a comment