2018.9.bug

隐藏:

$("#cancellation").click(function(){

$("#printTa").hide();---隐藏,并没有占位

$("#printTa").css('visibility', 'hidden');------隐藏,但是占位

$("#createList").css('visibility', 'hidden');

$("#saveList").css('visibility', 'hidden');

});

 

eclipse中字母大小写转换快捷键

ctrl+shift+x   转为大写   

ctrl+shift+y   转为小写

 

For input string: "{[ID]}"    

打开编辑页面,后端控制台报错For input string: "{[ID]}",

原因:在查询页面的查询sql中没有查询ID,所以ID为空,则为String类型,即使数据库为Int类型。在controller用Long接收参数时,就会报类型转换异常的错。

解决方法:

1.在查询的时候,查询sql中有id。

2.直接接收String 类型的id,后台也没有问题。

猜你喜欢

转载自blog.csdn.net/wzs535131/article/details/82747341
bug