|
@@ -70,85 +70,45 @@
|
|
<if test="subjectIdList != null">
|
|
<if test="subjectIdList != null">
|
|
subject_id_list_ = #{subjectIdList},
|
|
subject_id_list_ = #{subjectIdList},
|
|
</if>
|
|
</if>
|
|
- <if test="gender != null">
|
|
|
|
gender_ = #{gender},
|
|
gender_ = #{gender},
|
|
- </if>
|
|
|
|
- <if test="entryDate != null">
|
|
|
|
entry_date_ = #{entryDate},
|
|
entry_date_ = #{entryDate},
|
|
- </if>
|
|
|
|
- <if test="otherComment != null">
|
|
|
|
other_comment_ = #{otherComment},
|
|
other_comment_ = #{otherComment},
|
|
- </if>
|
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
</if>
|
|
</if>
|
|
- <if test="educationalBackground != null">
|
|
|
|
educational_background_ = #{educationalBackground},
|
|
educational_background_ = #{educationalBackground},
|
|
- </if>
|
|
|
|
- <if test="emergencyContactPhone != null">
|
|
|
|
emergency_contact_phone_ = #{emergencyContactPhone},
|
|
emergency_contact_phone_ = #{emergencyContactPhone},
|
|
- </if>
|
|
|
|
resignation_date_ = #{resignationDate},
|
|
resignation_date_ = #{resignationDate},
|
|
- <if test="position != null">
|
|
|
|
position_ = #{position,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
position_ = #{position,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
- </if>
|
|
|
|
<if test="updateTime != null">
|
|
<if test="updateTime != null">
|
|
update_time_ = #{updateTime},
|
|
update_time_ = #{updateTime},
|
|
</if>
|
|
</if>
|
|
- <if test="emergencyContactRelation != null">
|
|
|
|
emergency_contact_relation_ = #{emergencyContactRelation},
|
|
emergency_contact_relation_ = #{emergencyContactRelation},
|
|
- </if>
|
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
id_ = #{id},
|
|
id_ = #{id},
|
|
</if>
|
|
</if>
|
|
- <if test="bankCardNo != null">
|
|
|
|
bank_card_no_ = #{bankCardNo},
|
|
bank_card_no_ = #{bankCardNo},
|
|
- </if>
|
|
|
|
- <if test="realName != null">
|
|
|
|
real_name_ = #{realName},
|
|
real_name_ = #{realName},
|
|
- </if>
|
|
|
|
- <if test="idCard != null">
|
|
|
|
id_card_ = #{idCard},
|
|
id_card_ = #{idCard},
|
|
- </if>
|
|
|
|
- <if test="age != null">
|
|
|
|
age_ = #{age},
|
|
age_ = #{age},
|
|
- </if>
|
|
|
|
- <if test="liveCity != null">
|
|
|
|
live_city_ = #{liveCity},
|
|
live_city_ = #{liveCity},
|
|
- </if>
|
|
|
|
- <if test="intentionCity != null">
|
|
|
|
intention_city_ = #{intentionCity},
|
|
intention_city_ = #{intentionCity},
|
|
- </if>
|
|
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
create_time_ = #{createTime},
|
|
create_time_ = #{createTime},
|
|
</if>
|
|
</if>
|
|
- <if test="wechatNo != null">
|
|
|
|
wechat_no_ = #{wechatNo},
|
|
wechat_no_ = #{wechatNo},
|
|
- </if>
|
|
|
|
- <if test="assessmentResult != null">
|
|
|
|
assessment_result_ = #{assessmentResult},
|
|
assessment_result_ = #{assessmentResult},
|
|
- </if>
|
|
|
|
- <if test="mobileNo != null">
|
|
|
|
mobile_no_ = #{mobileNo},
|
|
mobile_no_ = #{mobileNo},
|
|
- </if>
|
|
|
|
- <if test="emergencyContactName != null">
|
|
|
|
emergency_contact_name_ = #{emergencyContactName},
|
|
emergency_contact_name_ = #{emergencyContactName},
|
|
- </if>
|
|
|
|
- <if test="birthdate != null">
|
|
|
|
birthdate_ = #{birthdate},
|
|
birthdate_ = #{birthdate},
|
|
- </if>
|
|
|
|
- <if test="bankAddress != null">
|
|
|
|
bank_address_ = #{bankAddress},
|
|
bank_address_ = #{bankAddress},
|
|
- </if>
|
|
|
|
<if test="organId != null">
|
|
<if test="organId != null">
|
|
organ_id_ = #{organId},
|
|
organ_id_ = #{organId},
|
|
</if>
|
|
</if>
|
|
<if test="operatorId != null">
|
|
<if test="operatorId != null">
|
|
operator_id_ = #{operatorId},
|
|
operator_id_ = #{operatorId},
|
|
</if>
|
|
</if>
|
|
- <if test="sourceFrom != null">
|
|
|
|
- source_from_ = #{sourceFrom},
|
|
|
|
- </if>
|
|
|
|
|
|
+ source_from_ = #{sourceFrom}
|
|
</set>
|
|
</set>
|
|
WHERE id_ = #{id}
|
|
WHERE id_ = #{id}
|
|
</update>
|
|
</update>
|
|
@@ -189,7 +149,7 @@
|
|
left join sys_user u on u.id_ = ei.operator_id_
|
|
left join sys_user u on u.id_ = ei.operator_id_
|
|
<include refid="queryPageMap"/>
|
|
<include refid="queryPageMap"/>
|
|
GROUP BY ei.id_
|
|
GROUP BY ei.id_
|
|
- ORDER BY ei.update_time_
|
|
|
|
|
|
+ ORDER BY ei.update_time_ desc
|
|
<include refid="global.limit" />
|
|
<include refid="global.limit" />
|
|
</select>
|
|
</select>
|
|
|
|
|