Forráskód Böngészése

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

qianxb 1 éve
szülő
commit
efd30ad24f

+ 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">