代码拉取完成,页面将自动刷新
同步操作将从 xsx/mybatis-sql-spring-boot-starter 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Mybatis完整SQL插件
1.0.1 (已提交中央仓库)
mvn clean install
<dependency>
<groupId>wiki.xsx</groupId>
<artifactId>mybatis-sql-spring-boot-starter</artifactId>
<version>1.0.1</version>
</dependency>
yml方式:
logging:
level:
wiki.xsx.core: debug
properties方式:
logging.level.wiki.xsx.core=debug
2020-11-05 00:00:22.018 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================insert======================
2020-11-05 00:00:22.182 DEBUG 6596 --- [ main] w.x.core.mybatis.MybatisSqlInterceptor : ==> MySQL: INSERT INTO test ( id,name,age,birthday,create_time ) VALUES( null,'张三',30,'1990-01-01','2020-11-05 00:00:22' )
2020-11-05 00:00:22.184 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.insert : ==> Preparing: INSERT INTO test ( id,name,age,birthday,create_time ) VALUES( ?,?,?,?,? )
2020-11-05 00:00:22.227 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.insert : ==> Parameters: null, 张三(String), 30(Integer), 1990-01-01(String), 2020-11-05 00:00:22.018(Timestamp)
2020-11-05 00:00:22.234 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.insert : <== Updates: 1
2020-11-05 00:00:22.236 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================insert======================
2020-11-05 00:00:22.237 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================update======================
2020-11-05 00:00:22.238 DEBUG 6596 --- [ main] w.x.core.mybatis.MybatisSqlInterceptor : ==> MySQL: UPDATE test SET name = '张三',age = 32,birthday = '1990-01-01',create_time = '2020-11-05 00:00:22' WHERE id = 1
2020-11-05 00:00:22.238 DEBUG 6596 --- [ main] w.xsx.learn.TestDao.updateByPrimaryKey : ==> Preparing: UPDATE test SET name = ?,age = ?,birthday = ?,create_time = ? WHERE id = ?
2020-11-05 00:00:22.239 DEBUG 6596 --- [ main] w.xsx.learn.TestDao.updateByPrimaryKey : ==> Parameters: 张三(String), 32(Integer), 1990-01-01(String), 2020-11-05 00:00:22.237(Timestamp), 1(Integer)
2020-11-05 00:00:22.243 DEBUG 6596 --- [ main] w.xsx.learn.TestDao.updateByPrimaryKey : <== Updates: 1
2020-11-05 00:00:22.244 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================update======================
2020-11-05 00:00:22.244 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================select======================
2020-11-05 00:00:22.250 DEBUG 6596 --- [ main] w.x.core.mybatis.MybatisSqlInterceptor : ==> MySQL: SELECT id,name,age,birthday,create_time FROM test WHERE id = 1 AND name = '张三' AND age = 32 AND birthday = '1990-01-01'
2020-11-05 00:00:22.250 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.select : ==> Preparing: SELECT id,name,age,birthday,create_time FROM test WHERE id = ? AND name = ? AND age = ? AND birthday = ?
2020-11-05 00:00:22.251 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.select : ==> Parameters: 1(Integer), 张三(String), 32(Integer), 1990-01-01(String)
2020-11-05 00:00:22.271 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.select : <== Total: 1
2020-11-05 00:00:22.272 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================select======================
2020-11-05 00:00:22.272 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================delete======================
2020-11-05 00:00:22.274 DEBUG 6596 --- [ main] w.x.core.mybatis.MybatisSqlInterceptor : ==> MySQL: DELETE FROM test WHERE id = 1 AND name = '张三' AND age = 30 AND birthday = '1990-01-01' AND create_time = '2020-11-05 00:00:22'
2020-11-05 00:00:22.274 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.delete : ==> Preparing: DELETE FROM test WHERE id = ? AND name = ? AND age = ? AND birthday = ? AND create_time = ?
2020-11-05 00:00:22.275 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.delete : ==> Parameters: 1(Integer), 张三(String), 30(Integer), 1990-01-01(String), 2020-11-05 00:00:22.272(Timestamp)
2020-11-05 00:00:22.277 DEBUG 6596 --- [ main] wiki.xsx.learn.TestDao.delete : <== Updates: 0
2020-11-05 00:00:22.277 INFO 6596 --- [ main] wiki.xsx.learn.LearnApplication : ======================delete======================
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。