feat: 提交课表冲突检查相关功能模块
This commit is contained in:
BIN
Binary file not shown.
+63
@@ -0,0 +1,63 @@
|
||||
<?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.AccountManagementAuthorizationMapper">
|
||||
|
||||
<!--
|
||||
第一步:根据 Servlet 会话编号定位在线用户记录。
|
||||
第二步:使用登录账号关联账户管理状态;无法关联登录信息的旧在线记录保持原有访问方式。
|
||||
第三步:状态表尚未初始化的旧账户按启用处理,避免数据库升级期间误伤现有用户。
|
||||
第四步:明确拒绝已停用或已经合并到其他账户的在线身份。
|
||||
查询没有返回行表示当前 Servlet 会话没有对应在线用户记录。
|
||||
-->
|
||||
<select id="selectAccountAccessStatusBySessionId"
|
||||
resultType="java.lang.Integer">
|
||||
SELECT CASE
|
||||
WHEN account."编号" IS NULL THEN 1
|
||||
WHEN status."登录信息编号" IS NULL THEN 1
|
||||
WHEN status."启用状态" = 1
|
||||
AND status."合并目标登录信息编号" IS NULL
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END
|
||||
FROM "MemberOnlineInfo" moi
|
||||
LEFT JOIN "登录信息表" account
|
||||
ON LOWER(TRIM(account."账号"))
|
||||
= LOWER(TRIM(moi."账号"))
|
||||
LEFT JOIN "账户状态表" status
|
||||
ON status."登录信息编号" = account."编号"
|
||||
WHERE moi."SessionId" = #{sessionId}
|
||||
</select>
|
||||
|
||||
<!--
|
||||
第一步:根据 Servlet 会话编号定位现有在线用户记录。
|
||||
第二步:通过登录账号关联账户和账户管理状态。
|
||||
第三步:只返回启用且未被合并账户的角色类别。
|
||||
SessionId 是 MemberOnlineInfo 的主键,因此最多返回一条记录。
|
||||
-->
|
||||
<select id="selectRoleCategoryBySessionId" resultType="string">
|
||||
SELECT moi."角色类别"
|
||||
FROM "MemberOnlineInfo" moi
|
||||
INNER JOIN "登录信息表" account
|
||||
ON LOWER(TRIM(account."账号"))
|
||||
= LOWER(TRIM(moi."账号"))
|
||||
LEFT JOIN "账户状态表" status
|
||||
ON status."登录信息编号" = account."编号"
|
||||
WHERE moi."SessionId" = #{sessionId}
|
||||
AND (
|
||||
status."登录信息编号" IS NULL
|
||||
OR status."启用状态" = 1
|
||||
)
|
||||
AND status."合并目标登录信息编号" IS NULL
|
||||
</select>
|
||||
|
||||
<!--
|
||||
账户不可用时删除当前会话对应的在线用户记录,
|
||||
防止后续请求继续把该会话识别为有效登录身份。
|
||||
-->
|
||||
<delete id="deleteOnlineSessionBySessionId">
|
||||
DELETE FROM "MemberOnlineInfo"
|
||||
WHERE "SessionId" = #{sessionId}
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
BIN
Binary file not shown.
+1027
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,60 @@
|
||||
<?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.BCKTJXRZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.BCKTJXRZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="实施_课程编号" property="sskcbh" />
|
||||
<result column="实施_课程表编号" property="sskcbbh" />
|
||||
<result column="学员队编号" property="xydbh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="日期" property="rq" />
|
||||
<result column="节次" property="jc" />
|
||||
<result column="实际时间安排" property="sjsjap" />
|
||||
<result column="课程科目编号" property="kckmbh" />
|
||||
<result column="教学方法" property="jxff" />
|
||||
<result column="应到人数" property="ydrs" />
|
||||
<result column="实到人数" property="sdrs" />
|
||||
<result column="调停课情况" property="dtkqk" />
|
||||
<result column="授课情况_教学态度" property="skqkjxtd" />
|
||||
<result column="授课情况_教学内容" property="skqkjxnr" />
|
||||
<result column="授课情况_教学方法" property="skqkjxff" />
|
||||
<result column="授课情况_课堂管理" property="skqkktgl" />
|
||||
<result column="授课情况_学习收获" property="skqkxxsh" />
|
||||
<result column="领导专家听查课" property="ldzjtck" />
|
||||
<result column="跟班队干编号" property="gbdgbh" />
|
||||
<result column="教学状态" property="jxzt" />
|
||||
<result column="意见建议" property="yjjy" />
|
||||
<result column="状态" property="zt" />
|
||||
<result column="教务部门反馈意见" property="jwbmfkyj" />
|
||||
<result column="填报学员编号" property="tbxybh" />
|
||||
<result column="核准管理员编号" property="hzglybh" />
|
||||
<result column="教学管理机构编号" property="jxgljgbh" />
|
||||
<result column="与实施计划一致" property="yssjhyz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 实施_课程编号, 实施_课程表编号, 学员队编号, 年度, 日期, 节次, 实际时间安排,
|
||||
课程科目编号, 教学方法, 应到人数, 实到人数, 调停课情况, 授课情况_教学态度,
|
||||
授课情况_教学内容, 授课情况_教学方法, 授课情况_课堂管理, 授课情况_学习收获,
|
||||
领导专家听查课, 跟班队干编号, 教学状态, 意见建议, 状态, 教务部门反馈意见,
|
||||
填报学员编号, 核准管理员编号, 教学管理机构编号, 与实施计划一致
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM "班次课堂教学日志"
|
||||
WHERE 1=1
|
||||
<if test="cond.zt != null and cond.zt != ''">
|
||||
AND 状态 = #{cond.zt}
|
||||
</if>
|
||||
<if test="cond.sskcbh != null and cond.sskcbh != ''">
|
||||
AND 实施_课程编号 = #{cond.sskcbh}
|
||||
</if>
|
||||
<if test="cond.nd != null">
|
||||
AND 年度 = #{cond.nd}
|
||||
</if>
|
||||
ORDER BY 日期 DESC, 节次 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,17 @@
|
||||
<?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.BCKTJXRZSKJYMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.BCKTJXRZSKJY">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="班次课堂教学日志_编号" property="bcktjxrzbh" />
|
||||
<result column="辅助教员编号" property="fzjybh" />
|
||||
<result column="主教员" property="zjy" />
|
||||
<result column="年度" property="nd" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 班次课堂教学日志_编号, 辅助教员编号, 主教员, 年度
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
<?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.BZLBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.BZLB">
|
||||
<id column="编号" property="bh"/>
|
||||
<result column="名称" property="mc"/>
|
||||
<result column="部门编号" property="bmbh"/>
|
||||
<result column="停用" property="ty"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 部门编号, 停用
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
<?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.BZTGMXMapper">
|
||||
|
||||
<!-- 保障提供资源列表结果映射 -->
|
||||
<resultMap id="TeachingSupportResourceMap" type="com.roomroot.jwgl.vo.courserunning.TeachingSupportResourceVO">
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="单位" property="dw"/>
|
||||
<result column="保障类别编号" property="bzlbbh"/>
|
||||
<result column="保障类别名称" property="zzlmc"/>
|
||||
<result column="停用" property="ty"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询保障提供资源列表 -->
|
||||
<select id="selectResourceList" resultMap="TeachingSupportResourceMap">
|
||||
SELECT
|
||||
a.编号 AS 保障提供明细编号,
|
||||
a.名称 AS 保障提供明细名称,
|
||||
a.单位,
|
||||
a.保障类别编号,
|
||||
l.名称 AS 保障类别名称,
|
||||
a.停用,
|
||||
a.备注
|
||||
FROM "保障提供明细" a
|
||||
LEFT JOIN "保障类别" l ON a.保障类别编号 = l.编号
|
||||
WHERE a.停用 = 0
|
||||
<if test="bzlbbh != null and bzlbbh != ''">
|
||||
AND a.保障类别编号 = #{bzlbbh}
|
||||
</if>
|
||||
ORDER BY a.保障类别编号, a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,46 @@
|
||||
<?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.BuildMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXLB">
|
||||
<result column="教学楼代号" property="jxldh" />
|
||||
<result column="教学楼名称" property="jxlmc" />
|
||||
<result column="地点" property="dd" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
<result column="ID" property="id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教学楼代号, 教学楼名称, 地点, 备注, 序号,ID, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学楼表
|
||||
<where>
|
||||
<if test="jxlb.jxldh != null and jxlb.jxldh != ''">
|
||||
AND 教学楼代号 LIKE CONCAT('%', #{jxlb.jxldh}, '%')
|
||||
</if>
|
||||
<if test="jxlb.jxlmc != null and jxlb.jxlmc != ''">
|
||||
AND 教学楼名称 LIKE CONCAT('%', #{jxlb.jxlmc}, '%')
|
||||
</if>
|
||||
<if test="jxlb.dd != null and jxlb.dd != ''">
|
||||
AND 地点 LIKE CONCAT('%', #{jxlb.dd}, '%')
|
||||
</if>
|
||||
<if test="jxlb.id != null and jxlb.id != ''">
|
||||
AND ID = #{jxlb.id}
|
||||
</if>
|
||||
<if test="jxlb.delFlag != null">
|
||||
AND DEL_FLAG = #{jxlb.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
|
||||
<select id="selectMaxXh" resultType="java.lang.String">
|
||||
SELECT MAX(序号) FROM 教学楼表 WHERE DEL_FLAG = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
BIN
Binary file not shown.
+61
@@ -0,0 +1,61 @@
|
||||
<?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.ClassRoomCalendarMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXCDL">
|
||||
<id column="ID" property="id" />
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="可排课" property="kpk" />
|
||||
<result column="日期" property="rq" />
|
||||
<result column="节次" property="jc" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="教室编号" property="jsbh" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
ID, 编号, 名称, 可排课, 日期, 节次, 创建时间, 备注, 教室编号
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学场地历
|
||||
<where>
|
||||
<if test="jxcdl.bh != null and jxcdl.bh != ''">
|
||||
AND 编号 LIKE CONCAT('%', #{jxcdl.bh}, '%')
|
||||
</if>
|
||||
<if test="jxcdl.mc != null and jxcdl.mc != ''">
|
||||
AND 名称 LIKE CONCAT('%', #{jxcdl.mc}, '%')
|
||||
</if>
|
||||
<if test="jxcdl.jsbh != null and jxcdl.jsbh != ''">
|
||||
AND 教室编号 = #{jxcdl.jsbh}
|
||||
</if>
|
||||
<if test="jxcdl.kpk != null">
|
||||
AND 可排课 = #{jxcdl.kpk}
|
||||
</if>
|
||||
<if test="jxcdl.jc != null">
|
||||
AND 节次 = #{jxcdl.jc}
|
||||
</if>
|
||||
<if test="jxcdl.delFlag != null">
|
||||
AND DEL_FLAG = #{jxcdl.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 日期, 节次
|
||||
</select>
|
||||
|
||||
<select id="selectByJsbh" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学场地历
|
||||
WHERE 教室编号 = #{jsbh}
|
||||
ORDER BY 日期, 节次
|
||||
</select>
|
||||
|
||||
<select id="selectByRq" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学场地历
|
||||
WHERE 日期 = #{rq}
|
||||
ORDER BY 节次
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
BIN
Binary file not shown.
+46
@@ -0,0 +1,46 @@
|
||||
<?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.ClassRoomLessonMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JSBKCB">
|
||||
<id column="ID" property="id" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="教室编号" property="jsbh" />
|
||||
<result column="课程表" property="kcb" />
|
||||
<result column="更新时间" property="gxsj" />
|
||||
<result column="编号" property="bh" />
|
||||
<result column="有课表" property="ykb" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
ID, 年度, 教室编号, 课程表, 更新时间, 编号, 有课表
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教室输出课程表
|
||||
<where>
|
||||
<if test="jsbkcb.nd != null">
|
||||
AND 年度 = #{jsbkcb.nd}
|
||||
</if>
|
||||
<if test="jsbkcb.jsbh != null and jsbkcb.jsbh != ''">
|
||||
AND 教室编号 LIKE CONCAT('%', #{jsbkcb.jsbh}, '%')
|
||||
</if>
|
||||
<if test="jsbkcb.ykb != null">
|
||||
AND 有课表 = #{jsbkcb.ykb}
|
||||
</if>
|
||||
<if test="jsbkcb.delFlag != null">
|
||||
AND DEL_FLAG = #{jsbkcb.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 更新时间 DESC
|
||||
</select>
|
||||
|
||||
<select id="selectByJsbhAndNd" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教室输出课程表
|
||||
WHERE 教室编号 = #{jsbh} AND 年度 = #{nd}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,57 @@
|
||||
<?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.ClassRoomMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JSB">
|
||||
<id column="教室编号" property="jsbh" />
|
||||
<result column="教室名称" property="jsmc" />
|
||||
<result column="教学楼代号" property="jxldh" />
|
||||
<result column="容纳人数" property="rnrs" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="设施设备" property="sssb" />
|
||||
<result column="停用" property="ty" />
|
||||
<result column="拼音" property="py" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="额外允许开班数" property="ewyxkbs" />
|
||||
<result column="教学场地类型" property="jxcdlx" />
|
||||
<result column="面积" property="mj" />
|
||||
<result column="考试容纳人数" property="ksrnrs" />
|
||||
<result column="虚实类型" property="xslx" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="ID" property="id" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教室编号, 教室名称, 教学楼代号, 容纳人数, 备注, 设施设备, 停用, 拼音, 序号,
|
||||
额外允许开班数, 教学场地类型, 面积, 考试容纳人数, 虚实类型, 简称, JSONZD, ID, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教室表
|
||||
<where>
|
||||
<if test="jsb.jsbh != null and jsb.jsbh != ''">
|
||||
AND 教室编号 LIKE CONCAT('%', #{jsb.jsbh}, '%')
|
||||
</if>
|
||||
<if test="jsb.jsmc != null and jsb.jsmc != ''">
|
||||
AND 教室名称 LIKE CONCAT('%', #{jsb.jsmc}, '%')
|
||||
</if>
|
||||
<if test="jsb.jxldh != null and jsb.jxldh != ''">
|
||||
AND 教学楼代号 = #{jsb.jxldh}
|
||||
</if>
|
||||
<if test="jsb.jxcdlx != null and jsb.jxcdlx != ''">
|
||||
AND 教学场地类型 = #{jsb.jxcdlx}
|
||||
</if>
|
||||
<if test="jsb.ty != null">
|
||||
AND 停用 = #{jsb.ty}
|
||||
</if>
|
||||
<if test="jsb.delFlag != null">
|
||||
AND DEL_FLAG = #{jsb.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
BIN
Binary file not shown.
+93
@@ -0,0 +1,93 @@
|
||||
<?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.ClassSemesterCalendarMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.XYDRWB">
|
||||
<id column="编号" property="bh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="学员队编号" property="xydbh" />
|
||||
<result column="课编号" property="kbh" />
|
||||
<result column="学期第次" property="xqdc" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="课次序号" property="kcxh" />
|
||||
<result column="教室编号" property="jsbh" />
|
||||
<result column="人数" property="rs" />
|
||||
<result column="周课时" property="zks" />
|
||||
<result column="学时" property="xs" />
|
||||
<result column="课类型" property="klx" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="考试地点" property="ksdd" />
|
||||
<result column="考试编号" property="ksbh" />
|
||||
<result column="选择" property="xz" />
|
||||
<result column="教研室代号" property="jysdh" />
|
||||
<result column="教研室计划教员编号" property="jysjhjybh" />
|
||||
<result column="教研室计划备注" property="jysjhbz" />
|
||||
<result column="计划课次序号" property="jhkcxh" />
|
||||
<result column="序号标识" property="xhbs" />
|
||||
<result column="学员队学期编号" property="xydxqbh" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="学分" property="xf" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="变动时间" property="bdsj" />
|
||||
<result column="课表变动时间" property="kbbdsj" />
|
||||
<result column="考试课时" property="ksks" />
|
||||
<result column="编组" property="bz2" />
|
||||
<result column="成绩分制" property="cjfz" />
|
||||
<result column="不计入学员平均分" property="bjrxypjf" />
|
||||
<result column="理论学时" property="llxs" />
|
||||
<result column="实践学时" property="sjxs" />
|
||||
<result column="考试课时不显示" property="ksksbxs" />
|
||||
<result column="配档序号" property="pdxh" />
|
||||
<result column="配档起始周" property="pdqsz" />
|
||||
<result column="配档按周" property="pdaz" />
|
||||
<result column="配档占正课时间" property="pdzzksj" />
|
||||
<result column="配档编组" property="pdbz" />
|
||||
<result column="配当同班异课选修编组" property="pdtbykxxbz" />
|
||||
<result column="配档自定义学时分布数据" property="pdzdyxsfbsj" />
|
||||
<result column="配档启用自定义学时" property="pdqyzdyxs" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 年度, 学员队编号, 课编号, 学期第次, 教员编号, 课次序号, 教室编号, 人数, 周课时, 学时,
|
||||
课类型, 简称, 考试地点, 考试编号, 选择, 教研室代号, 教研室计划教员编号, 教研室计划备注,
|
||||
计划课次序号, 序号标识, 学员队学期编号, 备注, 学分, 创建时间, 变动时间, 课表变动时间,
|
||||
考试课时, 编组, 成绩分制, 不计入学员平均分, 理论学时, 实践学时, 考试课时不显示,
|
||||
配档序号, 配档起始周, 配档按周, 配档占正课时间, 配档编组, 配当同班异课选修编组,
|
||||
配档自定义学时分布数据, 配档启用自定义学时, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectAllValid" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队任务表
|
||||
<where>
|
||||
<if test="xydrwb.delFlag != null">
|
||||
AND DEL_FLAG = #{xydrwb.delFlag}
|
||||
</if>
|
||||
<if test="xydrwb.xydxqbh != null and xydrwb.xydxqbh != ''">
|
||||
AND 学员队学期编号 = #{xydrwb.xydxqbh}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<delete id="deleteByBcxqBh">
|
||||
DELETE FROM 学员队任务表
|
||||
WHERE 学员队学期编号 = #{bh}
|
||||
</delete>
|
||||
|
||||
<!-- 根据学员队学期编号查询 -->
|
||||
<select id="selectByBcxqbhAndDateRange" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队任务表
|
||||
WHERE 学员队学期编号 = #{xydxqbh}
|
||||
AND DEL_FLAG = 0
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<!-- 根据学员队学期编号删除记录 -->
|
||||
<delete id="deleteOutsideDateRange">
|
||||
DELETE FROM 学员队任务表
|
||||
WHERE 学员队学期编号 = #{xydxqbh}
|
||||
</delete>
|
||||
</mapper>
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,65 @@
|
||||
<?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.ClassSemesterMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.XYDNDXQJBXXB">
|
||||
<id column="编号" property="bh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="学员队编号" property="xydbh" />
|
||||
<result column="开学日期" property="kxrq" />
|
||||
<result column="结束日期" property="jsrq" />
|
||||
<result column="学期第次" property="xqdc" />
|
||||
<result column="专用教室编号" property="zyjsbh" />
|
||||
<result column="教学任务编号" property="jxrwbh" />
|
||||
<result column="变动时间" property="bdsj" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="序号标识" property="xhbs" />
|
||||
<result column="预设编班号" property="ysbbh" />
|
||||
<result column="节次类别" property="jclb" />
|
||||
<result column="系统模式" property="xtms" />
|
||||
<result column="开放教员排课" property="kfjypk" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="分析报告生成时间" property="fxbgscsj" />
|
||||
<result column="分析报告文档1编号" property="fxbgwd1bh" />
|
||||
<result column="分析报告文档2编号" property="fxbgwd2bh" />
|
||||
<result column="分析报告文档3编号" property="fxbgwd3bh" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 年度, 学员队编号, 开学日期, 结束日期, 学期第次, 专用教室编号, 教学任务编号,
|
||||
变动时间, 备注, 序号标识, 预设编班号, 节次类别, 系统模式, 开放教员排课, JSONZD,
|
||||
分析报告生成时间, 分析报告文档1编号, 分析报告文档2编号, 分析报告文档3编号, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队年度学期基本信息表
|
||||
<where>
|
||||
<if test="xydndxqjbxxb.delFlag != null">
|
||||
AND DEL_FLAG = #{xydndxqjbxxb.delFlag}
|
||||
</if>
|
||||
<if test="xydndxqjbxxb.xydbh != null and xydndxqjbxxb.xydbh != ''">
|
||||
AND 学员队编号 LIKE CONCAT('%', #{xydndxqjbxxb.xydbh}, '%')
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<select id="selectAllValid" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队年度学期基本信息表
|
||||
WHERE DEL_FLAG = '0'
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<select id="selectByBcAndNdAndXqdc" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队年度学期基本信息表
|
||||
WHERE 学员队编号 = #{xydbh}
|
||||
AND 年度 = #{nd}
|
||||
AND 学期第次 = #{xqdc}
|
||||
AND DEL_FLAG = '0'
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,54 @@
|
||||
<?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.DBVersionMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DBVersion">
|
||||
<result column="ID" property="iD" />
|
||||
<result column="VersionDate" property="versionDate" />
|
||||
<result column="VersionValue" property="versionValue" />
|
||||
<result column="UniversityName" property="universityName" />
|
||||
<result column="学员队全名称含年级" property="xYDQMCHNJ" />
|
||||
<result column="学期名称样式" property="xQMCYS" />
|
||||
<result column="节次类别" property="jCLB" />
|
||||
<result column="外部文件存储根路径" property="wBWJCCGLJ" />
|
||||
<result column="本站文件访问路径" property="bZWJFWLJ" />
|
||||
<result column="登录失败弹窗" property="dLSBTC" />
|
||||
<result column="允许密码尝试次数" property="yXMMCSCS" />
|
||||
<result column="用户锁定分钟数" property="yHSDFZS" />
|
||||
<result column="允许教研室管理教材" property="yxJYSGLJC" />
|
||||
<result column="使用虚拟教学场地设置班次专用教室" property="sYXNJXCDSZBCZYJS" />
|
||||
<result column="使用虚拟教员设置课程责任教员" property="sYXNJYSZKCZRJY" />
|
||||
<result column="允许多主讲分组教学" property="yXDZJFZJX" />
|
||||
<result column="跟查课录入锁定天数" property="gCKLRSDTS" />
|
||||
<result column="UniversityCode" property="universityCode" />
|
||||
<result column="UniversityValidCode" property="universityValidCode" />
|
||||
<result column="显示78节" property="xS78J" />
|
||||
<result column="显示晚上" property="xSWS" />
|
||||
<result column="显示夜间" property="xSYJ" />
|
||||
<result column="教学要点名称" property="jXYDMC" />
|
||||
<result column="教材导出包含图片" property="jCDCBHTP" />
|
||||
<result column="建立班次学期信息时自动生成教学计划" property="jLBCXQXXSZDSCJXJH" />
|
||||
<result column="成绩报表显示结论成绩" property="cJBBxSJLCJ" />
|
||||
<result column="缺省系统名称" property="qSXTMC" />
|
||||
<result column="Excel课表按开课日期排序" property="excelKBAKKRQPX" />
|
||||
<result column="Excel课表显示实施教员数" property="excelKBxSSSJYS" />
|
||||
<result column="系统模式" property="xTMS" />
|
||||
<result column="课程表标题样式" property="kCBBTYS" />
|
||||
<result column="课程表副标题样式" property="kCBFBTYS" />
|
||||
<result column="大屏显示教学内容" property="dPXSJXNR" />
|
||||
<result column="大屏显示前景标题颜色" property="dPXSQJBTYS" />
|
||||
<result column="大屏显示前景内容颜色" property="dPXSQJNRYS" />
|
||||
<result column="大屏显示背景颜色" property="dPXSBJYS" />
|
||||
<result column="实践课标记" property="sJKBJ" />
|
||||
<result column="三实课标记" property="sSKBJ" />
|
||||
<result column="增加学时标记" property="zJXSBJ" />
|
||||
<result column="减少学时标记" property="jSXSBJ" />
|
||||
<result column="JSONZD" property="jsonZD" />
|
||||
<result column="学员正课请假模板文件编号" property="xYZKQJMBWJBH" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
ID, VersionDate, VersionValue, UniversityName, 学员队全名称含年级, 学期名称样式, 节次类别, 外部文件存储根路径, 本站文件访问路径, 登录失败弹窗, 允许密码尝试次数, 用户锁定分钟数, 允许教研室管理教材, 使用虚拟教学场地设置班次专用教室, 使用虚拟教员设置课程责任教员, 允许多主讲分组教学, 跟查课录入锁定天数, UniversityCode, UniversityValidCode, 显示78节, 显示晚上, 显示夜间, 教学要点名称, 教材导出包含图片, 建立班次学期信息时自动生成教学计划, 成绩报表显示结论成绩, 缺省系统名称, Excel课表按开课日期排序, Excel课表显示实施教员数, 系统模式, 课程表标题样式, 课程表副标题样式, 大屏显示教学内容, 大屏显示前景标题颜色, 大屏显示前景内容颜色, 大屏显示背景颜色, 实践课标记, 三实课标记, 增加学时标记, 减少学时标记, JSONZD, 学员正课请假模板文件编号
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
<?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.DDDLTBBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DDDLTBB">
|
||||
<result column="统一账号" property="tYZH" />
|
||||
<result column="姓名" property="xM" />
|
||||
<result column="是学员" property="sXY" />
|
||||
<result column="单位全称" property="dWQC" />
|
||||
<result column="学员学号" property="xYXH" />
|
||||
<result column="年级" property="nJ" />
|
||||
<result column="班次" property="bC" />
|
||||
<result column="专业" property="zY" />
|
||||
<result column="数据同步时间" property="sjTBSJ" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
统一账号, 姓名, 是学员, 单位全称, 学员学号, 年级, 班次, 专业, 数据同步时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,27 @@
|
||||
<?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.DKSQBZMXMapper">
|
||||
|
||||
<!-- 调课申请-新保障明细结果映射 -->
|
||||
<resultMap id="AdjustSupportMap" type="com.roomroot.jwgl.vo.courserunning.AdjustSupportVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="数量" property="sl"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustSupportMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.保障提供明细编号,
|
||||
m.名称 AS 保障提供明细名称,
|
||||
a.数量,
|
||||
a.备注
|
||||
FROM "调课申请_保障明细" a
|
||||
LEFT JOIN "保障提供明细表" m ON a.保障提供明细编号 = m.编号
|
||||
WHERE a.申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,27 @@
|
||||
<?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.DKSQFZJYMapper">
|
||||
|
||||
<!-- 调课申请-新辅助教员结果映射 -->
|
||||
<resultMap id="AdjustTeacherMap" type="com.roomroot.jwgl.vo.courserunning.AdjustTeacherVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="辅助教员编号" property="fzjybh"/>
|
||||
<result column="辅助教员姓名" property="fzjyxm"/>
|
||||
<result column="主教员" property="zjy"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustTeacherMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.辅助教员编号,
|
||||
t.姓名 AS 辅助教员姓名,
|
||||
a.主教员,
|
||||
a.备注
|
||||
FROM "调课申请_辅助教员" a
|
||||
LEFT JOIN "教员表" t ON a.辅助教员编号 = t.编号
|
||||
WHERE a.调课申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,25 @@
|
||||
<?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.DKSQJSMapper">
|
||||
|
||||
<!-- 调课申请-新教室结果映射 -->
|
||||
<resultMap id="AdjustRoomMap" type="com.roomroot.jwgl.vo.courserunning.AdjustRoomVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="教室编号" property="jsbh"/>
|
||||
<result column="教室名称" property="jsmc"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustRoomMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.教室编号,
|
||||
r.教室名称,
|
||||
a.备注
|
||||
FROM "调课申请_教室" a
|
||||
LEFT JOIN "教室表" r ON a.教室编号 = r.编号
|
||||
WHERE a.调课申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
<?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.DKSQXYDMapper">
|
||||
|
||||
<!-- 调课申请-新学员队结果映射 -->
|
||||
<resultMap id="AdjustTeamMap" type="com.roomroot.jwgl.vo.courserunning.AdjustTeamVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="学员队编号" property="xydbh"/>
|
||||
<result column="学员队名称" property="xydmc"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustTeamMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.学员队编号,
|
||||
d.学员队名称
|
||||
FROM "调课申请_学员队" a
|
||||
LEFT JOIN "学员队表" d ON a.学员队编号 = d.编号
|
||||
WHERE a.调课申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
<?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.DLJLBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DLJLB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="登录信息编号" property="dLXXBH" />
|
||||
<result column="登录时间" property="dLSJ" />
|
||||
<result column="IP地址" property="iPDZ" />
|
||||
<result column="内网IP" property="nWIP" />
|
||||
<result column="事务ID" property="sWID" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 登录信息编号, 登录时间, IP地址, 内网IP, 事务ID
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,27 @@
|
||||
<?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.DLXXBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DLXXB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="用户密码" property="yHMM" />
|
||||
<result column="用户姓名" property="yHXM" />
|
||||
<result column="密码提示问题" property="mMTSWT" />
|
||||
<result column="密码回答问题" property="mMHDWT" />
|
||||
<result column="电话" property="dH" />
|
||||
<result column="上次登录时间" property="sCDLSJ" />
|
||||
<result column="本次登录时间" property="bCDLSJ" />
|
||||
<result column="失败次数" property="sBCS" />
|
||||
<result column="失败时间" property="sBSJ" />
|
||||
<result column="身份证" property="sFZ" />
|
||||
<result column="照片" property="zP" />
|
||||
<result column="账号" property="zH" />
|
||||
<result column="统一账号" property="tYZH" />
|
||||
<result column="自我介绍" property="zWJS" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 用户密码, 用户姓名, 密码提示问题, 密码回答问题, 电话, 上次登录时间, 本次登录时间, 失败次数, 失败时间, 身份证, 照片, 账号, 统一账号, 自我介绍
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,29 @@
|
||||
<?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.DXJSGZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DXJSGZ">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="去除法数量阈值" property="qCFSLYZ" />
|
||||
<result column="高分去除比例" property="gFQCBL" />
|
||||
<result column="低分去除比例" property="dFQCBL" />
|
||||
<result column="整体降分分值线" property="allReduce" />
|
||||
<result column="整体降分数量比例阈值" property="allReduceRatio" />
|
||||
<result column="整体降分系数" property="allReduceFactor" />
|
||||
<result column="整体加分分值线" property="allPlus" />
|
||||
<result column="整体加分数量比例阈值" property="allPlusRatio" />
|
||||
<result column="整体加分系数" property="allPlusFactor" />
|
||||
<result column="优先加分" property="yXJF" />
|
||||
<result column="修改时间" property="xGSJ" />
|
||||
<result column="状态" property="zT" />
|
||||
<result column="生效时间" property="sXSJ" />
|
||||
<result column="废弃时间" property="fQSJ" />
|
||||
<result column="满分" property="mF" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 去除法数量阈值, 高分去除比例, 低分去除比例, 整体降分分值线, 整体降分数量比例阈值, 整体降分系数, 整体加分分值线, 整体加分数量比例阈值, 整体加分系数, 优先加分, 修改时间, 状态, 生效时间, 废弃时间, 满分
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
<?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.GKLDLBZBBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.GKLDLBZBB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="禁用状态" property="jYZT" />
|
||||
<result column="指标单位" property="zBDW" />
|
||||
<result column="指标量" property="zBL" />
|
||||
<result column="备注" property="bZ" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 禁用状态, 指标单位, 指标量, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
<?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.JGMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JG">
|
||||
<result column="年度" property="nD" />
|
||||
<result column="学员队编号" property="xYDBH" />
|
||||
<result column="课编号" property="kBH" />
|
||||
<result column="学期第次" property="xQDC" />
|
||||
<result column="教员编号" property="jYBH" />
|
||||
<result column="课次序号" property="kCXH" />
|
||||
<result column="教室编号" property="jSBH" />
|
||||
<result column="人数" property="rS" />
|
||||
<result column="周课时" property="zKS" />
|
||||
<result column="学时" property="xS" />
|
||||
<result column="课类型" property="kLX" />
|
||||
<result column="简称" property="jC" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
年度, 学员队编号, 课编号, 学期第次, 教员编号, 课次序号, 教室编号, 人数, 周课时, 学时, 课类型, 简称
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
<?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.JSZWKSFBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JSZWKSFBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="技术职务编号" property="jszwbh" />
|
||||
<result column="课时费标准编号" property="ksfbzbh" />
|
||||
<result column="标准课时量" property="bzksl" />
|
||||
<result column="课时费" property="ksf" />
|
||||
<result column="超量课时费" property="clksf" />
|
||||
<result column="备注" property="bz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 技术职务编号, 课时费标准编号, 标准课时量, 课时费, 超量课时费, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,29 @@
|
||||
<?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.JXRZJYKSBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXRZJYKSBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教学日志课时补助审批编号" property="jxrzksbzspbh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="技术职务编号" property="jszwbh" />
|
||||
<result column="是否优质" property="sfyz" />
|
||||
<result column="课程科目编号" property="kckmbh" />
|
||||
<result column="非课程任务名称" property="fkcrwmc" />
|
||||
<result column="课时量" property="ksl" />
|
||||
<result column="基本标准" property="jbbz" />
|
||||
<result column="增发标准" property="zfbz" />
|
||||
<result column="课时补助金额" property="ksbzje" />
|
||||
<result column="培训期班" property="pxqb" />
|
||||
<result column="部系名称" property="bxmc" />
|
||||
<result column="教研室名称" property="jysmc" />
|
||||
<result column="教学学时" property="jxxs" />
|
||||
<result column="主讲" property="zj" />
|
||||
<result column="讲授方式" property="jsfs" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教学日志课时补助审批编号, 教员编号, 技术职务编号, 是否优质, 课程科目编号, 非课程任务名称, 课时量, 基本标准, 增发标准, 课时补助金额, 培训期班, 部系名称, 教研室名称, 教学学时, 主讲, 讲授方式
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
<?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.JXRZKSBZSPBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXRZKSBZSPB">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="核算开始日期" property="hsksrq" />
|
||||
<result column="核算结束日期" property="hsjsrq" />
|
||||
<result column="总课时量" property="zksl" />
|
||||
<result column="优质课时量" property="yzksl" />
|
||||
<result column="总补助金额" property="zbzje" />
|
||||
<result column="优质课时量最高比例" property="yzkslzgbl" />
|
||||
<result column="优质课时量比例" property="yzkslbl" />
|
||||
<result column="课时补助标准编号" property="ksbzbzbh" />
|
||||
<result column="课时核算标准编号" property="kshsbzbh" />
|
||||
<result column="核算日期" property="hsrq" />
|
||||
<result column="状态" property="zt" />
|
||||
<result column="任务类别" property="rwlb" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 核算开始日期, 核算结束日期, 总课时量, 优质课时量, 总补助金额,
|
||||
优质课时量最高比例, 优质课时量比例, 课时补助标准编号, 课时核算标准编号,
|
||||
核算日期, 状态, 任务类别
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM "教学日志课时补助审批表"
|
||||
WHERE 1=1
|
||||
<if test="cond.zt != null and cond.zt != ''">
|
||||
AND 状态 = #{cond.zt}
|
||||
</if>
|
||||
<if test="cond.rwlb != null and cond.rwlb != ''">
|
||||
AND 任务类别 = #{cond.rwlb}
|
||||
</if>
|
||||
ORDER BY 核算日期 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
<?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.JXRZXYXXQKMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXRZXYXXQK">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教学日志编号" property="jxrzbh" />
|
||||
<result column="学员编号" property="xybh" />
|
||||
<result column="学习效果" property="xyxg" />
|
||||
<result column="学习情况" property="xxqk" />
|
||||
<result column="到课情况" property="dkqk" />
|
||||
<result column="请假情况" property="qjqk" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教学日志编号, 学员编号, 学习效果, 学习情况, 到课情况, 请假情况
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -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.JXSSJHTJBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXSSJHTJB">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="日期" property="rq" />
|
||||
<result column="节次" property="jc" />
|
||||
<result column="总学时" property="zxs" />
|
||||
<result column="总节次" property="zjc" />
|
||||
<result column="已办理计划调整数" property="ybljhdzs" />
|
||||
<result column="调课数" property="dks" />
|
||||
<result column="教学日志填写数" property="jxrztxs" />
|
||||
<result column="已审核教学日志数" property="yshjxrzs" />
|
||||
<result column="听查课数" property="tcks" />
|
||||
<result column="教学督导数" property="jxdds" />
|
||||
<result column="开课课程门数" property="kkkcms" />
|
||||
<result column="课程考核次数" property="kckhcs" />
|
||||
<result column="动用教学场地数" property="dyjxcds" />
|
||||
<result column="上课教员数" property="skjys" />
|
||||
<result column="教学班次数" property="jxbcs" />
|
||||
<result column="实体教学班次数" property="stjxbcs" />
|
||||
<result column="选修教学班次数" property="xxjxbcs" />
|
||||
<result column="学员总人数" property="xyzrs" />
|
||||
<result column="教学请假人次" property="jxqjrc" />
|
||||
<result column="教学请假学员人数" property="jxqjxyrs" />
|
||||
<result column="缺课人次" property="qkrc" />
|
||||
<result column="缺课人数" property="qkrs" />
|
||||
<result column="已请假缺课人次" property="yqjqkrc" />
|
||||
<result column="已请假缺课人数" property="yqjqkrs" />
|
||||
<result column="未请假缺课人次" property="wqjqkrc" />
|
||||
<result column="未请假缺课人数" property="wqjqkrs" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 日期, 节次, 总学时, 总节次, 已办理计划调整数, 调课数, 教学日志填写数, 已审核教学日志数, 听查课数, 教学督导数, 开课课程门数, 课程考核次数, 动用教学场地数, 上课教员数, 教学班次数, 实体教学班次数, 选修教学班次数, 学员总人数, 教学请假人次, 教学请假学员人数, 缺课人次, 缺课人数, 已请假缺课人次, 已请假缺课人数, 未请假缺课人次, 未请假缺课人数, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,95 @@
|
||||
<?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.JYBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYB">
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="教员姓名" property="jyxm" />
|
||||
<result column="教研室代号" property="jysdh" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="职称" property="zc" />
|
||||
<result column="离职状态" property="lzzt" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="专业技术职务等级" property="zyjszwdj" />
|
||||
<result column="虚实类型" property="xslx" />
|
||||
<result column="教员类别" property="jylb" />
|
||||
<result column="卡号" property="kh" />
|
||||
<result column="拼音" property="py" />
|
||||
<result column="在职类别" property="zzlb" />
|
||||
<result column="额外允许开班数" property="ewyxkbs" />
|
||||
<result column="手机号" property="sjh" />
|
||||
<result column="导师类别" property="dslb" />
|
||||
<result column="学缘" property="xy" />
|
||||
<result column="身份证号" property="sfzh" />
|
||||
<result column="性别" property="xb" />
|
||||
<result column="外训教员" property="wxjy" />
|
||||
<result column="外训译员" property="wxyy" />
|
||||
<result column="政治类教员" property="zzljy" />
|
||||
<result column="序号标识" property="xhbs" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="专业技术职务等级时间" property="zyjszwdjsj" />
|
||||
<result column="职称时间" property="zcsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教员编号, 教员姓名, 教研室代号, 备注, 职称, 离职状态, 序号, 专业技术职务等级,
|
||||
虚实类型, 教员类别, 卡号, 拼音, 在职类别, 额外允许开班数, 手机号, 导师类别,
|
||||
学缘, 身份证号, 性别, 外训教员, 外训译员, 政治类教员, 序号标识, JSONZD,
|
||||
专业技术职务等级时间, 职称时间
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教员列表 -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教员表"
|
||||
WHERE 离职状态=0
|
||||
<if test="jyb.jyxm != null and jyb.jyxm != ''">
|
||||
AND 教员姓名 LIKE CONCAT('%', #{jyb.jyxm}, '%')
|
||||
</if>
|
||||
<if test="jyb.jysdh != null and jyb.jysdh != ''">
|
||||
AND 教研室代号 = #{jyb.jysdh}
|
||||
</if>
|
||||
<if test="jyb.zc != null and jyb.zc != ''">
|
||||
AND 职称 LIKE CONCAT('%', #{jyb.zc}, '%')
|
||||
</if>
|
||||
<if test="jyb.jylb != null and jyb.jylb != ''">
|
||||
AND 教员类别 = #{jyb.jylb}
|
||||
</if>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
<!-- 教员列表双表联查分页(教员表 LEFT JOIN 教员属性 LEFT JOIN 教研室表) -->
|
||||
<select id="selectTeacherPageList" resultType="com.roomroot.jwgl.vo.faculty.TeacherListVO">
|
||||
SELECT
|
||||
t."序号" AS xh,
|
||||
t."教员编号" AS jybh,
|
||||
j."教研室名称" AS jysmc,
|
||||
t."教员姓名" AS jyxm,
|
||||
t."性别" AS xb,
|
||||
s."出生时间" AS cssj,
|
||||
t."职称" AS zc,
|
||||
s."学历" AS xl,
|
||||
s."学位" AS xw,
|
||||
s."入伍工作时间" AS rwgzsj,
|
||||
t."手机号" AS sjh,
|
||||
t."虚实类型" AS xslx
|
||||
FROM "教员表" t
|
||||
LEFT JOIN "教员属性" s ON s."教员编号" = t."教员编号"
|
||||
LEFT JOIN "教研室表" j ON j."教研室代号" = t."教研室代号"
|
||||
WHERE t."离职状态" = 0
|
||||
<if test="jyb.jyxm != null and jyb.jyxm != ''">
|
||||
AND t."教员姓名" LIKE CONCAT('%', #{jyb.jyxm}, '%')
|
||||
</if>
|
||||
<if test="jyb.jysdh != null and jyb.jysdh != ''">
|
||||
AND t."教研室代号" = #{jyb.jysdh}
|
||||
</if>
|
||||
<if test="jyb.zc != null and jyb.zc != ''">
|
||||
AND t."职称" LIKE CONCAT('%', #{jyb.zc}, '%')
|
||||
</if>
|
||||
<if test="jyb.jylb != null and jyb.jylb != ''">
|
||||
AND t."教员类别" = #{jyb.jylb}
|
||||
</if>
|
||||
ORDER BY t."序号"
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,17 @@
|
||||
<?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.JYKSBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYKSBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="补助项目编号" property="bzxmbh" />
|
||||
<result column="补助课时量" property="bzksl" />
|
||||
<result column="备注" property="bz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教员编号, 补助项目编号, 补助课时量, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,39 @@
|
||||
<?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.JYNZKSFMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYNZKSF">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="年终课时费编号" property="nzksfbh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="技术职务编号" property="jszwbh" />
|
||||
<result column="绩效评定等级" property="jxpddj" />
|
||||
<result column="上学期课时量" property="sxqksl" />
|
||||
<result column="下学期课时量" property="xxqksl" />
|
||||
<result column="上学期实际教学课时量" property="sxqsjjxksl" />
|
||||
<result column="上学期补助教学课时量" property="sxqbzjxksl" />
|
||||
<result column="上学期相关教学课时量" property="sxqxgjxksl" />
|
||||
<result column="上学期不计酬劳课时量" property="sxqbjclksl" />
|
||||
<result column="下学期实际教学课时量" property="xxqsjjxksl" />
|
||||
<result column="下学期补助教学课时量" property="xxqbzjxksl" />
|
||||
<result column="下学期相关教学课时量" property="xxqxgjxksl" />
|
||||
<result column="下学期不计酬劳课时量" property="xxqbjclksl" />
|
||||
<result column="教学课时量" property="jxksl" />
|
||||
<result column="上学期教学课时量" property="sxqjxksl" />
|
||||
<result column="下学期教学课时量" property="xxqjxksl" />
|
||||
<result column="总计课时量" property="zjksl" />
|
||||
<result column="实际教学课时量" property="sjjxksl" />
|
||||
<result column="补助教学课时量" property="bzjxksl" />
|
||||
<result column="相关教学课时量" property="xgjxksl" />
|
||||
<result column="不计酬劳课时量" property="bjclksl" />
|
||||
<result column="超课时量" property="cksl" />
|
||||
<result column="计算公式" property="jsgs" />
|
||||
<result column="课时费" property="ksf" />
|
||||
<result column="备注" property="bz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 年终课时费编号, 教员编号, 技术职务编号, 绩效评定等级, 上学期课时量, 下学期课时量, 上学期实际教学课时量, 上学期补助教学课时量, 上学期相关教学课时量, 上学期不计酬劳课时量, 下学期实际教学课时量, 下学期补助教学课时量, 下学期相关教学课时量, 下学期不计酬劳课时量, 教学课时量, 上学期教学课时量, 下学期教学课时量, 总计课时量, 实际教学课时量, 补助教学课时量, 相关教学课时量, 不计酬劳课时量, 超课时量, 计算公式, 课时费, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -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.JYSBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYSB">
|
||||
<result column="教研室代号" property="jysdh" />
|
||||
<result column="教研室名称" property="jysmc" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="停用" property="ty" />
|
||||
<result column="停用时间" property="tysj" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="部系" property="bx" />
|
||||
<result column="虚实类型" property="xslx" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="机关性质" property="jgxz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教研室代号, 教研室名称, 备注, 停用, 停用时间, 序号, 部系, 虚实类型, 简称, 机关性质
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教研室列表(支持条件筛选) -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教研室表"
|
||||
WHERE 1=1
|
||||
<if test="jysb.jysdh != null and jysb.jysdh != ''">
|
||||
AND 教研室代号 LIKE CONCAT('%', #{jysb.jysdh}, '%')
|
||||
</if>
|
||||
<if test="jysb.jysmc != null and jysb.jysmc != ''">
|
||||
AND 教研室名称 LIKE CONCAT('%', #{jysb.jysmc}, '%')
|
||||
</if>
|
||||
<if test="jysb.bx != null and jysb.bx != ''">
|
||||
AND 部系 LIKE CONCAT('%', #{jysb.bx}, '%')
|
||||
</if>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
<?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.JYSCKCBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYSCKCB">
|
||||
<result column="年度" property="nd" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="课程表" property="kcb" />
|
||||
<result column="更新时间" property="gxsj" />
|
||||
<result column="编号" property="bh" />
|
||||
<result column="有课表" property="ykb" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
年度, 教员编号, 课程表, 更新时间, 编号, 有课表
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教员输出课程表列表 -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教员输出课程表"
|
||||
WHERE 1=1
|
||||
<if test="jysckcb.jybh != null and jysckcb.jybh != ''">
|
||||
AND 教员编号 = #{jysckcb.jybh}
|
||||
</if>
|
||||
<if test="jysckcb.nd != null">
|
||||
AND 年度 = #{jysckcb.nd}
|
||||
</if>
|
||||
<if test="jysckcb.ykb != null">
|
||||
AND 有课表 = #{jysckcb.ykb}
|
||||
</if>
|
||||
ORDER BY 年度 DESC, 教员编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,49 @@
|
||||
<?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.JYSXMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYSX">
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="主任" property="zr" />
|
||||
<result column="职务" property="zw" />
|
||||
<result column="职务时间" property="zwsj" />
|
||||
<result column="技术职务" property="jszw" />
|
||||
<result column="技术职务时间" property="jszwsj" />
|
||||
<result column="技术等级" property="jsdj" />
|
||||
<result column="技术等级时间" property="jsdjsj" />
|
||||
<result column="军衔文职" property="jxwz" />
|
||||
<result column="军衔文职时间" property="jxwzsj" />
|
||||
<result column="出生时间" property="cssj" />
|
||||
<result column="学历" property="xl" />
|
||||
<result column="学位" property="xw" />
|
||||
<result column="入伍工作时间" property="rwgzsj" />
|
||||
<result column="任代职经历" property="rdzjl" />
|
||||
<result column="发表论文" property="fblw" />
|
||||
<result column="教龄" property="jl" />
|
||||
<result column="教龄计算日期" property="jljsrq" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教员编号, 主任, 职务, 职务时间, 技术职务, 技术职务时间, 技术等级, 技术等级时间,
|
||||
军衔文职, 军衔文职时间, 出生时间, 学历, 学位, 入伍工作时间, 任代职经历,
|
||||
发表论文, 教龄, 教龄计算日期
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教员属性列表 -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教员属性"
|
||||
WHERE 1=1
|
||||
<if test="jysx.jybh != null and jysx.jybh != ''">
|
||||
AND 教员编号 = #{jysx.jybh}
|
||||
</if>
|
||||
<if test="jysx.xl != null and jysx.xl != ''">
|
||||
AND 学历 LIKE CONCAT('%', #{jysx.xl}, '%')
|
||||
</if>
|
||||
<if test="jysx.xw != null and jysx.xw != ''">
|
||||
AND 学位 LIKE CONCAT('%', #{jysx.xw}, '%')
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
<?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.JZGZLMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JZGZL">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="学期" property="xq" />
|
||||
<result column="课程教学工作量" property="kcjxgzl" />
|
||||
<result column="科研学术工作量" property="kyxsgzl" />
|
||||
<result column="指导学员工作量" property="zdyxgzl" />
|
||||
<result column="教学建设工作量" property="jxjssgzl" />
|
||||
<result column="咨询服务工作量" property="zxfwgzl" />
|
||||
<result column="总工作量" property="zgzl" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教员编号, 年度, 学期, 课程教学工作量, 科研学术工作量, 指导学员工作量, 教学建设工作量, 咨询服务工作量, 总工作量, 创建时间, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,48 @@
|
||||
<?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.KBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KB">
|
||||
<id column="课编号" property="kbh" />
|
||||
<result column="课名称" property="kmc" />
|
||||
<result column="教研室代号" property="jysdh" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="学分" property="xf" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="学时" property="xs" />
|
||||
<result column="培训层次" property="pxcc" />
|
||||
<result column="培训类型" property="pxlx" />
|
||||
<result column="课程类型" property="kclx" />
|
||||
<result column="考试课时" property="ksks" />
|
||||
<result column="拼音" property="py" />
|
||||
<result column="规范名称" property="gfmc" />
|
||||
<result column="成绩分制" property="cjfz" />
|
||||
<result column="不计入学员平均分" property="bjrxypjf" />
|
||||
<result column="教学管理部门编号" property="jxglbmbh" />
|
||||
<result column="理论学时" property="llxs" />
|
||||
<result column="实践学时" property="sjxs" />
|
||||
<result column="科目代码" property="kmdm" />
|
||||
<result column="周课时" property="zks" />
|
||||
<result column="课类型" property="klx" />
|
||||
<result column="考试课时不显示" property="ksksbxs" />
|
||||
<result column="课程统一编号" property="kctybh" />
|
||||
<result column="适用对象" property="sydx" />
|
||||
<result column="辅导答疑课时" property="fddyks" />
|
||||
<result column="自修课时" property="zxks" />
|
||||
<result column="版本" property="bb" />
|
||||
<result column="修订日期" property="xdrq" />
|
||||
<result column="序号标识" property="xhbs" />
|
||||
<result column="节次优选级" property="jcyxj" />
|
||||
<result column="课程支持方式" property="kczcfs" />
|
||||
<result column="课程建设方式" property="kcjsfs" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="政治类课程" property="zzlkc" />
|
||||
<result column="考核方式" property="khfs" />
|
||||
<result column="形成性成绩分值" property="xcxcjfz" />
|
||||
<result column="终结性成绩分值" property="zjxcjfz" />
|
||||
<result column="密级" property="mj" />
|
||||
<result column="评选情况" property="pxqk" />
|
||||
</resultMap>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,113 @@
|
||||
<?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.KCBBZMXMapper">
|
||||
|
||||
<!-- 教学保障计划列表结果映射 -->
|
||||
<resultMap id="TeachingSupportPlanMap" type="com.roomroot.jwgl.vo.courserunning.TeachingSupportPlanVO">
|
||||
<result column="保障明细编号" property="kcbbzmxbh"/>
|
||||
<result column="课次编号" property="sskcbbh"/>
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="单位" property="dw"/>
|
||||
<result column="保障类别名称" property="zzlmc"/>
|
||||
<result column="年度" property="nd"/>
|
||||
<result column="数量" property="sl"/>
|
||||
<result column="备注" property="bz"/>
|
||||
<result column="确认状态" property="qrzt"/>
|
||||
<result column="确认人编号" property="qrrbh"/>
|
||||
<result column="确认人姓名" property="qrrxm"/>
|
||||
<result column="确认时间" property="qrsj"/>
|
||||
<result column="确认备注" property="qrbz"/>
|
||||
<result column="创建时间" property="cjsj"/>
|
||||
<result column="更新时间" property="updateTime"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 教学保障历史联想结果映射 -->
|
||||
<resultMap id="TeachingSupportHistoryMap" type="com.roomroot.jwgl.vo.courserunning.TeachingSupportHistoryVO">
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="单位" property="dw"/>
|
||||
<result column="保障类别编号" property="bzlbbh"/>
|
||||
<result column="保障类别名称" property="zzlmc"/>
|
||||
<result column="使用次数" property="syscs"/>
|
||||
<result column="最近时间" property="zjsj"/>
|
||||
<result column="平均数量" property="pjsl"/>
|
||||
<result column="最近数量" property="zjsl"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 根据实施_课程编号查询历史登记过的保障物资(历史联想) -->
|
||||
<select id="selectHistoryBySskcbh" resultMap="TeachingSupportHistoryMap">
|
||||
SELECT
|
||||
a.保障提供明细编号 AS 保障提供明细编号,
|
||||
m.名称 AS 保障提供明细名称,
|
||||
m.单位,
|
||||
m.保障类别编号,
|
||||
l.名称 AS 保障类别名称,
|
||||
COUNT(a.编号) AS 使用次数,
|
||||
MAX(a.创建时间) AS 最近时间,
|
||||
CAST(ROUND(AVG(a.数量), 0) AS INT) AS 平均数量,
|
||||
MAX(a.数量) KEEP (DENSE_RANK LAST ORDER BY a.创建时间) AS 最近数量
|
||||
FROM "课程表_保障明细" a
|
||||
INNER JOIN "实施_课程表" b ON a.课程表编号 = b.编号
|
||||
LEFT JOIN "保障提供明细" m ON a.保障提供明细编号 = m.编号
|
||||
LEFT JOIN "保障类别" l ON m.保障类别编号 = l.编号
|
||||
WHERE b.实施_课程编号 = #{sskcbh}
|
||||
AND a.课程表编号 != #{sskcbbh}
|
||||
GROUP BY
|
||||
a.保障提供明细编号,
|
||||
m.名称,
|
||||
m.单位,
|
||||
m.保障类别编号,
|
||||
l.名称
|
||||
ORDER BY 使用次数 DESC, 最近时间 DESC
|
||||
</select>
|
||||
|
||||
<!-- 根据课次编号查询教学保障计划列表 -->
|
||||
<select id="selectBySskcbbh" resultMap="TeachingSupportPlanMap">
|
||||
SELECT
|
||||
a.编号 AS 保障明细编号,
|
||||
a.课程表编号 AS 课次编号,
|
||||
a.保障提供明细编号,
|
||||
m.名称 AS 保障提供明细名称,
|
||||
m.单位,
|
||||
l.名称 AS 保障类别名称,
|
||||
a.年度,
|
||||
a.数量,
|
||||
a.备注,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN 1
|
||||
ELSE 0
|
||||
END AS 确认状态,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
REGEXP_SUBSTR(a.备注, '"confirmedBy":"([^"]*)"', 1, 1, NULL, 1)
|
||||
ELSE NULL
|
||||
END AS 确认人编号,
|
||||
t.姓名 AS 确认人姓名,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
TO_DATE(REGEXP_SUBSTR(a.备注, '"confirmedAt":"([^"]*)"', 1, 1, NULL, 1), 'YYYY-MM-DD HH24:MI:SS')
|
||||
ELSE NULL
|
||||
END AS 确认时间,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
REGEXP_SUBSTR(a.备注, '"confirmRemark":"([^"]*)"', 1, 1, NULL, 1)
|
||||
ELSE NULL
|
||||
END AS 确认备注,
|
||||
a.创建时间,
|
||||
a.update_time AS 更新时间
|
||||
FROM "课程表_保障明细" a
|
||||
LEFT JOIN "保障提供明细" m ON a.保障提供明细编号 = m.编号
|
||||
LEFT JOIN "保障类别" l ON m.保障类别编号 = l.编号
|
||||
LEFT JOIN "教员表" t ON (
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
REGEXP_SUBSTR(a.备注, '"confirmedBy":"([^"]*)"', 1, 1, NULL, 1)
|
||||
ELSE NULL
|
||||
END
|
||||
) = t.编号
|
||||
WHERE a.课程表编号 = #{sskcbbh}
|
||||
ORDER BY a.创建时间 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,59 @@
|
||||
<?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.KCBMBBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KCBMBB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="模版名称" property="mBMC" />
|
||||
<result column="标题位置" property="bTWZ" />
|
||||
<result column="专业信息位置" property="zYXXWZ" />
|
||||
<result column="课表时间行号" property="kBSJHH" />
|
||||
<result column="显示夜间" property="xSYJ" />
|
||||
<result column="末尾列位置" property="mWLWZ" />
|
||||
<result column="课程行位置" property="kCHWZ" />
|
||||
<result column="课程序号列位置" property="kCXHLWZ" />
|
||||
<result column="课程名称列位置" property="kCMCLWZ" />
|
||||
<result column="课程简称列位置" property="kCJCLWZ" />
|
||||
<result column="课程学时列位置" property="kCXSLWZ" />
|
||||
<result column="课程类型列位置" property="kCLXLWZ" />
|
||||
<result column="课程责任教研室列位置" property="kCZRJYSLWZ" />
|
||||
<result column="课程责任教员列位置" property="kCZRJYLWZ" />
|
||||
<result column="课程授课教员列位置" property="kCSKJYLWZ" />
|
||||
<result column="课程人数列位置" property="kCRSLWZ" />
|
||||
<result column="课程场地列位置" property="kCCDLWZ" />
|
||||
<result column="全局备注位置" property="qJBZWZ" />
|
||||
<result column="更新时间" property="gXSJ" />
|
||||
<result column="上传者" property="sCZ" />
|
||||
<result column="备注" property="bZ" />
|
||||
<result column="模版" property="mB" />
|
||||
<result column="模版存在" property="mBCZ" />
|
||||
<result column="模版可用" property="mBKY" />
|
||||
<result column="备注纵向样式" property="bZZXYS" />
|
||||
<result column="无课站位字符" property="wKZWZF" />
|
||||
<result column="队别位置" property="dBWZ" />
|
||||
<result column="课程合班信息位置" property="kCHBXXWZ" />
|
||||
<result column="标题格式" property="bTGS" />
|
||||
<result column="副标题格式" property="fBTGS" />
|
||||
<result column="专用教室位置" property="zYJSWZ" />
|
||||
<result column="附加备注1位置" property="fJBZ1WZ" />
|
||||
<result column="附加备注2位置" property="fJBZ2WZ" />
|
||||
<result column="课表样式" property="kBYS" />
|
||||
<result column="课表包含选修" property="kBBHXX" />
|
||||
<result column="纵向显示78节" property="zXXS78J" />
|
||||
<result column="纵向显示晚上" property="zXXSWS" />
|
||||
<result column="纵向显示天数" property="zXXSTS" />
|
||||
<result column="课程全部场地列位置" property="kCQBCDLWZ" />
|
||||
<result column="课程表样式" property="kCBYS" />
|
||||
<result column="课程主讲教员列位置" property="kCZJJYLWZ" />
|
||||
<result column="课程辅导教员列位置" property="kCFDJYLWZ" />
|
||||
<result column="课程周次范围列位置" property="kCZCFWLWZ" />
|
||||
<result column="课程表起始列位置" property="kCBQSLWZ" />
|
||||
<result column="课程表一周正课天数" property="kCBYZZKTS" />
|
||||
<result column="JSONZD" property="jsonZD" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 模版名称, 标题位置, 专业信息位置, 课表时间行号, 显示夜间, 末尾列位置, 课程行位置, 课程序号列位置, 课程名称列位置, 课程简称列位置, 课程学时列位置, 课程类型列位置, 课程责任教研室列位置, 课程责任教员列位置, 课程授课教员列位置, 课程人数列位置, 课程场地列位置, 全局备注位置, 更新时间, 上传者, 备注, 模版, 模版存在, 模版可用, 备注纵向样式, 无课站位字符, 队别位置, 课程合班信息位置, 标题格式, 副标题格式, 专用教室位置, 附加备注1位置, 附加备注2位置, 课表样式, 课表包含选修, 纵向显示78节, 纵向显示晚上, 纵向显示天数, 课程全部场地列位置, 课程表样式, 课程主讲教员列位置, 课程辅导教员列位置, 课程周次范围列位置, 课程表起始列位置, 课程表一周正课天数, JSONZD
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,55 @@
|
||||
<?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.KCBZMapper">
|
||||
|
||||
<!-- 课程标准结果映射 -->
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KCBZ">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="课编号" property="kbh"/>
|
||||
<result column="名称" property="mc"/>
|
||||
<result column="适用专业" property="syzy"/>
|
||||
<result column="课次数" property="kcs"/>
|
||||
<result column="备注" property="bz"/>
|
||||
<result column="执行人编号" property="zxrbh"/>
|
||||
<result column="执行时间" property="zxsj"/>
|
||||
<result column="执行状态" property="zxzt"/>
|
||||
<result column="上报状态" property="sbzt"/>
|
||||
<result column="上报时间" property="sbsj"/>
|
||||
<result column="上报人编号" property="sbrbh"/>
|
||||
<result column="撤回原因" property="chyy"/>
|
||||
<result column="正文" property="zw"/>
|
||||
<result column="JSONZD" property="jsonzd"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询列 -->
|
||||
<sql id="Base_Column_List">
|
||||
编号, 课编号, 名称, 适用专业, 课次数, 备注, 执行人编号, 执行时间,
|
||||
执行状态, 上报状态, 上报时间, 上报人编号, 撤回原因, 正文, JSONZD
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询(支持按课编号精确、名称和适用专业模糊匹配) -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT *
|
||||
FROM 课程标准
|
||||
WHERE 撤回原因 IS NULL
|
||||
<if test="kcbz.kbh != null and kcbz.kbh != ''">
|
||||
AND 课编号 = #{kcbz.kbh}
|
||||
</if>
|
||||
<if test="kcbz.mc != null and kcbz.mc != ''">
|
||||
AND 名称 LIKE CONCAT('%', #{kcbz.mc}, '%')
|
||||
</if>
|
||||
<if test="kcbz.syzy != null and kcbz.syzy != ''">
|
||||
AND 适用专业 LIKE CONCAT('%', #{kcbz.syzy}, '%')
|
||||
</if>
|
||||
ORDER BY 课编号, 编号
|
||||
</select>
|
||||
|
||||
<!-- 查询某课程的所有版本 -->
|
||||
<select id="selectVersionsByCourse" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"/>
|
||||
FROM 课程标准
|
||||
WHERE 课编号 = #{kbh}
|
||||
ORDER BY 编号 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
<?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.KCJXYX_CZRZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KCJXYX_CZRZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="统一编号" property="tybh" />
|
||||
<result column="操作类型" property="czlx" />
|
||||
<result column="操作内容" property="cznr" />
|
||||
<result column="操作人编号" property="czrbh" />
|
||||
<result column="操作时间" property="czsj" />
|
||||
<result column="操作IP" property="czip" />
|
||||
<result column="原数据快照" property="ysjkz" />
|
||||
<result column="新数据快照" property="xsjkz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 统一编号, 操作类型, 操作内容, 操作人编号, 操作时间, 操作IP, 原数据快照, 新数据快照
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,14 @@
|
||||
<?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.KLXBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KLXB">
|
||||
<result column="课类型" property="kLX" />
|
||||
<result column="备注" property="bZ" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
课类型, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
<?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.KSBZXMMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSBZXM">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="性质" property="xz" />
|
||||
<result column="依据" property="yj" />
|
||||
<result column="开始日期" property="ksrq" />
|
||||
<result column="结束日期" property="jsrq" />
|
||||
<result column="天数" property="ts" />
|
||||
<result column="基本课时量" property="jbksl" />
|
||||
<result column="课时类型" property="kslx" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
<result column="提交人账号" property="tjrzh" />
|
||||
<result column="提交状态" property="tjzt" />
|
||||
<result column="提交时间" property="tjsj" />
|
||||
<result column="审批人编号" property="sprbh" />
|
||||
<result column="审批状态" property="spzt" />
|
||||
<result column="审批时间" property="spsj" />
|
||||
<result column="项目类型" property="xmlx" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 性质, 依据, 开始日期, 结束日期, 天数, 基本课时量, 课时类型, 说明, 备注, 创建时间, 修改时间, 提交人账号, 提交状态, 提交时间, 审批人编号, 审批状态, 审批时间, 项目类型
|
||||
</sql>
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,27 @@
|
||||
<?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.KSFBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSFBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="默认标准课时量" property="mrbzksl" />
|
||||
<result column="默认课时费标准" property="mrksfbz" />
|
||||
<result column="默认超量课时费标准" property="mrclksfbz" />
|
||||
<result column="相关教学补助课时费标准" property="xgjxbzksfbz" />
|
||||
<result column="绩效优秀补助" property="jxyxbz" />
|
||||
<result column="绩效良好补助" property="jxlhbz" />
|
||||
<result column="绩效中等补助" property="jxzdbz" />
|
||||
<result column="绩效及格补助" property="jxjgbz" />
|
||||
<result column="绩效不及格补助" property="jxbjgbz" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 默认标准课时量, 默认课时费标准, 默认超量课时费标准, 相关教学补助课时费标准, 绩效优秀补助, 绩效良好补助, 绩效中等补助, 绩效及格补助, 绩效不及格补助, 说明, 备注, 创建时间, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?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.KSHBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSHBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="主讲教师课时系数" property="zjjyksxs" />
|
||||
<result column="辅讲教师课时系数" property="fjjyksxs" />
|
||||
<result column="讲授方式系数" property="jsfsxs" />
|
||||
<result column="考试主讲系数" property="kszjxs" />
|
||||
<result column="考试指导教师系数" property="kszdjsxs" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 主讲教师课时系数, 辅讲教师课时系数, 讲授方式系数, 考试主讲系数, 考试指导教师系数, 说明, 创建时间, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,66 @@
|
||||
<?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.KSTJBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSTJB">
|
||||
<result column="年份" property="nf" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="上半年" property="sbn" />
|
||||
<result column="下半年" property="xbn" />
|
||||
<result column="职称" property="zc" />
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="HourStatisticsResultMap" type="com.roomroot.jwgl.vo.ks.HourStatisticsVO">
|
||||
<result column="jysdh" property="jysdh" />
|
||||
<result column="jysmc" property="jysmc" />
|
||||
<result column="jybh" property="jybh" />
|
||||
<result column="jyxm" property="jyxm" />
|
||||
<result column="zc" property="zc" />
|
||||
<result column="nf" property="nf" />
|
||||
<result column="sbn" property="sbn" />
|
||||
<result column="xbn" property="xbn" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="HourStatisticsFromWhere">
|
||||
FROM "教研室表" jys
|
||||
INNER JOIN "教员表" j ON jys."教研室代号" = j."教研室代号"
|
||||
INNER JOIN "课时统计表" c ON j."教员编号" = c."教员编号"
|
||||
<where>
|
||||
<if test="cond != null and cond.nd != null">
|
||||
AND c."年份" = #{cond.nd}
|
||||
</if>
|
||||
<if test="cond != null and cond.jyxm != null and cond.jyxm != ''">
|
||||
AND j."教员姓名" LIKE CONCAT('%', #{cond.jyxm}, '%')
|
||||
</if>
|
||||
<if test="cond != null and cond.jybh != null and cond.jybh != ''">
|
||||
AND j."教员编号" = #{cond.jybh}
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<sql id="HourStatisticsColumns">
|
||||
jys."教研室代号" AS jysdh,
|
||||
jys."教研室名称" AS jysmc,
|
||||
j."教员编号" AS jybh,
|
||||
j."教员姓名" AS jyxm,
|
||||
COALESCE(c."职称", j."职称") AS zc,
|
||||
c."年份" AS nf,
|
||||
COALESCE(c."上半年", 0) AS sbn,
|
||||
COALESCE(c."下半年", 0) AS xbn
|
||||
</sql>
|
||||
|
||||
<select id="selectHourStatistics" resultMap="HourStatisticsResultMap">
|
||||
SELECT
|
||||
<include refid="HourStatisticsColumns"/>
|
||||
<include refid="HourStatisticsFromWhere"/>
|
||||
ORDER BY jys."教研室代号", j."教员编号"
|
||||
</select>
|
||||
|
||||
<select id="selectHourStatisticsList" resultMap="HourStatisticsResultMap">
|
||||
SELECT
|
||||
<include refid="HourStatisticsColumns"/>
|
||||
<include refid="HourStatisticsFromWhere"/>
|
||||
ORDER BY jys."教研室代号", j."教员编号"
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -0,0 +1,28 @@
|
||||
<?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.KSXSFAMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSXSFA">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
<result column="辅讲课时系数" property="fjksxs" />
|
||||
<result column="满班学员人数" property="mbxyrs" />
|
||||
<result column="递增10学员班级系数" property="dz10xybjxs" />
|
||||
<result column="班级系数上限" property="bjxssx" />
|
||||
<result column="第78节课时量" property="d78jksl" />
|
||||
<result column="夜间课时量" property="yjksl" />
|
||||
<result column="主讲课时系数" property="zjksxs" />
|
||||
<result column="默认课堂教学方法系数" property="mrktjxffxs" />
|
||||
<result column="合班系数增量" property="hbxszl" />
|
||||
<result column="合班系数上限" property="hbxssx" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 说明, 备注, 创建时间, 修改时间, 辅讲课时系数, 满班学员人数, 递增10学员班级系数, 班级系数上限, 第78节课时量, 夜间课时量, 主讲课时系数, 默认课堂教学方法系数, 合班系数增量, 合班系数上限
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@@ -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.KTBZMapper">
|
||||
|
||||
<!-- 课堂标准结果映射 -->
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KTBZ">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="课程标准编号" property="kcbh"/>
|
||||
<result column="课堂节次" property="ktjc"/>
|
||||
<result column="教学内容" property="jxnr"/>
|
||||
<result column="教学要点" property="jxyd"/>
|
||||
<result column="教学方法" property="jxff"/>
|
||||
<result column="主讲教员数" property="zjjys"/>
|
||||
<result column="辅讲教员数" property="fjjys"/>
|
||||
<result column="备注" property="bz"/>
|
||||
<result column="教学目的" property="jxmd"/>
|
||||
<result column="教学要求" property="jxyq"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询列 -->
|
||||
<sql id="Base_Column_List">
|
||||
编号, 课程标准编号, 课堂节次, 教学内容, 教学要点, 教学方法,
|
||||
主讲教员数, 辅讲教员数, 备注, 教学目的, 教学要求
|
||||
</sql>
|
||||
|
||||
<!-- 根据课程标准编号查询课堂列表(按课堂节次升序) -->
|
||||
<select id="selectByKcbh" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"/>
|
||||
FROM 课堂标准
|
||||
WHERE 课程标准编号 = #{kcbh}
|
||||
ORDER BY 课堂节次 ASC
|
||||
</select>
|
||||
|
||||
<!-- 根据课程标准编号物理删除课堂 -->
|
||||
<delete id="deleteByKcbh">
|
||||
DELETE FROM 课堂标准
|
||||
WHERE 课程标准编号 = #{kcbh}
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,29 @@
|
||||
<?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.KYKYJFBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KYKYJFB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="经费来源" property="jFLY" />
|
||||
<result column="经费负责人" property="jFFZR" />
|
||||
<result column="下拨经费" property="xBJF" />
|
||||
<result column="下拨时间" property="xBSJ" />
|
||||
<result column="用途" property="yT" />
|
||||
<result column="是否为专项经费" property="sFWZXJF" />
|
||||
<result column="计划完成日期" property="jHWCRQ" />
|
||||
<result column="实际完成日期" property="sJWCRQ" />
|
||||
<result column="已使用经费" property="ySYJF" />
|
||||
<result column="剩余经费" property="sYJF" />
|
||||
<result column="创建时间" property="cJSJ" />
|
||||
<result column="修改时间" property="xGSJ" />
|
||||
<result column="备注" property="bZ" />
|
||||
<result column="经费变动记录" property="jFBDJL" />
|
||||
<result column="是否完成" property="sFWC" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 经费来源, 经费负责人, 下拨经费, 下拨时间, 用途, 是否为专项经费, 计划完成日期, 实际完成日期, 已使用经费, 剩余经费, 创建时间, 修改时间, 备注, 经费变动记录, 是否完成
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user