Bladeren bron

fix
患者列表

lifang 3 maanden geleden
bovenliggende
commit
e093a3ee83

+ 1 - 1
tr-modules/tr-module-smartFollowUp/src/main/resources/mapper/smart/BizPatientMapper.xml

@@ -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},'%')