Commit 75ac22e2 by chenxi

查询sop任务去掉branch_id关联条件

1 parent 95952712
......@@ -104,7 +104,7 @@
t.execute_time
FROM dj_car_life_customer_info ci
INNER JOIN sop_strategy_task t ON ci.id = t.customer_instance_id
INNER JOIN sop_strategy_action a ON a.strategy_id = t.strategy_id AND a.branch_id = t.branch_id
INNER JOIN sop_strategy_action a ON a.strategy_id = t.strategy_id
WHERE ci.id = #{customerInstanceId}
AND ci.merchant_id = #{merchantId}
AND ci.deleted_flag = 'N'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!