Commit b2953fdc authored by liqin's avatar liqin 💬

bug fixed

parent 29935d59
...@@ -77,10 +77,6 @@ public class Asset implements Serializable { ...@@ -77,10 +77,6 @@ public class Asset implements Serializable {
@TableField("crc32") @TableField("crc32")
private Long crc32; private Long crc32;
@ApiModelProperty("是否已删除")
@TableField("is_deleted")
private Boolean deleted;
@ApiModelProperty("创建日期") @ApiModelProperty("创建日期")
@TableField(value = "create_time", fill = FieldFill.INSERT) @TableField(value = "create_time", fill = FieldFill.INSERT)
private LocalDateTime createTime; private LocalDateTime createTime;
......
...@@ -100,9 +100,9 @@ public class AssetController extends BaseController { ...@@ -100,9 +100,9 @@ public class AssetController extends BaseController {
@ApiOperation(value = "视频文件汇出", notes = "视频文件汇出") @ApiOperation(value = "视频文件汇出", notes = "视频文件汇出")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(name = "idList", value = "视频文件标识ID集合", dataType = "String", paramType = "path") @ApiImplicitParam(name = "idList", value = "视频文件标识ID集合", dataType = "String", paramType = "query")
}) })
@GetMapping("/download") @PostMapping("/download")
@RequiresAuthentication @RequiresAuthentication
public void download(@RequestParam("idList") List<String> idList, HttpServletResponse response) throws IOException { public void download(@RequestParam("idList") List<String> idList, HttpServletResponse response) throws IOException {
response.setContentType("application/octet-stream"); response.setContentType("application/octet-stream");
......
...@@ -16,15 +16,14 @@ ...@@ -16,15 +16,14 @@
<result column="language" property="language"/> <result column="language" property="language"/>
<result column="md5" property="md5"/> <result column="md5" property="md5"/>
<result column="crc32" property="crc32"/> <result column="crc32" property="crc32"/>
<result column="is_deleted" property="deleted"/>
<result column="create_time" property="createTime"/> <result column="create_time" property="createTime"/>
<result column="update_time" property="updateTime"/> <result column="update_time" property="updateTime"/>
</resultMap> </resultMap>
<!-- 通用查询结果列 --> <!-- 通用查询结果列 -->
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, ref_item_id, file_name, file_ext_name, file_type, file_size, file_cat, file_url, thumbnail, language, md5, crc32, is_deleted, id, ref_item_id, file_name, file_ext_name, file_type, file_size, file_cat, file_url, thumbnail, language, md5,
create_time, update_time crc32, create_time, update_time
</sql> </sql>
</mapper> </mapper>
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