Your Name
2023-01-24 b9fff0261fd2539de5d9c14f462e78d19417e4c8
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.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'
@@ -41,6 +41,9 @@
        </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}
@@ -140,6 +143,9 @@
        <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>