Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 40fc9ddf
authored
Jan 08, 2026
by
DESKTOP-3F024UL\tianming
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
招聘管理-resume去除status字段
1 parent
b15f7997
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
rpc-dj-staff/src/main/resources/META-INF/orm/RecruitmentDemandMapper.xml
rpc-dj-staff/src/main/resources/META-INF/orm/RecruitmentDemandMapper.xml
View file @
40fc9dd
...
...
@@ -50,15 +50,25 @@
</sql>
<select
id=
"statRecruitmentDemand"
resultType=
"cn.com.glsx.dj.staff.dto.recruitment.RecruitmentDemandDTO"
>
select count(if((a.status in (2, 3) and a.confirm_flag = 'N') or (a.status = 1 and a.min_dclrr_status = 0), a.id,
select count(if((a.status in (2, 3) and a.confirm_flag = 'N')
or (a.status = 1 and (a.min_dclrr_status = 0 or trial_wait_confirm_count > 0 or onboarding_wait_confirm_count > 0)),
a.id,
null)) as waitProcessCount,
count(*) as totalCount
from (select dclrd.id,
dclrd.status,
dclrd.confirm_flag,
min(dclrr.status) as min_dclrr_status
dclrd.status,
dclrd.confirm_flag,
min(ifnull(dclrr.process_result, 0)) as min_dclrr_status,
(select count(*) from dj_car_life_recruitment_trial dclrt
where dclrt.demand_id = dclrd.id and dclrt.deleted_flag = 'N'
and dclrt.confirm_flag = 'N'
) as trial_wait_confirm_count,
(select count(*) from dj_car_life_recruitment_onboarding_plan dclrop
where dclrop.demand_id = dclrd.id
and dclrop.deleted_flag = 'N' and dclrop.confirm_flag = 'N'
) as onboarding_wait_confirm_count,
from dj_car_life_recruitment_demand dclrd
left join dj_car_life_recruitment_resume dclrr on dclrd.id = dclrr.demand_id and dclrr.deleted_flag = 'N'
left join dj_car_life_recruitment_resume dclrr on dclrd.id = dclrr.demand_id and dclrr.deleted_flag = 'N'
<where>
dclrd.deleted_flag = 'N'
<if
test=
"regionOperationId != null and regionOperationId != ''"
>
...
...
@@ -66,7 +76,7 @@
</if>
</where>
group by dclrd.id) a;
</select>
(select count(*) from dj_car_life_recruitment_trial dclrt where dclrt.demand_id = dclrd.id)
</select>
<select
id=
"listRecruitmentDemand"
resultMap=
"DTOResultMap"
>
select dclrd.id, dclrd.merchant_name, dclrd.merchant_id, dclrd.region_operation_id, dclrd.region_operation_name,
...
...
@@ -77,7 +87,7 @@
from dj_car_life_recruitment_resume dclrr2
where dclrr2.demand_id = dclrd.id
and dclrr2.deleted_flag = 'N'
and dclrr2.
status = 0
), 0) as wait_process_resume_count
and dclrr2.
process_result is null
), 0) as wait_process_resume_count
from dj_car_life_recruitment_demand dclrd
<where>
dclrd.deleted_flag = 'N'
...
...
@@ -96,7 +106,7 @@
from dj_car_life_recruitment_resume dclrr
where dclrr.demand_id = dclrd.id
and dclrr.deleted_flag = 'N'
and dclrr.
status = 0
)))
and dclrr.
process_result is null
)))
</if>
</where>
<if
test=
"onlyWaiting != null and onlyWaiting"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment