|
|
|
@ -37,6 +37,7 @@ |
|
|
|
<result column="kt_group_name" jdbcType="VARCHAR" property="ktGroupName" /> |
|
|
|
<result column="enroll_time" jdbcType="TIMESTAMP" property="enrollTime" /> |
|
|
|
<result column="graduation_time" jdbcType="TIMESTAMP" property="graduationTime" /> |
|
|
|
<result column="reading_status" jdbcType="TINYINT" property="readingStatus" /> |
|
|
|
</resultMap> |
|
|
|
<sql id="Example_Where_Clause"> |
|
|
|
<where> |
|
|
|
@ -101,7 +102,7 @@ |
|
|
|
member_gender, member_name, member_phone, parent_member_id, password, proj_org_id, |
|
|
|
role_id_list, title, type, user_id, username, del_flag, create_by, create_time, update_by, |
|
|
|
update_time, remark, step, status, reviewer, qualification, reviewed_persion, reviewed_time, |
|
|
|
parent_kt_id, kt_group_name, enroll_time, graduation_time |
|
|
|
parent_kt_id, kt_group_name, enroll_time, graduation_time, reading_status |
|
|
|
</sql> |
|
|
|
<select id="selectByExample" parameterType="com.research.system.domain.po.KtsKtGroupMemberAduitExample" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
|
@ -139,7 +140,8 @@ |
|
|
|
remark, step, status, |
|
|
|
reviewer, qualification, reviewed_persion, |
|
|
|
reviewed_time, parent_kt_id, kt_group_name, |
|
|
|
enroll_time, graduation_time) |
|
|
|
enroll_time, graduation_time, reading_status |
|
|
|
) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{openId,jdbcType=VARCHAR}, #{category,jdbcType=TINYINT}, |
|
|
|
#{deptId,jdbcType=BIGINT}, #{ktGroupId,jdbcType=BIGINT}, #{ktGroupIntro,jdbcType=VARCHAR}, |
|
|
|
#{memberBirth,jdbcType=TIMESTAMP}, #{memberEmail,jdbcType=VARCHAR}, #{memberGender,jdbcType=TINYINT}, |
|
|
|
@ -151,7 +153,8 @@ |
|
|
|
#{remark,jdbcType=VARCHAR}, #{step,jdbcType=TINYINT}, #{status,jdbcType=TINYINT}, |
|
|
|
#{reviewer,jdbcType=VARCHAR}, #{qualification,jdbcType=INTEGER}, #{reviewedPersion,jdbcType=BIGINT}, |
|
|
|
#{reviewedTime,jdbcType=TIMESTAMP}, #{parentKtId,jdbcType=BIGINT}, #{ktGroupName,jdbcType=VARCHAR}, |
|
|
|
#{enrollTime,jdbcType=TIMESTAMP}, #{graduationTime,jdbcType=TIMESTAMP}) |
|
|
|
#{enrollTime,jdbcType=TIMESTAMP}, #{graduationTime,jdbcType=TIMESTAMP}, #{readingStatus,jdbcType=TINYINT} |
|
|
|
) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.research.system.domain.po.KtsKtGroupMemberAduit"> |
|
|
|
insert into kts_kt_group_member_aduit |
|
|
|
@ -261,6 +264,9 @@ |
|
|
|
<if test="graduationTime != null"> |
|
|
|
graduation_time, |
|
|
|
</if> |
|
|
|
<if test="readingStatus != null"> |
|
|
|
reading_status, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null"> |
|
|
|
@ -368,6 +374,9 @@ |
|
|
|
<if test="graduationTime != null"> |
|
|
|
#{graduationTime,jdbcType=TIMESTAMP}, |
|
|
|
</if> |
|
|
|
<if test="readingStatus != null"> |
|
|
|
#{readingStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
<select id="countByExample" parameterType="com.research.system.domain.po.KtsKtGroupMemberAduitExample" resultType="java.lang.Long"> |
|
|
|
@ -484,6 +493,9 @@ |
|
|
|
<if test="record.graduationTime != null"> |
|
|
|
graduation_time = #{record.graduationTime,jdbcType=TIMESTAMP}, |
|
|
|
</if> |
|
|
|
<if test="record.readingStatus != null"> |
|
|
|
reading_status = #{record.readingStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
@ -525,7 +537,8 @@ |
|
|
|
parent_kt_id = #{record.parentKtId,jdbcType=BIGINT}, |
|
|
|
kt_group_name = #{record.ktGroupName,jdbcType=VARCHAR}, |
|
|
|
enroll_time = #{record.enrollTime,jdbcType=TIMESTAMP}, |
|
|
|
graduation_time = #{record.graduationTime,jdbcType=TIMESTAMP} |
|
|
|
graduation_time = #{record.graduationTime,jdbcType=TIMESTAMP}, |
|
|
|
reading_status = #{record.readingStatus,jdbcType=TINYINT} |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
</if> |
|
|
|
@ -635,6 +648,9 @@ |
|
|
|
<if test="graduationTime != null"> |
|
|
|
graduation_time = #{graduationTime,jdbcType=TIMESTAMP}, |
|
|
|
</if> |
|
|
|
<if test="readingStatus != null"> |
|
|
|
reading_status = #{readingStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
@ -673,7 +689,8 @@ |
|
|
|
parent_kt_id = #{parentKtId,jdbcType=BIGINT}, |
|
|
|
kt_group_name = #{ktGroupName,jdbcType=VARCHAR}, |
|
|
|
enroll_time = #{enrollTime,jdbcType=TIMESTAMP}, |
|
|
|
graduation_time = #{graduationTime,jdbcType=TIMESTAMP} |
|
|
|
graduation_time = #{graduationTime,jdbcType=TIMESTAMP}, |
|
|
|
reading_status = #{readingStatus,jdbcType=TINYINT} |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
</mapper> |