diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java
index 3a89a846..3b689d95 100644
--- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java
+++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java
@@ -1264,21 +1264,36 @@ public class AnnualCompetitionProjectRegistrationController {
map2.put("xmid",listacp.get(k).getId());
//状态
Date date = new Date();
- if(date.getTime()>=listacp.get(k).getApplyStartTime().getTime()&&date.getTime()<=listacp.get(k).getApplyEndTime().getTime()){
- map2.put("zt","报名");
+ if(listacp.get(k).getApplyStartTime()!=null&&listacp.get(k).getApplyEndTime()!=null){
+ if(date.getTime()>=listacp.get(k).getApplyStartTime().getTime()&&date.getTime()<=listacp.get(k).getApplyEndTime().getTime()){
+ map2.put("zt","报名");
+ }
}
- if(date.getTime()>=listacp.get(k).getTopicStartTime().getTime()&&date.getTime()<=listacp.get(k).getTopicEndTime().getTime()){
- map2.put("zt","选题");
+
+ if(listacp.get(k).getTopicStartTime()!=null&&listacp.get(k).getTopicEndTime()!=null){
+ if(date.getTime()>=listacp.get(k).getTopicStartTime().getTime()&&date.getTime()<=listacp.get(k).getTopicEndTime().getTime()){
+ map2.put("zt","选题");
+ }
}
- if(date.getTime()>=listacp.get(k).getUploadStartTime().getTime()&&date.getTime()<=listacp.get(k).getUploadEndTime().getTime()){
- map2.put("zt","上传作品");
+
+ if(listacp.get(k).getUploadStartTime()!=null&&listacp.get(k).getUploadEndTime()!=null){
+ if(date.getTime()>=listacp.get(k).getUploadStartTime().getTime()&&date.getTime()<=listacp.get(k).getUploadEndTime().getTime()){
+ map2.put("zt","上传作品");
+ }
}
- if(date.getTime()>=listacp.get(k).getScoreStartTime().getTime()&&date.getTime()<=listacp.get(k).getScoreEndTime().getTime()){
- map2.put("zt","评分");
+
+ if(listacp.get(k).getScoreStartTime()!=null&&listacp.get(k).getScoreEndTime()!=null){
+ if(date.getTime()>=listacp.get(k).getScoreStartTime().getTime()&&date.getTime()<=listacp.get(k).getScoreEndTime().getTime()){
+ map2.put("zt","评分");
+ }
}
- if(date.getTime()>listacp.get(k).getScoreEndTime().getTime()){
- map2.put("zt","已结束");
+
+ if(listacp.get(k).getScoreEndTime()!=null){
+ if(date.getTime()>listacp.get(k).getScoreEndTime().getTime()){
+ map2.put("zt","已结束");
+ }
}
+
xmListMap.add(map2);
}
}else {
@@ -1292,20 +1307,34 @@ public class AnnualCompetitionProjectRegistrationController {
map3.put("xmid",listacp.get(o).getId());
//状态
Date date = new Date();
- if(date.getTime()>=listacp.get(o).getApplyStartTime().getTime()&&date.getTime()<=listacp.get(o).getApplyEndTime().getTime()){
- map3.put("zt","报名");
+ if(listacp.get(o).getApplyStartTime()!=null&&listacp.get(o).getApplyEndTime()!=null){
+ if(date.getTime()>=listacp.get(o).getApplyStartTime().getTime()&&date.getTime()<=listacp.get(o).getApplyEndTime().getTime()){
+ map3.put("zt","报名");
+ }
}
- if(date.getTime()>=listacp.get(o).getTopicStartTime().getTime()&&date.getTime()<=listacp.get(o).getTopicEndTime().getTime()){
- map3.put("zt","选题");
+
+ if(listacp.get(o).getTopicStartTime()!=null&&listacp.get(o).getTopicEndTime()!=null){
+ if(date.getTime()>=listacp.get(o).getTopicStartTime().getTime()&&date.getTime()<=listacp.get(o).getTopicEndTime().getTime()){
+ map3.put("zt","选题");
+ }
}
- if(date.getTime()>=listacp.get(o).getUploadStartTime().getTime()&&date.getTime()<=listacp.get(o).getUploadEndTime().getTime()){
- map3.put("zt","上传作品");
+
+ if(listacp.get(o).getUploadStartTime()!=null&&listacp.get(o).getUploadEndTime()!=null){
+ if(date.getTime()>=listacp.get(o).getUploadStartTime().getTime()&&date.getTime()<=listacp.get(o).getUploadEndTime().getTime()){
+ map3.put("zt","上传作品");
+ }
}
- if(date.getTime()>=listacp.get(o).getScoreStartTime().getTime()&&date.getTime()<=listacp.get(o).getScoreEndTime().getTime()){
- map3.put("zt","评分");
+
+ if(listacp.get(o).getScoreStartTime()!=null&&listacp.get(o).getScoreEndTime()!=null){
+ if(date.getTime()>=listacp.get(o).getScoreStartTime().getTime()&&date.getTime()<=listacp.get(o).getScoreEndTime().getTime()){
+ map3.put("zt","评分");
+ }
}
- if(date.getTime()>listacp.get(o).getScoreEndTime().getTime()){
- map3.put("zt","已结束");
+
+ if(listacp.get(o).getScoreEndTime()!=null){
+ if(date.getTime()>listacp.get(o).getScoreEndTime().getTime()){
+ map3.put("zt","已结束");
+ }
}
xmListMap.add(map3);
}
diff --git a/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue b/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue
index 8a3a1b4a..f640d1a3 100644
--- a/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue
+++ b/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue
@@ -39,8 +39,8 @@
新增
重新获取
导出
- 导出模板
- 导入推荐
+ 导出推荐
+ 导入模板
导入
diff --git a/jeecgboot-vue3-master/src/views/scorepersion/ScorePersionList.vue b/jeecgboot-vue3-master/src/views/scorepersion/ScorePersionList.vue
index 304dde88..efafe706 100644
--- a/jeecgboot-vue3-master/src/views/scorepersion/ScorePersionList.vue
+++ b/jeecgboot-vue3-master/src/views/scorepersion/ScorePersionList.vue
@@ -37,8 +37,8 @@
重新获取
同分复评
导出
-
-
+ 导入模板
+ 导入