摘要: @Test void contextLoads() { String s1 = "你好{0}, 我叫{1}"; System.out.println(MessageFormat.format(s1, "张飞", "王菲")); String s2 = "你好%s, 我叫%s"; System.out 阅读全文
posted @ 2020-07-22 22:27 市丸银 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 本以为此功能已经舍弃,万万没想到需要导入包 参考下面的博客(日后有空验证) https://www.cnblogs.com/huanchupkblog/p/12915268.html 阅读全文
posted @ 2020-07-22 22:06 市丸银 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 一、mybatis xml格式可以参考: https://www.cnblogs.com/wt7018/p/13333855.html xml方法 失败,求大神指导 在springboot中使用mybaits注解的方式查询 1、根据查询的字段创建实现类 package com.wt.pojo; im 阅读全文
posted @ 2020-07-22 16:18 市丸银 阅读(8308) 评论(0) 推荐(1) 编辑
摘要: 一、前提条件 1、开启热加载 2、配置mybatis-plus 见 mybatis的博客 二、路由 1、导包 <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.60</ 阅读全文
posted @ 2020-07-22 13:15 市丸银 阅读(446) 评论(0) 推荐(0) 编辑