From 781fe13f0ee314297ca6c4d26c85b10f14fa9511 Mon Sep 17 00:00:00 2001 From: monanxiao Date: Sat, 18 Mar 2023 17:13:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=B6=E5=BA=AD=E6=88=90=E5=91=98=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=88=B7=E4=B8=BB=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Maintainentry.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/controller/Maintainentry.php b/app/api/controller/Maintainentry.php index 00b4d31..8daaf72 100644 --- a/app/api/controller/Maintainentry.php +++ b/app/api/controller/Maintainentry.php @@ -1680,6 +1680,7 @@ class Maintainentry extends BaseController // 获取家庭的人员信息 $res = Db::table('fa_szxc_information_usermsg')->where($map) ->order('id desc') + ->order('is_hz desc') ->field("id,user_id,name,age,gender,family_num,political_outlook,householder_id,is_hz,address_name,family_relation,phone") ->withAttr('avatar', function ($value, $data) { return Db::table('fa_user')->where('id', $data['user_id'])->value('avatar');