浏览代码

fix:事项提醒小红点

Joburgess 4 年之前
父节点
当前提交
b994fb8906
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. 9 1
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/IndexBaseMonthDataServiceImpl.java

+ 9 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/IndexBaseMonthDataServiceImpl.java

@@ -910,6 +910,14 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 				flag2 = true;
 			}
 		}
+
+		if(!flag2){
+			int countNoPaymentStudentNum = indexBaseMonthDataDao.countNoPaymentStudentNum(organIds,educationUserId, 0);
+			if(countNoPaymentStudentNum > 0){
+				flag2 = true;
+			}
+		}
+
 		resultMap.put("studentInfo",flag2);
 		boolean flag3 = false;
 		if(!flag3){
@@ -997,7 +1005,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 			}
 		}
 		if(!flag5){
-			int countNoPaymentStudentNum = indexBaseMonthDataDao.countNoPaymentStudentNum(organIds,educationUserId, 0);
+			int countNoPaymentStudentNum = indexBaseMonthDataDao.countNoPaymentStudentNum(organIds,educationUserId, 1);
 			if(countNoPaymentStudentNum > 0){
 				flag5 = true;
 			}