@@ -94,7 +94,7 @@
ON
tmp2.patient_id = bp.id
<where>
- tmp2.c >0
+ bcr1.deleted=0 and tmp2.c >0
<if test="query.queryCondition != null and query.queryCondition != ''">
and (
bp.patient_code LIKE concat('%',#{query.queryCondition,jdbcType=VARCHAR},'%')