Преглед на файлове

bug

Signed-off-by: liuyc <56808083@qq.com>
liuyc преди 8 месеца
родител
ревизия
424d3f5902
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      blade-service/blade-business/src/main/java/org/springblade/business/mapper/FixedFlowMapper.xml

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