2017年8月31日

摘要: ALTER TABLE `t_qps`ADD COLUMN `vote_num` int(11) NULL DEFAULT 0 COMMENT '投票数' ; ALTER TABLE `t_qps`ADD COLUMN other_id` varchar(255) DEFAULT NULL COMM 阅读全文

posted @ 2017-08-31 17:24 奇思妙想的香菜 阅读(136) 评论(0) 推荐(0) 编辑

2017年7月27日

摘要: 结果:{"unitItems":[{"unit":"局/元","title":"单局价格","price":"1","unit_id":"2"},{"unit":"时/元","title":"时间单价","price":"1"}]} 阅读全文

posted @ 2017-07-27 17:55 奇思妙想的香菜 阅读(5963) 评论(0) 推荐(0) 编辑

2017年7月21日

摘要: 安装地址; http://www.runoob.com/redis/redis-install.html 将redis 解压到c盘 1、windows配置redis 一、打开cmd 启动redis出现Creating Server TCP listening socket *:6379: bind: 阅读全文

posted @ 2017-07-21 15:07 奇思妙想的香菜 阅读(152) 评论(0) 推荐(0) 编辑

2017年7月14日

摘要: 1.配置spring.xml 2.配置web.xml 3.Java 阅读全文

posted @ 2017-07-14 14:22 奇思妙想的香菜 阅读(178) 评论(0) 推荐(0) 编辑

2017年7月13日

摘要: BigDecimal b1 = new BigDecimal(maNum); BigDecimal b2 = new BigDecimal(allNum); String maDayPer = String.format("%.2f",b1.divide(b2,2,BigDecimal.ROUND_ 阅读全文

posted @ 2017-07-13 09:16 奇思妙想的香菜 阅读(135) 评论(0) 推荐(0) 编辑

2017年7月10日

摘要: 阅读全文

posted @ 2017-07-10 10:55 奇思妙想的香菜 阅读(123) 评论(0) 推荐(0) 编辑

2017年7月7日

摘要: 阅读全文

posted @ 2017-07-07 19:16 奇思妙想的香菜 阅读(116) 评论(0) 推荐(0) 编辑

摘要: 1.ls -lht 显示文件夹大小 2 压缩: tar -cvf 文件名.tar 源文件名 3.导出 sz 文件名.tar 4.查询文件的修改时间:ls -l /etc/man.config 阅读全文

posted @ 2017-07-07 15:07 奇思妙想的香菜 阅读(201) 评论(0) 推荐(0) 编辑

2017年6月27日

摘要: package com.dapail.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLEncoder; import java.util.Hash... 阅读全文

posted @ 2017-06-27 20:44 奇思妙想的香菜 阅读(205) 评论(0) 推荐(0) 编辑

2017年6月26日

摘要: jar包链接:http://pan.baidu.com/s/1boSLFNT 密码:imgo 链接:http://pan.baidu.com/s/1slI0e5J 密码:ul4x 目标:选择文件、上传,存session,读取 选择 1.环境:sturts+action 上传: 2.action 存取 阅读全文

posted @ 2017-06-26 09:37 奇思妙想的香菜 阅读(283) 评论(0) 推荐(0) 编辑