Liuzh
Liuzh
有两个 safeDelete 和 safeUpdate 参数,可以避免全表操作。
如果参考的最早的实现方式,就需要通过boot方式来加载。。建议直接用官方starter,参考当前项目的最新版本。
看这里:http://blog.csdn.net/isea533/article/details/53975720
这个问题应该和通用 Mapper 没关系。
错不在参数,在返回值。。返回值是否有这种值?
可以在 org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:399) 这行断点看看。
如果用过MBG,可以先看看通用Mapper. 2017-08-10 10:39 GMT+08:00 pengliaoye : > generator和通用mapper,建议那个更好 > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view...
jsqlparser奇葩的地方是几乎每个版本都不兼容... 刚发布的6.0.0,如果4.7能解决问题,后续先考虑升级做兼容。
新建了 https://github.com/pagehelper/pagehelper-sqlparser 模块,可以考虑在这个模块增加支持缓存的实现。
false也测试了,和true的结果一样。。我找时间再试试mysql。