feat: 提交课表冲突检查相关功能模块
This commit is contained in:
@@ -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.TeachingStockMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JCKCD">
|
||||
<id column="ID" property="id" />
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="情况说明" property="qksm" />
|
||||
<result column="类别" property="lb" />
|
||||
<result column="字别" property="zb" />
|
||||
<result column="承办部门编号" property="cbbmbh" />
|
||||
<result column="承办人编号" property="cbrbh" />
|
||||
<result column="保管员编号" property="bgybh" />
|
||||
<result column="审批人编号" property="sprbh" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
<result column="提交时间" property="tjsj" />
|
||||
<result column="审批时间" property="spsj" />
|
||||
<result column="执行时间" property="zxsj" />
|
||||
<result column="结束时间" property="jssj" />
|
||||
<result column="状态" property="zt" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="退回意见" property="thyj" />
|
||||
<result column="退回时间" property="thsj" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
ID, 编号, 名称, 情况说明, 类别, 字别, 承办部门编号, 承办人编号,
|
||||
保管员编号, 审批人编号, 创建时间, 修改时间, 提交时间, 审批时间,
|
||||
执行时间, 结束时间, 状态, 备注, JSONZD, 退回意见, 退回时间, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教材库存单
|
||||
<where>
|
||||
<if test="jckcd.bh != null and jckcd.bh != ''">
|
||||
AND 编号 LIKE CONCAT('%', #{jckcd.bh}, '%')
|
||||
</if>
|
||||
<if test="jckcd.mc != null and jckcd.mc != ''">
|
||||
AND 名称 LIKE CONCAT('%', #{jckcd.mc}, '%')
|
||||
</if>
|
||||
<if test="jckcd.lb != null and jckcd.lb != ''">
|
||||
AND 类别 = #{jckcd.lb}
|
||||
</if>
|
||||
<if test="jckcd.zb != null and jckcd.zb != ''">
|
||||
AND 字别 = #{jckcd.zb}
|
||||
</if>
|
||||
<if test="jckcd.zt != null and jckcd.zt != ''">
|
||||
AND 状态 = #{jckcd.zt}
|
||||
</if>
|
||||
<if test="jckcd.delFlag != null">
|
||||
AND DEL_FLAG = #{jckcd.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 创建时间 DESC
|
||||
</select>
|
||||
|
||||
<select id="selectMaxBh" resultType="java.lang.String">
|
||||
SELECT MAX(编号) FROM 教材库存单 WHERE DEL_FLAG = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user