Browse Source

商品分部可以为空

zouxuan 4 năm trước cách đây
mục cha
commit
8341bfedda
1 tập tin đã thay đổi với 0 bổ sung10 xóa
  1. 0 10
      mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

+ 0 - 10
mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

@@ -100,21 +100,11 @@
     <update id="update" parameterType="com.ym.mec.biz.dal.entity.Goods">
         UPDATE goods
         <set>
-            <if test="studentShowOrganId != null">
                 student_show_organ_id_ = #{studentShowOrganId},
-            </if>
-            <if test="educationShowOrganId != null">
                 education_show_organ_id_ = #{educationShowOrganId},
-            </if>
-            <if test="replacementShowOrganId != null">
                 replacement_show_organ_id_ = #{replacementShowOrganId},
-            </if>
-            <if test="courseFeeShowOrganId != null">
                 course_fee_show_organ_id_ = #{courseFeeShowOrganId},
-            </if>
-            <if test="memberFeeShowOrganId != null">
                 member_fee_show_organ_id_ = #{memberFeeShowOrganId},
-            </if>
             <if test="agreeCostPrice != null">
                 agree_cost_price_ = #{agreeCostPrice},
             </if>