Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
d949cd0b
Commit
d949cd0b
authored
Feb 09, 2023
by
陶湘宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复假期为0不扣除bug
parent
44c3b84d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/main/java/cn/timer/api/controller/kqgl/service/KqglServiceImpl.java
+1
-1
No files found.
src/main/java/cn/timer/api/controller/kqgl/service/KqglServiceImpl.java
View file @
d949cd0b
...
...
@@ -98,7 +98,7 @@ public class KqglServiceImpl implements KqglService {
//获取最后得到的最终余额
double
balance_days
=
kqglassoleavebalancemapper
.
Sumbalancedays
(
leaveappr
.
getUserid
(),
leaveappr
.
getOrgcode
(),
leaveappr
.
getLeavetype
());
if
(
emba
!=
null
&&
balance_days
>
0
)
{
if
(
emba
!=
null
&&
balance_days
>
=
0
)
{
if
(
emba
.
getBalanceDays
()
!=
-
1
)
{
//确认为限制余额的
//修改最终的余额数
KqglAssoLeaveEmployeeBalance
.
builder
().
id
(
emba
.
getId
()).
balanceDays
(
balance_days
).
build
().
updateById
();
...
...
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