Commit 96c79a4013c2abfd7f9de8298c7e6420fc5126b1

Authored by zhangchao
1 parent 777757e75f
Exists in dev

#fix:优化门诊就诊列表产后不包含产后服务部

Showing 1 changed file with 1 additions and 1 deletions

platform-biz-service/src/main/resources/mainOrm/master/AppointmentMapper.xml View file @ 96c79a4
... ... @@ -37,7 +37,7 @@
37 37 and (name like concat('%',#{name},'%') or pinyin like concat('%',#{name},'%'))
38 38 </if>
39 39 <if test="dept!=null">
40   - and (dept like concat(#{dept},'%') or dept like concat("产后",'%'))
  40 + and (dept like concat(#{dept},'%') or (dept like concat("产后",'%') and dept !='产后服务部'))
41 41 </if>
42 42 and <![CDATA[checkTime>=#{startTime}]]>
43 43 and <![CDATA[checkTime<=#{endTime}]]>