소스 검색

科室模糊去掉科室id查询条件

chengyao 3 년 전
부모
커밋
f692544e38
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      src/main/resources/mapper/MedClickInfoMapper.xml

+ 0 - 6
src/main/resources/mapper/MedClickInfoMapper.xml

@@ -109,9 +109,6 @@
         <if test="deptName != null and deptName != ''">
             and a.dept_name like CONCAT('%',#{deptName},'%')
         </if>
-        <if test="deptId != null and deptId != ''">
-            and a.dept_id= #{deptId}
-        </if>
         <if test="startDate != null">
             <![CDATA[ and a.gmt_create >= #{startDate}]]>
         </if>
@@ -210,9 +207,6 @@
         <if test="hospitalId != null and hospitalId != ''">
             AND b.hospital_id = #{hospitalId}
         </if>
-        <if test="deptId != null and deptId != ''">
-            and b.beh_dept_id = #{deptId}
-        </if>
         <if test="deptName != null and deptName != ''">
             and b.beh_dept_name like CONCAT('%',#{deptName},'%')
         </if>