服务器内部错误org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.IllegalArgumentException: Unable to convert type java.lang.Character of 8 to type of java.lang.CharSequence ### Cause: java.lang.IllegalArgumentException: Unable to convert type java.lang.Character of 8 to type of java.lang.CharSequence
mybatis中的xml写法有问题:
中的:
patientStatus.contains('8')
因为 patientStatus 为字符串,而不是数组类型;
改成:



