先理解:Date本身是没有格式的,只是一个毫秒数,要显示成某种格式就一定是字符串 https://github.com/ewcmsfree/ewcms/wiki/Help-mongo-java-driver-date mongo java driver日期转换问题 mongo保存日期是一个64-bi ...
分类:
数据库 时间:
2018-03-02 18:47:05
阅读次数:
157
一个优化的SQL:SELECT order_date, order_source, SUM(commodity_num) num, SUM(actual_charge) charge FROM ( SELECT to_char(oc.create_date, 'yyyyMMdd') AS order... ...
分类:
数据库 时间:
2018-03-02 18:36:49
阅读次数:
282
1.java DateUtil工具包可将"Wed, 21 Dec 2022 14:20:00 GMT"格式的字符串专程Date类型: Date expiration = DateUtil.parseRfc822Date("Wed, 21 Dec 2022 14:20:00 GMT"); 2.mysq ...
分类:
其他好文 时间:
2018-03-02 17:19:30
阅读次数:
187
平时喜欢看某个做视频的app,最近app有bug,看着看着就会闪退,回到首页,反馈给官方,好久也不处理,于是自己抓包app的接口,直接用php开发个web版本的自己用.首先抓包过程就不说了,我的另一篇博客有详细介绍:Charles抓包https,http先看一下web的界面:其实就两个页面,非常简单,下面贴一下代码,链接都去掉了,以免被坏人利用:<?phpini_set(‘date.time
分类:
移动开发 时间:
2018-03-02 16:13:48
阅读次数:
358
yum update 服务器 yum install php php-pear php-devel httpd gcc pear 执行安装包 devel 执行工具 httpd 安装apache服务器 gcc 执行编译 安装swoole pecl install swoole 安装swoole 在ph ...
分类:
其他好文 时间:
2018-03-02 14:53:37
阅读次数:
159
一、安装Anaconda 1.下载 下载地址为:https://www.anaconda.com/download/#linux 2.安装anaconda,执行命令: 3.在安装过程中会显示配置路径 Prefix=/home/jsy/anaconda2/ 4.安装完之后,运行python,仍是ubu ...
分类:
系统相关 时间:
2018-03-02 14:39:15
阅读次数:
182
创建一个表 create table user( id number(4), password char(4), name char(20), createTime date );数字 number(n) 数字最长几位 如:number(2) 表示最长99 number(n,m) 浮点数 如:num ...
分类:
数据库 时间:
2018-03-02 12:32:48
阅读次数:
236
declare ln_plantid number; ln_itemid number; ln_checkResult number; lv_uom varchar(50); ln_isExist number; begin for cur in (select * from xxx x) loop... ...
分类:
其他好文 时间:
2018-03-01 21:51:42
阅读次数:
175
/* Navicat Premium Data Transfer Source Server : localhost Source Server Type : MySQL Source Server Version : 50624 Source Host ... ...
分类:
数据库 时间:
2018-03-01 21:50:58
阅读次数:
177