上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 46 下一页
摘要: URL:localhost:8080/22bat/pay/query/b5755c0deaed4fb6bfbfe1bef6625c4d/3406040802 API: 阅读全文
posted @ 2019-10-31 11:48 白玉神驹 阅读(4843) 评论(0) 推荐(0)
摘要: map转换成JSON的3种方式 1. alibaba <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.41</version> </dependency> JSONU 阅读全文
posted @ 2019-10-29 11:12 白玉神驹 阅读(49364) 评论(2) 推荐(3)
摘要: --在linux中给.sh执行文件赋权限: chmod -R 777 * --编辑.sh文件,并查看文件类型,(产生没找到目录的原因是因为在windows下创建的.sh文件是dos模式,需要改成unix) vi start.sh 按Esc键 -->:set ff >:set ff=unix >:wq 阅读全文
posted @ 2019-10-28 16:21 白玉神驹 阅读(4291) 评论(0) 推荐(0)
摘要: insert into e (a1,b1) select c.a1,d.b1 from (select a.a1 from a) c cross join (select b.b1 from b) d ; 阅读全文
posted @ 2019-09-29 18:02 白玉神驹 阅读(202) 评论(0) 推荐(0)
摘要: 最近接触到一个好用的idea插件 Lombok可以在在plugins中搜索并安装 在代码实体类中,加入注释@Getter和@Setter即可,不需要再生成get和set方法,当项目构建打包时该插件会自动生成 阅读全文
posted @ 2019-09-23 16:18 白玉神驹 阅读(1261) 评论(0) 推荐(0)
摘要: 1.设置maven 1.在File->settings->搜索maven 2.Mavan home directory--设置maven安装包的bin文件夹所在的位置 3.User settings file--设置setting文件所在的位置 4.Local repository--设置本地仓库 阅读全文
posted @ 2019-09-23 16:13 白玉神驹 阅读(262) 评论(0) 推荐(0)
摘要: group by a:将所有具有相同a字段值的记录放到一个分组里; group by a,b :将所有具有相同a字段值和b字段值的记录放到一个分组里 count( case when sex='1' then '男') as count1, count( case when sex='2' then 阅读全文
posted @ 2019-09-17 22:19 白玉神驹 阅读(3784) 评论(0) 推荐(0)
摘要: select date(p.create_time) as one_day,sum(a-b) as total, p.cashier from pay_order p where p.create_time between date_format('2019-08-12 08:08:08','%Y%m%d') and date_format('2019-08-13 08:08:08','%Y%m% 阅读全文
posted @ 2019-09-10 18:01 白玉神驹 阅读(5614) 评论(0) 推荐(0)
摘要: // 设置初始化值为5 private static AtomicInteger count = new AtomicInteger(5); // 生成发票流水号的8位年月日与4位序列号 private static String issueInvoiceSerival(){ Timestamp curDate = new Timestamp(System.currentTimeMi... 阅读全文
posted @ 2019-09-06 18:57 白玉神驹 阅读(1083) 评论(0) 推荐(0)
摘要: 1. Map类型或实体类类型传值,即json格式传值 2. 参数形式传值 3. list值传参 阅读全文
posted @ 2019-09-06 09:45 白玉神驹 阅读(29769) 评论(0) 推荐(1)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 46 下一页