|
@@ -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);
|
|
|
}
|