feat: 提交课表冲突检查相关功能模块
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?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.roomroot.jwgl.mapper.XYKCGCCJMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.XYKCGCCJ">
|
||||
<id column="编号" property="bh"/>
|
||||
<result column="课程过程成绩编号" property="kcgccjbh"/>
|
||||
<result column="学员编号" property="xybh"/>
|
||||
<result column="原始成绩" property="yscj"/>
|
||||
<result column="最终成绩" property="zzcj"/>
|
||||
<result column="备注" property="bz"/>
|
||||
<result column="补考成绩1" property="bkcj1"/>
|
||||
<result column="补考成绩2" property="bkcj2"/>
|
||||
<result column="补考成绩3" property="bkcj3"/>
|
||||
<result column="补考次数" property="bkcs"/>
|
||||
<result column="考试情况" property="ksqk"/>
|
||||
<result column="年度" property="nd"/>
|
||||
<result column="课类型" property="klx"/>
|
||||
<result column="科目编号" property="kmbh"/>
|
||||
<result column="学员队编号" property="xydbh"/>
|
||||
<result column="补考原始成绩1" property="bkyscj1"/>
|
||||
<result column="补考原始成绩2" property="bkyscj2"/>
|
||||
<result column="补考原始成绩3" property="bkyscj3"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 课程过程成绩编号, 学员编号, 原始成绩, 最终成绩, 备注,
|
||||
补考成绩1, 补考成绩2, 补考成绩3, 补考次数, 考试情况,
|
||||
年度, 课类型, 科目编号, 学员队编号,
|
||||
补考原始成绩1, 补考原始成绩2, 补考原始成绩3
|
||||
</sql>
|
||||
|
||||
<select id="selectByStudentId" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM "学员课程过程成绩"
|
||||
WHERE 学员编号 = #{xybh}
|
||||
ORDER BY 年度 DESC, 科目编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user