摘要: ps -ef|grep java tail -n 1000 temp.txt tail -f temp.txt 阅读全文
posted @ 2020-08-19 17:36 baoshang 阅读(86) 评论(0) 推荐(0)
摘要: yaml:是以数据为中心的配置,比json,xml等更适合做配置文件 例如:端口号 yml : server: port:8080 代码展示配置文件注入属性值 @ConfigurationProperties(prefix="person") // 将本类中的所有属性和配置文件中的相关配置进行绑定 阅读全文
posted @ 2020-05-27 14:53 baoshang 阅读(839) 评论(0) 推荐(0)
摘要: 字段映射问题 (实体类 xml) 阅读全文
posted @ 2020-05-12 16:44 baoshang 阅读(150) 评论(0) 推荐(0)
摘要: e.preventDefault(); is not a funcartion 命名重复 阅读全文
posted @ 2020-05-12 16:43 baoshang 阅读(205) 评论(0) 推荐(0)
摘要: public String er(@RequestParam("file") MultipartFile file){ List objects = ExcelImportUtil.importExcel(file.getInputStream(), String.class, new Import 阅读全文
posted @ 2020-05-06 20:10 baoshang 阅读(113) 评论(0) 推荐(0)
摘要: @RestController注解等价于@ResponseBody + @Controller。@RestController和@Controller的共同点是都用来表示Spring某个类是否可以接收HTTP请求,二者区别: @RestController无法返回指定页面,而@Controller可 阅读全文
posted @ 2020-05-06 15:51 baoshang 阅读(394) 评论(0) 推荐(0)
摘要: 1.xxxDTO @Excel(name = "XXX类型") private String xxxTypeName; 2.ExcelImportService // xxxType 0 xxxType1 1 xxxType2 String xxxType = DictUtil.getKey(Dic 阅读全文
posted @ 2020-04-28 17:42 baoshang 阅读(187) 评论(0) 推荐(0)
摘要: parentList.filter(item = item.systemType ==1) 阅读全文
posted @ 2020-04-27 19:39 baoshang 阅读(982) 评论(0) 推荐(0)
摘要: xml and o.model_id in ( {item} ) 实体类 private List baseIds; 阅读全文
posted @ 2020-04-27 17:10 baoshang 阅读(1262) 评论(0) 推荐(0)