<?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.cultivate.mapper.FtbCultivateCourseTypeMapper">
    <!--课程类型分页-->
  <select id="pageList" resultType="jnpf.model.cultivate.vo.course.web.FtbCultivateCourseTypeVO">
     SELECT F_Id as id,F_Name as `name`,F_Source as source FROM ftb_cultivate_course_type
     WHERE F_EnabledMark=0 ORDER BY F_Source DESC,F_Id DESC
  </select>
    <!--获取所有课程类型-->
  <select id="getAll" resultType="jnpf.model.cultivate.vo.course.web.FtbCultivateCourseTypeVO">
    SELECT F_Id as id,F_Name as `name`,F_Source as source FROM ftb_cultivate_course_type
    WHERE F_EnabledMark=0
  </select>

</mapper>