forked from liweijie/education
feat: 提交课表冲突检查相关功能模块
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
<?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.XYXXMapper">
|
||||
|
||||
<!-- 学员信息结果映射 -->
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.XYXX">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="学号" property="xh"/>
|
||||
<result column="姓名" property="xm"/>
|
||||
<result column="登录信息编号" property="dlxxbh"/>
|
||||
<result column="学员队期编号" property="xydqbh"/>
|
||||
<result column="证件号码" property="zjhm"/>
|
||||
<result column="政治面貌" property="zzmm"/>
|
||||
<result column="党团时间" property="dtsj"/>
|
||||
<result column="入伍年月日" property="rwynr"/>
|
||||
<result column="性别" property="xb"/>
|
||||
<result column="出生日期" property="csrq"/>
|
||||
<result column="名族" property="mz"/>
|
||||
<result column="籍贯" property="jg"/>
|
||||
<result column="原部职别" property="ybzb"/>
|
||||
<result column="邮政编码" property="yzbm"/>
|
||||
<result column="文化程度" property="whcd"/>
|
||||
<result column="学位" property="xw"/>
|
||||
<result column="学员类别" property="xylb"/>
|
||||
<result column="军衔文职" property="jxwz"/>
|
||||
<result column="所属军区" property="ssjq"/>
|
||||
<result column="骨干任职" property="ggrz"/>
|
||||
<result column="本科毕业院校" property="bkbyyx"/>
|
||||
<result column="国防生" property="gfs"/>
|
||||
<result column="考生号" property="ksh"/>
|
||||
<result column="备注" property="bz"/>
|
||||
<result column="身份证号" property="sfzh"/>
|
||||
<result column="退学状态" property="txzt"/>
|
||||
<result column="留级状态" property="ljzt"/>
|
||||
<result column="分班状态" property="fbzt"/>
|
||||
<result column="论文编号" property="lwbh"/>
|
||||
<result column="论文题目" property="lwtm"/>
|
||||
<result column="论文摘要" property="lwzy"/>
|
||||
<result column="拼音" property="py"/>
|
||||
<result column="成绩报告单编号" property="cjbgdbh"/>
|
||||
<result column="允许查看成绩" property="yxckcj"/>
|
||||
<result column="JSONZD" property="jsonzd"/>
|
||||
<result column="当前班次编号" property="dqbzbh"/>
|
||||
<result column="论文答辩文档编号" property="lwdbwdbh"/>
|
||||
<result column="标签" property="bq"/>
|
||||
<result column="联系电话" property="lxdh"/>
|
||||
<result column="通信地址" property="txdz"/>
|
||||
<result column="单位联络人信息" property="dwllrxx"/>
|
||||
<result column="奖励处分情况" property="jlcfqk"/>
|
||||
<result column="已注册" property="yzc"/>
|
||||
<result column="军人证件类型" property="jrzjlx"/>
|
||||
<result column="曾用名" property="cym"/>
|
||||
<result column="入伍地" property="rwd"/>
|
||||
<result column="出生地" property="csd"/>
|
||||
<result column="生源地" property="syd"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询列 -->
|
||||
<sql id="Base_Column_List">
|
||||
编号, 学号, 姓名, 登录信息编号, 学员队期编号, 证件号码, 政治面貌, 党团时间,
|
||||
入伍年月日, 性别, 出生日期, 名族, 籍贯, 原部职别, 邮政编码, 文化程度, 学位,
|
||||
学员类别, 军衔文职, 所属军区, 骨干任职, 本科毕业院校, 国防生, 考生号, 备注,
|
||||
身份证号, 退学状态, 留级状态, 分班状态, 论文编号, 论文题目, 论文摘要, 拼音,
|
||||
成绩报告单编号, 允许查看成绩, JSONZD, 当前班次编号, 论文答辩文档编号, 标签,
|
||||
联系电话, 通信地址, 单位联络人信息, 奖励处分情况, 已注册, 军人证件类型, 曾用名,
|
||||
入伍地, 出生地, 生源地
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询(支持按学号、姓名精确和证件号码模糊) -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"/>
|
||||
FROM 学员信息表
|
||||
WHERE 1=1
|
||||
<if test="xyxx.xh != null and xyxx.xh != ''">
|
||||
AND 学号 = #{xyxx.xh}
|
||||
</if>
|
||||
<if test="xyxx.xm != null and xyxx.xm != ''">
|
||||
AND 姓名 LIKE CONCAT('%', #{xyxx.xm}, '%')
|
||||
</if>
|
||||
<if test="xyxx.zjhm != null and xyxx.zjhm != ''">
|
||||
AND 证件号码 LIKE CONCAT('%', #{xyxx.zjhm}, '%')
|
||||
</if>
|
||||
<if test="xyxx.xylb != null and xyxx.xylb != ''">
|
||||
AND 学员类别 = #{xyxx.xylb}
|
||||
</if>
|
||||
<if test="xyxx.xydqbh != null and xyxx.xydqbh != ''">
|
||||
AND 学员队期编号 = #{xyxx.xydqbh}
|
||||
</if>
|
||||
ORDER BY 学号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user