专家实名认证率bug修改

This commit is contained in:
13036795865 2025-05-26 15:52:00 +08:00
parent 6e2b1f348f
commit b24412a1b3
1 changed files with 6 additions and 6 deletions

View File

@ -370,12 +370,12 @@
select b.expertTotal as "total", d.expertAuth as "value" select b.expertTotal as "total", d.expertAuth as "value"
from ( from (
(select count(1) as "expertTotal" from experts where is_delete = '0' and status = 1) b, (select count(1) as "expertTotal" from experts where is_delete = '0' and status = 1) b,
(select count(1) as "expertAuth" (select count(1) as "expertAuth"
from experts e from experts e
inner join users u on e.user_id = u.id inner join users u on e.user_id = u.id
where e.is_delete = '0' where e.is_delete = '0'
and e.status = 1 and e.status = 1
and u.authentication = true) d and (u.authentication = true or u.enterprise_certification='1')) d
) )
</select> </select>