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

Commit 81f81c46 authored by anjiabin's avatar anjiabin

提交演出日历

parent d2094317
package com.liquidnet.client.admin.web.controller.zhengzai.kylin;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.liquidnet.client.admin.common.core.controller.BaseController;
import com.liquidnet.client.admin.common.core.page.TableDataInfo;
import com.liquidnet.client.admin.common.utils.StringUtils;
import com.liquidnet.client.admin.zhengzai.kylin.dto.PerformanceCalendarReq;
import com.liquidnet.client.admin.zhengzai.kylin.dto.PerformanceCalendarResp;
import com.liquidnet.commons.lang.util.DateUtil;
import com.liquidnet.service.kylin.entity.KylinPerformances;
import com.liquidnet.service.kylin.service.admin.IKylinPerformancesAdminService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
......@@ -20,26 +35,233 @@ import java.util.List;
public class PerformanceCalendarController extends BaseController{
private String prefix = "zhengzai/kylin/performanceCalendar";
// @Autowired
// private IKylinPerformancesService kylinPerformancesService;
//
// @RequiresPermissions("kylin:performanceCalendar:view")
// @GetMapping()
// public String performances()
// {
// return prefix + "/performanceCalendar";
// }
//
// /**
// * 查询演出列表
// */
// @RequiresPermissions("kylin:performanceCalendar:list")
// @PostMapping("/list")
// @ResponseBody
// public TableDataInfo list(KylinPerformances kylinPerformances)
// {
// startPage();
// List<KylinPerformances> list = kylinPerformancesService.selectKylinPerformancesList(kylinPerformances);
// return getDataTable(list);
// }
@Autowired
private IKylinPerformancesAdminService kylinPerformancesAdminService;
@RequiresPermissions("kylin:performanceCalendar:view")
@GetMapping()
public String performances(PerformanceCalendarReq performanceCalendarReq, ModelMap mmap)
{
performanceCalendarReq.setPerformanceIimeBegin("2021-05-31");
performanceCalendarReq.setPerformanceIimeend("2021-06-06");
int days = Long.valueOf(DateUtil.intervalDays(DateUtil.parse(performanceCalendarReq.getPerformanceIimeBegin(),DateUtil.DATE_SMALL_STR)
,DateUtil.parse(performanceCalendarReq.getPerformanceIimeend(),DateUtil.DATE_SMALL_STR))).intValue() + 1;
//查询条件
LambdaQueryWrapper<KylinPerformances> wrapper = new LambdaQueryWrapper<>();
if (!StringUtils.isNotNull(performanceCalendarReq.getPerformanceIimeBegin())) {
wrapper.ge(KylinPerformances::getTimeStart, DateUtil.parse(performanceCalendarReq.getPerformanceIimeBegin(),DateUtil.DATE_SMALL_STR));
}
if (!StringUtils.isNotNull(performanceCalendarReq.getPerformanceIimeend())) {
wrapper.le(KylinPerformances::getTimeStart, DateUtil.addDay(DateUtil.parse(performanceCalendarReq.getPerformanceIimeend(),DateUtil.DATE_SMALL_STR),1));
}
List<KylinPerformances> list = kylinPerformancesAdminService.list(wrapper);
String[][] dateArray2 = getDateList(DateUtil.parse(performanceCalendarReq.getPerformanceIimeBegin(),DateUtil.DATE_SMALL_STR),days);
//初始化对象
List<PerformanceCalendarResp> respList = initRespList(dateArray2);
for (KylinPerformances kylinPerformances : list) {
//定义演出对象
PerformanceCalendarResp.PerformanceVo performanceVo = new PerformanceCalendarResp.PerformanceVo();
performanceVo.setTitle(kylinPerformances.getTitle());
performanceVo.setCityName(kylinPerformances.getCityName());
performanceVo.setTimeStart(DateUtil.format(kylinPerformances.getTimeStart(),DateUtil.Formatter.ddHHmmssTrim));
//页面行循环
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){
case 0:
List<PerformanceCalendarResp.PerformanceVo> monList = respList.get(i).getMonList();
monList.add(performanceVo);
break;
case 1:
List<PerformanceCalendarResp.PerformanceVo> tueList = respList.get(i).getTueList();
tueList.add(performanceVo);
break;
case 2:
List<PerformanceCalendarResp.PerformanceVo> wedList = respList.get(i).getWedList();
wedList.add(performanceVo);
break;
case 3:
List<PerformanceCalendarResp.PerformanceVo> thuList = respList.get(i).getThuList();
thuList.add(performanceVo);
break;
case 4:
List<PerformanceCalendarResp.PerformanceVo> friList = respList.get(i).getFriList();
friList.add(performanceVo);
break;
case 5:
List<PerformanceCalendarResp.PerformanceVo> satList = respList.get(i).getSatList();
satList.add(performanceVo);
break;
case 6:
List<PerformanceCalendarResp.PerformanceVo> sunList = respList.get(i).getSunList();
sunList.add(performanceVo);
break;
default:
break;
}
}
}
}
}
mmap.put("respDataList",respList);
return prefix + "/performanceCalendar";
}
/**
* 查询演出列表
*/
@RequiresPermissions("kylin:performanceCalendar:list")
@PostMapping("/list")
public TableDataInfo list(PerformanceCalendarReq performanceCalendarReq, ModelMap mmap)
{
performanceCalendarReq.setPerformanceIimeBegin("2021-05-31");
performanceCalendarReq.setPerformanceIimeend("2021-06-06");
int days = Long.valueOf(DateUtil.intervalDays(DateUtil.parse(performanceCalendarReq.getPerformanceIimeBegin(),DateUtil.DATE_SMALL_STR)
,DateUtil.parse(performanceCalendarReq.getPerformanceIimeend(),DateUtil.DATE_SMALL_STR))).intValue() + 1;
//查询条件
LambdaQueryWrapper<KylinPerformances> wrapper = new LambdaQueryWrapper<>();
if (!StringUtils.isNotNull(performanceCalendarReq.getPerformanceIimeBegin())) {
wrapper.ge(KylinPerformances::getTimeStart, DateUtil.parse(performanceCalendarReq.getPerformanceIimeBegin(),DateUtil.DATE_SMALL_STR));
}
if (!StringUtils.isNotNull(performanceCalendarReq.getPerformanceIimeend())) {
wrapper.le(KylinPerformances::getTimeStart, DateUtil.addDay(DateUtil.parse(performanceCalendarReq.getPerformanceIimeend(),DateUtil.DATE_SMALL_STR),1));
}
List<KylinPerformances> list = kylinPerformancesAdminService.list(wrapper);
String[][] dateArray2 = getDateList(DateUtil.parse(performanceCalendarReq.getPerformanceIimeBegin(),DateUtil.DATE_SMALL_STR),days);
//初始化对象
List<PerformanceCalendarResp> respList = initRespList(dateArray2);
for (KylinPerformances kylinPerformances : list) {
//定义演出对象
PerformanceCalendarResp.PerformanceVo performanceVo = new PerformanceCalendarResp.PerformanceVo();
performanceVo.setTitle(kylinPerformances.getTitle());
performanceVo.setCityName(kylinPerformances.getCityName());
performanceVo.setTimeStart(DateUtil.format(kylinPerformances.getTimeStart(),DateUtil.Formatter.ddHHmmssTrim));
//页面行循环
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){
case 0:
List<PerformanceCalendarResp.PerformanceVo> monList = respList.get(i).getMonList();
monList.add(performanceVo);
break;
case 1:
List<PerformanceCalendarResp.PerformanceVo> tueList = respList.get(i).getTueList();
tueList.add(performanceVo);
break;
case 2:
List<PerformanceCalendarResp.PerformanceVo> wedList = respList.get(i).getWedList();
wedList.add(performanceVo);
break;
case 3:
List<PerformanceCalendarResp.PerformanceVo> thuList = respList.get(i).getThuList();
thuList.add(performanceVo);
break;
case 4:
List<PerformanceCalendarResp.PerformanceVo> friList = respList.get(i).getFriList();
friList.add(performanceVo);
break;
case 5:
List<PerformanceCalendarResp.PerformanceVo> satList = respList.get(i).getSatList();
satList.add(performanceVo);
break;
case 6:
List<PerformanceCalendarResp.PerformanceVo> sunList = respList.get(i).getSunList();
sunList.add(performanceVo);
break;
default:
break;
}
}
}
}
}
mmap.put("respDataList",respList);
return getDataTable(respList);
}
/**
* days必须是7的倍数 7,14
* @param beginDate
* @param days
* @return
*/
private String[][] getDateList(Date beginDate, int days){
//获取所有日期
List<String> dateList = new ArrayList<>();
for(int i=0;i<days;i++){
dateList.add(DateUtil.format(DateUtil.addDay(beginDate,i),DateUtil.Formatter.yyyy_MM_dd));
}
//获取显示行数
int rowNum = days/7;
String[][] strArray = new String[rowNum][7];
for(int i=0; i<rowNum; i++){
for(int j=0; j < 7; j++){
strArray[i][j] = dateList.get(i * 7 + j);
}
}
return strArray;
}
private List<PerformanceCalendarResp> initRespList(String[][] dateArray2){
List<PerformanceCalendarResp> respList = new ArrayList<>();
for(int i = 0;i< dateArray2.length;i++){
PerformanceCalendarResp resp = new PerformanceCalendarResp();
for(int j = 0;j<dateArray2[i].length; j++){
String targetDate = dateArray2[i][j];
switch (j){
case 0:
resp.setMonList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
break;
case 1:
resp.setTueList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
break;
case 2:
resp.setWedList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
break;
case 3:
resp.setThuList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
break;
case 4:
resp.setFriList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
break;
case 5:
resp.setSatList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
break;
case 6:
resp.setSunList(new ArrayList<PerformanceCalendarResp.PerformanceVo>());
break;
default:
break;
}
}
respList.add(resp);
}
return respList;
}
}
......@@ -2,6 +2,7 @@
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('演出列表')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="gray-bg">
<div class="container-div">
......@@ -11,11 +12,21 @@
<div class="select-list">
<ul>
<li class="select-time">
<label th:style="'width:120px'">请选择时间范围: </label>
<input type="text" class="time-input" id="startTime" placeholder="开始日期" name="params[beginTime]"/>
<!-- <label th:style="'width:120px'">请选择时间范围2: </label>-->
<!-- <input type="text" id="perStartTime" placeholder="开始日期" name="params[beginTime]"/>-->
<!-- <span>-</span>-->
<!-- <input type="text" id="perEndTime" placeholder="结束日期" name="params[endTime]"/>-->
<label th:style="'width:120px'">请选择时间范围2: </label>
<input type="text" class="input-sm form-control" id="perStartTime" placeholder="yyyy-MM-dd"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束日期" name="params[endTime]"/>
<input type="text" class="input-sm form-control" id="perEndTime" placeholder="yyyy-MM-dd" readonly/>
</li>
<!-- <li>-->
<!-- <label th:style="'width:120px'">请选择时间范围: </label>-->
<!-- <input type="text" id="perStartTime" placeholder="开始日期" name="params[beginTime]"/>-->
<!-- <span>-</span>-->
<!-- <input type="text" id="perEndTime" placeholder="结束日期" name="params[endTime]"/>-->
<!-- </li>-->
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
......@@ -24,36 +35,153 @@
</div>
</form>
</div>
<div class="col-sm-12 select-table table-bordered">
<table id="bootstrap-table"></table>
<div class="comments-top-top">
<div class="top-comment-left">
</div>
</div>
<div>
<div class="calendar-day" :class="data.isSelected ? 'is-selected' : ''">
{{ data.day.split('-').slice(1).join('-') }} {{ data.isSelected ? '✔️' : '' }}
<div class="fixed-table-body">
<div class="fixed-table-loading table table-bordered table-hover open" style="top: 35px; display: none;">
<span class="loading-wrap">
<span class="loading-text" style="font-size: 13px;">正在努力地加载数据中,请稍候</span>
<span class="animation-wrap"><span class="animation-dot"></span></span>
</span>
</div>
<div id="index" class="calendar-data">
<div>
<div>
<div th:each="entries,stat:${resultList}" effect="dark" value="item.title">
<div>
<div class="city">
<el-button size="mini" type="primary" plain>
{{ item.city_name }}
</el-button>
{{ item.time_start }}
<table id="bootstrap-table" class="table table-bordered table-hover">
<thead class="">
<tr>
<th style="" data-field="mon">
<div class="th-inner ">Mon</div>
<div class="fht-cell"></div>
</th>
<th style="" data-field="tue">
<div class="th-inner ">Tue</div>
<div class="fht-cell"></div>
</th>
<th style="" data-field="wed">
<div class="th-inner ">Wed</div>
<div class="fht-cell"></div>
</th>
<th style="" data-field="thu">
<div class="th-inner ">Thu</div>
<div class="fht-cell"></div>
</th>
<th style="" data-field="fri">
<div class="th-inner ">Fri</div>
<div class="fht-cell"></div>
</th>
<th style="" data-field="sat">
<div class="th-inner ">Sat</div>
<div class="fht-cell"></div>
</th>
<th style="" data-field="sun">
<div class="th-inner ">Sun</div>
<div class="fht-cell"></div>
</th>
</tr>
</thead>
<tbody th:each="respBean,respBeanStat:${respDataList}">
<tr>
<td>
<div th:each="performanceVo:${respBean.monList}">
<ul>
<li><span class="left-at">[[${performanceVo.cityName}]]</span></li>
<li><span class="right-at">[[${performanceVo.timeStart}]]</span></li>
<li><span class="right-at">[[${performanceVo.title}]]</span></li>
</ul>
</div>
<div class="title">
{{ item.title }}
</td>
<td>
<div th:each="performanceVo:${respBean.tueList}">
<ul>
<li><span class="left-at">[[${performanceVo.cityName}]]</span></li>
<li><span class="right-at">[[${performanceVo.timeStart}]]</span></li>
<li><span class="right-at">[[${performanceVo.title}]]</span></li>
</ul>
</div>
</td>
<td>
<div th:each="performanceVo:${respBean.wedList}">
<ul>
<li><span class="left-at">[[${performanceVo.cityName}]]</span></li>
<li><span class="right-at">[[${performanceVo.timeStart}]]</span></li>
<li><span class="right-at">[[${performanceVo.title}]]</span></li>
</ul>
</div>
</td>
<td>
<div th:each="performanceVo:${respBean.thuList}">
<ul>
<li><span class="left-at">[[${performanceVo.cityName}]]</span></li>
<li><span class="right-at">[[${performanceVo.timeStart}]]</span></li>
<li><span class="right-at">[[${performanceVo.title}]]</span></li>
</ul>
</div>
</td>
<td>
<div th:each="performanceVo:${respBean.friList}">
<ul>
<li><span class="left-at">[[${performanceVo.cityName}]]</span></li>
<li><span class="right-at">[[${performanceVo.timeStart}]]</span></li>
<li><span class="right-at">[[${performanceVo.title}]]</span></li>
</ul>
</div>
</td>
<td>
<div th:each="performanceVo:${respBean.satList}">
<ul>
<li><span class="left-at">[[${performanceVo.cityName}]]</span></li>
<li><span class="right-at">[[${performanceVo.timeStart}]]</span></li>
<li><span class="right-at">[[${performanceVo.title}]]</span></li>
</ul>
</div>
</td>
<td>
<div th:each="performanceVo:${respBean.sunList}">
<ul>
<li><span class="left-at">[[${performanceVo.cityName}]]</span></li>
<li><span class="right-at">[[${performanceVo.timeStart}]]</span></li>
<li><span class="right-at">[[${performanceVo.title}]]</span></li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- <div class="col-sm-12 select-table table-bordered">-->
<!-- <table id="bootstrap-table"></table>-->
<!-- </div>-->
<!-- <div>-->
<!-- <div class="calendar-day" :class="data.isSelected ? 'is-selected' : ''">-->
<!-- {{ data.day.split('-').slice(1).join('-') }} {{ data.isSelected ? '✔️' : '' }}-->
<!-- </div>-->
<!-- <div id="index" class="calendar-data">-->
<!-- <div>-->
<!-- <div>-->
<!-- <div th:each="entries,stat:${resultList}" effect="dark" value="item.title">-->
<!-- <div>-->
<!-- <div class="city">-->
<!-- <el-button size="mini" type="primary" plain>-->
<!-- {{ item.city_name }}-->
<!-- </el-button>-->
<!-- {{ item.time_start }}-->
<!-- </div>-->
<!-- <div class="title">-->
<!-- {{ item.title }}-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('kylin:performances:edit')}]];
var removeFlag = [[${@permission.hasPermi('kylin:performances:remove')}]];
......@@ -65,62 +193,136 @@
sortName: "sort",
modalName: "演出",
columns: [{
checkbox: true
},
{
field: 'title',
title: '演出名称'
checkbox: false
},
{
field: 'timeStart',
title: '开演时间'
field: 'mon',
title: 'Mon'
},
{
field: 'imgPoster',
title: '供票总量'
field: 'tue',
title: 'Tue'
},
{
field: 'provinceId',
title: '实销'
field: 'wed',
title: 'Wed'
},
{
field: 'provinceName',
title: '余票'
field: 'thu',
title: 'Thu'
},
{
field: 'provinceName',
title: '总销售款'
field: 'fri',
title: 'Fri'
},
{
field: 'provinceName',
title: '演出状态'
field: 'sat',
title: 'Sat'
},
{
field: 'provinceName',
title: '分销状态'
},
{
field: 'provinceName',
title: '转增状态'
},
{
field: 'sort',
title: '排序',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.mid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.mid + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
field: 'sun',
title: 'Sun'
}]
};
$.table.init(options);
// $.table.init(options);
<!-- laydate示例 -->
layui.use(['laydate'], function(){
var laydate = layui.laydate;
var monday = getMonday(new Date());
var mm = GetDateStr(monday,0);
var minSunday = GetDateStr(monday,6);
var maxSunday = GetDateStr(monday,7);
var startDate = laydate.render({
elem: '#perStartTime',
type:'date',
format: 'yyyy-MM-dd', //格式
min: mm, //最小可选择日期
range:false, //设置启用日期范围
// max: $('#perEndTime').val(),
max: maxSunday,
theme: 'molv',
trigger: 'focus',
done: function(value, date) {
// 结束时间大于开始时间
if (value !== '') {
endDate.config.min.year = date.year;
endDate.config.min.month = date.month - 1;
endDate.config.min.date = date.date;
} else {
endDate.config.min.year = '';
endDate.config.min.month = '';
endDate.config.min.date = '';
}
}
});
var endDate = laydate.render({
elem: '#perEndTime',
min: $('#perStartTime').val(),
max: maxSunday,
theme: 'molv',
trigger: 'focus',
done: function(value, date) {
// 开始时间小于结束时间
if (value !== '') {
startDate.config.max.year = date.year;
startDate.config.max.month = date.month - 1;
startDate.config.max.date = date.date;
} else {
startDate.config.max.year = '';
startDate.config.max.month = '';
startDate.config.max.date = '';
}
}
});
});
});
//获取当前日期的周一日期
function getMonday( date ) {
var day = date.getDay() || 7;
if( day !== 1 )
date.setHours(-24 * (day - 1));
return date;
}
//获取某日期的第n天后的日期
function GetDateStr(date,n) {
var dd = date;
dd.setDate(dd.getDate()+n);
var y = dd.getFullYear();
var m = (dd.getMonth()+1)<10?"0"+(dd.getMonth()+1):(dd.getMonth()+1);
var d = dd.getDate()<10?"0"+dd.getDate():dd.getDate();
return y+"-"+m+"-"+d;
}
// $("#perStartTime").datetimepicker({
// language: "zh-CN",
// weekStart: 1, //一周从哪一天开始。0(星期日)到6(星期六)
// todayBtn: 1,
// autoclose: 1, //当选择一个日期之后是否立即关闭此日期时间选择器。0->false,1->true
// todayHighlight: 1, //高亮当前日期
// startView: 2, //0:当天的当前小时(并且时间间隔为15分钟),1:当天的小时(时间间隔为一小时),2:天数 3:月份 4:年份
// minView: 0, //日期时间选择器所能够提供的最精确的时间选择视图
// forceParse: 0, //当选择器关闭的时候,是否强制解析输入框中的值。也就是说,当用户在输入框中输入了不正确的日期,选择器将会尽量解析输入的值,并将解析后的正确值按照给定的格式format设置到输入框中。
// startDate:new Date(),
// endDate:"+7d",
// format: "yyyy-mm-dd"
//
// });
// $("#perEndTime").datetimepicker({
// language: "zh-CN",
// weekStart: 1, //一周从哪一天开始。0(星期日)到6(星期六)
// todayBtn: 1,
// autoclose: 1, //当选择一个日期之后是否立即关闭此日期时间选择器。0->false,1->true
// todayHighlight: 1, //高亮当前日期
// startView: 2, //0:当天的当前小时(并且时间间隔为15分钟),1:当天的小时(时间间隔为一小时),2:天数 3:月份 4:年份
// minView: 0, //日期时间选择器所能够提供的最精确的时间选择视图
// forceParse: 0, //当选择器关闭的时候,是否强制解析输入框中的值。也就是说,当用户在输入框中输入了不正确的日期,选择器将会尽量解析输入的值,并将解析后的正确值按照给定的格式format设置到输入框中。
// startDate: $("#perStartTime").value,
// endDate:"+7d",
// format: "yyyy-mm-dd"
//
// });
</script>
</body>
<style lang="scss">
......
package com.liquidnet.client.admin.zhengzai.kylin.dto;
import lombok.Data;
/**
* @author AnJiabin <anjiabin@zhengzai.tv>
* @version V1.0
* @Description: TODO
* @class: PerformanceCalendarReq
* @Package com.liquidnet.client.admin.zhengzai.kylin.dto
* @Copyright: LightNet @ Copyright (c) 2021
* @date 2021/6/1 15:47
*/
@Data
public class PerformanceCalendarReq {
String performanceIimeBegin;
String performanceIimeend;
}
package com.liquidnet.client.admin.zhengzai.kylin.dto;
import lombok.Data;
import java.util.List;
/**
* @author AnJiabin <anjiabin@zhengzai.tv>
* @version V1.0
* @Description: TODO
* @class: PerformanceCalendarReq
* @Package com.liquidnet.client.admin.zhengzai.kylin.dto
* @Copyright: LightNet @ Copyright (c) 2021
* @date 2021/6/1 15:47
*/
@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;
public static class PerformanceVo{
private String title;
private String timeStart;
private String cityName;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTimeStart() {
return timeStart;
}
public void setTimeStart(String timeStart) {
this.timeStart = timeStart;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
}
}
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