Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
90816b9a
Commit
90816b9a
authored
Jan 09, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考勤汇总bug修改
parent
7da00290
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
23 deletions
+21
-23
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/impl/AttendanceStatServiceImpl.java
...le/attendance/service/impl/AttendanceStatServiceImpl.java
+0
-1
attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceSummaryMapper.xml
...rces/sqlmap/module/attendance/AttendanceSummaryMapper.xml
+21
-22
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/impl/AttendanceStatServiceImpl.java
View file @
90816b9a
...
...
@@ -288,7 +288,6 @@ public class AttendanceStatServiceImpl extends AbstractCRUDServiceImpl<Attendanc
attendanceStatEntity
.
setId
(
temp
.
getId
());
attendanceStatEntity
.
setUpdateTime
(
new
Date
());
updateList
.
add
(
attendanceStatEntity
);
updateList
.
add
(
temp
);
}
}
if
(
insertList
.
size
()>
0
){
...
...
attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceSummaryMapper.xml
View file @
90816b9a
...
...
@@ -17,30 +17,29 @@
DATE_FORMAT(STR_TO_DATE(#{summaryTime},'%Y-%m-%d'),'%Y') as `year`,
DATE_FORMAT(STR_TO_DATE(#{summaryTime},'%Y-%m-%d'),'%m') as `month`,
DATE_FORMAT(STR_TO_DATE(#{summaryTime},'%Y-%m-%d'),'%d') as `day`,
IFNULL(b.personalLeaveDays,0)
as personalLeaveDays,
IFNULL(b.compensatedLeaveDays,0)
as compensatedLeaveDays,
IFNULL(b.sickLeaveDays,0)
as sickLeaveDays,
IFNULL(b.annualLeaveDays,0)
as annualLeaveDays,
IFNULL(b.marriageLeaveDays,0)
as marriageLeaveDays,
IFNULL(b.maternityLeaveDays,0)
as maternityLeaveDays,
IFNULL(b.paternityLeaveDays,0)
as paternityLeaveDays,
IFNULL(b.menstrualLeaveDays,0)
as menstrualLeaveDays,
IFNULL(b.breastfeedingLeaveDays,0)
as breastfeedingLeaveDays,
IFNULL(b.bereavementLeaveDays,0)
as bereavementLeaveDays,
IFNULL(b.backToUnit,0)
as backToUnit,
IFNULL(b.onDutyLeave,0)
as onDutyLeave,
IFNULL(b.outOfOffice,0)
as outOfOffice,
IFNULL(b.shiftCompensation,0)
as shiftCompensation,
IFNULL(b.physicalExamination,0)
as physicalExamination,
IFNULL(b.quarantine,0)
as quarantine,
IFNULL(b.businessTrip,0)
as businessTrip,
IFNULL(b.publicHoliday,0)
as publicHoliday,
IFNULL(b.childRearingLeave,0)
as childRearingLeave,
IFNULL(b.transferBack,0)
as transferBack,
IFNULL(b.homeLeave,0)
as homeLeave
0
as personalLeaveDays,
0
as compensatedLeaveDays,
0
as sickLeaveDays,
0
as annualLeaveDays,
0
as marriageLeaveDays,
0
as maternityLeaveDays,
0
as paternityLeaveDays,
0
as menstrualLeaveDays,
0
as breastfeedingLeaveDays,
0
as bereavementLeaveDays,
0
as backToUnit,
0
as onDutyLeave,
0
as outOfOffice,
0
as shiftCompensation,
0
as physicalExamination,
0
as quarantine,
0
as businessTrip,
0
as publicHoliday,
0
as childRearingLeave,
0
as transferBack,
0
as homeLeave
FROM
mortals_xhx_staff s
LEFT JOIN mortals_xhx_attendance_vacation_balance b ON s.id = b.staffId
WHERE 1=1
<if
test=
"staffId != null and staffId!=''"
>
AND s.id = #{staffId}
</if>
</select>
...
...
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