WH01243 3 жил өмнө
parent
commit
6fce61eec2

+ 1 - 1
src/jfw/modules/app/src/app/front/front.go

@@ -556,7 +556,7 @@ func (s *Front) ShowRedSpotOnMenu() {
 			}*/
 			res := public.Mysql.SelectBySql(`SELECT isNew,i.name,i.phone,i.status,i.auth_status,u.power FROM entniche_user u LEFT JOIN entniche_info i
 			ON u.ent_id=i.id
-			ORDER BY  i.status DESC,i.auth_status DESC, CASE WHEN u.phone=? THEN 0  ELSE 1 END  ASC`, s_phone)
+			where u.phone=? `, s_phone)
 			if res != nil && len(*res) > 0 {
 				//entname := qutil.ObjToString((*res)[0]["name"])
 				/*d["entname"] = entname*/