Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
0f002b71
Commit
0f002b71
authored
Apr 13, 2022
by
wenyang
Committed by
akexiu
Apr 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支持经纪人录入的自我介绍,支持同时AGMS与赢家平台的返回bioIntro、bioIntroTwo
parent
acf55213
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
6 deletions
+27
-6
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+2
-1
yd-api/src/main/java/com/yd/api/practitioner/vo/setting/SettingQueryResponseVO.java
+4
-0
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitioner.java
+5
-0
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
+16
-5
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
0f002b71
...
@@ -873,6 +873,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -873,6 +873,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
//返回参数
//返回参数
responseVO
.
setPractitionerId
(
practitionerId
);
responseVO
.
setPractitionerId
(
practitionerId
);
responseVO
.
setBioIntro
(
bioIntro
);
responseVO
.
setBioIntro
(
bioIntro
);
responseVO
.
setBioIntroTwo
(
practitioner
.
getBioIntroTwo
());
responseVO
.
setIsMobileShow
(
isMobileShow
);
responseVO
.
setIsMobileShow
(
isMobileShow
);
responseVO
.
setIsNameShow
(
isNameShow
);
responseVO
.
setIsNameShow
(
isNameShow
);
responseVO
.
setHeadImgUrl
(
headImgUrl
);
responseVO
.
setHeadImgUrl
(
headImgUrl
);
...
@@ -3778,7 +3779,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -3778,7 +3779,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
Long
practitionerId
=
requestVO
.
getPractitionerId
();
Long
practitionerId
=
requestVO
.
getPractitionerId
();
AclPractitioner
practitioner
=
aclPractitionerDALService
.
findPractitionerById
(
practitionerId
);
AclPractitioner
practitioner
=
aclPractitionerDALService
.
findPractitionerById
(
practitionerId
);
if
(
settingSave
.
equalsIgnoreCase
(
"intro"
))
{
if
(
settingSave
.
equalsIgnoreCase
(
"intro"
))
{
practitioner
.
setBioIntro
(
requestVO
.
getBioIntro
());
practitioner
.
setBioIntro
Two
(
requestVO
.
getBioIntro
());
}
else
if
(
settingSave
.
equalsIgnoreCase
(
"isShow"
))
{
}
else
if
(
settingSave
.
equalsIgnoreCase
(
"isShow"
))
{
practitioner
.
setIsNameShow
(
requestVO
.
getIsNameShow
());
practitioner
.
setIsNameShow
(
requestVO
.
getIsNameShow
());
practitioner
.
setIsMobileShow
(
requestVO
.
getIsMobileShow
());
practitioner
.
setIsMobileShow
(
requestVO
.
getIsMobileShow
());
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/setting/SettingQueryResponseVO.java
View file @
0f002b71
...
@@ -16,6 +16,10 @@ public class SettingQueryResponseVO {
...
@@ -16,6 +16,10 @@ public class SettingQueryResponseVO {
*/
*/
private
String
bioIntro
;
private
String
bioIntro
;
/**
/**
* 经纪人自我介绍(经纪人录入的)
*/
private
String
bioIntroTwo
;
/**
* 头像
* 头像
*/
*/
private
String
headImgUrl
;
private
String
headImgUrl
;
...
...
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitioner.java
View file @
0f002b71
...
@@ -163,6 +163,11 @@ public class AclPractitioner {
...
@@ -163,6 +163,11 @@ public class AclPractitioner {
private
String
bioIntro
;
private
String
bioIntro
;
/**
/**
* 从业人员自我简介(经纪人自己设置的)
*/
private
String
bioIntroTwo
;
/**
* 从业人员微信号
* 从业人员微信号
*/
*/
private
String
wechatId
;
private
String
wechatId
;
...
...
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
View file @
0f002b71
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
<result
column=
"city_name"
jdbcType=
"VARCHAR"
property=
"cityName"
/>
<result
column=
"city_name"
jdbcType=
"VARCHAR"
property=
"cityName"
/>
<result
column=
"cert_list"
jdbcType=
"VARCHAR"
property=
"certList"
/>
<result
column=
"cert_list"
jdbcType=
"VARCHAR"
property=
"certList"
/>
<result
column=
"bio_intro"
jdbcType=
"LONGVARCHAR"
property=
"bioIntro"
/>
<result
column=
"bio_intro"
jdbcType=
"LONGVARCHAR"
property=
"bioIntro"
/>
<result
column=
"bio_intro_two"
jdbcType=
"LONGVARCHAR"
property=
"bioIntroTwo"
/>
<result
column=
"wechat_id"
jdbcType=
"VARCHAR"
property=
"wechatId"
/>
<result
column=
"wechat_id"
jdbcType=
"VARCHAR"
property=
"wechatId"
/>
<result
column=
"qq_id"
jdbcType=
"VARCHAR"
property=
"qqId"
/>
<result
column=
"qq_id"
jdbcType=
"VARCHAR"
property=
"qqId"
/>
<result
column=
"is_profile_show"
jdbcType=
"INTEGER"
property=
"isProfileShow"
/>
<result
column=
"is_profile_show"
jdbcType=
"INTEGER"
property=
"isProfileShow"
/>
...
@@ -61,7 +62,7 @@
...
@@ -61,7 +62,7 @@
`name`, mobile_no, id_type_id, id_type, id_no, practitioner_birthdate, practitioner_reg_no,
`name`, mobile_no, id_type_id, id_type, id_no, practitioner_birthdate, practitioner_reg_no,
practitioner_reg_company, effective_start_date, effective_end_date, remark, customer_id,
practitioner_reg_company, effective_start_date, effective_end_date, remark, customer_id,
employee_no, contract_no, is_active, created_at, created_by, updated_at, updated_by,
employee_no, contract_no, is_active, created_at, created_by, updated_at, updated_by,
province_id, province_name, city_id, city_name, cert_list, bio_intro, wechat_id,
province_id, province_name, city_id, city_name, cert_list, bio_intro,
bio_intro_two,
wechat_id,
qq_id, is_profile_show, is_name_show, is_mobile_show, education_level, graduated_university,
qq_id, is_profile_show, is_name_show, is_mobile_show, education_level, graduated_university,
mentor_id, introducer_id, gender, contract_oss_path, hiring_basic_info_id, can_login_dyd,
mentor_id, introducer_id, gender, contract_oss_path, hiring_basic_info_id, can_login_dyd,
can_see_salary_list,raise_id,s1_id,s2_id,s3_id
can_see_salary_list,raise_id,s1_id,s2_id,s3_id
...
@@ -90,7 +91,7 @@
...
@@ -90,7 +91,7 @@
created_at, created_by, updated_at,
created_at, created_by, updated_at,
updated_by, province_id, province_name,
updated_by, province_id, province_name,
city_id, city_name, cert_list,
city_id, city_name, cert_list,
bio_intro, wechat_id, qq_id,
bio_intro,
bio_intro_two,
wechat_id, qq_id,
is_profile_show, is_name_show, is_mobile_show,
is_profile_show, is_name_show, is_mobile_show,
education_level, graduated_university, mentor_id,
education_level, graduated_university, mentor_id,
introducer_id, gender, contract_oss_path,
introducer_id, gender, contract_oss_path,
...
@@ -107,7 +108,7 @@
...
@@ -107,7 +108,7 @@
#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP},
#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP},
#{updatedBy,jdbcType=BIGINT}, #{provinceId,jdbcType=BIGINT}, #{provinceName,jdbcType=VARCHAR},
#{updatedBy,jdbcType=BIGINT}, #{provinceId,jdbcType=BIGINT}, #{provinceName,jdbcType=VARCHAR},
#{cityId,jdbcType=BIGINT}, #{cityName,jdbcType=VARCHAR}, #{certList,jdbcType=VARCHAR},
#{cityId,jdbcType=BIGINT}, #{cityName,jdbcType=VARCHAR}, #{certList,jdbcType=VARCHAR},
#{bioIntro,jdbcType=LONGVARCHAR}, #{wechatId,jdbcType=VARCHAR}, #{qqId,jdbcType=VARCHAR},
#{bioIntro,jdbcType=LONGVARCHAR},
#{bioIntroTwo,jdbcType=LONGVARCHAR},
#{wechatId,jdbcType=VARCHAR}, #{qqId,jdbcType=VARCHAR},
#{isProfileShow,jdbcType=INTEGER}, #{isNameShow,jdbcType=INTEGER}, #{isMobileShow,jdbcType=INTEGER},
#{isProfileShow,jdbcType=INTEGER}, #{isNameShow,jdbcType=INTEGER}, #{isMobileShow,jdbcType=INTEGER},
#{educationLevel,jdbcType=VARCHAR}, #{graduatedUniversity,jdbcType=VARCHAR}, #{mentorId,jdbcType=BIGINT},
#{educationLevel,jdbcType=VARCHAR}, #{graduatedUniversity,jdbcType=VARCHAR}, #{mentorId,jdbcType=BIGINT},
#{introducerId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}, #{contractOssPath,jdbcType=VARCHAR},
#{introducerId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}, #{contractOssPath,jdbcType=VARCHAR},
...
@@ -209,6 +210,9 @@
...
@@ -209,6 +210,9 @@
<if
test=
"bioIntro != null"
>
<if
test=
"bioIntro != null"
>
bio_intro,
bio_intro,
</if>
</if>
<if
test=
"bioIntroTwo != null"
>
bio_intro_two,
</if>
<if
test=
"wechatId != null"
>
<if
test=
"wechatId != null"
>
wechat_id,
wechat_id,
</if>
</if>
...
@@ -346,6 +350,9 @@
...
@@ -346,6 +350,9 @@
<if
test=
"bioIntro != null"
>
<if
test=
"bioIntro != null"
>
#{bioIntro,jdbcType=LONGVARCHAR},
#{bioIntro,jdbcType=LONGVARCHAR},
</if>
</if>
<if
test=
"bioIntroTwo != null"
>
#{bioIntroTwo,jdbcType=LONGVARCHAR},
</if>
<if
test=
"wechatId != null"
>
<if
test=
"wechatId != null"
>
#{wechatId,jdbcType=VARCHAR},
#{wechatId,jdbcType=VARCHAR},
</if>
</if>
...
@@ -487,6 +494,9 @@
...
@@ -487,6 +494,9 @@
<if
test=
"bioIntro != null"
>
<if
test=
"bioIntro != null"
>
bio_intro = #{bioIntro,jdbcType=LONGVARCHAR},
bio_intro = #{bioIntro,jdbcType=LONGVARCHAR},
</if>
</if>
<if
test=
"bioIntroTwo != null"
>
bio_intro_two = #{bioIntroTwo,jdbcType=LONGVARCHAR},
</if>
<if
test=
"wechatId != null"
>
<if
test=
"wechatId != null"
>
wechat_id = #{wechatId,jdbcType=VARCHAR},
wechat_id = #{wechatId,jdbcType=VARCHAR},
</if>
</if>
...
@@ -565,6 +575,7 @@
...
@@ -565,6 +575,7 @@
city_name = #{cityName,jdbcType=VARCHAR},
city_name = #{cityName,jdbcType=VARCHAR},
cert_list = #{certList,jdbcType=VARCHAR},
cert_list = #{certList,jdbcType=VARCHAR},
bio_intro = #{bioIntro,jdbcType=LONGVARCHAR},
bio_intro = #{bioIntro,jdbcType=LONGVARCHAR},
bio_intro_two = #{bioIntroTwo,jdbcType=LONGVARCHAR},
wechat_id = #{wechatId,jdbcType=VARCHAR},
wechat_id = #{wechatId,jdbcType=VARCHAR},
qq_id = #{qqId,jdbcType=VARCHAR},
qq_id = #{qqId,jdbcType=VARCHAR},
is_profile_show = #{isProfileShow,jdbcType=INTEGER},
is_profile_show = #{isProfileShow,jdbcType=INTEGER},
...
@@ -1136,7 +1147,7 @@
...
@@ -1136,7 +1147,7 @@
`name`, mobile_no, id_type_id, id_type, id_no, practitioner_birthdate, practitioner_reg_no,
`name`, mobile_no, id_type_id, id_type, id_no, practitioner_birthdate, practitioner_reg_no,
practitioner_reg_company, effective_start_date, effective_end_date, remark, customer_id,
practitioner_reg_company, effective_start_date, effective_end_date, remark, customer_id,
employee_no, contract_no, is_active, created_at, created_by, updated_at, updated_by,
employee_no, contract_no, is_active, created_at, created_by, updated_at, updated_by,
province_id, province_name, city_id, city_name, cert_list, bio_intro, wechat_id,
province_id, province_name, city_id, city_name, cert_list, bio_intro,
bio_intro_two,
wechat_id,
qq_id, is_profile_show, is_name_show, is_mobile_show, education_level, graduated_university,
qq_id, is_profile_show, is_name_show, is_mobile_show, education_level, graduated_university,
mentor_id, introducer_id, gender, contract_oss_path, hiring_basic_info_id, can_login_dyd,
mentor_id, introducer_id, gender, contract_oss_path, hiring_basic_info_id, can_login_dyd,
can_see_salary_list)
can_see_salary_list)
...
@@ -1152,7 +1163,7 @@
...
@@ -1152,7 +1163,7 @@
#{item.contractNo,jdbcType=VARCHAR}, #{item.isActive,jdbcType=INTEGER}, #{item.createdAt,jdbcType=TIMESTAMP},
#{item.contractNo,jdbcType=VARCHAR}, #{item.isActive,jdbcType=INTEGER}, #{item.createdAt,jdbcType=TIMESTAMP},
#{item.createdBy,jdbcType=BIGINT}, #{item.updatedAt,jdbcType=TIMESTAMP}, #{item.updatedBy,jdbcType=BIGINT},
#{item.createdBy,jdbcType=BIGINT}, #{item.updatedAt,jdbcType=TIMESTAMP}, #{item.updatedBy,jdbcType=BIGINT},
#{item.provinceId,jdbcType=BIGINT}, #{item.provinceName,jdbcType=VARCHAR}, #{item.cityId,jdbcType=BIGINT},
#{item.provinceId,jdbcType=BIGINT}, #{item.provinceName,jdbcType=VARCHAR}, #{item.cityId,jdbcType=BIGINT},
#{item.cityName,jdbcType=VARCHAR}, #{item.certList,jdbcType=VARCHAR}, #{item.bioIntro,jdbcType=LONGVARCHAR},
#{item.cityName,jdbcType=VARCHAR}, #{item.certList,jdbcType=VARCHAR}, #{item.bioIntro,jdbcType=LONGVARCHAR},
#{item.bioIntroTwo,jdbcType=LONGVARCHAR},
#{item.wechatId,jdbcType=VARCHAR}, #{item.qqId,jdbcType=VARCHAR}, #{item.isProfileShow,jdbcType=INTEGER},
#{item.wechatId,jdbcType=VARCHAR}, #{item.qqId,jdbcType=VARCHAR}, #{item.isProfileShow,jdbcType=INTEGER},
#{item.isNameShow,jdbcType=INTEGER}, #{item.isMobileShow,jdbcType=INTEGER}, #{item.educationLevel,jdbcType=VARCHAR},
#{item.isNameShow,jdbcType=INTEGER}, #{item.isMobileShow,jdbcType=INTEGER}, #{item.educationLevel,jdbcType=VARCHAR},
#{item.graduatedUniversity,jdbcType=VARCHAR}, #{item.mentorId,jdbcType=BIGINT},
#{item.graduatedUniversity,jdbcType=VARCHAR}, #{item.mentorId,jdbcType=BIGINT},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment