Commit 2b67c8e5 by 陶湘宇 Committed by 284718418@qq.com

请假为0bug

parent 50c5602b
...@@ -98,7 +98,7 @@ public class KqglServiceImpl implements KqglService { ...@@ -98,7 +98,7 @@ public class KqglServiceImpl implements KqglService {
//获取最后得到的最终余额 //获取最后得到的最终余额
double balance_days = kqglassoleavebalancemapper.Sumbalancedays(leaveappr.getUserid(), leaveappr.getOrgcode(),leaveappr.getLeavetype()); 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) {//确认为限制余额的 if(emba.getBalanceDays() != -1) {//确认为限制余额的
//修改最终的余额数 //修改最终的余额数
KqglAssoLeaveEmployeeBalance.builder().id(emba.getId()).balanceDays(balance_days).build().updateById(); KqglAssoLeaveEmployeeBalance.builder().id(emba.getId()).balanceDays(balance_days).build().updateById();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment