Commit c0020b36 by 陶湘宇

请假为0bug

parent 91876c19
...@@ -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