|
@@ -97,9 +97,6 @@
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.Goods">
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.Goods">
|
|
UPDATE goods
|
|
UPDATE goods
|
|
<set>
|
|
<set>
|
|
- <if test="organIdList != null and organIdList != ''">
|
|
|
|
- organ_id_list_ = #{organIdList},
|
|
|
|
- </if>
|
|
|
|
<if test="courseViewType != null">
|
|
<if test="courseViewType != null">
|
|
course_view_type_ = #{courseViewType},
|
|
course_view_type_ = #{courseViewType},
|
|
</if>
|
|
</if>
|
|
@@ -196,9 +193,6 @@
|
|
<foreach collection="goodsList" item="goods" separator=";">
|
|
<foreach collection="goodsList" item="goods" separator=";">
|
|
UPDATE goods
|
|
UPDATE goods
|
|
<set>
|
|
<set>
|
|
- <if test="goods.organIdList != null and goods.organIdList != ''">
|
|
|
|
- organ_id_list_ = #{goods.organIdList},
|
|
|
|
- </if>
|
|
|
|
<if test="goods.courseViewType != null">
|
|
<if test="goods.courseViewType != null">
|
|
course_view_type_ = #{goods.courseViewType},
|
|
course_view_type_ = #{goods.courseViewType},
|
|
</if>
|
|
</if>
|