|
@@ -346,6 +346,7 @@ class User extends BaseModel
|
|
|
. ",(select is_show from table_info_audit where uid = u.uid and status = 1 ) as is_show"
|
|
|
. ",p.nickname as p_nickname,p.mobile as p_mobile"
|
|
|
. ",wt.title as work_type_title"
|
|
|
+ .",(select * from table_user_show_template where is_show = 1)"
|
|
|
. ",(select count(*) from table_user_show_template where uid = u.uid) as showTempCount"
|
|
|
. ",(select count(*) from table_info_audit where uid = u.uid and status = 1) as is_info_audit"
|
|
|
. ",(select count(*) from table_type_audit where uid = u.uid and status = 1) as is_type_audit"
|