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 47d53f05
authored
Jan 28, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
已禁用员工也需要能查询工资明细
1 parent
2c3ffaf8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
rpc-dj-staff/src/main/resources/META-INF/orm/StaffMonthSalarySlipMapper.xml
rpc-dj-staff/src/main/resources/META-INF/orm/StaffMonthSalarySlipMapper.xml
View file @
47d53f0
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
phone_number,
phone_number,
MAX(updated_date) AS latest_time
MAX(updated_date) AS latest_time
FROM `dj_car_life_staff_info`
FROM `dj_car_life_staff_info`
WHERE deleted_flag
= 'N'
WHERE deleted_flag
IN ('N','I')
GROUP BY phone_number
GROUP BY phone_number
) latest ON dsi.phone_number = latest.phone_number AND dsi.updated_date = latest.latest_time
) latest ON dsi.phone_number = latest.phone_number AND dsi.updated_date = latest.latest_time
WHERE EXISTS (
WHERE EXISTS (
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
</if>
</if>
AND dss.staff_phone = dsi.phone_number
AND dss.staff_phone = dsi.phone_number
)
)
AND dsi.deleted_flag
= 'N'
AND dsi.deleted_flag
IN ('N','I')
</select>
</select>
<select
id=
"getStaffMonthSalaryDetailData"
resultMap=
"detailResultMap"
>
<select
id=
"getStaffMonthSalaryDetailData"
resultMap=
"detailResultMap"
>
SELECT ss.*,sbi.area_operation,sbi.area,sbi.entry_date,sbi.leave_date,sbi.post,sbi.
SELECT ss.*,sbi.area_operation,sbi.area,sbi.entry_date,sbi.leave_date,sbi.post,sbi.
...
...
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