|
@@ -12,7 +12,7 @@
|
|
|
<result column="song_author_" property="songAuthor" />
|
|
|
<result column="subject_list_" property="subjectList" />
|
|
|
<result column="level_list_" property="levelList" />
|
|
|
- <result column="type_" property="type" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
|
+ <result column="type_" property="type" typeHandler="com.keao.edu.common.dal.CustomEnumTypeHandler"/>
|
|
|
<result column="file_url_list_" property="fileUrlList" />
|
|
|
<result column="create_time_" property="createTime" />
|
|
|
<result column="update_time_" property="updateTime" />
|
|
@@ -31,7 +31,7 @@
|
|
|
<!-- 向数据库增加一条记录 -->
|
|
|
<insert id="insert" parameterType="com.keao.edu.user.entity.ExamSong" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
|
INSERT INTO exam_song (id_,song_name_,song_author_,subject_list_,level_list_,type_,file_url_list_,create_time_,update_time_)
|
|
|
- VALUES(#{id},#{songName},#{songAuthor},#{subjectList},#{levelList},#{type, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{fileUrlList},NOW(),NOW())
|
|
|
+ VALUES(#{id},#{songName},#{songAuthor},#{subjectList},#{levelList},#{type, typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},#{fileUrlList},NOW(),NOW())
|
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -54,7 +54,7 @@
|
|
|
song_author_ = #{songAuthor},
|
|
|
</if>
|
|
|
<if test="type != null">
|
|
|
- type_ = #{type, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
+ type_ = #{type, typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
</if>
|
|
|
<if test="songName != null">
|
|
|
song_name_ = #{songName},
|