|
@@ -70,7 +70,8 @@
|
|
|
task_list.template_id,
|
|
task_list.template_id,
|
|
|
task_list.task_id,
|
|
task_list.task_id,
|
|
|
task_list.group_id,
|
|
task_list.group_id,
|
|
|
- task_list.type
|
|
|
|
|
|
|
+ task_list.type,
|
|
|
|
|
+ task_list.send_time
|
|
|
FROM
|
|
FROM
|
|
|
pan_fosterwx_cash_schedule_task_list task_list
|
|
pan_fosterwx_cash_schedule_task_list task_list
|
|
|
GROUP BY
|
|
GROUP BY
|
|
@@ -78,7 +79,8 @@
|
|
|
task_list.template_id,
|
|
task_list.template_id,
|
|
|
task_list.task_id,
|
|
task_list.task_id,
|
|
|
task_list.group_id,
|
|
task_list.group_id,
|
|
|
- task_list.type
|
|
|
|
|
|
|
+ task_list.type,
|
|
|
|
|
+ task_list.send_time
|
|
|
) task_list
|
|
) task_list
|
|
|
LEFT JOIN pan_fosterwx_cash_task_template task_template ON task_template.id = task_list.template_id
|
|
LEFT JOIN pan_fosterwx_cash_task_template task_template ON task_template.id = task_list.template_id
|
|
|
LEFT JOIN pan_fosterwx_cash_mobile_group mobile_group ON task_list.group_id = mobile_group.id
|
|
LEFT JOIN pan_fosterwx_cash_mobile_group mobile_group ON task_list.group_id = mobile_group.id
|
|
@@ -118,7 +120,7 @@
|
|
|
SELECT
|
|
SELECT
|
|
|
count(*)
|
|
count(*)
|
|
|
FROM
|
|
FROM
|
|
|
- ( SELECT type FROM pan_fosterwx_cash_schedule_task_list task_list GROUP BY task_list.schedule_id, task_list.template_id, task_list.task_id, task_list.group_id, task_list.type ) task_list
|
|
|
|
|
|
|
+ ( SELECT type FROM pan_fosterwx_cash_schedule_task_list task_list GROUP BY task_list.schedule_id, task_list.template_id, task_list.task_id, task_list.group_id, task_list.type, task_list.send_time ) task_list
|
|
|
<where>
|
|
<where>
|
|
|
${ew.sqlSegment}
|
|
${ew.sqlSegment}
|
|
|
</where>
|
|
</where>
|