学习资料笔记

小木的学习笔记

Mybatis plus清空表数据​

2021-5-18 数据库

使用Mybatis plus清空表数据。方法一:public interface userInfoMapper extends BaseMapper<UserInfo> {//清空指定表 @Update("truncate table tb_user")void deleteUserTemp();}

阅读全文>>

浏览(1322)