<?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.memberLog.mapper.LogTemplateFieldMapper" >

    <select id="getFieldById" resultType="jnpf.model.memberLog.vo.LogTemplateFieldVo">
        SELECT  F_Id id, F_Log_Template_Id logTemplateId, F_Field field, f_Code code, F_Required required,
                F_Limitation limitation, F_List_Display listDisplay, F_Sort sort, F_App_Display appDisplay
        FROM ftb_log_template_field
        WHERE F_Log_Template_Id = #{id}
        order by sort asc
    </select>
</mapper>