| | |
| | | accessControlKey,t.status_cd,t.status_cd statusCd,t.person_name,t.person_name |
| | | personName,t.machine_id,t.machine_id machineId,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,t.create_time createTime,m.machine_code,m.machine_name machineName, |
| | | communityId,t.person_type,t.person_type personType,t.create_time createTime,m.machine_code machineCode,m.machine_name machineName, |
| | | td.`name` personTypeName |
| | | from access_control_white t |
| | | left join machine m on t.machine_id = m.machine_id and m.status_cd = '0' |
| | |
| | | </if> |
| | | <if test="personName !=null and personName != ''"> |
| | | and t.person_name= #{personName} |
| | | </if> |
| | | <if test="personNameLike !=null and personNameLike != ''"> |
| | | and t.person_name like concat('%',#{personNameLike},'%') |
| | | </if> |
| | | <if test="machineId !=null and machineId != ''"> |
| | | and t.machine_id= #{machineId} |
| | |
| | | <if test="personName !=null and personName != ''"> |
| | | and t.person_name= #{personName} |
| | | </if> |
| | | <if test="personNameLike !=null and personNameLike != ''"> |
| | | and t.person_name like concat('%',#{personNameLike},'%') |
| | | </if> |
| | | <if test="machineId !=null and machineId != ''"> |
| | | and t.machine_id= #{machineId} |
| | | </if> |