经典错误,${ew.customSqlSegment}
select dept_id from sys_dept where parent_id = 236 ${ew.customSqlSegment}
相当于两个where ,所以产生错误
本文来自博客园,作者:狂躁的键盘,转载请注明原文链接:https://www.cnblogs.com/wangweiip/p/17117310.html