主要记录学习swift;学习网址为:https://www.journaldev.com/15163/swift-closure 基础 1.switch-fallthrough Swift中应用switch时,不再需要使用break结束;如果想继续下个判断,可以用fallthrough结尾。 let ...
分类:
编程语言 时间:
2021-06-18 20:12:06
阅读次数:
0
1.service层创建分页对象 Page<AreaDTO> pageData = new Page<>(pageIndex,pageSize); String cityIds = configParamService.getConfigValueByCode(PARAM_CODE,GROUP_CO ...
分类:
其他好文 时间:
2021-06-18 18:54:16
阅读次数:
0
##break和continue关键字的使用 ||使用范围|循环中使用的作用点(不通点)|相同点| |:-:|:-:|:-:|:-:| |break|switch-case中|结束当前循环|关键字后面不能声明执行语句| |break|循环结构中|结束当前循环|关键字后面不能声明执行语句| |cont ...
分类:
其他好文 时间:
2021-06-17 17:02:03
阅读次数:
0
1.依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>${mybatis-plus.verson}</version></depend ...
分类:
编程语言 时间:
2021-06-15 18:29:31
阅读次数:
0
mybatis plus技巧,插入数据时,怎么插入自定义的id信息,不走自增策略 在实体类中: @TableId(value = "id", type = IdType.AUTO) private Integer id; 改成 @TableId(value = "id", type = IdType ...
分类:
其他好文 时间:
2021-06-15 18:18:15
阅读次数:
0
Servlet3.0 提供了专门的文件上传 API。 HttpServletRequest 的 getPart()方法可以完成单个文件上传,而 getParts()方法可以完成多个文件上传。注意,这两个方法是从 Servlet3.0 开始定义的。 getPart方法:Part getPart(Str ...
分类:
Web程序 时间:
2021-06-13 10:23:38
阅读次数:
0
有待总结。 Binary Search: 633, Sum of Square Numbers 475, Heaters 744, Find Smallest Letter Greater than target(LC submissions from original session) 427?? ...
分类:
其他好文 时间:
2021-06-13 09:48:38
阅读次数:
0
在实体类中添加@TableId注解: @Data public class DxApplication { @TableId(type = IdType.AUTO) private Long id; private String name; private Integer sort; } 在navi ...
分类:
其他好文 时间:
2021-06-11 18:35:34
阅读次数:
0
项目中碰到一个必须要使用动态SQL的地方, 想着在xml文件中进行一层一层的判断太麻烦了,也不好理解,要是能在Java代码中组织好SQL,进行查询操作 QueryWrapper<object> queryWrapper = new QueryWrapper<>(); queryWrapper.app ...
分类:
数据库 时间:
2021-06-10 18:38:20
阅读次数:
0
Vite2.x + Vue3.x + Xtermjs4 相关信息 编程语言:TypeScript 4.x + JavaScript 构建工具:Vite 2.x 前端框架:Vue 3.x 路由工具:Vue Router 4.x 状态管理:Vuex 4.x UI 框架:Element Plus CSS ...
分类:
Web程序 时间:
2021-06-09 10:33:40
阅读次数:
0