关于测试url传值的问题

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才发现问题所在!!!!!!!!!!!!!

猜你喜欢

转载自www.cnblogs.com/YLQBL/p/9273839.html