10 2020 档案

摘要:https://blog.csdn.net/weixin_39973810/article/details/82012329 方法一(线程不安全, 不建议使用) private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm 阅读全文
posted @ 2020-10-29 14:18 南方卖菜 阅读(25737) 评论(0) 推荐(0) 编辑
摘要:HttpServletRequest request =((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest(); HttpServletResponse response =((Serv 阅读全文
posted @ 2020-10-28 17:14 南方卖菜 阅读(2169) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_36411874/article/details/79938439 阅读全文
posted @ 2020-10-28 16:34 南方卖菜 阅读(77) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/jpfss/p/11534608.html 阅读全文
posted @ 2020-10-28 14:11 南方卖菜 阅读(407) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/bingsying/p/12507419.html 1 WarehouseItem warehouseItem = warehouseItemService.getById(2117733125); 2 UpdateWrapper<WarehouseI 阅读全文
posted @ 2020-10-28 10:34 南方卖菜 阅读(677) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/summerday152/p/13874936.html 阅读全文
posted @ 2020-10-28 09:30 南方卖菜 阅读(606) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/ceb1df475021 https://baomidou.com/ 阅读全文
posted @ 2020-10-27 16:16 南方卖菜 阅读(51) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/shianliang/p/10472622.html https://blog.csdn.net/qq_45627009/article/details/102819515 简洁 https://blog.csdn.net/qidasheng2012/ 阅读全文
posted @ 2020-10-27 10:48 南方卖菜 阅读(51) 评论(0) 推荐(0) 编辑
摘要:contentType: “application/json; charset=utf-8” https://blog.csdn.net/bxj19890514/article/details/83861349?utm_medium=distribute.pc_relevant.none-task- 阅读全文
posted @ 2020-10-26 17:50 南方卖菜 阅读(1254) 评论(0) 推荐(0) 编辑
摘要:导入依赖包:还得1.4版本的 <dependency> <groupId>com.github.jsqlparser</groupId> <artifactId>jsqlparser</artifactId> <version>1.4</version> </dependency> 阅读全文
posted @ 2020-10-21 10:14 南方卖菜 阅读(835) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/bobkingblog/p/11070289.html 阅读全文
posted @ 2020-10-21 09:55 南方卖菜 阅读(122) 评论(0) 推荐(0) 编辑
摘要:Mapper.xml文件中的namespace与mapper接口的类路径相同。 Mapper接口方法名和Mapper.xml中定义的每个statement的id相同 Mapper接口方法的输入参数类型和mapper.xml中定义的每个sql 的parameterType的类型相同 Mapper接口方 阅读全文
posted @ 2020-10-20 16:42 南方卖菜 阅读(257) 评论(0) 推荐(0) 编辑
摘要:选择utf-8编码,弹出对话框 并选择 conver进行格式转换 阅读全文
posted @ 2020-10-20 16:07 南方卖菜 阅读(1814) 评论(0) 推荐(0) 编辑
摘要:把工程下面的.idea目录下的workspace.xml里面的SPING_BOOT_MAIN_CLASS的路径改成你最新的路径即可。 <option name="SPRING_BOOT_MAIN_CLASS" value="com.xxx.xx" /> 阅读全文
posted @ 2020-10-20 15:31 南方卖菜 阅读(758) 评论(0) 推荐(0) 编辑
摘要:把compact Middle packages 勾去掉 即可。 阅读全文
posted @ 2020-10-20 10:12 南方卖菜 阅读(1599) 评论(0) 推荐(0) 编辑
摘要:1.安装node.js环境。npm是nodejs的一个子内容,所以要使用npm,就一定要先安装nodejs 2.运行cmd 输入 node -v 有版本出现说明成功。 安装其他盘: 输入 e: 回车==》输入 cd nodejs 回车 》输入node -v 或npm -v出现版本号,说明成功。 3. 阅读全文
posted @ 2020-10-19 23:44 南方卖菜 阅读(3491) 评论(0) 推荐(0) 编辑
摘要:https://zhaoyangang.cn/?p=69631 https://www.cnblogs.com/qingmuchuanqi48/p/12148345.html https://blog.csdn.net/qq_30068487/article/details/82589347 ,搜索 阅读全文
posted @ 2020-10-19 23:36 南方卖菜 阅读(267) 评论(0) 推荐(0) 编辑
摘要:如果只使用了@Data,而不使用@EqualsAndHashCode(callSuper=true)的话,会默认是@EqualsAndHashCode(callSuper=false),这时候生成的equals()方法只会比较子类的属性,不会考虑从父类继承的属性,无论父类属性访问权限是否开放 阅读全文
posted @ 2020-10-19 18:08 南方卖菜 阅读(78) 评论(0) 推荐(0) 编辑
摘要:如果写成'%#{name}%' ,就会报错Parameter index out of range 1.表达式: name like "%"#{name}"%" 2.表达式: name like '%${name}%' 有注入 3. 表达式: name like concat(concat('%', 阅读全文
posted @ 2020-10-15 18:11 南方卖菜 阅读(246) 评论(0) 推荐(0) 编辑
摘要:public interface UserMapper{ String getNameByUserId(@Param("userId") String userId); } 当我们传入userId="34;drop table user;"后 <select id="getNameByUserId" 阅读全文
posted @ 2020-10-15 17:58 南方卖菜 阅读(181) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/momo19901210/article/details/107950001?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.cha 阅读全文
posted @ 2020-10-15 16:13 南方卖菜 阅读(1564) 评论(0) 推荐(0) 编辑
摘要:limit 0,100 第一页 limit 100,100 第二页 limit 200,100 第三页 select * from user limit 0,100; limit [位置偏移量,]行数,索引值从0开始,第一个参数为页码,第二个参数为记录数。 /*当没有指定位置偏移量时,只取10条时* 阅读全文
posted @ 2020-10-15 15:13 南方卖菜 阅读(282) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/mztl-1122/p/11913196.html 阅读全文
posted @ 2020-10-15 14:08 南方卖菜 阅读(416) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/iteye_18480/article/details/82520712 阅读全文
posted @ 2020-10-14 17:39 南方卖菜 阅读(261) 评论(0) 推荐(0) 编辑
摘要:弹出:无法启动web服务xxx 解决:关闭防火墙 阅读全文
posted @ 2020-10-14 16:16 南方卖菜 阅读(1024) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/luyucheng/p/6289714.html https://www.jb51.net/article/69676.htm https://blog.csdn.net/guo_qiangqiang/article/details/88794971 阅读全文
posted @ 2020-10-13 10:21 南方卖菜 阅读(109) 评论(0) 推荐(0) 编辑
摘要:自动增长:auto_increment,当对应的字段,不给值,或者是默认值,或者是null的时候,就会自动的被系统触发,系统会从当前字段中取已有的最大值再进行+1操作,得到新的字段值。 自增长通过跟主键进行搭配使用,其特点为: 任何字段要做自增长,前提其本身必须是一个索引,即key栏有值; 自增长字 阅读全文
posted @ 2020-10-13 09:56 南方卖菜 阅读(307) 评论(0) 推荐(0) 编辑
摘要:数据库连接字符串为:Database=dbname;Data Source=192.168.1.1;Port=3306;User Id=root;Password=****;Charset=utf8;TreatTinyAsBoolean=false; 其中:Server,host, data sou 阅读全文
posted @ 2020-10-13 00:56 南方卖菜 阅读(1854) 评论(0) 推荐(0) 编辑
摘要:https://my.oschina.net/mui/blog/3017923 tinyint长度只是为了补0 java 对应 byte 类型, 取值范围 -128~127,无符:0~255 在 set 方法赋值的时,用 byte 要强转一下,(所以还是用 int 或 integer 吧 ?) SQ 阅读全文
posted @ 2020-10-12 16:32 南方卖菜 阅读(672) 评论(0) 推荐(0) 编辑
摘要:IPv4采用32位地址长度 xxx.xxx.xxx.xxx 15max(string)IPv6采用128位地址长度 估计是 xxx.xxx.xxx.xxx. xxx.xxx.xxx.xxx. xxx.xxx.xxx.xxx. xxx.xxx.xxx.xxx 63max(string) IPv4采用十 阅读全文
posted @ 2020-10-12 00:51 南方卖菜 阅读(1719) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/lupengfei1009/article/details/80540479 https://blog.csdn.net/u012269637/article/details/106072795?utm_medium=distribute.pc_relev 阅读全文
posted @ 2020-10-11 16:55 南方卖菜 阅读(3598) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/JingChC/article/details/82908686 阅读全文
posted @ 2020-10-11 16:07 南方卖菜 阅读(217) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/li1325169021/article/details/93158207 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 阅读全文
posted @ 2020-10-10 17:16 南方卖菜 阅读(684) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/baolingye/article/details/103026950?utm_medium=distribute.pc_relevant.none-task-blog-title-4&spm=1001.2101.3001.4242 阅读全文
posted @ 2020-10-10 11:15 南方卖菜 阅读(137) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/yliucnblogs/p/10096530.html 阅读全文
posted @ 2020-10-10 11:13 南方卖菜 阅读(84) 评论(0) 推荐(0) 编辑
摘要:OkHttpClient client = new OkHttpClient.Builder() .connectTimeout(10, TimeUnit.SECONDS) .writeTimeout(10, TimeUnit.SECONDS) .readTimeout(30, TimeUnit.S 阅读全文
posted @ 2020-10-09 10:11 南方卖菜 阅读(4511) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/RIDER_hjf/article/details/102911545?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.channel_p 阅读全文
posted @ 2020-10-09 09:57 南方卖菜 阅读(488) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示