|
|
@@ -21,6 +21,7 @@
|
|
|
<result property="courseLogo" column="course_logo" />
|
|
|
<result property="openCommentStatus" column="open_comment_status" />
|
|
|
<result property="periodLine" column="period_line" />
|
|
|
+ <result property="isNeedRegisterMember" column="is_need_register_member" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsUserCoursePeriodVo">
|
|
|
@@ -48,6 +49,7 @@
|
|
|
SELECT
|
|
|
fs_user_course_period.period_id,
|
|
|
fs_user_course_period.period_name,
|
|
|
+ fs_user_course_period.is_need_register_member,
|
|
|
fs_user_course_period.company_id,
|
|
|
fs_user_course_period.training_camp_id,
|
|
|
fs_user_course_period.create_time,
|
|
|
@@ -95,6 +97,7 @@
|
|
|
insert into fs_user_course_period
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="periodId != null">period_id,</if>
|
|
|
+ <if test="isNeedRegisterMember != null">is_need_register_member,</if>
|
|
|
<if test="periodName != null">period_name,</if>
|
|
|
<if test="companyId != null">company_id,</if>
|
|
|
<if test="trainingCampId != null">training_camp_id,</if>
|
|
|
@@ -117,6 +120,7 @@
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="periodId != null">#{periodId},</if>
|
|
|
+ <if test="isNeedRegisterMember != null">#{isNeedRegisterMember},</if>
|
|
|
<if test="periodName != null">#{periodName},</if>
|
|
|
<if test="companyId != null">#{companyId},</if>
|
|
|
<if test="trainingCampId != null">#{trainingCampId},</if>
|
|
|
@@ -143,6 +147,7 @@
|
|
|
update fs_user_course_period
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="periodName != null">period_name = #{periodName},</if>
|
|
|
+ <if test="isNeedRegisterMember != null">is_need_register_member = #{isNeedRegisterMember},</if>
|
|
|
<if test="companyId != null">company_id = #{companyId},</if>
|
|
|
<if test="trainingCampId != null">training_camp_id = #{trainingCampId},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|