common-buiness/src/main/java/cn/stylefeng/guns/modular/business/mapper/mapping/MentalAppointmentMapper.xml
@@ -44,7 +44,8 @@ FROM t_mental_appointment o LEFT JOIN toc_customer wu ON o.worker_id = wu.customer_id <where> AND o.is_delete = 0 <where> o.`type` is null AND o.is_delete = 0 <if test="counsellingInfoId != null"> AND o.worker_id = #{counsellingInfoId} </if> @@ -81,6 +82,7 @@ SELECT * FROM t_mental_appointment o LEFT JOIN toc_customer tw ON tw.customer_id = o.worker_id <where> o.`type` is null <if test="userId != null"> AND o.user_id = #{userId} </if>