总结(2022.02.24)

2月24日总结

1.html标签使用多个class

https://blog.csdn.net/Lcl1562871004/article/details/84870108

2.org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘nuc.edu.zxy_test2.dao.NoticeMapper.selectByNid’. It’s likely that neither a Result Type nor a Result Map was specified.

原因:没写结果类型

在这里插入图片描述

3.将数据库中日期显示在前端时的格式转化

https://blog.csdn.net/qq_38986609/article/details/87863221

4.th:value 和 th:text区别

5.2022-02-24 11:27:33.747 WARN 12580 — [nio-8080-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type ‘java.lang.String’ to required type ‘int’; nested exception is java.lang.NumberFormatException: For input string: “/doDelete?nid=1”]

删除应该注意:

在这里插入图片描述

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-nMWBtCns-1645706221980)(2月24日总结.assets/image-20220224113844517.png)]

6.报错如下

在这里插入图片描述

解决方法:

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-2rnCQ7wy-1645706221981)(2月24日总结.assets/image-20220224114023354.png)]

猜你喜欢

转载自blog.csdn.net/Elon15/article/details/123120408