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
f42c92fe
Commit
f42c92fe
authored
Jan 11, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.审批记录加面试评价
2.审批列表查询个人声明没有用户输入 3.AGMS审批列表缺少审批状态和审批时间
parent
124095ff
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
5 deletions
+40
-5
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
+1
-0
yd-api/src/main/java/com/yd/api/agms/vo/hiring/PractitionerHiringApproveRequestVO.java
+12
-0
yd-api/src/main/java/com/yd/dal/entity/agms/hiring/PractitionerHiringListInfo.java
+12
-0
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitionerHiringApproveRecords.java
+5
-0
yd-api/src/main/resources/mapper/agms/AgmsHiringMapper.xml
+5
-2
yd-api/src/main/resources/mapper/customer/AclPractitionerHiringApproveRecordsMapper.xml
+5
-3
No files found.
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsHiringServiceImpl.java
View file @
f42c92fe
...
@@ -187,6 +187,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
...
@@ -187,6 +187,7 @@ public class AgmsHiringServiceImpl implements AgmsHiringService {
records
.
setApproveStepName
(
step
.
getStepName
());
records
.
setApproveStepName
(
step
.
getStepName
());
records
.
setApprovingPractitionerId
(
loginPractitionerId
);
records
.
setApprovingPractitionerId
(
loginPractitionerId
);
records
.
setApprovingStatus
(
requestVO
.
getApprovingStatus
());
records
.
setApprovingStatus
(
requestVO
.
getApprovingStatus
());
records
.
setInterviewAssessment
(
requestVO
.
getInterviewAssessment
());
records
.
setRejectNote
(
requestVO
.
getRejectNote
());
records
.
setRejectNote
(
requestVO
.
getRejectNote
());
records
.
setIsActive
(
1
);
records
.
setIsActive
(
1
);
records
.
setCreatedAt
(
new
Date
());
records
.
setCreatedAt
(
new
Date
());
...
...
yd-api/src/main/java/com/yd/api/agms/vo/hiring/PractitionerHiringApproveRequestVO.java
View file @
f42c92fe
...
@@ -24,6 +24,10 @@ public class PractitionerHiringApproveRequestVO {
...
@@ -24,6 +24,10 @@ public class PractitionerHiringApproveRequestVO {
* 备注,驳回原因
* 备注,驳回原因
*/
*/
private
String
rejectNote
;
private
String
rejectNote
;
/**
* 面试评价
*/
private
String
interviewAssessment
;
/**
/**
...
@@ -126,4 +130,12 @@ public class PractitionerHiringApproveRequestVO {
...
@@ -126,4 +130,12 @@ public class PractitionerHiringApproveRequestVO {
", rejectNote='"
+
rejectNote
+
'\''
+
", rejectNote='"
+
rejectNote
+
'\''
+
'}'
;
'}'
;
}
}
public
String
getInterviewAssessment
()
{
return
interviewAssessment
;
}
public
void
setInterviewAssessment
(
String
interviewAssessment
)
{
this
.
interviewAssessment
=
interviewAssessment
;
}
}
}
yd-api/src/main/java/com/yd/dal/entity/agms/hiring/PractitionerHiringListInfo.java
View file @
f42c92fe
...
@@ -48,6 +48,10 @@ public class PractitionerHiringListInfo {
...
@@ -48,6 +48,10 @@ public class PractitionerHiringListInfo {
* 审批状态
* 审批状态
*/
*/
private
String
status
;
private
String
status
;
/**
* 审批状态
*/
private
String
approvingTime
;
/**
/**
* 获取 经纪人基本信息id ag_acl_practitioner_hiring_basic_info.id
* 获取 经纪人基本信息id ag_acl_practitioner_hiring_basic_info.id
...
@@ -241,4 +245,12 @@ public class PractitionerHiringListInfo {
...
@@ -241,4 +245,12 @@ public class PractitionerHiringListInfo {
public
void
setStatus
(
String
status
)
{
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
;
this
.
status
=
status
;
}
}
public
String
getApprovingTime
()
{
return
approvingTime
;
}
public
void
setApprovingTime
(
String
approvingTime
)
{
this
.
approvingTime
=
approvingTime
;
}
}
}
yd-api/src/main/java/com/yd/dal/entity/customer/AclPractitionerHiringApproveRecords.java
View file @
f42c92fe
...
@@ -44,6 +44,11 @@ public class AclPractitionerHiringApproveRecords {
...
@@ -44,6 +44,11 @@ public class AclPractitionerHiringApproveRecords {
private
String
rejectNote
;
private
String
rejectNote
;
/**
/**
* 面试评价
*/
private
String
interviewAssessment
;
/**
* 0=No, 1=Yes
* 0=No, 1=Yes
*/
*/
private
Integer
isActive
;
private
Integer
isActive
;
...
...
yd-api/src/main/resources/mapper/agms/AgmsHiringMapper.xml
View file @
f42c92fe
...
@@ -83,6 +83,7 @@
...
@@ -83,6 +83,7 @@
<select
id=
"findPractitionerHiringPersonalStatementsList"
<select
id=
"findPractitionerHiringPersonalStatementsList"
resultType=
"com.yd.dal.entity.agms.hiring.PractitionerHiringPersonalStatements"
>
resultType=
"com.yd.dal.entity.agms.hiring.PractitionerHiringPersonalStatements"
>
select md_drop_option_name personalStatements,
select md_drop_option_name personalStatements,
user_input userInput,
if(status is null, null, if(status = 1, '有', '无')) status
if(status is null, null, if(status = 1, '有', '无')) status
from ag_acl_practitioner_hiring_personal_statements
from ag_acl_practitioner_hiring_personal_statements
where is_active = 1
where is_active = 1
...
@@ -134,6 +135,7 @@
...
@@ -134,6 +135,7 @@
<result
column=
"branch"
jdbcType=
"VARCHAR"
property=
"branch"
/>
<result
column=
"branch"
jdbcType=
"VARCHAR"
property=
"branch"
/>
<result
column=
"applicationTime"
jdbcType=
"VARCHAR"
property=
"applicationTime"
/>
<result
column=
"applicationTime"
jdbcType=
"VARCHAR"
property=
"applicationTime"
/>
<result
column=
"status"
jdbcType=
"INTEGER"
property=
"status"
/>
<result
column=
"status"
jdbcType=
"INTEGER"
property=
"status"
/>
<result
column=
"approvingTime"
jdbcType=
"VARCHAR"
property=
"approvingTime"
/>
</resultMap>
</resultMap>
<select
id=
"practitionerHiringList"
resultMap=
"practitionerHiringListInfo"
>
<select
id=
"practitionerHiringList"
resultMap=
"practitionerHiringListInfo"
>
select b.id hiringBasicInfoId,
select b.id hiringBasicInfoId,
...
@@ -145,14 +147,15 @@
...
@@ -145,14 +147,15 @@
m.subsystem subsystem,
m.subsystem subsystem,
m.branch branch,
m.branch branch,
date_format(b.created_at, '%Y-%m-%d %H:%i:%s') applicationTime,
date_format(b.created_at, '%Y-%m-%d %H:%i:%s') applicationTime,
r.approving_status status
r.approving_status status,
r.created_at approvingTime
from ag_acl_practitioner_hiring_basic_info b
from ag_acl_practitioner_hiring_basic_info b
left join ag_acl_practitioner_hiring_membership m on b.id = m.hiring_basic_info_id
left join ag_acl_practitioner_hiring_membership m on b.id = m.hiring_basic_info_id
left join ag_acl_practitioner_subordinate_system sys on sys.id = m.subsystem_id
left join ag_acl_practitioner_subordinate_system sys on sys.id = m.subsystem_id
left join
left join
(
(
select
select
a.hiring_basic_info_id, a.approving_status
a.hiring_basic_info_id, a.approving_status
, a.created_at
from
from
ag_acl_practitioner_hiring_approve_records a
ag_acl_practitioner_hiring_approve_records a
left join
left join
...
...
yd-api/src/main/resources/mapper/customer/AclPractitionerHiringApproveRecordsMapper.xml
View file @
f42c92fe
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<result
column=
"approving_practitioner_id"
jdbcType=
"BIGINT"
property=
"approvingPractitionerId"
/>
<result
column=
"approving_practitioner_id"
jdbcType=
"BIGINT"
property=
"approvingPractitionerId"
/>
<result
column=
"approving_status"
jdbcType=
"BIGINT"
property=
"approvingStatus"
/>
<result
column=
"approving_status"
jdbcType=
"BIGINT"
property=
"approvingStatus"
/>
<result
column=
"reject_note"
jdbcType=
"VARCHAR"
property=
"rejectNote"
/>
<result
column=
"reject_note"
jdbcType=
"VARCHAR"
property=
"rejectNote"
/>
<result
column=
"interview_assessment"
jdbcType=
"VARCHAR"
property=
"interviewAssessment"
/>
<result
column=
"is_active"
jdbcType=
"INTEGER"
property=
"isActive"
/>
<result
column=
"is_active"
jdbcType=
"INTEGER"
property=
"isActive"
/>
<result
column=
"created_at"
jdbcType=
"TIMESTAMP"
property=
"createdAt"
/>
<result
column=
"created_at"
jdbcType=
"TIMESTAMP"
property=
"createdAt"
/>
<result
column=
"created_by"
jdbcType=
"BIGINT"
property=
"createdBy"
/>
<result
column=
"created_by"
jdbcType=
"BIGINT"
property=
"createdBy"
/>
...
@@ -20,7 +21,8 @@
...
@@ -20,7 +21,8 @@
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, hiring_basic_info_id, approve_step_id, approve_step_name, approving_practitioner_id,
id, hiring_basic_info_id, approve_step_id, approve_step_name, approving_practitioner_id,
approving_status, reject_note, is_active, created_at, created_by, updated_at, updated_by
approving_status, reject_note, is_active, created_at, created_by, updated_at, updated_by,
interview_assessment
</sql>
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
...
@@ -38,12 +40,12 @@
...
@@ -38,12 +40,12 @@
<!--@mbg.generated-->
<!--@mbg.generated-->
insert into ag_acl_practitioner_hiring_approve_records (hiring_basic_info_id, approve_step_id,
insert into ag_acl_practitioner_hiring_approve_records (hiring_basic_info_id, approve_step_id,
approve_step_name, approving_practitioner_id,
approve_step_name, approving_practitioner_id,
approving_status, reject_note, i
s_active,
approving_status, reject_note, i
nterview_assessment, is_active,
created_at, created_by, updated_at,
created_at, created_by, updated_at,
updated_by)
updated_by)
values (#{hiringBasicInfoId,jdbcType=BIGINT}, #{approveStepId,jdbcType=VARCHAR},
values (#{hiringBasicInfoId,jdbcType=BIGINT}, #{approveStepId,jdbcType=VARCHAR},
#{approveStepName,jdbcType=VARCHAR}, #{approvingPractitionerId,jdbcType=BIGINT},
#{approveStepName,jdbcType=VARCHAR}, #{approvingPractitionerId,jdbcType=BIGINT},
#{approvingStatus,jdbcType=BIGINT}, #{rejectNote,jdbcType=VARCHAR}, #{i
sActive,jdbcType=INTEGER},
#{approvingStatus,jdbcType=BIGINT}, #{rejectNote,jdbcType=VARCHAR}, #{i
nterviewAssessment,jdbcType=VARCHAR}, #{isActive,jdbcType=INTEGER},
#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP},
#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP},
#{updatedBy,jdbcType=BIGINT})
#{updatedBy,jdbcType=BIGINT})
</insert>
</insert>
...
...
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