|
@@ -28,7 +28,9 @@
|
|
|
<result column="salary_settlement_json_" property="salarySettlementJson" />
|
|
|
<result column="vip_group_category_names_" property="vipGroupCategoryNames"/>
|
|
|
<result property="enable" column="enable"/>
|
|
|
- <result property="del_flag_" column="delFlag"/>
|
|
|
+ <result property="delFlag" column="del_flag_"/>
|
|
|
+ <result property="onlineClassJoinGradientRewards" column="online_class_join_gradient_rewards_"/>
|
|
|
+ <result property="offlineClassJoinGradientRewards" column="offline_class_join_gradient_rewards_"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -48,8 +50,8 @@
|
|
|
SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL
|
|
|
</selectKey>
|
|
|
-->
|
|
|
- INSERT INTO vip_group_activity (id_,name_,description_,vip_group_category_id_list_,start_time_,end_time_,organ_id_,courses_start_time_,courses_end_time_,type_,attribute1_,attribute2_,attribute3_,salary_readonly_flag_,give_class_pay_salary_flag_,create_time_,update_time_,salary_settlement_json_,del_flag_,payment_readonly_flag_)
|
|
|
- VALUES(#{id},#{name},#{description},#{vipGroupCategoryIdList},#{startTime},#{endTime},#{organId},#{coursesStartTime},#{coursesEndTime},#{type},#{attribute1},#{attribute2},#{attribute3},#{salaryReadonlyFlag},#{giveClassPaySalaryFlag},now(),now(),#{salarySettlementJson},#{delFlag},#{paymentReadonlyFlag})
|
|
|
+ INSERT INTO vip_group_activity (id_,name_,description_,vip_group_category_id_list_,start_time_,end_time_,organ_id_,courses_start_time_,courses_end_time_,type_,attribute1_,attribute2_,attribute3_,salary_readonly_flag_,give_class_pay_salary_flag_,create_time_,update_time_,salary_settlement_json_,del_flag_,payment_readonly_flag_,online_class_join_gradient_rewards_,offline_class_join_gradient_rewards_)
|
|
|
+ VALUES(#{id},#{name},#{description},#{vipGroupCategoryIdList},#{startTime},#{endTime},#{organId},#{coursesStartTime},#{coursesEndTime},#{type},#{attribute1},#{attribute2},#{attribute3},#{salaryReadonlyFlag},#{giveClassPaySalaryFlag},now(),now(),#{salarySettlementJson},#{delFlag},#{paymentReadonlyFlag},#{onlineClassJoinGradientRewards},#{offlineClassJoinGradientRewards})
|
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -115,6 +117,12 @@
|
|
|
<if test="paymentReadonlyFlag != null">
|
|
|
payment_readonly_flag_ = #{paymentReadonlyFlag},
|
|
|
</if>
|
|
|
+ <if test="onlineClassJoinGradientRewards!=null">
|
|
|
+ online_class_join_gradient_rewards_=#{onlineClassJoinGradientRewards},
|
|
|
+ </if>
|
|
|
+ <if test="offlineClassJoinGradientRewards!=null">
|
|
|
+ offline_class_join_gradient_rewards_=#{offlineClassJoinGradientRewards},
|
|
|
+ </if>
|
|
|
</set> WHERE id_ = #{id}
|
|
|
</update>
|
|
|
|