url1:http://localhost:8080/fms/finan/isRiskCustomer.action?customername=”xxxxxxxx”;
如上这样写,会导致mybatis不识别xxxxxxxxx的值;会导致在数据库里面拼接查询可以查询到数据,但是在程序中查询返回为null;
应该这样写:http://localhost:8080/fms/finan/isRiskCustomer.action?customername=xxxxxxxx;
xxxxxxxx不要带“”号(双引号);
切记,这个问题从早上到下午3.30才发现问题所在!!!!!!!!!!!!!
转载于:https://www.cnblogs.com/YLQBL/p/9273839.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/101565.html原文链接:https://javaforall.net