public static string DateFormatString { get; set; } public static string DefaultJson = "{}"; /// <summary> /// 转义html /// </summary> /// <param name=" ...
分类:
Web程序 时间:
2017-07-18 15:26:48
阅读次数:
180
本人常用注解说明: @ApiOperation:用在方法上,说明方法的作用 value: 表示接口名称 notes: 表示接口详细描述 @ApiImplicitParams:用在方法上包含一组参数说明 @ApiImplicitParam:用在@ApiImplicitParams注解中,指定一个请求参 ...
分类:
其他好文 时间:
2017-07-14 23:03:51
阅读次数:
575
1.参考GreenPlum之生成月份字典表 GreenPlum之生成月份字典表 2.根据Case When语句及GreenPlum中string_agg聚合函数拼凑对应月份或季度周期字段,以下是核心实现sql,读者可根据需求自行修改: ...
分类:
其他好文 时间:
2017-07-12 01:03:28
阅读次数:
1188
基础知识通道:http://blog.csdn.net/Xiejingfa/article/details/50955295 C/C++: ...
分类:
编程语言 时间:
2017-07-09 19:49:29
阅读次数:
252
1.Runloop基础知识 1.1 字面意思 a 运行循环 b 跑圈 1.2 基本作用(作用重大) a 保持程序的持续运行(ios程序为什么能一直活着不会死) b 处理app中的各种事件(比如触摸事件、定时器事件【NSTimer】、selector事件【选择器·performSelector···】 ...
分类:
其他好文 时间:
2017-07-07 00:00:05
阅读次数:
348
把一行数据按Json字符串形式返回 select row_to_json( table_code)from table_code select array_to_json( array_agg(row_to_json(code))) from ( select 子查询) ...
分类:
数据库 时间:
2017-07-04 20:01:32
阅读次数:
667
std::allocator即空间配置器,用于内存分配。更多的细节建议大家研究相关源码。 这里仅是利用std::allocator来实现简单的自定义vector类,如有问题欢迎指正。 以下是测试代码: 测试结果: ...
分类:
其他好文 时间:
2017-06-24 00:22:52
阅读次数:
272
glibc中的malloc实现: The main properties of the algorithms are:* For large (>= 512 bytes) requests, it is a pure best-fit allocator, with ties normally de ...
分类:
其他好文 时间:
2017-06-18 11:58:15
阅读次数:
239
STL(Standard Template Library,标准模板库), 组成: STL可分为容器(containers)、迭代器(iterators)、空间配置器(allocator)、配接器(adapters)、算法(algorithms)、仿函数(functors)六个部分。 容器部分主要由 ...
分类:
其他好文 时间:
2017-06-17 17:18:03
阅读次数:
167