|
@@ -6,7 +6,7 @@
|
|
<result column="archive_number" jdbcType="VARCHAR" property="archiveNumber" />
|
|
<result column="archive_number" jdbcType="VARCHAR" property="archiveNumber" />
|
|
<result column="student_number" jdbcType="VARCHAR" property="studentNumber" />
|
|
<result column="student_number" jdbcType="VARCHAR" property="studentNumber" />
|
|
<result column="file_path" jdbcType="VARCHAR" property="filePath" />
|
|
<result column="file_path" jdbcType="VARCHAR" property="filePath" />
|
|
- <result column="arctype_id" jdbcType="INTEGER" property="arctypeId" />
|
|
|
|
|
|
+ <result column="arctype" jdbcType="VARCHAR" property="arctype" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="modify_time" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
<result column="modify_time" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
<result column="validity_time" jdbcType="TIMESTAMP" property="validityTime" />
|
|
<result column="validity_time" jdbcType="TIMESTAMP" property="validityTime" />
|
|
@@ -73,7 +73,7 @@
|
|
</where>
|
|
</where>
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
- id, archive_number, student_number, file_path, arctype_id, create_time, modify_time,
|
|
|
|
|
|
+ id, archive_number, student_number, file_path, arctype, create_time, modify_time,
|
|
validity_time, manager_id, create_date, create_uid
|
|
validity_time, manager_id, create_date, create_uid
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.koobietech.eas.mbg.model.EasArcArchivesExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.koobietech.eas.mbg.model.EasArcArchivesExample" resultMap="BaseResultMap">
|
|
@@ -111,11 +111,11 @@
|
|
SELECT LAST_INSERT_ID()
|
|
SELECT LAST_INSERT_ID()
|
|
</selectKey>
|
|
</selectKey>
|
|
insert into eas_arc_archives (archive_number, student_number, file_path,
|
|
insert into eas_arc_archives (archive_number, student_number, file_path,
|
|
- arctype_id, create_time, modify_time,
|
|
|
|
|
|
+ arctype, create_time, modify_time,
|
|
validity_time, manager_id, create_date,
|
|
validity_time, manager_id, create_date,
|
|
create_uid)
|
|
create_uid)
|
|
values (#{archiveNumber,jdbcType=VARCHAR}, #{studentNumber,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR},
|
|
values (#{archiveNumber,jdbcType=VARCHAR}, #{studentNumber,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR},
|
|
- #{arctypeId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
+ #{arctype,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyTime,jdbcType=TIMESTAMP},
|
|
#{validityTime,jdbcType=TIMESTAMP}, #{managerId,jdbcType=INTEGER}, #{createDate,jdbcType=DATE},
|
|
#{validityTime,jdbcType=TIMESTAMP}, #{managerId,jdbcType=INTEGER}, #{createDate,jdbcType=DATE},
|
|
#{createUid,jdbcType=INTEGER})
|
|
#{createUid,jdbcType=INTEGER})
|
|
</insert>
|
|
</insert>
|
|
@@ -134,8 +134,8 @@
|
|
<if test="filePath != null">
|
|
<if test="filePath != null">
|
|
file_path,
|
|
file_path,
|
|
</if>
|
|
</if>
|
|
- <if test="arctypeId != null">
|
|
|
|
- arctype_id,
|
|
|
|
|
|
+ <if test="arctype != null">
|
|
|
|
+ arctype,
|
|
</if>
|
|
</if>
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
create_time,
|
|
create_time,
|
|
@@ -166,8 +166,8 @@
|
|
<if test="filePath != null">
|
|
<if test="filePath != null">
|
|
#{filePath,jdbcType=VARCHAR},
|
|
#{filePath,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="arctypeId != null">
|
|
|
|
- #{arctypeId,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="arctype != null">
|
|
|
|
+ #{arctype,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
@@ -210,8 +210,8 @@
|
|
<if test="record.filePath != null">
|
|
<if test="record.filePath != null">
|
|
file_path = #{record.filePath,jdbcType=VARCHAR},
|
|
file_path = #{record.filePath,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="record.arctypeId != null">
|
|
|
|
- arctype_id = #{record.arctypeId,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="record.arctype != null">
|
|
|
|
+ arctype = #{record.arctype,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.createTime != null">
|
|
<if test="record.createTime != null">
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
@@ -242,7 +242,7 @@
|
|
archive_number = #{record.archiveNumber,jdbcType=VARCHAR},
|
|
archive_number = #{record.archiveNumber,jdbcType=VARCHAR},
|
|
student_number = #{record.studentNumber,jdbcType=VARCHAR},
|
|
student_number = #{record.studentNumber,jdbcType=VARCHAR},
|
|
file_path = #{record.filePath,jdbcType=VARCHAR},
|
|
file_path = #{record.filePath,jdbcType=VARCHAR},
|
|
- arctype_id = #{record.arctypeId,jdbcType=INTEGER},
|
|
|
|
|
|
+ arctype = #{record.arctype,jdbcType=VARCHAR},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
|
|
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
|
|
validity_time = #{record.validityTime,jdbcType=TIMESTAMP},
|
|
validity_time = #{record.validityTime,jdbcType=TIMESTAMP},
|
|
@@ -265,8 +265,8 @@
|
|
<if test="filePath != null">
|
|
<if test="filePath != null">
|
|
file_path = #{filePath,jdbcType=VARCHAR},
|
|
file_path = #{filePath,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="arctypeId != null">
|
|
|
|
- arctype_id = #{arctypeId,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="arctype != null">
|
|
|
|
+ arctype = #{arctype,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
@@ -294,7 +294,7 @@
|
|
set archive_number = #{archiveNumber,jdbcType=VARCHAR},
|
|
set archive_number = #{archiveNumber,jdbcType=VARCHAR},
|
|
student_number = #{studentNumber,jdbcType=VARCHAR},
|
|
student_number = #{studentNumber,jdbcType=VARCHAR},
|
|
file_path = #{filePath,jdbcType=VARCHAR},
|
|
file_path = #{filePath,jdbcType=VARCHAR},
|
|
- arctype_id = #{arctypeId,jdbcType=INTEGER},
|
|
|
|
|
|
+ arctype = #{arctype,jdbcType=VARCHAR},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
|
|
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
|
|
validity_time = #{validityTime,jdbcType=TIMESTAMP},
|
|
validity_time = #{validityTime,jdbcType=TIMESTAMP},
|