- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 前后台联调,参数奇数乱码,偶数不乱码问题
前后台联调,参数奇数乱码,偶数不乱码问题:后台编码格式GBK,前台没有设置编码格式1.post 请求时 在参数上进行转换(两个根据情况而定):fieldValue= new String(fieldValue.getBytes(“iso8859-1”), “UTF-8”);//解决中文乱码fieldValue= new String(fieldValue.getBytes(), “UTF-...
2020-03-19 18:02:35
199
原创 查询菜单树,子类ID 与父类PId一样的情况,比for循环效率高100倍
public List queryUserPostTaskMenu(HttpServletRequest request, HttpServletResponse response,String comCode, String gradeCode, String userCode) throws Exception {BLSystemPostFacade bLSystemPostFacad =...
2020-03-13 16:15:36
232
原创 Idea 创建Maven多模块(最详细的 生产者 消费者)
Idea 创建Maven多模块父级项目:1.1 FIle --》New–》projects–》Maven 勾选Create From archeType --》选择Maven-archetype- quickstart 1.2 填写 group Id(包名) 和 那个 id (项目名)点next下一步1.3 注意:Maven地址必须为自己的(Maven自己...
2018-12-21 17:11:21
525
原创 bootstrap treeview 菜单树 最详细
实体类@Datapublic class BootTree {private Integer id;private String text;private Integer pid;private Boolean selectable;private List nodes;private String href;}controller 层@RequestMapping(“get...
2018-12-15 09:23:54
1598
转载 Intellij IDEA快捷键
1 智能提示Intellij首当其冲的当然就是Intelligence智能!基本的代码提示用Ctrl+Space,还有更智能地按类型信息提示Ctrl+Shift+Space,但因为Intellij总是随着我们敲击而自动提示,所以很多时候都不会手动敲这两个快捷键(除非提示框消失了)。用F2/ Shift+F2移动到有错误的代码,Alt+Enter快速修复(即Eclipse中的Quick ...
2018-12-13 09:15:05
160
分页工具类
2018-11-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人