|
@@ -103,7 +103,7 @@
|
|
|
<if test="serviceProviderId != null">
|
|
|
and ccr.serviceProviderId = #{serviceProviderId}
|
|
|
</if>
|
|
|
- <if test="consult != null">
|
|
|
+ <if test="consult != null and consult != '' ">
|
|
|
and (ccr.consultType LIKE concat('%,',#{consult},'%') OR ccr.consultType LIKE concat('',#{consult},',%') OR ccr.consultType = #{consult})
|
|
|
</if>
|
|
|
<if test="startTime != '' and startTime != null">
|
|
@@ -165,7 +165,7 @@
|
|
|
<if test="serviceProviderId != null">
|
|
|
and ccr.serviceProviderId = #{serviceProviderId}
|
|
|
</if>
|
|
|
- <if test="consult != null">
|
|
|
+ <if test="consult != null and consult != '' ">
|
|
|
and (ccr.consultType LIKE concat('%,',#{consult},'%') OR ccr.consultType LIKE concat('',#{consult},',%') OR ccr.consultType = #{consult})
|
|
|
</if>
|
|
|
<if test="startTime != '' and startTime != null">
|