feat: 提交课表冲突检查相关功能模块
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user