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.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>
|
||||
Reference in New Issue
Block a user