06 2022 档案
摘要:@JsonProperty("text")private String name;
阅读全文
摘要:1、登录笔记: ①局用户获取多个车站id方式一:User user = this.getUser();Set<String> stationIds = this.getStationIds(user);②局用户获取多个车站id方式二: Set<String> stationIds = getStat
阅读全文
摘要:1、Controller: //批量删除区域树@PostMapping("/deletBeatch")public Result delete(@RequestBody IdsForm idsForm) { try { stationRegionTreeService.deleteBatch(ids
阅读全文
摘要:select * from b_stationregiontree s LEFT JOIN b_station_dict b ON s.station_code = b.s_station_telecode where b.s_id = :stationId 例1、(JPA) @Query(valu
阅读全文
摘要:eg:tree.setId(UUID.randomUUID().toString().trim().replaceAll("-","")); ① trim():用于删除字符串的头尾空白符。 ② replaceAll(String regex, String replacement):使用给定的参数
阅读全文
摘要:1、Substring()、lastIndexOf()的用法: 转自:https://blog.csdn.net/vop444/article/details/78599650 ① Substring():一个参数时: 从参数的后一位开始截取一直截取到最后; 两个参数时: 从第一个参数的下标开始截取
阅读全文