java前后端开发常见问题汇总

不同的模板引擎在作为接口时候,有些不需要.html后缀,有些需要.html

左外连接

左边不动,右边连接上去
左外连接在多表查询时候 效率更高

java的mapper文件

使用#符号的话,要在mapper接口上添加@model标签,然后用model.xxx引用

默认值都是后端设置好然后注入前端

FUNCTION work.COUNT does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual

COUNT与(ID)之间存在空格

mabatisplus与mabatis冲突

实体类要驼峰命名法

mybatis-plus 报错 Available parameters are [ew, param1, et, param2]

posted @ 2024-12-08 11:03  小白白中白  阅读(27)  评论(0)    收藏  举报