爷的眼睛闪亮
insideDotNet En_summerGarden
摘要: /** * @类描述 redis 工具 * @功能名 POJO * @author zxf * @date 2014年11月25日 */public final class RedisUtil { private static JedisPool jedisPool = null; /** * 初始 阅读全文
posted @ 2016-11-22 11:45 爷的眼睛闪亮 阅读(1415) 评论(0) 推荐(0)
摘要: 使用Java操作Redis需要jedis-2.1.0.jar,如果需要使用Redis连接池的话,还需commons-pool-1.5.4.jar package com.test; import java.util.HashMap;import java.util.Iterator;import j 阅读全文
posted @ 2016-11-22 11:41 爷的眼睛闪亮 阅读(277) 评论(0) 推荐(0)
摘要: 现根据num排序,num数字相同的根据时间进行排序,都是降序DESC SELECT * FROM counts ORDER BY num DESC,create_time DESC 阅读全文
posted @ 2016-11-22 10:25 爷的眼睛闪亮 阅读(27142) 评论(0) 推荐(2)
摘要: #contentTable{ table-layout:fixed;}.contentShort{ text-overflow: ellipsis; overflow: hidden; white-space: nowrap; width:80px;} <table id="contentTable 阅读全文
posted @ 2016-11-22 10:04 爷的眼睛闪亮 阅读(1955) 评论(0) 推荐(0)