|
@ -24,6 +24,7 @@ |
|
|
<result column="student_record_file" jdbcType="BIGINT" property="studentRecordFile" /> |
|
|
<result column="student_record_file" jdbcType="BIGINT" property="studentRecordFile" /> |
|
|
<result column="health_record_file" jdbcType="BIGINT" property="healthRecordFile" /> |
|
|
<result column="health_record_file" jdbcType="BIGINT" property="healthRecordFile" /> |
|
|
<result column="insurance_record_file" jdbcType="BIGINT" property="insuranceRecordFile" /> |
|
|
<result column="insurance_record_file" jdbcType="BIGINT" property="insuranceRecordFile" /> |
|
|
|
|
|
<result column="group_remark" jdbcType="TINYINT" property="groupRemark" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<where> |
|
|
<where> |
|
@ -87,7 +88,7 @@ |
|
|
id, user_id, name, id_card, phone, gender, id_card_front, id_card_back, prove_img, |
|
|
id, user_id, name, id_card, phone, gender, id_card_front, id_card_back, prove_img, |
|
|
compete_group_id, company_id, authorization, created_at, updated_at, rec_status, |
|
|
compete_group_id, company_id, authorization, created_at, updated_at, rec_status, |
|
|
compete_time_id, id_card_front_file, id_card_back_file, id_photo_file, student_record_file, |
|
|
compete_time_id, id_card_front_file, id_card_back_file, id_photo_file, student_record_file, |
|
|
health_record_file, insurance_record_file |
|
|
health_record_file, insurance_record_file, group_remark |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.mt.bean.po.CompetePlayerExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.mt.bean.po.CompetePlayerExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
@ -127,7 +128,7 @@ |
|
|
created_at, updated_at, rec_status, |
|
|
created_at, updated_at, rec_status, |
|
|
compete_time_id, id_card_front_file, id_card_back_file, |
|
|
compete_time_id, id_card_front_file, id_card_back_file, |
|
|
id_photo_file, student_record_file, health_record_file, |
|
|
id_photo_file, student_record_file, health_record_file, |
|
|
insurance_record_file) |
|
|
insurance_record_file, group_remark) |
|
|
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, |
|
|
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, |
|
|
#{idCard,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT}, |
|
|
#{idCard,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT}, |
|
|
#{idCardFront,jdbcType=VARCHAR}, #{idCardBack,jdbcType=VARCHAR}, #{proveImg,jdbcType=VARCHAR}, |
|
|
#{idCardFront,jdbcType=VARCHAR}, #{idCardBack,jdbcType=VARCHAR}, #{proveImg,jdbcType=VARCHAR}, |
|
@ -135,7 +136,7 @@ |
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
|
|
#{competeTimeId,jdbcType=BIGINT}, #{idCardFrontFile,jdbcType=BIGINT}, #{idCardBackFile,jdbcType=BIGINT}, |
|
|
#{competeTimeId,jdbcType=BIGINT}, #{idCardFrontFile,jdbcType=BIGINT}, #{idCardBackFile,jdbcType=BIGINT}, |
|
|
#{idPhotoFile,jdbcType=BIGINT}, #{studentRecordFile,jdbcType=BIGINT}, #{healthRecordFile,jdbcType=BIGINT}, |
|
|
#{idPhotoFile,jdbcType=BIGINT}, #{studentRecordFile,jdbcType=BIGINT}, #{healthRecordFile,jdbcType=BIGINT}, |
|
|
#{insuranceRecordFile,jdbcType=BIGINT}) |
|
|
#{insuranceRecordFile,jdbcType=BIGINT}, #{groupRemark,jdbcType=TINYINT}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.mt.bean.po.CompetePlayer"> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.mt.bean.po.CompetePlayer"> |
|
|
insert into t_compete_player |
|
|
insert into t_compete_player |
|
@ -206,6 +207,9 @@ |
|
|
<if test="insuranceRecordFile != null"> |
|
|
<if test="insuranceRecordFile != null"> |
|
|
insurance_record_file, |
|
|
insurance_record_file, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="groupRemark != null"> |
|
|
|
|
|
group_remark, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
@ -274,6 +278,9 @@ |
|
|
<if test="insuranceRecordFile != null"> |
|
|
<if test="insuranceRecordFile != null"> |
|
|
#{insuranceRecordFile,jdbcType=BIGINT}, |
|
|
#{insuranceRecordFile,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="groupRemark != null"> |
|
|
|
|
|
#{groupRemark,jdbcType=TINYINT}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.ccsens.mt.bean.po.CompetePlayerExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.ccsens.mt.bean.po.CompetePlayerExample" resultType="java.lang.Long"> |
|
@ -351,6 +358,9 @@ |
|
|
<if test="record.insuranceRecordFile != null"> |
|
|
<if test="record.insuranceRecordFile != null"> |
|
|
insurance_record_file = #{record.insuranceRecordFile,jdbcType=BIGINT}, |
|
|
insurance_record_file = #{record.insuranceRecordFile,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.groupRemark != null"> |
|
|
|
|
|
group_remark = #{record.groupRemark,jdbcType=TINYINT}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
@ -379,7 +389,8 @@ |
|
|
id_photo_file = #{record.idPhotoFile,jdbcType=BIGINT}, |
|
|
id_photo_file = #{record.idPhotoFile,jdbcType=BIGINT}, |
|
|
student_record_file = #{record.studentRecordFile,jdbcType=BIGINT}, |
|
|
student_record_file = #{record.studentRecordFile,jdbcType=BIGINT}, |
|
|
health_record_file = #{record.healthRecordFile,jdbcType=BIGINT}, |
|
|
health_record_file = #{record.healthRecordFile,jdbcType=BIGINT}, |
|
|
insurance_record_file = #{record.insuranceRecordFile,jdbcType=BIGINT} |
|
|
insurance_record_file = #{record.insuranceRecordFile,jdbcType=BIGINT}, |
|
|
|
|
|
group_remark = #{record.groupRemark,jdbcType=TINYINT} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
@ -450,6 +461,9 @@ |
|
|
<if test="insuranceRecordFile != null"> |
|
|
<if test="insuranceRecordFile != null"> |
|
|
insurance_record_file = #{insuranceRecordFile,jdbcType=BIGINT}, |
|
|
insurance_record_file = #{insuranceRecordFile,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="groupRemark != null"> |
|
|
|
|
|
group_remark = #{groupRemark,jdbcType=TINYINT}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
@ -475,7 +489,8 @@ |
|
|
id_photo_file = #{idPhotoFile,jdbcType=BIGINT}, |
|
|
id_photo_file = #{idPhotoFile,jdbcType=BIGINT}, |
|
|
student_record_file = #{studentRecordFile,jdbcType=BIGINT}, |
|
|
student_record_file = #{studentRecordFile,jdbcType=BIGINT}, |
|
|
health_record_file = #{healthRecordFile,jdbcType=BIGINT}, |
|
|
health_record_file = #{healthRecordFile,jdbcType=BIGINT}, |
|
|
insurance_record_file = #{insuranceRecordFile,jdbcType=BIGINT} |
|
|
insurance_record_file = #{insuranceRecordFile,jdbcType=BIGINT}, |
|
|
|
|
|
group_remark = #{groupRemark,jdbcType=TINYINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |