09 2021 档案
摘要:Swagger报错 No enum constant org.springframework.web.bind.annotation.RequestMethod.Get 错误写法httpMethod = "Get" @ApiOperation(value ="根据租id获取信息", httpMeth
阅读全文
摘要:问题描述: 用mybatis进行mysql查询list时,没有使用PageHepler.startPage方法,打印出的sql自动查询了count,并且进行了limit,其中入参中包含pageNum和pageSize参数,切都不为null 携带了limit 原因:supourt-methods-ar
阅读全文
摘要:前言 实际上,我们经常会遇到这样的需求,那就是利用Mybatis批量更新或者批量插入,但是,实际上即使Mybatis完美支持你的sql,你也得看看你说操作的数据库是否支持,最近就遇到这样的一个坑。 <foreach collection="batchList" item="detail" separ
阅读全文