<?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="com.cn.fdapfe.biz.mapper.FdAlgorithmMapper">
    
    <resultMap type="FdAlgorithm" id="FdAlgorithmResult">
        <result property="id"    column="id"    />
        <result property="name"    column="name"    />
        <result property="modelId"    column="model_id"    />
        <result property="dataId"    column="data_id"    />
        <result property="returnData"    column="truth_labels"    />
        <result property="testLabels"    column="test_labels"    />
        <result property="remark"    column="remark"    />
        <result property="startTime"    column="start_time"    />
        <result property="endTime"    column="end_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
    </resultMap>

    <sql id="selectFdAlgorithmVo">
        select id, name, model_id, data_id, truth_labels, test_labels, remark, start_time, end_time, create_by, create_time, update_by, update_time from biz_fd_algorithm
    </sql>

    <select id="getOptions" resultType="map">
        select * from biz_fd_algorithm order by id desc
    </select>
</mapper>