经典错误,${ew.customSqlSegment}

select dept_id from sys_dept where parent_id = 236 ${ew.customSqlSegment}

相当于两个where ,所以产生错误