Sfoglia il codice sorgente

bug

Signed-off-by: liuyc <56808083@qq.com>
liuyc 8 mesi fa
parent
commit
424d3f5902

+ 2 - 2
blade-service/blade-business/src/main/java/org/springblade/business/mapper/FixedFlowMapper.xml

@@ -21,7 +21,7 @@
         select count(id)
         from u_fixed_flow
         where is_deleted = 0
-          and is_meter != 1
+          AND ( is_meter != 1 OR is_meter IS NULL )
           and project_id = #{vo.projectId}
           and contract_id =
               #{vo.contractId}
@@ -31,7 +31,7 @@
         select *
         from u_fixed_flow
         where is_deleted = 0
-          and is_meter != 1
+          AND ( is_meter != 1 OR is_meter IS NULL )
           and project_id = #{vo.projectId}
           and contract_id =
               #{vo.contractId}