专家实名认证率bug修改
This commit is contained in:
parent
6e2b1f348f
commit
b24412a1b3
|
@ -370,12 +370,12 @@
|
|||
select b.expertTotal as "total", d.expertAuth as "value"
|
||||
from (
|
||||
(select count(1) as "expertTotal" from experts where is_delete = '0' and status = 1) b,
|
||||
(select count(1) as "expertAuth"
|
||||
from experts e
|
||||
inner join users u on e.user_id = u.id
|
||||
where e.is_delete = '0'
|
||||
and e.status = 1
|
||||
and u.authentication = true) d
|
||||
(select count(1) as "expertAuth"
|
||||
from experts e
|
||||
inner join users u on e.user_id = u.id
|
||||
where e.is_delete = '0'
|
||||
and e.status = 1
|
||||
and (u.authentication = true or u.enterprise_certification='1')) d
|
||||
)
|
||||
</select>
|
||||
|
||||
|
|
Loading…
Reference in New Issue