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

Commit a55e01b1 authored by anjiabin's avatar anjiabin

演出日历修改

parent 87ffebda
......@@ -99,7 +99,6 @@ public class PerformanceCalendarController extends BaseController{
for(int i = 0;i< dateArray2.length;i++){
//页面列循环
for(int j = 0;j<dateArray2[i].length; j++){
String targetDate = dateArray2[i][j];
if(DateUtil.format(kylinPerformances.getTimeStart(),DateUtil.Formatter.yyyy_MM_dd).equalsIgnoreCase(targetDate)){
switch (j){
......@@ -178,25 +177,32 @@ public class PerformanceCalendarController extends BaseController{
String targetDate = dateArray2[i][j];
switch (j){
case 0:
resp.setMonList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
resp.setMonDate(targetDate);
resp.setMonList(new ArrayList<>());
break;
case 1:
resp.setTueList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
resp.setTueDate(targetDate);
resp.setTueList(new ArrayList<>());
break;
case 2:
resp.setWedList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
resp.setWedDate(targetDate);
resp.setWedList(new ArrayList<>());
break;
case 3:
resp.setThuList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
resp.setThuDate(targetDate);
resp.setThuList(new ArrayList<>());
break;
case 4:
resp.setFriList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
resp.setFriDate(targetDate);
resp.setFriList(new ArrayList<>());
break;
case 5:
resp.setSatList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
resp.setSatDate(targetDate);
resp.setSatList(new ArrayList<>());
break;
case 6:
resp.setSunList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
resp.setSunDate(targetDate);
resp.setSunList(new ArrayList<>());
break;
default:
break;
......
......@@ -15,13 +15,20 @@ import java.util.List;
*/
@Data
public class PerformanceCalendarResp {
List<PerformanceVo> monList;
List<PerformanceVo> tueList;
List<PerformanceVo> wedList;
List<PerformanceVo> thuList;
List<PerformanceVo> friList;
List<PerformanceVo> satList;
List<PerformanceVo> sunList;
private String monDate;
private List<PerformanceVo> monList;
private String tueDate;
private List<PerformanceVo> tueList;
private String wedDate;
private List<PerformanceVo> wedList;
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{
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