소스 검색

资料进度媒体资料统计,排除type的null值

qianxb 1 년 전
부모
커밋
efd30ad24f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      blade-service/blade-business/src/main/java/org/springblade/business/mapper/ImageClassificationFileMapper.xml

+ 1 - 1
blade-service/blade-business/src/main/java/org/springblade/business/mapper/ImageClassificationFileMapper.xml

@@ -40,7 +40,7 @@
     </update>
 
     <select id="queryCurrentContractImageFileType" resultType="java.lang.Integer">
-        select `type` from u_image_classification_file where contract_id = #{contractId} and is_deleted = 0
+        select `type` from u_image_classification_file where contract_id = #{contractId} and is_deleted = 0 and type > 0
     </select>
 
     <select id="queryCurrentClassifyAllFileCount" resultType="java.lang.Integer">