| | |
| | | t_mental_analysis_time_config o |
| | | LEFT JOIN toc_customer tu ON tu.customer_id = o.counselling_info_id |
| | | <where> |
| | | AND tu.status_flag = 1 |
| | | <if test="nickName != null and nickName != ''"> |
| | | AND tu.nick_name LIKE CONCAT('%',#{nickName},'%') |
| | | </if> |
| | |
| | | LEFT JOIN toc_customer u ON tc.counselling_info_id = u.customer_id |
| | | LEFT JOIN t_counselling_special_time_config stc ON stc.counselling_info_id = u.customer_id |
| | | <where> |
| | | AND u.status_flag = 1 |
| | | <if test="mentalAnalysisStatus != null"> |
| | | AND u.mental_analysis_status = #{mentalAnalysisStatus} |
| | | </if> |