|
@@ -52,61 +52,61 @@
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.VipGroupActivity">
|
|
|
UPDATE vip_group_activity <set>
|
|
|
-<if test="salaryReadonlyFlag != null">
|
|
|
-salary_readonly_flag_ = #{salaryReadonlyFlag},
|
|
|
-</if>
|
|
|
-<if test="organId != null">
|
|
|
-organ_id_ = #{organId},
|
|
|
-</if>
|
|
|
-<if test="id != null">
|
|
|
-id_ = #{id},
|
|
|
-</if>
|
|
|
-<if test="giveClassPaySalaryFlag != null">
|
|
|
-give_class_pay_salary_flag_ = #{giveClassPaySalaryFlag},
|
|
|
-</if>
|
|
|
-<if test="coursesEndTime != null">
|
|
|
-courses_end_time_ = #{coursesEndTime},
|
|
|
-</if>
|
|
|
-<if test="attribute1 != null">
|
|
|
-attribute1_ = #{attribute1},
|
|
|
-</if>
|
|
|
-<if test="endTime != null">
|
|
|
-end_time_ = #{endTime},
|
|
|
-</if>
|
|
|
-<if test="attribute2 != null">
|
|
|
-attribute2_ = #{attribute2},
|
|
|
-</if>
|
|
|
-<if test="name != null">
|
|
|
-name_ = #{name},
|
|
|
-</if>
|
|
|
-<if test="startTime != null">
|
|
|
-start_time_ = #{startTime},
|
|
|
-</if>
|
|
|
-<if test="attribute3 != null">
|
|
|
-attribute3_ = #{attribute3},
|
|
|
-</if>
|
|
|
-<if test="createTime != null">
|
|
|
-create_time_ = #{createTime},
|
|
|
-</if>
|
|
|
-<if test="vipGroupCategoryIdList != null">
|
|
|
-vip_group_category_id_list_ = #{vipGroupCategoryIdList},
|
|
|
-</if>
|
|
|
-<if test="updateTime != null">
|
|
|
-update_time_ = #{updateTime},
|
|
|
-</if>
|
|
|
-<if test="description != null">
|
|
|
-description_ = #{description},
|
|
|
-</if>
|
|
|
-<if test="salarySettlementJson != null">
|
|
|
-salary_settlement_json_ = #{salarySettlementJson},
|
|
|
-</if>
|
|
|
-<if test="coursesStartTime != null">
|
|
|
-courses_start_time_ = #{coursesStartTime},
|
|
|
-</if>
|
|
|
-<if test="type != null">
|
|
|
-type_ = #{type},
|
|
|
-</if>
|
|
|
-</set> WHERE id_ = #{id}
|
|
|
+ <if test="salaryReadonlyFlag != null">
|
|
|
+ salary_readonly_flag_ = #{salaryReadonlyFlag},
|
|
|
+ </if>
|
|
|
+ <if test="organId != null">
|
|
|
+ organ_id_ = #{organId},
|
|
|
+ </if>
|
|
|
+ <if test="id != null">
|
|
|
+ id_ = #{id},
|
|
|
+ </if>
|
|
|
+ <if test="giveClassPaySalaryFlag != null">
|
|
|
+ give_class_pay_salary_flag_ = #{giveClassPaySalaryFlag},
|
|
|
+ </if>
|
|
|
+ <if test="coursesEndTime != null">
|
|
|
+ courses_end_time_ = #{coursesEndTime},
|
|
|
+ </if>
|
|
|
+ <if test="attribute1 != null">
|
|
|
+ attribute1_ = #{attribute1},
|
|
|
+ </if>
|
|
|
+ <if test="endTime != null">
|
|
|
+ end_time_ = #{endTime},
|
|
|
+ </if>
|
|
|
+ <if test="attribute2 != null">
|
|
|
+ attribute2_ = #{attribute2},
|
|
|
+ </if>
|
|
|
+ <if test="name != null">
|
|
|
+ name_ = #{name},
|
|
|
+ </if>
|
|
|
+ <if test="startTime != null">
|
|
|
+ start_time_ = #{startTime},
|
|
|
+ </if>
|
|
|
+ <if test="attribute3 != null">
|
|
|
+ attribute3_ = #{attribute3},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time_ = #{createTime},
|
|
|
+ </if>
|
|
|
+ <if test="vipGroupCategoryIdList != null">
|
|
|
+ vip_group_category_id_list_ = #{vipGroupCategoryIdList},
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null">
|
|
|
+ update_time_ = #{updateTime},
|
|
|
+ </if>
|
|
|
+ <if test="description != null">
|
|
|
+ description_ = #{description},
|
|
|
+ </if>
|
|
|
+ <if test="salarySettlementJson != null">
|
|
|
+ salary_settlement_json_ = #{salarySettlementJson},
|
|
|
+ </if>
|
|
|
+ <if test="coursesStartTime != null">
|
|
|
+ courses_start_time_ = #{coursesStartTime},
|
|
|
+ </if>
|
|
|
+ <if test="type != null">
|
|
|
+ type_ = #{type},
|
|
|
+ </if>
|
|
|
+ </set> WHERE id_ = #{id}
|
|
|
</update>
|
|
|
|
|
|
<!-- 根据主键删除一条记录 -->
|