|
|
@@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="endYear" column="end_year" />
|
|
|
<result property="inviteCode" column="invite_code" />
|
|
|
<result property="scores" column="scores" typeHandler="com.ruoyi.system.handlers.SubjectScoreTypeHandler" />
|
|
|
- <result property="selectSubject" column="select_subject" />
|
|
|
+ <result property="examMajor" column="exam_major" />
|
|
|
<result property="directedStudy" column="directed_study" />
|
|
|
<result property="evalCounts" column="eval_counts" />
|
|
|
<result property="cardId" column="card_id" />
|
|
|
@@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<sql id="selectUserVo">
|
|
|
select u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.avatar, u.phonenumber, u.password, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.pwd_update_date, u.create_by, u.create_time, u.remark,
|
|
|
- u.location,u.exam_type,u.reg_status,u.end_year,u.invite_code,u.scores,u.select_subject,u.directed_study,u.eval_counts,u.card_id,u.account_type,
|
|
|
+ u.location,u.exam_type,u.reg_status,u.end_year,u.invite_code,u.scores,u.exam_major,u.directed_study,u.eval_counts,u.card_id,u.account_type,
|
|
|
d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.status as dept_status,
|
|
|
r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.status as role_status, u.user_type, u.user_type_id
|
|
|
from sys_user u
|
|
|
@@ -280,14 +280,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectUserByUserIds" resultMap="SysUserResult">
|
|
|
select u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.avatar, u.phonenumber, u.password, u.password2, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.pwd_update_date, u.create_by, u.create_time, u.remark,
|
|
|
- u.location,u.exam_type,u.reg_status,u.end_year,u.invite_code,u.scores,u.select_subject,u.directed_study,u.eval_counts,u.card_id,u.account_type
|
|
|
+ u.location,u.exam_type,u.reg_status,u.end_year,u.invite_code,u.scores,u.exam_major,u.directed_study,u.eval_counts,u.card_id,u.account_type
|
|
|
from sys_user u
|
|
|
where u.user_id in <foreach collection="ids" item="id" open="(" separator="," close=")">#{id}</foreach>
|
|
|
</select>
|
|
|
|
|
|
<select id="selectUserByUserNames" resultMap="SysUserResult">
|
|
|
select u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.avatar, u.phonenumber, u.password, u.password2, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.pwd_update_date, u.create_by, u.create_time, u.remark,
|
|
|
- u.location,u.exam_type,u.reg_status,u.end_year,u.invite_code,u.scores,u.select_subject,u.directed_study,u.eval_counts,u.card_id,u.account_type
|
|
|
+ u.location,u.exam_type,u.reg_status,u.end_year,u.invite_code,u.scores,u.exam_major,u.directed_study,u.eval_counts,u.card_id,u.account_type
|
|
|
from sys_user u
|
|
|
where u.user_name in <foreach collection="userNames" item="userName" open="(" separator="," close=")">#{userName}</foreach>
|
|
|
and u.del_flag = '0'
|
|
|
@@ -335,7 +335,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="inviteCode != null and inviteCode != ''">invite_code,</if>
|
|
|
<if test="scores != null and scores != ''">scores,</if>
|
|
|
<if test="evalCounts != null">eval_counts,</if>
|
|
|
- <if test="selectSubject != null and selectSubject != ''">select_subject,</if>
|
|
|
+ <if test="examMajor != null and examMajor != ''">exam_major,</if>
|
|
|
<if test="directedStudy != null and directedStudy != ''">directed_study,</if>
|
|
|
<if test="cardId != null and cardId != ''">card_id,</if>
|
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
|
@@ -364,7 +364,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="inviteCode != null and inviteCode != ''">#{inviteCode},</if>
|
|
|
<if test="scores != null and scores != ''">#{scores, typeHandler=com.ruoyi.system.handlers.SubjectScoreTypeHandler},</if>
|
|
|
<if test="evalCounts != null">#{evalCounts},</if>
|
|
|
- <if test="selectSubject != null and selectSubject != ''">#{selectSubject},</if>
|
|
|
+ <if test="examMajor != null and examMajor != ''">#{examMajor},</if>
|
|
|
<if test="directedStudy != null and directedStudy != ''">#{directedStudy},</if>
|
|
|
<if test="cardId != null and cardId != ''">#{cardId},</if>
|
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
|
@@ -395,7 +395,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="endYear != null">end_year = #{endYear},</if>
|
|
|
<if test="inviteCode != null and inviteCode != ''">invite_code = #{inviteCode},</if>
|
|
|
<if test="scores != null and scores != ''">scores = #{scores, typeHandler=com.ruoyi.system.handlers.SubjectScoreTypeHandler},</if>
|
|
|
- <if test="selectSubject != null and selectSubject != ''">select_subject = #{selectSubject},</if>
|
|
|
+ <if test="examMajor != null and examMajor != ''">exam_major = #{examMajor},</if>
|
|
|
<if test="directedStudy != null and directedStudy != ''">directed_study = #{directedStudy},</if>
|
|
|
<if test="evalCounts != null and evalCounts != ''">eval_counts = #{evalCounts},</if>
|
|
|
<if test="cardId != null and cardId != ''">card_id = #{cardId},</if>
|