|
|
@@ -1318,7 +1318,7 @@ from
|
|
|
left join( select count(*) as count, to_uid from user_interest group by to_uid) a
|
|
|
on u.id = a.to_uid left join( select to_uid from user_interest where from_uid ='1' ) b
|
|
|
on u.id = b.to_uid
|
|
|
- where u.status = 0 and u.source = 1
|
|
|
+ where u.status = 0 and u.source = 0
|
|
|
and ui.expert = 2 and ui.audit_status=2
|
|
|
<if test="consultantType != null">
|
|
|
and ui.consultant_type=#{consultantType,jdbcType=INTEGER}
|
|
|
@@ -1349,7 +1349,7 @@ from
|
|
|
select count(*)
|
|
|
from
|
|
|
`user` u left join user_identity ui on ui.uid = u.id
|
|
|
- where u.status = 0 and u.source = 1
|
|
|
+ where u.status = 0 and u.source = 0
|
|
|
and ui.expert = 2 and ui.audit_status=2
|
|
|
<if test="consultantType != null">
|
|
|
and ui.consultant_type=#{consultantType,jdbcType=INTEGER}
|