Просмотр исходного кода

获取公司打卡数据修改

anderx месяцев назад: 2
Родитель
Сommit
2d2365916e

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/project/service/impl/ProjectStaffRecordServiceImpl.java

@@ -97,7 +97,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
 //        }else {
 //            flag=true;
 //        }
-        if (flag){
+        if (!flag){
             in.setProcessStatus(2);
             sysUserMapper.userAddDuration(in.getAid(),in.getDuration());
             projectTaskMapper.projectAddDuration(in.getPid(),in.getDuration());