Files
education/backend/roomroot-jwgl/target/classes/com/roomroot/jwgl/mapper/TeachingPlanMapper.xml
T
2026-08-21 14:39:03 +08:00

71 lines
3.3 KiB
XML

<?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.TeachingPlanMapper">
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXSSJH">
<id column="标识号" property="bsh" />
<result column="序号" property="xh" />
<result column="年度" property="nd" />
<result column="原序号" property="yxh" />
<result column="日期" property="rq" />
<result column="原节次" property="yjc" />
<result column="节次" property="jc" />
<result column="课程名称" property="kcmc" />
<result column="班次" property="bc" />
<result column="责任单位" property="zrdw" />
<result column="授课教员" property="skjy" />
<result column="教学场地" property="jxcd" />
<result column="教学内容" property="jxnr" />
<result column="教学方法" property="jxff" />
<result column="教员备注" property="jybz" />
<result column="教务备注" property="jwbz" />
<result column="检查结果" property="jcjg" />
<result column="已通过检查" property="ytgjc" />
<result column="已被忽略" property="ybhl" />
<result column="已被导入" property="ybdr" />
<result column="已被处理" property="ybcl" />
<result column="课程表编号" property="kcbbh" />
<result column="登录编号" property="dlbh" />
<result column="DEL_FLAG" property="delFlag" />
</resultMap>
<sql id="Base_Column_List">
标识号, 序号, 年度, 原序号, 日期, 原节次, 节次, 课程名称, 班次,
责任单位, 授课教员, 教学场地, 教学内容, 教学方法, 教员备注,
教务备注, 检查结果, 已通过检查, 已被忽略, 已被导入, 已被处理,
课程表编号, 登录编号, DEL_FLAG
</sql>
<select id="selectPageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM 导入数据表教学实施计划
<where>
<if test="drsjbjxssjh.nd != null">
AND 年度 = #{drsjbjxssjh.nd}
</if>
<if test="drsjbjxssjh.kcmc != null and drsjbjxssjh.kcmc != ''">
AND 课程名称 LIKE CONCAT('%', #{drsjbjxssjh.kcmc}, '%')
</if>
<if test="drsjbjxssjh.bc != null and drsjbjxssjh.bc != ''">
AND 班次 LIKE CONCAT('%', #{drsjbjxssjh.bc}, '%')
</if>
<if test="drsjbjxssjh.zrdw != null and drsjbjxssjh.zrdw != ''">
AND 责任单位 LIKE CONCAT('%', #{drsjbjxssjh.zrdw}, '%')
</if>
<if test="drsjbjxssjh.skjy != null and drsjbjxssjh.skjy != ''">
AND 授课教员 LIKE CONCAT('%', #{drsjbjxssjh.skjy}, '%')
</if>
<if test="drsjbjxssjh.ytgjc != null">
AND 已通过检查 = #{drsjbjxssjh.ytgjc}
</if>
<if test="drsjbjxssjh.ybdr != null">
AND 已被导入 = #{drsjbjxssjh.ybdr}
</if>
<if test="drsjbjxssjh.delFlag != null">
AND DEL_FLAG = #{drsjbjxssjh.delFlag}
</if>
</where>
ORDER BY 序号 ASC
</select>
</mapper>