|
@@ -22,6 +22,7 @@
|
|
<result column="admissions_id" jdbcType="INTEGER" property="admissionsId" />
|
|
<result column="admissions_id" jdbcType="INTEGER" property="admissionsId" />
|
|
<result column="manager_id" jdbcType="INTEGER" property="managerId" />
|
|
<result column="manager_id" jdbcType="INTEGER" property="managerId" />
|
|
<result column="create_uid" jdbcType="INTEGER" property="createUid" />
|
|
<result column="create_uid" jdbcType="INTEGER" property="createUid" />
|
|
|
|
+ <result column="student_idnumber" jdbcType="VARCHAR" property="studentIdnumber" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<where>
|
|
<where>
|
|
@@ -84,7 +85,7 @@
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
id, archive_number, student_number, student_name, gender, birthdate, address, phone,
|
|
id, archive_number, student_number, student_name, gender, birthdate, address, phone,
|
|
email, enrollment_date, graduation_date, grade, major, minor, university, create_time,
|
|
email, enrollment_date, graduation_date, grade, major, minor, university, create_time,
|
|
- modify_time, admissions_id, manager_id, create_uid
|
|
|
|
|
|
+ modify_time, admissions_id, manager_id, create_uid, student_idnumber
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.koobietech.eas.mbg.model.EasArcTlsStudentsExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.koobietech.eas.mbg.model.EasArcTlsStudentsExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -126,14 +127,14 @@
|
|
graduation_date, grade, major,
|
|
graduation_date, grade, major,
|
|
minor, university, create_time,
|
|
minor, university, create_time,
|
|
modify_time, admissions_id, manager_id,
|
|
modify_time, admissions_id, manager_id,
|
|
- create_uid)
|
|
|
|
|
|
+ create_uid, student_idnumber)
|
|
values (#{archiveNumber,jdbcType=VARCHAR}, #{studentNumber,jdbcType=VARCHAR}, #{studentName,jdbcType=VARCHAR},
|
|
values (#{archiveNumber,jdbcType=VARCHAR}, #{studentNumber,jdbcType=VARCHAR}, #{studentName,jdbcType=VARCHAR},
|
|
#{gender,jdbcType=CHAR}, #{birthdate,jdbcType=DATE}, #{address,jdbcType=VARCHAR},
|
|
#{gender,jdbcType=CHAR}, #{birthdate,jdbcType=DATE}, #{address,jdbcType=VARCHAR},
|
|
#{phone,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{enrollmentDate,jdbcType=DATE},
|
|
#{phone,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{enrollmentDate,jdbcType=DATE},
|
|
#{graduationDate,jdbcType=DATE}, #{grade,jdbcType=INTEGER}, #{major,jdbcType=VARCHAR},
|
|
#{graduationDate,jdbcType=DATE}, #{grade,jdbcType=INTEGER}, #{major,jdbcType=VARCHAR},
|
|
#{minor,jdbcType=VARCHAR}, #{university,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
#{minor,jdbcType=VARCHAR}, #{university,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
#{modifyTime,jdbcType=TIMESTAMP}, #{admissionsId,jdbcType=INTEGER}, #{managerId,jdbcType=INTEGER},
|
|
#{modifyTime,jdbcType=TIMESTAMP}, #{admissionsId,jdbcType=INTEGER}, #{managerId,jdbcType=INTEGER},
|
|
- #{createUid,jdbcType=INTEGER})
|
|
|
|
|
|
+ #{createUid,jdbcType=INTEGER}, #{studentIdnumber,jdbcType=VARCHAR})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.koobietech.eas.mbg.model.EasArcTlsStudents">
|
|
<insert id="insertSelective" parameterType="com.koobietech.eas.mbg.model.EasArcTlsStudents">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
|
|
@@ -198,6 +199,9 @@
|
|
<if test="createUid != null">
|
|
<if test="createUid != null">
|
|
create_uid,
|
|
create_uid,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="studentIdnumber != null">
|
|
|
|
+ student_idnumber,
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="archiveNumber != null">
|
|
<if test="archiveNumber != null">
|
|
@@ -257,6 +261,9 @@
|
|
<if test="createUid != null">
|
|
<if test="createUid != null">
|
|
#{createUid,jdbcType=INTEGER},
|
|
#{createUid,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="studentIdnumber != null">
|
|
|
|
+ #{studentIdnumber,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample" parameterType="com.koobietech.eas.mbg.model.EasArcTlsStudentsExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.koobietech.eas.mbg.model.EasArcTlsStudentsExample" resultType="java.lang.Long">
|
|
@@ -328,6 +335,9 @@
|
|
<if test="record.createUid != null">
|
|
<if test="record.createUid != null">
|
|
create_uid = #{record.createUid,jdbcType=INTEGER},
|
|
create_uid = #{record.createUid,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.studentIdnumber != null">
|
|
|
|
+ student_idnumber = #{record.studentIdnumber,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -354,7 +364,8 @@
|
|
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
|
|
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
|
|
admissions_id = #{record.admissionsId,jdbcType=INTEGER},
|
|
admissions_id = #{record.admissionsId,jdbcType=INTEGER},
|
|
manager_id = #{record.managerId,jdbcType=INTEGER},
|
|
manager_id = #{record.managerId,jdbcType=INTEGER},
|
|
- create_uid = #{record.createUid,jdbcType=INTEGER}
|
|
|
|
|
|
+ create_uid = #{record.createUid,jdbcType=INTEGER},
|
|
|
|
+ student_idnumber = #{record.studentIdnumber,jdbcType=VARCHAR}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -419,6 +430,9 @@
|
|
<if test="createUid != null">
|
|
<if test="createUid != null">
|
|
create_uid = #{createUid,jdbcType=INTEGER},
|
|
create_uid = #{createUid,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="studentIdnumber != null">
|
|
|
|
+ student_idnumber = #{studentIdnumber,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</update>
|
|
</update>
|
|
@@ -442,7 +456,8 @@
|
|
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
|
|
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
|
|
admissions_id = #{admissionsId,jdbcType=INTEGER},
|
|
admissions_id = #{admissionsId,jdbcType=INTEGER},
|
|
manager_id = #{managerId,jdbcType=INTEGER},
|
|
manager_id = #{managerId,jdbcType=INTEGER},
|
|
- create_uid = #{createUid,jdbcType=INTEGER}
|
|
|
|
|
|
+ create_uid = #{createUid,jdbcType=INTEGER},
|
|
|
|
+ student_idnumber = #{studentIdnumber,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|