Your Name hace 3 años
padre
commit
5b67fd65a4

+ 3 - 2
java110-db/src/main/resources/mapper/common/AccessControlWhiteV1ServiceDaoImplMapper.xml

@@ -21,7 +21,7 @@
         accessControlKey,t.status_cd,t.status_cd statusCd,t.person_name,t.person_name
         personName,t.acw_id,t.acw_id acwId,t.person_id,t.person_id
         personId,t.tel,t.start_time,t.start_time startTime,t.end_time,t.end_time endTime,t.community_id,t.community_id
-        communityId,t.person_type,t.person_type personType,td.`name` personTypeName,count(acwa.acwa_id) machineCount
+        communityId,t.person_type,t.person_type personType,td.`name` personTypeName,t.create_time createTime,count(acwa.acwa_id) machineCount
         from access_control_white t
         left join t_dict td on t.person_type = td.status_cd and td.table_name ='access_control_white' and td.table_columns = 'person_type'
         left join access_control_white_auth acwa on t.acw_id = acwa.acw_id and acwa.community_id = t.community_id and acwa.status_cd = '0'
@@ -68,7 +68,8 @@
         <if test="personType !=null and personType != ''">
             and t.person_type= #{personType}
         </if>
-        group by t.third_id,t.id_card,t.access_control_key,t.status_cd,t.person_name,t.acw_id,t.person_id,t.tel,t.start_time,t.end_time,t.community_id,t.person_type,td.`name`
+        group by t.third_id,t.id_card,t.access_control_key,t.status_cd,t.person_name,t.acw_id,t.person_id,t.tel,t.start_time,
+        t.end_time,t.community_id,t.person_type,td.`name`,t.create_time
         order by t.create_time desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}