Explorar o código

2023-5-22-1 新增服务区-2

yingzi hai 1 ano
pai
achega
0203832753
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/model/api/User.php

+ 1 - 0
app/model/api/User.php

@@ -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"
                     . ",(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"
                     . ",p.nickname as p_nickname,p.mobile as p_mobile"
                     . ",wt.title as work_type_title"
                     . ",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_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_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"
                     . ",(select count(*) from table_type_audit where uid = u.uid and status = 1) as is_type_audit"