记得上下班打卡 | git大法好,push需谨慎

Commit a55e01b1 authored by anjiabin's avatar anjiabin

演出日历修改

parent 87ffebda
...@@ -99,7 +99,6 @@ public class PerformanceCalendarController extends BaseController{ ...@@ -99,7 +99,6 @@ public class PerformanceCalendarController extends BaseController{
for(int i = 0;i< dateArray2.length;i++){ for(int i = 0;i< dateArray2.length;i++){
//页面列循环 //页面列循环
for(int j = 0;j<dateArray2[i].length; j++){ for(int j = 0;j<dateArray2[i].length; j++){
String targetDate = dateArray2[i][j]; String targetDate = dateArray2[i][j];
if(DateUtil.format(kylinPerformances.getTimeStart(),DateUtil.Formatter.yyyy_MM_dd).equalsIgnoreCase(targetDate)){ if(DateUtil.format(kylinPerformances.getTimeStart(),DateUtil.Formatter.yyyy_MM_dd).equalsIgnoreCase(targetDate)){
switch (j){ switch (j){
...@@ -178,25 +177,32 @@ public class PerformanceCalendarController extends BaseController{ ...@@ -178,25 +177,32 @@ public class PerformanceCalendarController extends BaseController{
String targetDate = dateArray2[i][j]; String targetDate = dateArray2[i][j];
switch (j){ switch (j){
case 0: case 0:
resp.setMonList(new ArrayList<PerformanceCalendarResp.PerformanceVo>()); resp.setMonDate(targetDate);
resp.setMonList(new ArrayList<>());
break; break;
case 1: case 1:
resp.setTueList(new ArrayList<PerformanceCalendarResp.PerformanceVo>()); resp.setTueDate(targetDate);
resp.setTueList(new ArrayList<>());
break; break;
case 2: case 2:
resp.setWedList(new ArrayList<PerformanceCalendarResp.PerformanceVo>()); resp.setWedDate(targetDate);
resp.setWedList(new ArrayList<>());
break; break;
case 3: case 3:
resp.setThuList(new ArrayList<PerformanceCalendarResp.PerformanceVo>()); resp.setThuDate(targetDate);
resp.setThuList(new ArrayList<>());
break; break;
case 4: case 4:
resp.setFriList(new ArrayList<PerformanceCalendarResp.PerformanceVo>()); resp.setFriDate(targetDate);
resp.setFriList(new ArrayList<>());
break; break;
case 5: case 5:
resp.setSatList(new ArrayList<PerformanceCalendarResp.PerformanceVo>()); resp.setSatDate(targetDate);
resp.setSatList(new ArrayList<>());
break; break;
case 6: case 6:
resp.setSunList(new ArrayList<PerformanceCalendarResp.PerformanceVo>()); resp.setSunDate(targetDate);
resp.setSunList(new ArrayList<>());
break; break;
default: default:
break; break;
......
...@@ -15,13 +15,20 @@ import java.util.List; ...@@ -15,13 +15,20 @@ import java.util.List;
*/ */
@Data @Data
public class PerformanceCalendarResp { public class PerformanceCalendarResp {
List<PerformanceVo> monList; private String monDate;
List<PerformanceVo> tueList; private List<PerformanceVo> monList;
List<PerformanceVo> wedList; private String tueDate;
List<PerformanceVo> thuList; private List<PerformanceVo> tueList;
List<PerformanceVo> friList; private String wedDate;
List<PerformanceVo> satList; private List<PerformanceVo> wedList;
List<PerformanceVo> sunList; private String thuDate;
private List<PerformanceVo> thuList;
private String friDate;
private List<PerformanceVo> friList;
private String satDate;
private List<PerformanceVo> satList;
private String sunDate;
private List<PerformanceVo> sunList;
public static class PerformanceVo{ public static class PerformanceVo{
private String title; private String title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment