Commit 466b4f20 by jianan

审批通过后在practitioner表中保存hiringBasicInfoId

parent b3b0f35b
......@@ -391,6 +391,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
practitioner.setMentorId(membership.getMentorPractitionerId());
practitioner.setIntroducerId(membership.getIntroducerPractitionerId());
practitioner.setGender(basicInfo.getGender());
practitioner.setHiringBasicInfoId(hiringBasicInfoId);
aclPractitionerDalService.save(practitioner);
AclPractitionerSetting setting = new AclPractitionerSetting();
......
......@@ -202,5 +202,7 @@ public class AclPractitioner implements Serializable {
*/
private Integer gender;
private Long hiringBasicInfoId;
private static final long serialVersionUID = 1L;
}
\ No newline at end of file
......@@ -73,7 +73,7 @@
city_name, cert_list, bio_intro,
wechat_id, qq_id, is_profile_show,
is_name_show, is_mobile_show, education_level,
mentor_id, introducer_id, gender
mentor_id, introducer_id, gender, hiring_basic_info_id
)
values (#{insurerId,jdbcType=BIGINT}, #{insurerBranchId,jdbcType=BIGINT}, #{deptId,jdbcType=BIGINT},
#{subordinateSystemId,jdbcType=BIGINT}, #{practitionerCode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
......@@ -87,7 +87,8 @@
#{cityName,jdbcType=VARCHAR}, #{certList,jdbcType=VARCHAR}, #{bioIntro,jdbcType=VARCHAR},
#{wechatId,jdbcType=VARCHAR}, #{qqId,jdbcType=VARCHAR}, #{isProfileShow,jdbcType=INTEGER},
#{isNameShow,jdbcType=INTEGER}, #{isMobileShow,jdbcType=INTEGER}, #{educationLevel,jdbcType=VARCHAR},
#{mentorId,jdbcType=BIGINT}, #{introducerId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}
#{mentorId,jdbcType=BIGINT}, #{introducerId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER},
#{hiringBasicInfoId,jdbcType=BIGINT}
)
</insert>
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yd.dal.entity.customer.AclPractitioner" useGeneratedKeys="true">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment