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 2d795bd3
authored
Jun 24, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(recruitment): 添加招聘需求审批状态查询功能
- 新增审批状态为待审批的查询条件 - 新增审批状态为已审批的查询条件 - 实现试用入职表的关联查询逻辑
1 parent
6c4917a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 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 @
2d795bd
...
...
@@ -258,6 +258,28 @@
and t.process_result is null
)
</if>
<if
test=
"approvalStatus != null and approvalStatus == 0"
>
and exists (
select 1 from dj_car_life_recruitment_trial_onboarding t
where t.demand_id = dj_car_life_recruitment_demand.id
and t.deleted_flag = 'N'
and t.approval_result is null
)
</if>
<if
test=
"approvalStatus != null and approvalStatus == 1"
>
and exists (
select 1 from dj_car_life_recruitment_trial_onboarding t
where t.demand_id = dj_car_life_recruitment_demand.id
and t.deleted_flag = 'N'
)
and not exists (
select 1 from dj_car_life_recruitment_trial_onboarding t
where t.demand_id = dj_car_life_recruitment_demand.id
and t.deleted_flag = 'N'
and t.approval_result is null
)
</if>
order by FIELD(status, 0,4,1,2,3) asc, created_date desc
</select>
...
...
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