commit
This commit is contained in:
+5
-3
@@ -161,9 +161,7 @@ public class TeacherCongressDelegatePushServiceImpl extends BaseServiceImpl<Teac
|
||||
countCnd.and("info.unionId", "=", unionId);
|
||||
countSql.setCondition(countCnd);
|
||||
List<NutMap> delegatePushList = listMap(countSql);
|
||||
if (!delegatePushList.isEmpty()){
|
||||
return "您已提交无需再提交!";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -209,6 +207,10 @@ public class TeacherCongressDelegatePushServiceImpl extends BaseServiceImpl<Teac
|
||||
sql.setCondition(cnd);
|
||||
List<NutMap> writeList = listMap(sql);
|
||||
|
||||
if (!delegatePushList.isEmpty() && writeList.isEmpty()) {
|
||||
return "您已提交无需再提交!";
|
||||
}
|
||||
|
||||
|
||||
// 已上报总人数
|
||||
int total = writeList.size();
|
||||
|
||||
Reference in New Issue
Block a user