浏览代码

优化bug

wangfeng 4 年之前
父节点
当前提交
86658994b6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/mapper/PlanMapper.xml

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

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