|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
<result column="tch_score" jdbcType="DOUBLE" property="tchScore" />
|
|
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
|
|
<result column="sufxx" jdbcType="VARCHAR" property="sufxx" />
|
|
|
|
|
<result column="append" jdbcType="VARCHAR" property="append" />
|
|
|
|
|
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.marketing.entity.StuUploadImgAi">
|
|
|
|
|
<result column="tch_comment" jdbcType="LONGVARCHAR" property="tchComment" />
|
|
|
|
@ -78,7 +78,7 @@
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
id, user_id, file_path, create_time, upload_number, file_size, file_name, module,
|
|
|
|
|
tch_score, update_time, sufxx, append
|
|
|
|
|
tch_score, update_time, sufxx, school_id
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
|
tch_comment
|
|
|
|
@ -135,12 +135,12 @@
|
|
|
|
|
insert into stu_upload_img_ai (id, user_id, file_path,
|
|
|
|
|
create_time, upload_number, file_size,
|
|
|
|
|
file_name, module, tch_score,
|
|
|
|
|
update_time, sufxx, append,
|
|
|
|
|
update_time, sufxx, school_id,
|
|
|
|
|
tch_comment)
|
|
|
|
|
values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR},
|
|
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{uploadNumber,jdbcType=INTEGER}, #{fileSize,jdbcType=DOUBLE},
|
|
|
|
|
#{fileName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{tchScore,jdbcType=DOUBLE},
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{sufxx,jdbcType=VARCHAR}, #{append,jdbcType=VARCHAR},
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{sufxx,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
#{tchComment,jdbcType=LONGVARCHAR})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.marketing.entity.StuUploadImgAi">
|
|
|
|
@ -179,8 +179,8 @@
|
|
|
|
|
<if test="sufxx != null">
|
|
|
|
|
sufxx,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="append != null">
|
|
|
|
|
append,
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
school_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="tchComment != null">
|
|
|
|
|
tch_comment,
|
|
|
|
@ -220,8 +220,8 @@
|
|
|
|
|
<if test="sufxx != null">
|
|
|
|
|
#{sufxx,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="append != null">
|
|
|
|
|
#{append,jdbcType=VARCHAR},
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
#{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="tchComment != null">
|
|
|
|
|
#{tchComment,jdbcType=LONGVARCHAR},
|
|
|
|
@ -234,6 +234,7 @@
|
|
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<update id="updateByExampleSelective" parameterType="map">
|
|
|
|
|
update stu_upload_img_ai
|
|
|
|
|
<set>
|
|
|
|
@ -270,8 +271,8 @@
|
|
|
|
|
<if test="record.sufxx != null">
|
|
|
|
|
sufxx = #{record.sufxx,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.append != null">
|
|
|
|
|
append = #{record.append,jdbcType=VARCHAR},
|
|
|
|
|
<if test="record.schoolId != null">
|
|
|
|
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.tchComment != null">
|
|
|
|
|
tch_comment = #{record.tchComment,jdbcType=LONGVARCHAR},
|
|
|
|
@ -294,7 +295,7 @@
|
|
|
|
|
tch_score = #{record.tchScore,jdbcType=DOUBLE},
|
|
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
sufxx = #{record.sufxx,jdbcType=VARCHAR},
|
|
|
|
|
append = #{record.append,jdbcType=VARCHAR},
|
|
|
|
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
|
|
|
|
tch_comment = #{record.tchComment,jdbcType=LONGVARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -313,7 +314,7 @@
|
|
|
|
|
tch_score = #{record.tchScore,jdbcType=DOUBLE},
|
|
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
sufxx = #{record.sufxx,jdbcType=VARCHAR},
|
|
|
|
|
append = #{record.append,jdbcType=VARCHAR}
|
|
|
|
|
school_id = #{record.schoolId,jdbcType=VARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
@ -351,8 +352,8 @@
|
|
|
|
|
<if test="sufxx != null">
|
|
|
|
|
sufxx = #{sufxx,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="append != null">
|
|
|
|
|
append = #{append,jdbcType=VARCHAR},
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="tchComment != null">
|
|
|
|
|
tch_comment = #{tchComment,jdbcType=LONGVARCHAR},
|
|
|
|
@ -372,7 +373,7 @@
|
|
|
|
|
tch_score = #{tchScore,jdbcType=DOUBLE},
|
|
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
sufxx = #{sufxx,jdbcType=VARCHAR},
|
|
|
|
|
append = #{append,jdbcType=VARCHAR},
|
|
|
|
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
tch_comment = #{tchComment,jdbcType=LONGVARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
|
|
</update>
|
|
|
|
@ -388,7 +389,22 @@
|
|
|
|
|
tch_score = #{tchScore,jdbcType=DOUBLE},
|
|
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
sufxx = #{sufxx,jdbcType=VARCHAR},
|
|
|
|
|
append = #{append,jdbcType=VARCHAR}
|
|
|
|
|
school_id = #{schoolId,jdbcType=VARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <select id="selectInfoBySchoolId" resultType="com.sztzjy.marketing.entity.dto.TchrePortPresentationDTO">-->
|
|
|
|
|
<!-- select s.name as name , s.student_id as studentId, s.class_name as className,-->
|
|
|
|
|
<!-- i.module as module ,i.file_name as fileName ,i.create_time as createTime ,i.file_size as fileSize-->
|
|
|
|
|
<!-- from stu_upload_img_ai i-->
|
|
|
|
|
<!-- join-->
|
|
|
|
|
<!-- stu_user s-->
|
|
|
|
|
<!-- on-->
|
|
|
|
|
<!-- i.user_id = s.user_id-->
|
|
|
|
|
<!-- where-->
|
|
|
|
|
<!-- s.school_id = #{schoolId}-->
|
|
|
|
|
<!-- order by-->
|
|
|
|
|
<!-- i.create_time asc-->
|
|
|
|
|
<!-- </select>-->
|
|
|
|
|
</mapper>
|