|
@@ -8,7 +8,6 @@
|
|
|
|
|
|
<resultMap type="com.ym.mec.web.dal.entity.SubjectGoodsMapper" id="SubjectGoodsMapper">
|
|
|
<result column="id_" property="id"/>
|
|
|
- <result column="music_group_id_" property="musicGroupId"/>
|
|
|
<result column="subject_id_" property="subjectId"/>
|
|
|
<result column="goods_id_" property="goodsId"/>
|
|
|
<result column="create_time_" property="createTime"/>
|
|
@@ -33,8 +32,8 @@
|
|
|
SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL
|
|
|
</selectKey>
|
|
|
-->
|
|
|
- INSERT INTO subject_plan_goods_mapper (id_,music_group_id_,subject_id_,goods_id_,create_time_,update_time_)
|
|
|
- VALUES(#{id},#{musicGroupId},#{subjectId},#{goodsId},#{createTime},#{updateTime})
|
|
|
+ INSERT INTO subject_plan_goods_mapper (id_,subject_id_,goods_id_,create_time_,update_time_)
|
|
|
+ VALUES(#{id},#{subjectId},#{goodsId},#{createTime},#{updateTime})
|
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -47,9 +46,6 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time_ = #{updateTime},
|
|
|
</if>
|
|
|
- <if test="musicGroupId != null">
|
|
|
- music_group_id_ = #{musicGroupId},
|
|
|
- </if>
|
|
|
<if test="goodsId != null">
|
|
|
goods_id_ = #{goodsId},
|
|
|
</if>
|