摘要:
--随笔 DELIMITER $$ USE `local_hnyz`$$ DROP FUNCTION IF EXISTS `init_data`$$ CREATE DEFINER=`root`@`localhost` FUNCTION `init_data`() RETURNS INT(11)BEG 阅读全文
摘要:
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 阅读全文
摘要:
查看方法实现:ctrl+alt+鼠标实现父类方法:ctrl+i查看方法的具体实现:ctrl+alt(鼠标再点击方法)快速导包:alt+enter格式化:Ctrl+Alt+L格式化当前行:ctrl+shift+enter插入上一空白行:ctrl+alt+enter插入下一空白行:shift+enter 阅读全文
摘要:
--添加依赖 <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper --><dependency> <groupId>com.github.pagehelper</groupId> <artifactId>p 阅读全文
摘要:
-- 最佳实践 <select id="getSealByMap" parameterType="map" resultType="map"> SELECT ls.`id`,ls.`in_date`,ls.`name`,ls.`seal_type`,ls.`crop_no`,sos.`SEAL_OR 阅读全文
摘要:
--pom.xml添加插件 <build> <finalName>hnapi</finalName> <plugins> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plu 阅读全文
该文被密码保护。 阅读全文
摘要:
--异常类可以按需要自定义package com.dhht.wechat.exception;import com.alibaba.fastjson.JSONObject;import org.springframework.web.bind.annotation.ControllerAdvice; 阅读全文
摘要:
--添加依赖 <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox --><dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artif 阅读全文
摘要:
--json为json串JSONObject obj = JSON.parseObject(json);String x = obj.getString("cropId");JSONArray arr = obj.getJSONArray("seals");JSONObject usr = obj. 阅读全文