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

Commit c14bb4b3 authored by jiangxiulong's avatar jiangxiulong

Merge remote-tracking branch 'origin/dev' into dev

parents 06f2f0ce 797a23a4
...@@ -3,6 +3,7 @@ package com.liquidnet.service.kylin.dto.param; ...@@ -3,6 +3,7 @@ package com.liquidnet.service.kylin.dto.param;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -12,6 +13,7 @@ public class CreateRoadShowParam implements Serializable { ...@@ -12,6 +13,7 @@ public class CreateRoadShowParam implements Serializable {
@ApiModelProperty(value = "巡演主键", example = "") @ApiModelProperty(value = "巡演主键", example = "")
private String roadShowsId; private String roadShowsId;
@ApiModelProperty(value = "标题", example = "") @ApiModelProperty(value = "标题", example = "")
@NotNull(message = "不能为空")
private String title; private String title;
// @ApiModelProperty(value = "场地主键", example = "测试场地") // @ApiModelProperty(value = "场地主键", example = "测试场地")
// private String imgPoster; // private String imgPoster;
......
...@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; ...@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -14,6 +15,7 @@ public class CreateTicketTimesParam implements Serializable { ...@@ -14,6 +15,7 @@ public class CreateTicketTimesParam implements Serializable {
private String ticketTimesId; private String ticketTimesId;
@ApiModelProperty(value = "演出Id", example = "1") @ApiModelProperty(value = "演出Id", example = "1")
@NotNull(message = "不能为空")
private String PerformancesId; private String PerformancesId;
@ApiModelProperty(value = "场次标题", example = "测试标题") @ApiModelProperty(value = "场次标题", example = "测试标题")
...@@ -21,12 +23,15 @@ public class CreateTicketTimesParam implements Serializable { ...@@ -21,12 +23,15 @@ public class CreateTicketTimesParam implements Serializable {
private String title; private String title;
@ApiModelProperty(value = "场次适用开始时间", example = "2020-12-01T12:00:00") @ApiModelProperty(value = "场次适用开始时间", example = "2020-12-01T12:00:00")
@NotNull(message = "不能为空")
private LocalDateTime useStart; private LocalDateTime useStart;
@ApiModelProperty(value = "场次适用结束时间", example = "2020-12-01T12:00:00") @ApiModelProperty(value = "场次适用结束时间", example = "2020-12-01T12:00:00")
@NotNull(message = "不能为空")
private LocalDateTime useEnd; private LocalDateTime useEnd;
@ApiModelProperty(value = "类型 1单日票 2通票", example = "1") @ApiModelProperty(value = "类型 1单日票 2通票", example = "1")
@NotNull(message = "不能为空")
private int type; private int type;
@ApiModelProperty(value = "", example = "") @ApiModelProperty(value = "", example = "")
......
...@@ -3,21 +3,27 @@ package com.liquidnet.service.kylin.dto.param; ...@@ -3,21 +3,27 @@ package com.liquidnet.service.kylin.dto.param;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
@Data @Data
public class PerformanceAdminListParam { public class PerformanceAdminListParam {
@ApiModelProperty(value = "演出名称", example = "") @ApiModelProperty(value = "演出名称", example = "")
private String title; private String title;
@ApiModelProperty(value = "-2全部状态:-1删除;0未提交;1审核中;2审核中(自动上线);3审核通过;4审核未通过;6上线;7下架;8活动结束;9活动取消退款中;10活动取消退", example = "-2") @ApiModelProperty(value = "-2全部状态:-1删除;0未提交;1审核中;2审核中(自动上线);3审核通过;4审核未通过;6上线;7下架;8活动结束;9活动取消退款中;10活动取消退", example = "-2")
@NotNull(message = "不能为空")
private int status; private int status;
@ApiModelProperty(value = "城市名称", example = "") @ApiModelProperty(value = "城市名称", example = "")
private String cityName; private String cityName;
@ApiModelProperty(value = "-2全部,0审核中,2审核拒绝", example = "0") @ApiModelProperty(value = "-2全部,0审核中,2审核拒绝", example = "0")
@NotNull(message = "不能为空")
private int auditStatus; private int auditStatus;
@ApiModelProperty(value = "停售时间", example = "2000-01-01 12:00:00") @ApiModelProperty(value = "停售时间", example = "2000-01-01 12:00:00")
private String stopSellTime; private String stopSellTime;
@ApiModelProperty(value = "页数", example = "0") @ApiModelProperty(value = "页数", example = "0")
@NotNull(message = "不能为空")
private int page; private int page;
@ApiModelProperty(value = "数量", example = "20") @ApiModelProperty(value = "数量", example = "20")
@NotNull(message = "不能为空")
private int size; private int size;
@ApiModelProperty(value = "排序字段", hidden = true) @ApiModelProperty(value = "排序字段", hidden = true)
private String orderItem; private String orderItem;
......
...@@ -3,6 +3,7 @@ package com.liquidnet.service.kylin.dto.param; ...@@ -3,6 +3,7 @@ package com.liquidnet.service.kylin.dto.param;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime; import java.time.LocalDateTime;
@Data @Data
...@@ -10,20 +11,25 @@ public class PerformancePartnerListParam { ...@@ -10,20 +11,25 @@ public class PerformancePartnerListParam {
@ApiModelProperty(value = "演出名称", example = "") @ApiModelProperty(value = "演出名称", example = "")
private String title; private String title;
@ApiModelProperty(value = "-2全部(不包括未提交)0未发布演出列表;3审核通过;6上线;7下架;8已结束;", example = "0") @ApiModelProperty(value = "-2全部(不包括未提交)0未发布演出列表;3审核通过;6上线;7下架;8已结束;", example = "0")
@NotNull(message = "不能为空")
private int status; private int status;
@ApiModelProperty(value = "-2全部,-1未提交审核,0审核中,1审核通过,2审核拒绝", example = "0") @ApiModelProperty(value = "-2全部,-1未提交审核,0审核中,1审核通过,2审核拒绝", example = "0")
@NotNull(message = "不能为空")
private int auditStatus; private int auditStatus;
@ApiModelProperty(value = "演出开始时间", example = "2000-01-01 12:00:00") @ApiModelProperty(value = "演出开始时间", example = "2000-01-01 12:00:00")
private String timeStart; private String timeStart;
@ApiModelProperty(value = "演出结束时间", example = "2000-01-01 12:00:00") @ApiModelProperty(value = "演出结束时间", example = "2000-01-01 12:00:00")
private String timeEnd; private String timeEnd;
@ApiModelProperty(value = "排序类型 1创建时间倒序 2创建时间正序 3演出时间倒序 4演出时间正序", example = "0") @ApiModelProperty(value = "排序类型 1创建时间倒序 2创建时间正序 3演出时间倒序 4演出时间正序", example = "0")
@NotNull(message = "不能为空")
private int orderType; private int orderType;
@ApiModelProperty(value = "停售时间", example = "2000-01-01 12:00:00") @ApiModelProperty(value = "停售时间", example = "2000-01-01 12:00:00")
private String stopSellTime; private String stopSellTime;
@ApiModelProperty(value = "页数", example = "0") @ApiModelProperty(value = "页数", example = "0")
@NotNull(message = "不能为空")
private int page; private int page;
@ApiModelProperty(value = "数量", example = "20") @ApiModelProperty(value = "数量", example = "20")
@NotNull(message = "不能为空")
private int size; private int size;
@ApiModelProperty(value = "排序字段", hidden = true) @ApiModelProperty(value = "排序字段", hidden = true)
private String orderItem; private String orderItem;
......
...@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; ...@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
@Data @Data
...@@ -13,24 +14,30 @@ public class PerformanceStep1Param implements Serializable { ...@@ -13,24 +14,30 @@ public class PerformanceStep1Param implements Serializable {
private String performancesId; private String performancesId;
@ApiModelProperty(value = "封面图", example = "https://img.zhengzai.tv/partner/2019/05/14/5cda2d0520177.png") @ApiModelProperty(value = "封面图", example = "https://img.zhengzai.tv/partner/2019/05/14/5cda2d0520177.png")
@NotNull(message = "不能为空")
private String imgPoster; private String imgPoster;
@ApiModelProperty(value = "第三方id", example = "0") @ApiModelProperty(value = "第三方id", example = "0")
private String merchantId; private String merchantId;
@ApiModelProperty(value = "演出名称", example = "测试演出") @ApiModelProperty(value = "演出名称", example = "测试演出")
@NotNull(message = "不能为空")
private String title; private String title;
@ApiModelProperty(value = "演出类型 1音乐节 2演唱会 3小型演出 4展览 6舞台剧", example = "3") @ApiModelProperty(value = "1音乐节 2演唱会 3小型演出 4展览 6舞台剧 101音乐节 102小型演出(livehouse演出) 103巡演", example = "3")
@NotNull(message = "不能为空")
private int type; private int type;
@ApiModelProperty(value = "演出开始时间", example = "2021-05-01 12:00:00") @ApiModelProperty(value = "演出开始时间", example = "2021-05-01 12:00:00")
@NotNull(message = "不能为空")
private String timeStart; private String timeStart;
@ApiModelProperty(value = "演出结束时间", example = "2021-05-04 12:00:00") @ApiModelProperty(value = "演出结束时间", example = "2021-05-04 12:00:00")
@NotNull(message = "不能为空")
private String timeEnd; private String timeEnd;
@ApiModelProperty(value = "场地id", example = "1") @ApiModelProperty(value = "场地id", example = "1")
@NotNull(message = "不能为空")
private String fieldId; private String fieldId;
@ApiModelProperty(value = "场地名称", example = "") @ApiModelProperty(value = "场地名称", example = "")
...@@ -40,6 +47,7 @@ public class PerformanceStep1Param implements Serializable { ...@@ -40,6 +47,7 @@ public class PerformanceStep1Param implements Serializable {
private String notice; private String notice;
@ApiModelProperty(value = "主办方id", example = "1") @ApiModelProperty(value = "主办方id", example = "1")
@NotNull(message = "不能为空")
private String sponsorId; private String sponsorId;
@ApiModelProperty(value = "主办方类型", example = "1") @ApiModelProperty(value = "主办方类型", example = "1")
...@@ -49,21 +57,27 @@ public class PerformanceStep1Param implements Serializable { ...@@ -49,21 +57,27 @@ public class PerformanceStep1Param implements Serializable {
private String sponsor; private String sponsor;
@ApiModelProperty(value = "联系人", example = "联系人") @ApiModelProperty(value = "联系人", example = "联系人")
@NotNull(message = "不能为空")
private String contacts; private String contacts;
@ApiModelProperty(value = "联系方式", example = "手机号") @ApiModelProperty(value = "联系方式", example = "手机号")
@NotNull(message = "不能为空")
private String mobile; private String mobile;
@ApiModelProperty(value = "演出详情", example = "<p>演出详情</p>") @ApiModelProperty(value = "演出详情", example = "<p>演出详情</p>")
@NotNull(message = "不能为空")
private String details; private String details;
@ApiModelProperty(value = "演出批文地址", example = "这是一个演出批文地址") @ApiModelProperty(value = "演出批文地址", example = "这是一个演出批文地址")
@NotNull(message = "不能为空")
private String approvalUrl; private String approvalUrl;
@ApiModelProperty(value = "待支付时间", example = "5") @ApiModelProperty(value = "待支付时间", example = "5")
@NotNull(message = "不能为空")
private int payCountdownMinute; private int payCountdownMinute;
@ApiModelProperty(value = "购票须知", example = "[{\"id\":1,\"title\":\"\\u95e8\\u7968\\u4e0d\\u9000\\u4e0d\\u6362\",\"type\":\"image\",\"url\":\"http:\\/\\/img-zhengzai-tv.oss-cn-hangzhou.aliyuncs.com\\/partner\\/2019\\/01\\/21\\/5c45722882a13.png\",\"text\":\"\\u95e8\\u7968\\u4e3a\\u6709\\u4ef7\\u8bc1\\u5238\\uff0c\\u5e76\\u975e\\u5546\\u54c1\\uff0c\\u4e00\\u7ecf\\u552e\\u51fa\\u4e0d\\u4e88\\u9000\\u6362\\u3002\\u56e0\\u201c\\u4e0d\\u53ef\\u6297\\u529b\\u201d\\u5bfc\\u81f4\\u7684\\u6f14\\u51fa\\u53d6\\u6d88\\u6216\\u5ef6\\u671f\\u9664\\u5916\\u3002\",\"sort\":1},{\"id\":3,\"title\":\"\\u4ec5\\u8bbe\\u7ad9\\u5e2d\",\"type\":\"image\",\"url\":\"http:\\/\\/img-zhengzai-tv.oss-cn-hangzhou.aliyuncs.com\\/partner\\/2019\\/01\\/21\\/5c456e93db0b9.png\",\"text\":\"\\u672c\\u573a\\u6f14\\u51fa\\u4e0d\\u8bbe\\u5ea7\\u4f4d\\uff0c\\u5747\\u4e3a\\u7ad9\\u5e2d\\u89c2\\u6f14\\u3002\",\"sort\":2},{\"id\":4,\"title\":\"\\u7981\\u6b62\\u4e2a\\u4eba\\u7968\\u52a1\\u4e70\\u5356\",\"type\":\"image\",\"url\":\"http:\\/\\/img-zhengzai-tv.oss-cn-hangzhou.aliyuncs.com\\/partner\\/2019\\/01\\/21\\/5c456e5c27644.png\",\"text\":\"\\u4e3a\\u9632\\u6b62\\u4e0d\\u6cd5\\u5206\\u5b50\\u5229\\u7528\\u7968\\u52a1\\u8f6c\\u8ba9\\u8bc8\\u9a97\\u94b1\\u6b3e\\uff0c\\u5efa\\u8bae\\u5e7f\\u5927\\u4e50\\u8ff7\\u4e0d\\u8981\\u8fdb\\u884c\\u4e2a\\u4eba\\u95f4\\u7968\\u52a1\\u4e70\\u5356\\uff0c\\u4e0d\\u8981\\u8f7b\\u6613\\u76f8\\u4fe1\\u6765\\u6e90\\u4e0d\\u660e\\u7684\\u8f6c\\u7968\\uff0c\\u4ee5\\u514d\\u81ea\\u8eab\\u5229\\u76ca\\u53d7\\u5230\\u4fb5\\u5bb3\\u3002\",\"sort\":3}]") @ApiModelProperty(value = "购票须知", example = "[{\"id\":1,\"title\":\"\\u95e8\\u7968\\u4e0d\\u9000\\u4e0d\\u6362\",\"type\":\"image\",\"url\":\"http:\\/\\/img-zhengzai-tv.oss-cn-hangzhou.aliyuncs.com\\/partner\\/2019\\/01\\/21\\/5c45722882a13.png\",\"text\":\"\\u95e8\\u7968\\u4e3a\\u6709\\u4ef7\\u8bc1\\u5238\\uff0c\\u5e76\\u975e\\u5546\\u54c1\\uff0c\\u4e00\\u7ecf\\u552e\\u51fa\\u4e0d\\u4e88\\u9000\\u6362\\u3002\\u56e0\\u201c\\u4e0d\\u53ef\\u6297\\u529b\\u201d\\u5bfc\\u81f4\\u7684\\u6f14\\u51fa\\u53d6\\u6d88\\u6216\\u5ef6\\u671f\\u9664\\u5916\\u3002\",\"sort\":1},{\"id\":3,\"title\":\"\\u4ec5\\u8bbe\\u7ad9\\u5e2d\",\"type\":\"image\",\"url\":\"http:\\/\\/img-zhengzai-tv.oss-cn-hangzhou.aliyuncs.com\\/partner\\/2019\\/01\\/21\\/5c456e93db0b9.png\",\"text\":\"\\u672c\\u573a\\u6f14\\u51fa\\u4e0d\\u8bbe\\u5ea7\\u4f4d\\uff0c\\u5747\\u4e3a\\u7ad9\\u5e2d\\u89c2\\u6f14\\u3002\",\"sort\":2},{\"id\":4,\"title\":\"\\u7981\\u6b62\\u4e2a\\u4eba\\u7968\\u52a1\\u4e70\\u5356\",\"type\":\"image\",\"url\":\"http:\\/\\/img-zhengzai-tv.oss-cn-hangzhou.aliyuncs.com\\/partner\\/2019\\/01\\/21\\/5c456e5c27644.png\",\"text\":\"\\u4e3a\\u9632\\u6b62\\u4e0d\\u6cd5\\u5206\\u5b50\\u5229\\u7528\\u7968\\u52a1\\u8f6c\\u8ba9\\u8bc8\\u9a97\\u94b1\\u6b3e\\uff0c\\u5efa\\u8bae\\u5e7f\\u5927\\u4e50\\u8ff7\\u4e0d\\u8981\\u8fdb\\u884c\\u4e2a\\u4eba\\u95f4\\u7968\\u52a1\\u4e70\\u5356\\uff0c\\u4e0d\\u8981\\u8f7b\\u6613\\u76f8\\u4fe1\\u6765\\u6e90\\u4e0d\\u660e\\u7684\\u8f6c\\u7968\\uff0c\\u4ee5\\u514d\\u81ea\\u8eab\\u5229\\u76ca\\u53d7\\u5230\\u4fb5\\u5bb3\\u3002\",\"sort\":3}]")
@NotNull(message = "不能为空")
private String noticeImage; private String noticeImage;
@ApiModelProperty(value = "演出简介", example = "") @ApiModelProperty(value = "演出简介", example = "")
......
...@@ -5,6 +5,7 @@ import com.liquidnet.service.kylin.dto.vo.partner.TicketTimesTicketCreatePartner ...@@ -5,6 +5,7 @@ import com.liquidnet.service.kylin.dto.vo.partner.TicketTimesTicketCreatePartner
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
...@@ -12,15 +13,19 @@ import java.util.List; ...@@ -12,15 +13,19 @@ import java.util.List;
public class PerformanceStep2Param implements Serializable { public class PerformanceStep2Param implements Serializable {
@ApiModelProperty(value = "演出id", example = "") @ApiModelProperty(value = "演出id", example = "")
@NotNull(message = "不能为空")
private String performancesId; private String performancesId;
@ApiModelProperty(value = "是否实名", example = "0") @ApiModelProperty(value = "是否实名", example = "0")
@NotNull(message = "不能为空")
private int isTrueName; private int isTrueName;
@ApiModelProperty(value = "限购数量 0为不限购", example = "0") @ApiModelProperty(value = "限购数量 0为不限购", example = "0")
@NotNull(message = "不能为空")
private int limitCount; private int limitCount;
@ApiModelProperty(value = "是否提交 1提交 0不提交(不验证参数)", example = "0") @ApiModelProperty(value = "是否提交 1提交 0不提交(不验证参数)", example = "0")
@NotNull(message = "不能为空")
private int isSubmit; private int isSubmit;
@ApiModelProperty(value = "场次数据",hidden = true) @ApiModelProperty(value = "场次数据",hidden = true)
......
...@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty; ...@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
...@@ -21,42 +22,53 @@ public class TicketCreateParam implements Serializable { ...@@ -21,42 +22,53 @@ public class TicketCreateParam implements Serializable {
private String ticketsId; private String ticketsId;
@ApiModelProperty(value = "场次Id") @ApiModelProperty(value = "场次Id")
@NotNull(message = "不能为空")
private String timesId; private String timesId;
@ApiModelProperty(value = "票种名称", example = "测试票") @ApiModelProperty(value = "票种名称", example = "测试票")
@NotNull(message = "不能为空")
private String title; private String title;
// @ApiModelProperty(value = "类型", example = "2") // @ApiModelProperty(value = "类型", example = "2")
// private int type; // private int type;
@ApiModelProperty(value = "是否学生票 0否 1是", example = "0") @ApiModelProperty(value = "是否学生票 0否 1是", example = "0")
@NotNull(message = "不能为空")
private int isStudent; private int isStudent;
@ApiModelProperty(value = "是否电子票", example = "0") @ApiModelProperty(value = "是否电子票", example = "0")
@NotNull(message = "不能为空")
private int isElectronic; private int isElectronic;
@ApiModelProperty(value = "是否快递票", example = "0") @ApiModelProperty(value = "是否快递票", example = "0")
@NotNull(message = "不能为空")
private int isExpress; private int isExpress;
@ApiModelProperty(value = "价格", example = "100.00") @ApiModelProperty(value = "价格", example = "100.00")
@NotNull(message = "不能为空")
private BigDecimal price; private BigDecimal price;
@ApiModelProperty(value = "快递票截止日期", example = "2020-12-01T12:00:00") @ApiModelProperty(value = "快递票截止日期", example = "2020-12-01T12:00:00")
private LocalDateTime timeEndExpress; private LocalDateTime timeEndExpress;
@ApiModelProperty(value = "总库存", example = "100") @ApiModelProperty(value = "总库存", example = "100")
@NotNull(message = "不能为空")
private int totalGeneral; private int totalGeneral;
@ApiModelProperty(value = "总兑换库存", example = "100") @ApiModelProperty(value = "总兑换库存", example = "100")
@NotNull(message = "不能为空")
private int totalExchange; private int totalExchange;
@ApiModelProperty(value = "限购数量", example = "0") @ApiModelProperty(value = "限购数量", example = "0")
@NotNull(message = "不能为空")
private int limitCount; private int limitCount;
@ApiModelProperty(value = "票种开售时间", example = "2020-12-01T12:00:00") @ApiModelProperty(value = "票种开售时间", example = "2020-12-01T12:00:00")
@NotNull(message = "不能为空")
private LocalDateTime timeStart; private LocalDateTime timeStart;
@ApiModelProperty(value = "票种结售时间", example = "2020-12-01T14:00:00") @ApiModelProperty(value = "票种结售时间", example = "2020-12-01T14:00:00")
@NotNull(message = "不能为空")
private LocalDateTime timeEnd; private LocalDateTime timeEnd;
@ApiModelProperty(value = "票种说明", example = "这是票种说明") @ApiModelProperty(value = "票种说明", example = "这是票种说明")
...@@ -69,6 +81,7 @@ public class TicketCreateParam implements Serializable { ...@@ -69,6 +81,7 @@ public class TicketCreateParam implements Serializable {
private LocalDateTime qrCodeShowTime; private LocalDateTime qrCodeShowTime;
@ApiModelProperty(value = "是否开启缺票登记", example = "1") @ApiModelProperty(value = "是否开启缺票登记", example = "1")
@NotNull(message = "不能为空")
private int isLackRegister; private int isLackRegister;
@ApiModelProperty(value = "", hidden = true) @ApiModelProperty(value = "", hidden = true)
......
...@@ -20,6 +20,8 @@ public class PerformanceVo { ...@@ -20,6 +20,8 @@ public class PerformanceVo {
private String performancesId; private String performancesId;
@ApiModelProperty(value = "演出名称") @ApiModelProperty(value = "演出名称")
private String title; private String title;
@ApiModelProperty(value = "演出类型 1音乐节 2演唱会 3小型演出 4展览 6舞台剧 101音乐节 102小型演出(livehouse演出) 103巡演")
private int type;
@ApiModelProperty(value = "演出开始时间") @ApiModelProperty(value = "演出开始时间")
private String timeStart; private String timeStart;
@ApiModelProperty(value = "演出结束时间") @ApiModelProperty(value = "演出结束时间")
...@@ -69,6 +71,7 @@ public class PerformanceVo { ...@@ -69,6 +71,7 @@ public class PerformanceVo {
this.title = performance.getTitle(); this.title = performance.getTitle();
this.timeStart = performance.getTimeStart().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); this.timeStart = performance.getTimeStart().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
this.timeEnd = performance.getTimeEnd().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); this.timeEnd = performance.getTimeEnd().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
this.type = performance.getType();
} }
public void setTimePriceVipAndLack(int isLackRegister, int isMember, int isExclusive, BigDecimal price, LocalDateTime stopSellTime, LocalDateTime sellTime) { public void setTimePriceVipAndLack(int isLackRegister, int isMember, int isExclusive, BigDecimal price, LocalDateTime stopSellTime, LocalDateTime sellTime) {
......
...@@ -17,6 +17,8 @@ public class PerformanceIgnoreVo { ...@@ -17,6 +17,8 @@ public class PerformanceIgnoreVo {
private String performancesId; private String performancesId;
@ApiModelProperty(value = "演出名称") @ApiModelProperty(value = "演出名称")
private String title; private String title;
@ApiModelProperty(value = "演出类型 1音乐节 2演唱会 3小型演出 4展览 6舞台剧 101音乐节 102小型演出(livehouse演出) 103巡演")
private int type;
@ApiModelProperty(value = "演出开始时间") @ApiModelProperty(value = "演出开始时间")
private String timeStart; private String timeStart;
@ApiModelProperty(value = "演出结束时间") @ApiModelProperty(value = "演出结束时间")
......
...@@ -45,19 +45,19 @@ public interface IKylinPerformancesPartnerService extends IService<KylinPerforma ...@@ -45,19 +45,19 @@ public interface IKylinPerformancesPartnerService extends IService<KylinPerforma
*/ */
PerformancePartnerVo getStep1(String performancesId); PerformancePartnerVo getStep1(String performancesId);
/** // /**
* 获取创建演出第一步数据 // * 获取创建演出第一步数据
* @param performancesId // * @param performancesId
* @return // * @return
*/ // */
PerformanceParam getCreateStep1(String performancesId); // PerformanceParam getCreateStep1(String performancesId);
//
/** // /**
* 获取修改演出第一步数据 // * 获取修改演出第一步数据
* @param performancesId // * @param performancesId
* @return // * @return
*/ // */
PerformanceParam getUpdateStep1(String performancesId); // PerformanceParam getUpdateStep1(String performancesId);
/** /**
...@@ -83,13 +83,15 @@ public interface IKylinPerformancesPartnerService extends IService<KylinPerforma ...@@ -83,13 +83,15 @@ public interface IKylinPerformancesPartnerService extends IService<KylinPerforma
PerformanceStep2Param getStep2(String performancesId); PerformanceStep2Param getStep2(String performancesId);
PerformanceStep2Param getCreateStep2(String performancesId); // PerformanceStep2Param getCreateStep2(String performancesId);
//
PerformanceStep2Param getUpdateStep2(String performancesId); // PerformanceStep2Param getUpdateStep2(String performancesId);
boolean onLinePerformance(String performancesId); boolean onLinePerformance(String performancesId);
boolean outLinePerformance(String performancesId); boolean outLinePerformance(String performancesId);
String copyPerformance(String performancesId);
PageInfo<PerformancePartnerListDao> getList(PerformancePartnerListParam performancePartnerListParam); PageInfo<PerformancePartnerListDao> getList(PerformancePartnerListParam performancePartnerListParam);
} }
...@@ -14,6 +14,7 @@ import io.swagger.annotations.ApiResponse; ...@@ -14,6 +14,7 @@ import io.swagger.annotations.ApiResponse;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.util.List; import java.util.List;
/** /**
...@@ -35,7 +36,7 @@ public class KylinPerformancesAdminController { ...@@ -35,7 +36,7 @@ public class KylinPerformancesAdminController {
@PostMapping(value = "list") @PostMapping(value = "list")
@ApiOperation(value = "获取列表") @ApiOperation(value = "获取列表")
@ApiResponse(response = PerformanceAdminListDao.class, code = 200, message = "接口返回对象参数") @ApiResponse(response = PerformanceAdminListDao.class, code = 200, message = "接口返回对象参数")
public ResponseDto<PageInfo<PerformanceAdminListDao>> performanceDetails(@RequestBody PerformanceAdminListParam performanceAdminListParam) { public ResponseDto<PageInfo<PerformanceAdminListDao>> performanceDetails(@RequestBody @Valid PerformanceAdminListParam performanceAdminListParam) {
PageInfo<PerformanceAdminListDao> result = null; PageInfo<PerformanceAdminListDao> result = null;
result = performancesAdminService.getList(performanceAdminListParam); result = performancesAdminService.getList(performanceAdminListParam);
if (null != result) { if (null != result) {
...@@ -61,7 +62,7 @@ public class KylinPerformancesAdminController { ...@@ -61,7 +62,7 @@ public class KylinPerformancesAdminController {
@GetMapping(value = "audit") @GetMapping(value = "audit")
@ApiOperation(value = "演出审核") @ApiOperation(value = "演出审核")
@ApiResponse(code = 200, message = "接口返回对象参数") @ApiResponse(code = 200, message = "接口返回对象参数")
public ResponseDto<String> performanceDetails(@RequestParam("performancesId") String performancesId, @RequestParam("status") int status, @RequestParam("rejectTxt") String rejectTxt) { public ResponseDto<String> performanceDetails(@RequestParam("performancesId") String performancesId, @RequestParam("status") int status, @RequestParam(value = "rejectTxt" , required = false) String rejectTxt) {
boolean result = performancesAdminService.performanceAudit(performancesId, status, rejectTxt); boolean result = performancesAdminService.performanceAudit(performancesId, status, rejectTxt);
if (result) { if (result) {
return ResponseDto.success("审核完成"); return ResponseDto.success("审核完成");
......
...@@ -36,7 +36,9 @@ public class KylinRoadShowsAdminController { ...@@ -36,7 +36,9 @@ public class KylinRoadShowsAdminController {
@GetMapping(value = "list") @GetMapping(value = "list")
@ApiOperation(value = "获取列表") @ApiOperation(value = "获取列表")
@ApiResponse(response = RoadShowAdminListDao.class, code = 200, message = "接口返回对象参数") @ApiResponse(response = RoadShowAdminListDao.class, code = 200, message = "接口返回对象参数")
public ResponseDto<PageInfo<RoadShowAdminListDao>> performanceDetails(@RequestParam("title") String title, int page, int size) { public ResponseDto<PageInfo<RoadShowAdminListDao>> performanceDetails(@RequestParam(value = "title",required = false) String title,
@RequestParam(value = "page") int page,
@RequestParam(value = "size") int size) {
PageInfo<RoadShowAdminListDao> result = null; PageInfo<RoadShowAdminListDao> result = null;
result = roadShowsService.listRoadShow(title, page, size); result = roadShowsService.listRoadShow(title, page, size);
if (null != result) { if (null != result) {
......
...@@ -33,6 +33,19 @@ public class PerformancePartnerController { ...@@ -33,6 +33,19 @@ public class PerformancePartnerController {
} }
} }
@PostMapping(value = "copy")
@ApiOperation(value = "演出列表")
@ApiResponse(code = 200, message = "接口返回对象参数")
public ResponseDto<String> copyPerformance(@RequestParam("performancesId") String performancesId) {
String result = performancesPartnerService.copyPerformance(performancesId);
if (null == result) {
return ResponseDto.failure("复制失败");
} else {
return ResponseDto.success(result);
}
}
@GetMapping(value = "step1") @GetMapping(value = "step1")
@ApiOperation(value = "获取演出第一步数据") @ApiOperation(value = "获取演出第一步数据")
@ApiResponse(code = 200, message = "接口返回对象参数") @ApiResponse(code = 200, message = "接口返回对象参数")
......
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