摘要: --随笔 DELIMITER $$ USE `local_hnyz`$$ DROP FUNCTION IF EXISTS `init_data`$$ CREATE DEFINER=`root`@`localhost` FUNCTION `init_data`() RETURNS INT(11)BEG 阅读全文
posted @ 2019-07-12 22:21 qing222 阅读(133) 评论(0) 推荐(0) 编辑
摘要: git config --global user.name 'sss' git config --global user.email 'huahua@163.com' cd d:/mywork git init cd.>susu.txt git status git add susu.txt git 阅读全文
posted @ 2019-07-12 22:15 qing222 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 查看方法实现:ctrl+alt+鼠标实现父类方法:ctrl+i查看方法的具体实现:ctrl+alt(鼠标再点击方法)快速导包:alt+enter格式化:Ctrl+Alt+L格式化当前行:ctrl+shift+enter插入上一空白行:ctrl+alt+enter插入下一空白行:shift+enter 阅读全文
posted @ 2019-07-12 22:10 qing222 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: --添加依赖 <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper --><dependency> <groupId>com.github.pagehelper</groupId> <artifactId>p 阅读全文
posted @ 2019-07-12 22:07 qing222 阅读(397) 评论(0) 推荐(0) 编辑
摘要: -- 最佳实践 <select id="getSealByMap" parameterType="map" resultType="map"> SELECT ls.`id`,ls.`in_date`,ls.`name`,ls.`seal_type`,ls.`crop_no`,sos.`SEAL_OR 阅读全文
posted @ 2019-07-12 21:54 qing222 阅读(2926) 评论(0) 推荐(0) 编辑
摘要: --pom.xml添加插件 <build> <finalName>hnapi</finalName> <plugins> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plu 阅读全文
posted @ 2019-07-12 21:34 qing222 阅读(317) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-12 21:15 qing222 阅读(3) 评论(0) 推荐(0) 编辑
摘要: --异常类可以按需要自定义package com.dhht.wechat.exception;import com.alibaba.fastjson.JSONObject;import org.springframework.web.bind.annotation.ControllerAdvice; 阅读全文
posted @ 2019-07-12 21:04 qing222 阅读(282) 评论(0) 推荐(0) 编辑
摘要: --添加依赖 <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox --><dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artif 阅读全文
posted @ 2019-07-12 20:55 qing222 阅读(6648) 评论(0) 推荐(1) 编辑
摘要: --json为json串JSONObject obj = JSON.parseObject(json);String x = obj.getString("cropId");JSONArray arr = obj.getJSONArray("seals");JSONObject usr = obj. 阅读全文
posted @ 2019-07-12 20:51 qing222 阅读(136) 评论(0) 推荐(0) 编辑