2 qq 33661044 qq_33661044 于 2017.09.19 15:48 提问

idea环境下修改了mybatis的sql语句但是控制台上显示还是修改前的sql,清除缓存也没有用
  09-19 15:44:41 DEBUG: com.zlgame.store.dao.WsGoodsActivityMapper.selectAll - ooo Using Connection [jdbc:mysql://127.0.0.1:13306/store_dev?useUnicode=true&characterEncoding=utf8, UserName=root@10.0.42.1, MySQL-AB JDBC Driver]
 09-19 15:44:41 DEBUG: com.zlgame.store.dao.WsGoodsActivityMapper.selectAll - ==>  Preparing: SELECT ga.id,ga.state,ga.activity_price,ga.activity_goods_num,g.goods_name,a.name FROM ws_goods_activity AS gaLEFT JOIN ws_goods AS g ON ga.goods_id = g.goods_idLEFT JOIN ws_activity AS a ON ga.activity_id = a.idGROUP BY ga.id LIMIT ?, ? 
 09-19 15:44:41 DEBUG: com.zlgame.store.dao.WsGoodsActivityMapper.selectAll - ==> Parameters: 0(Integer), 15(Integer)

1个回答

iamleeryan
iamleeryan   2017.09.19 16:18

1、clean一下你的项目
2、重新启动一下数据库
3、重新部署一个服务器

Csdn user default icon
上传中...
上传图片
插入图片