当前使用版本(必须填写清楚,否则不予处理)

2.1.3

该问题是怎么引起的?(最新版上已修复的会直接close掉)

UNION ALL 排序部分结果时出错。

重现步骤

mapper.xml: ( select * from xxxxxxx ) UNION ALL ( select * from xxxxx rs order by rs.lease_start_time ) service.java: List useablePutDotList = xxxxxxMapper.searchxxxxList(page,xxxxDTO);

报错信息

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

Error querying database. Cause: java.lang.IllegalArgumentException: Unpermitted character

)

The error may exist in file [xxxxxMapper.xml]

The error may involve

The error occurred while setting parameters

Cause: java.lang.IllegalArgumentException: Unpermitted character

)

Comment From: nieqiurong

版本太久远了,你还是上传一份栗子上来把,或者把完整的日志传上来。