|
@@ -2099,8 +2099,8 @@
|
|
AND a.hospital_id = f.hospital_id
|
|
AND a.hospital_id = f.hospital_id
|
|
AND a.behospital_code = d.behospital_code
|
|
AND a.behospital_code = d.behospital_code
|
|
AND a.beh_dept_id = f.dept_id
|
|
AND a.beh_dept_id = f.dept_id
|
|
- <if test="filterPageByDeptVO.userId!=null">
|
|
|
|
- AND f.user_id = #{filterPageByDeptVO.userId}
|
|
|
|
|
|
+ <if test="filterPageVO.userId!=null">
|
|
|
|
+ AND f.user_id = #{filterPageVO.userId}
|
|
</if>
|
|
</if>
|
|
<if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
|
|
<if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
|
|
and a.is_placefile = #{filterPageVO.isPlacefile}
|
|
and a.is_placefile = #{filterPageVO.isPlacefile}
|
|
@@ -2172,8 +2172,8 @@
|
|
AND a.hospital_id = f.hospital_id
|
|
AND a.hospital_id = f.hospital_id
|
|
AND a.behospital_code = d.behospital_code
|
|
AND a.behospital_code = d.behospital_code
|
|
AND a.beh_dept_id = f.dept_id
|
|
AND a.beh_dept_id = f.dept_id
|
|
- <if test="filterPageByDeptVO.userId!=null">
|
|
|
|
- AND f.user_id = #{filterPageByDeptVO.userId}
|
|
|
|
|
|
+ <if test="filterPageVO.userId!=null">
|
|
|
|
+ AND f.user_id = #{filterPageVO.userId}
|
|
</if>
|
|
</if>
|
|
<if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
|
|
<if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
|
|
and a.is_placefile = #{filterPageVO.isPlacefile}
|
|
and a.is_placefile = #{filterPageVO.isPlacefile}
|