@@ -27,6 +27,6 @@ public class SlideshowDto {
@ApiModelProperty(value = "文件名", required = true)
private String fileName;
- @ApiModelProperty(value = "排序")
+ @ApiModelProperty(value = "排序",notes = "新增给最大值+1")
private Integer sort;
}
@@ -47,6 +47,7 @@ public class SlideshowServiceImpl extends IBaseServiceImpl<SlideshowEntity, Long
entity = new SlideshowEntity();
BeanUtils.copyProperties(param, entity);
+
this.save(entity);
} else {
entity = this.findById(id);