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

Commit c0df20d6 authored by 胡佳晨's avatar 胡佳晨

数据迁移提交

parent 95b2dec9
......@@ -11,7 +11,7 @@ import java.time.LocalDateTime;
@ApiModel(value = "MerchantSponsorsVo", description = "主办")
@Data
public class MerchantSponsorsVo implements java.io.Serializable{
public class MerchantSponsorsVo implements java.io.Serializable, Cloneable {
private static final long serialVersionUID = -5422950992644764083L;
@ApiModelProperty(position = 11, value = "主办ID")
......
......@@ -10,7 +10,7 @@ import java.time.LocalDateTime;
@ApiModel(value = "MerchantStationsVo", description = "小站")
@Data
public class MerchantStationsVo {
public class MerchantStationsVo implements Cloneable {
@ApiModelProperty(position = 10, value = "类型 fieldApply-场地申请、field-场地、sponsorApply主办申请、sponsor-主办")
private String stationType;
......
......@@ -34,6 +34,13 @@ public class DataController {
return ResponseDto.success();
}
@PostMapping("sponsor")
@ApiOperation("主办方相关迁移")
public ResponseDto<Boolean> sponsor() {
data.sponsor();
return ResponseDto.success();
}
// @PostMapping("initScore")
// @ApiOperation("积分数据迁移")
// public ResponseDto<Boolean> initScore(@RequestParam("page") int page, @RequestParam("size") int size) {
......
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