Browse Source

优化bug

wangfeng 4 years ago
parent
commit
86658994b6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/mapper/PlanMapper.xml

+ 1 - 0
src/main/resources/mapper/PlanMapper.xml

@@ -36,6 +36,7 @@
         WHERE
         WHERE
         u.is_deleted = 'N'
         u.is_deleted = 'N'
         AND pd.is_deleted = 'N'
         AND pd.is_deleted = 'N'
+        and pd.status= 1
         <if test="hospitalId !=null">
         <if test="hospitalId !=null">
             and u.hospital_id =#{hospitalId}
             and u.hospital_id =#{hospitalId}
         </if>
         </if>