Commit e5eb99ae authored by lcl's avatar lcl

u

parent 167117bc
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
ct.credit_level creditLevel, count(ct.customer_id) customerCount ct.credit_level creditLevel, count(ct.customer_id) customerCount
from customer ct from customer ct
join customer_user ctu on ct.customer_id = ctu.customer_id join customer_user ctu on ct.customer_id = ctu.customer_id
where ctu.user_id = #{userId} and ct.credit_level is not null where ctu.status = 0 and ctu.user_id = #{userId} and ct.credit_level is not null
group by ct.credit_level group by ct.credit_level
) ct ) ct
left join sys_dict_data sdd on (sdd.dict_label = ct.creditLevel and sdd.dict_type = 'credit_level_type') left join sys_dict_data sdd on (sdd.dict_label = ct.creditLevel and sdd.dict_type = 'credit_level_type')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment