mybatis的xml文件
《if test=”companyId != ‘1’ “》
前台调用时报错:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
Error querying database. Cause: Java.lang.NumberFormatException: For input string: “adgf2345665ddfdghg”
Cause: java.lang.NumberFormatException: For input string: “adgf2345665ddfdghg”
解决办法:
《if test=’companyId != “1” ‘》