<?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.AttendanceBaseSettingMapper" >
<!--    获取出勤换算-->
    <select id="getAttendanceRatio" resultType="java.lang.Integer">
        SELECT F_AttendanceRatio FROM ftb_attendance_base_setting WHERE F_GroupId = (
            SELECT F_GroupId FROM ftb_attendance_group_user WHERE F_UserId = #{userId} AND F_Type = 1
        )
    </select>
</mapper>