소스 검색

增加封面图生成状态返回

xiewenjie 3 년 전
부모
커밋
ba2dfb9622
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      sxz-core/src/main/java/com/fdkk/sxz/webApi/mapper/IModelUploadMapper.java

+ 3 - 3
sxz-core/src/main/java/com/fdkk/sxz/webApi/mapper/IModelUploadMapper.java

@@ -23,13 +23,13 @@ public interface IModelUploadMapper extends IBaseMapper<ModelUploadEntity> {
             " parts_detail_id AS partsDetailId, status, obj_path AS objPath, img_path AS imgPath, " +
             " file_type AS fileType, thum_path AS thumPath, progress " +
             " FROM tb_model_upload WHERE parts_detail_id = #{id} limit 1")
-    ModelUploadEntity findByPartsDetailId(@Param("id")Long id);
+    ModelUploadEntity findByPartsDetailId(@Param("id") Long id);
 
     @Select("<script> " +
             " SELECT id, user_id as userId, user_type AS userType, file_id AS fileId, " +
             " parts_detail_id AS partsDetailId, status, obj_path AS objPath, img_path AS imgPath, " +
             " file_type AS fileType, thum_path AS thumPath, progress, upload_file as uploadFile, " +
-            " faces_num as facesNum, cache_data as cacheData" +
+            " faces_num as facesNum, cache_data as cacheData ,thum_status as thumStatus " +
             " FROM `tb_model_upload` WHERE rec_status = 'A' AND parts_detail_id IS NULL " +
             " AND status != -1" +
             "<if test= 'userId != null'> " +
@@ -40,5 +40,5 @@ public interface IModelUploadMapper extends IBaseMapper<ModelUploadEntity> {
             "</if> " +
 
             "</script>")
-    List<ModelUploadEntity> findIsNotPartsDetailId(@Param("userId") Long userId,@Param("fileType") Integer fileType);
+    List<ModelUploadEntity> findIsNotPartsDetailId(@Param("userId") Long userId, @Param("fileType") Integer fileType);
 }