Browse Source

fix 输注查询增加 pca总数

A17404李放 3 years ago
parent
commit
53d33b6a2f

+ 6 - 0
nb-system/src/main/resources/mapper/bus/BusInfusionHistoryMapper.xml

@@ -434,6 +434,12 @@
                     and pca_invalid_count <=  #{query.inValidPcaCountRange[1]}
                 </if>
             </if>
+            <if test="query.totalPcaCountRange != null and query.totalPcaCountRange.size > 0">
+                and pca_total_count &gt;=  #{query.totalPcaCountRange[0]}
+                <if test="query.totalPcaCountRange.size >1 ">
+                    and pca_total_count &lt;=  #{query.totalPcaCountRange[1]}
+                </if>
+            </if>
         </where>
     </sql>