Explorar o código

考勤合并规则修改多打卡如果等于考勤可以通过

anderx hai 1 ano
pai
achega
100a7e7cd4

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

@@ -998,7 +998,7 @@ public class SysUserServiceImpl implements ISysUserService
                     BigDecimal sum2 = BigDecimal.valueOf(e.getSumDuration());
                     if (sum.compareTo(sum2) != 0){
                         String dateStr = DateUtils.parseStrYYYYnMMyDD(e.getRecordTime());
-                        return  AjaxResult.error(String.format("[%S]考勤[%S]存在多打卡,请处理后再提交",e.getName(),dateStr));
+                        return  AjaxResult.error(String.format("[%S]考勤[%S]多打卡时间[%s != %s],请处理后再提交",e.getName(),dateStr,sum,sum2));
                     }
                 }
             }