|
@@ -414,11 +414,9 @@
|
|
|
LEFT JOIN sys_user lu ON lu.id = a.lead_id
|
|
|
LEFT JOIN sys_user cu ON cu.id = a.create_id
|
|
|
LEFT JOIN t_b_product p ON p.id = a.product_id
|
|
|
- LEFT JOIN t_b_service tbs ON a.service_id = tbs.id
|
|
|
LEFT JOIN sys_custom sc ON sc.id = a.custom_id
|
|
|
<where>
|
|
|
AND a.enable=1
|
|
|
- AND tbs.status != 'FINISH'
|
|
|
<if test="serviceId != null and serviceId != ''">
|
|
|
and a.service_id = #{serviceId}
|
|
|
</if>
|