dzx 5 месяцев назад
Родитель
Сommit
1790046ab8

+ 3 - 3
src/main/java/com/xjrsoft/module/job/AttenDanceWarnNoticeTask.java

@@ -154,9 +154,9 @@ public class AttenDanceWarnNoticeTask {
 
             JSONObject const12 = new JSONObject();
             if(status == 1){
-                const12.put("value", "未打卡");
-            }else{
                 const12.put("value", "待打卡");
+            }else{
+                const12.put("value", "未打卡");
             }
             //查询这个用户最新的考勤状态
             AttendanceUserRelation userRelation = allUserStatus.get(xjrUser.getId());
@@ -183,7 +183,7 @@ public class AttenDanceWarnNoticeTask {
      * 判断所有规则,哪些需要发送
      * @param judgeTime
      * @param ruleDetailsList
-     * @return 0:不需要提醒,1:未打卡,2:待打卡
+     * @return 0:不需要提醒,1:待打卡,2:未打卡
      */
     Map<Long, Integer> judgeExecuteNotice(LocalDateTime judgeTime, List<AttendanceRuleDetails> ruleDetailsList, LocalDateTime recentlyTime){
         Map<Long, Integer> result = new HashMap<>();