|
|
@@ -116,10 +116,10 @@
|
|
|
and bcrmu.user_id = #{query.userId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="query.bindDevice != null and query.bindDevice == true">
|
|
|
- and bp.current_clinic_id is not null and bic.device_id is not null
|
|
|
+ and bic.device_id is not null
|
|
|
</if>
|
|
|
<if test="query.bindDevice != null and query.bindDevice == false">
|
|
|
-
|
|
|
+ and bic.device_id is null
|
|
|
</if>
|
|
|
</where>
|
|
|
order by bp.create_time desc
|