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
81815907
Commit
81815907
authored
Dec 30, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人声明曾经报聘为空,最高学历加code
parent
27682633
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
4 deletions
+20
-4
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
+3
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/hiring/SaveLastGraduateGradeRequestVO.java
+1
-0
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitionerHiringBasicInfo.java
+5
-0
yd-api/src/main/resources/mapper/customer/AclPractitionerHiringBasicInfoMapper.xml
+6
-1
yd-api/src/main/resources/mapper/customer/AclPractitionerHiringPersonalStatementsMapper.xml
+5
-3
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
View file @
81815907
...
...
@@ -269,6 +269,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
SaveLastGraduateGradeResponseVO
resp
=
new
SaveLastGraduateGradeResponseVO
();
try
{
Long
basicInfoId
=
requestVO
.
getHiringBasicInfoId
();
String
code
=
requestVO
.
getLastGraduateCode
();
String
grade
=
requestVO
.
getLastGraduateGrade
();
String
school
=
requestVO
.
getLastGraduateSchool
();
String
vxUrl
=
requestVO
.
getCertificationVxUrl
();
...
...
@@ -278,6 +279,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
if
(
imgUrl
!=
null
)
{
AclPractitionerHiringBasicInfo
basicInfo
=
new
AclPractitionerHiringBasicInfo
();
basicInfo
.
setId
(
basicInfoId
);
basicInfo
.
setLastGraduateCode
(
code
);
basicInfo
.
setLastGraduateGrade
(
grade
);
basicInfo
.
setLastGraduateSchool
(
school
);
basicInfo
.
setLastGraduateCertificationOssPath
(
imgUrl
);
...
...
@@ -510,6 +512,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
try
{
AclPractitionerHiringBasicInfo
basicInfo
=
new
AclPractitionerHiringBasicInfo
();
BeanUtils
.
copyProperties
(
requestVO
,
basicInfo
);
basicInfo
.
setId
(
requestVO
.
getHiringBasicInfoId
());
basicInfoMapper
.
updateByPrimaryKeySelective
(
basicInfo
);
resp
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/hiring/SaveLastGraduateGradeRequestVO.java
View file @
81815907
...
...
@@ -5,6 +5,7 @@ import lombok.Data;
@Data
public
class
SaveLastGraduateGradeRequestVO
{
private
Long
hiringBasicInfoId
;
private
String
lastGraduateCode
;
private
String
lastGraduateGrade
;
private
String
lastGraduateSchool
;
private
String
certificationVxUrl
;
...
...
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitionerHiringBasicInfo.java
View file @
81815907
...
...
@@ -109,6 +109,11 @@ public class AclPractitionerHiringBasicInfo {
private
String
idBackPageOssPath
;
/**
* 学历编码 FK ag_md_code.code_type:EducationLevel code_code
*/
private
String
lastGraduateCode
;
/**
* 最高学历
*/
private
String
lastGraduateGrade
;
...
...
yd-api/src/main/resources/mapper/customer/AclPractitionerHiringBasicInfoMapper.xml
View file @
81815907
...
...
@@ -24,6 +24,7 @@
<result
column=
"personer_picture_oss_path"
jdbcType=
"VARCHAR"
property=
"personerPictureOssPath"
/>
<result
column=
"id_front_page_oss_path"
jdbcType=
"VARCHAR"
property=
"idFrontPageOssPath"
/>
<result
column=
"id_back_page_oss_path"
jdbcType=
"VARCHAR"
property=
"idBackPageOssPath"
/>
<result
column=
"last_graduate_code"
jdbcType=
"VARCHAR"
property=
"lastGraduateCode"
/>
<result
column=
"last_graduate_grade"
jdbcType=
"VARCHAR"
property=
"lastGraduateGrade"
/>
<result
column=
"last_graduate_school"
jdbcType=
"VARCHAR"
property=
"lastGraduateSchool"
/>
<result
column=
"last_graduate_certification_oss_path"
jdbcType=
"VARCHAR"
property=
"lastGraduateCertificationOssPath"
/>
...
...
@@ -41,7 +42,7 @@
id, practitioner_potential_id, invitee_practitioner_id, `name`, mobile_no, id_type_id,
id_type, id_no, gender, practitioner_birthdate, province_id, province_name, city_id,
city_name, resident_address, wechat_id, email, personer_picture_oss_path, id_front_page_oss_path,
id_back_page_oss_path, last_graduate_
grade, last_graduate_school, last_graduate_certification_oss_path,
id_back_page_oss_path, last_graduate_
code, last_graduate_grade, last_graduate_school, last_graduate_certification_oss_path,
bank_account_opening, bank_account_id, personal_sign_oss_path, is_active, created_at,
created_by, updated_at, updated_by
</sql>
...
...
@@ -333,6 +334,9 @@
<if
test=
"idBackPageOssPath != null"
>
id_back_page_oss_path = #{idBackPageOssPath,jdbcType=VARCHAR},
</if>
<if
test=
"lastGraduateCode != null"
>
last_graduate_code = #{lastGraduateCode,jdbcType=VARCHAR},
</if>
<if
test=
"lastGraduateGrade != null"
>
last_graduate_grade = #{lastGraduateGrade,jdbcType=VARCHAR},
</if>
...
...
@@ -391,6 +395,7 @@
personer_picture_oss_path = #{personerPictureOssPath,jdbcType=VARCHAR},
id_front_page_oss_path = #{idFrontPageOssPath,jdbcType=VARCHAR},
id_back_page_oss_path = #{idBackPageOssPath,jdbcType=VARCHAR},
last_graduate_code = #{lastGraduateCode,jdbcType=VARCHAR},
last_graduate_grade = #{lastGraduateGrade,jdbcType=VARCHAR},
last_graduate_school = #{lastGraduateSchool,jdbcType=VARCHAR},
last_graduate_certification_oss_path = #{lastGraduateCertificationOssPath,jdbcType=VARCHAR},
...
...
yd-api/src/main/resources/mapper/customer/AclPractitionerHiringPersonalStatementsMapper.xml
View file @
81815907
...
...
@@ -10,6 +10,7 @@
<result
column=
"md_drop_option_name"
jdbcType=
"VARCHAR"
property=
"mdDropOptionName"
/>
<result
column=
"status"
jdbcType=
"BIGINT"
property=
"status"
/>
<result
column=
"is_active"
jdbcType=
"INTEGER"
property=
"isActive"
/>
<result
column=
"user_input"
jdbcType=
"INTEGER"
property=
"userInput"
/>
<result
column=
"created_at"
jdbcType=
"TIMESTAMP"
property=
"createdAt"
/>
<result
column=
"created_by"
jdbcType=
"BIGINT"
property=
"createdBy"
/>
<result
column=
"updated_at"
jdbcType=
"TIMESTAMP"
property=
"updatedAt"
/>
...
...
@@ -17,7 +18,7 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
id, hiring_basic_info_id, md_drop_option_id, md_drop_option_name, `status`, is_active,
id, hiring_basic_info_id, md_drop_option_id, md_drop_option_name, `status`, is_active,
user_input,
created_at, created_by, updated_at, updated_by
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
...
...
@@ -284,12 +285,13 @@
<insert
id=
"batchInsert"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"map"
useGeneratedKeys=
"true"
>
<!--@mbg.generated-->
insert into ag_acl_practitioner_hiring_personal_statements
(hiring_basic_info_id, md_drop_option_id, md_drop_option_name, `status`, is_active,
(hiring_basic_info_id, md_drop_option_id, md_drop_option_name, `status`, is_active,
user_input,
created_at, created_by, updated_at, updated_by)
values
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(#{item.hiringBasicInfoId,jdbcType=BIGINT}, #{item.mdDropOptionId,jdbcType=BIGINT},
#{item.mdDropOptionName,jdbcType=VARCHAR}, #{item.status,jdbcType=BIGINT}, #{item.isActive,jdbcType=INTEGER},
#{item.mdDropOptionName,jdbcType=VARCHAR}, #{item.status,jdbcType=BIGINT}, #{item.isActive,jdbcType=INTEGER},
#{item.userInput,jdbcType=VARCHAR},
#{item.createdAt,jdbcType=TIMESTAMP}, #{item.createdBy,jdbcType=BIGINT}, #{item.updatedAt,jdbcType=TIMESTAMP},
#{item.updatedBy,jdbcType=BIGINT})
</foreach>
...
...
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