spring-boot-api-project-seed
spring-boot-api-project-seed copied to clipboard
:seedling::rocket:一个基于Spring Boot & MyBatis的种子项目,用于快速构建中小型API、RESTful API项目~
Mapper.xml如何生成 insertSelective、updateSelective类似的方法?以下设置并无效果: tableConfiguration.setCountByExampleStatementEnabled(true); tableConfiguration.setUpdateByExampleStatementEnabled(true);
建议
## 1 日志 建议添加日志组件和配置文件,因为项目基本都会用到。
Cause: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
切面功能
希望增加切面功能
{ "timestamp": 1542266625069, "status": 500, "error": "Internal Server Error", "exception": "java.lang.ClassCastException", "message": "com.shsj.model.SjUser cannot be cast to com.shsj.model.SjUser", "path": "/sj/user/6" } /* Navicat Premium Data Transfer Source Server : 192.168.0.148...
如题,当修改ProjectConstant中的变量时,生成后代码中的import路径有误 ,依然为默认值,此处建议修改为动态获取。
建议采用gradle控制library