代码改变世界

阅读排行榜

html 全选或全不选小案例

2016-12-08 20:25 by 甘雨路, 647 阅读, 收藏,
摘要: lf 你爱好的运动是? 全选/全不选 足球 篮球 羽毛球 乒乓球 阅读全文

Spring boot 、swagger、c3p0、mybatis和redis 整合

2018-03-12 22:50 by 甘雨路, 642 阅读, 收藏,
摘要: 文件路径 添加依赖 添加c3p0数据源文件和swagger的启动文件 添加控制层 添加实体类 添加mapper层 添加mapper的xml文件 添加service层和实现类 添加工具类 添加是springboot启动文件 添加jsp 文件 添加redis配置文件和mybatis配置文件 添加appl 阅读全文

SpringBoot + swagger

2018-03-04 21:07 by 甘雨路, 640 阅读, 收藏,
摘要: 添加依赖 添加springboot启动文件和swagger配置文件(注意路径,要放在外层package下) 添加相关配置(添加src/main/resources/application.properties内容如下) 添加相关Java类 启动程序,在浏览器上输入http://localhost:8 阅读全文

MySQL 根据年、季度、月、周、日统计数据

2017-08-17 11:39 by 甘雨路, 640 阅读, 收藏,
摘要: -- 计算每年订单的总价格 select date_format(t.order_time,'%Y') years,sum(t.order_amount) '总价格' from lf_order t group by years; -- 计算每季度订单的总价格 select quarter(t.order_time) '季度',sum(t.order_amount) '总价格' from lf... 阅读全文

iOS UITableView制作类似QQ好友列表视图

2015-08-25 21:43 by 甘雨路, 638 阅读, 收藏,
摘要: 1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 8 @end 1 #import "AppDelegate.h" 2 #i... 阅读全文
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 44 下一页