<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="jnpf.attendance.mapper.AttendanceLocationSettingMapper" >

    <!-- 查询考勤机名称 -->
    <select id="getMachineName" resultType="java.lang.String">
        select F_Name from ftb_attendance_location_setting
        where F_Type = 3 and F_Address = #{sn} and F_DeleteMark = 0
        order by F_CreatorTime desc limit 1
    </select>
</mapper>