diff --git a/.classpath b/.classpath deleted file mode 100644 index c16c824..0000000 --- a/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.gitignore b/.gitignore index f9c1ffb..bbfde43 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ -/target -target/* +target +*.classpath +*.component +.settings/ +*.iml +.idea/ +*.log \ No newline at end of file diff --git a/.project b/.project deleted file mode 100644 index c8eae59..0000000 --- a/.project +++ /dev/null @@ -1,58 +0,0 @@ - - - foryou - - - - - - org.eclipse.wst.jsdt.core.javascriptValidator - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator - - - - - com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder - - - - - com.genuitec.eclipse.springframework.springbuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - com.genuitec.eclipse.springframework.springnature - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.wst.common.modulecore.ModuleCoreNature - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - org.eclipse.wst.common.project.facet.core.nature - org.eclipse.wst.jsdt.core.jsNature - - diff --git a/.settings/.jsdtscope b/.settings/.jsdtscope deleted file mode 100644 index 99247ca..0000000 --- a/.settings/.jsdtscope +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/.settings/com.genuitec.eclipse.core.prefs b/.settings/com.genuitec.eclipse.core.prefs deleted file mode 100644 index 3847cc3..0000000 --- a/.settings/com.genuitec.eclipse.core.prefs +++ /dev/null @@ -1,6 +0,0 @@ -clsCnt=64 -eclipse.preferences.version=1 -locCnt=7202 -pkgCnt=13 -sTime=2015\u5E747\u670814\u65E5 \u661F\u671F\u4E8C \u4E0B\u534801\u65F622\u520637\u79D2 CST -srcCnt=3 diff --git a/.settings/com.genuitec.eclipse.j2eedt.core.prefs b/.settings/com.genuitec.eclipse.j2eedt.core.prefs deleted file mode 100644 index 33bad4b..0000000 --- a/.settings/com.genuitec.eclipse.j2eedt.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -defaultTldInfo=f\=http\://java.sun.com/jsf/core;http\://java.sun.com/jsf/html\=h;http\://struts.apache.org/tags-bean\=bean;http\://java.sun.com/jsp/jstl/fmt\=fmt;nested\=http\://struts.apache.org/tags-nested;bean\=http\://struts.apache.org/tags-bean;http\://java.sun.com/jsp/jstl/sql\=sql;c\=http\://java.sun.com/jsp/jstl/core;fmt\=http\://java.sun.com/jsp/jstl/fmt;http\://struts.apache.org/tags-logic\=logic;http\://java.sun.com/jsp/jstl/xml\=x;http\://java.sun.com/jsp/jstl/core\=c;logic\=http\://struts.apache.org/tags-logic;h\=http\://java.sun.com/jsf/html;http\://struts.apache.org/tags-tiles\=tiles;http\://java.sun.com/jsp/jstl/functions\=fn;tiles\=http\://struts.apache.org/tags-tiles;sql\=http\://java.sun.com/jsp/jstl/sql;http\://struts.apache.org/tags-html\=html;http\://struts.apache.org/tags-nested\=nested;html\=http\://struts.apache.org/tags-html;http\://java.sun.com/jsf/core\=f;fn\=http\://java.sun.com/jsp/jstl/functions;x\=http\://java.sun.com/jsp/jstl/xml -eclipse.preferences.version=1 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 8e4055a..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,12 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index f897a7f..0000000 --- a/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component deleted file mode 100644 index 2a7391a..0000000 --- a/.settings/org.eclipse.wst.common.component +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index 0e3dee5..0000000 --- a/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.container b/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100644 index 3bd5d0a..0000000 --- a/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.name b/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100644 index 05bd71b..0000000 --- a/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Window \ No newline at end of file diff --git a/.settings/org.eclipse.wst.validation.prefs b/.settings/org.eclipse.wst.validation.prefs deleted file mode 100644 index 04cad8c..0000000 --- a/.settings/org.eclipse.wst.validation.prefs +++ /dev/null @@ -1,2 +0,0 @@ -disabled=06target -eclipse.preferences.version=1 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..228a4d1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 twist.zheng + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..de09a71 --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +## java_server + +

+ + + + + + + + +

+ +本项目是校园o2o电商项目的服务端和管理平台代码,采用`SpringBoot-Mybatis`架构,集成了丰富的短信,推送,支付,权限管理等功能。 + +## 更新 + +- 2017-7-21 +> + 1. 解决spring jar包过老,跑不起来问题。 + 2. 项目更新为springBoot项目,springBoot版本为1.5.2 + 3. 支持在intellij下面运行 + + +## 主要功能 + +| 功能 | 平台 | +|------------|-----------------------------------| +| 推送 | [极光](https://www.jiguang.cn/) | +| 短信 | [mob](http://www.mob.com/) | +| 支付 | [ping++](https://www.pingxx.com/)| +| 接口签名 | -- | +| web端数据管理 | [bootstrap-table](http://bootstrap-table.wenzhixin.net.cn/zh-cn/)| +| 权限管理 | -- | +| 多校区管理 | -- | + +## 运行 + +clone下来的代码支持在eclipse或者intellij下运行,mysql支持,本地支持以SpringBoot的方式启动。 + +1. 将项目根目录下foryou.sql导入你自己的数据库中。 +2. 再application.properties修改数据库连接配置。 +3. 执行mvn package 将项目打成war包,在tomcat下运行。 +4. 或者更改pom.xml,讲packing方式更改为jar,执行mvn package后在jar包目录下运行```java -jar jar包路径```即可 + ``` + jar + ``` +5. 本地测试及启动,执行PortraitApplication中的main函数即可启动内置的tomcat,浏览器中访问[localhost:8080/](http://localhost:8080)(端口可以在application.properties里面设置) +即可进入管理端默认的登录页面。 +6. 校区管理员账号admin:123456,总校区管理员账号admin_1:123456。 + +## License + +本项目基于[MIT](https://www.opensource.org/licenses/mit-license.php)开源协议. diff --git a/foryou.sql b/foryou.sql new file mode 100644 index 0000000..3c542c8 --- /dev/null +++ b/foryou.sql @@ -0,0 +1,3407 @@ +/* +Navicat MySQL Data Transfer + +Source Server : localhost_3306 +Source Server Version : 50718 +Source Host : localhost:3306 +Source Database : foryou + +Target Server Type : MYSQL +Target Server Version : 50718 +File Encoding : 65001 + +Date: 2017-09-22 17:26:48 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for app_key +-- ---------------------------- +DROP TABLE IF EXISTS `app_key`; +CREATE TABLE `app_key` ( + `key` varchar(255) NOT NULL, + `secrect` varchar(32) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of app_key +-- ---------------------------- +INSERT INTO `app_key` VALUES ('iOS', '2fbf3345716d7ae1840bc11aa09e0b19'); +INSERT INTO `app_key` VALUES ('server', '56846a8a2fee49d14901d39cc48b8b2a'); +INSERT INTO `app_key` VALUES ('andorid', '7ceaa4db3e3be2ec5d66200337f54a1f'); + +-- ---------------------------- +-- Table structure for campus +-- ---------------------------- +DROP TABLE IF EXISTS `campus`; +CREATE TABLE `campus` ( + `campus_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '校区id', + `campus_name` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '校区名称', + `city_id` int(11) NOT NULL, + `open_time` time NOT NULL, + `close_time` time NOT NULL, + `location_x` double DEFAULT NULL, + `location_y` double DEFAULT NULL, + `status` smallint(6) NOT NULL DEFAULT '1', + `close_reason` varchar(255) COLLATE utf8_bin DEFAULT NULL, + `custom_service` varchar(255) COLLATE utf8_bin DEFAULT NULL, + PRIMARY KEY (`campus_id`,`city_id`), + KEY `campus_city` (`city_id`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- ---------------------------- +-- Records of campus +-- ---------------------------- +INSERT INTO `campus` VALUES ('1', '苏州大学独墅湖校区', '1', '00:00:01', '21:59:59', '12.2', '23.4', '1', '休息喽亲', '18896554881'); +INSERT INTO `campus` VALUES ('2', '苏州大学本部', '1', '06:00:00', '17:00:00', null, null, '0', '该校区已暂停营业,对您造成不便深感抱歉', '18896554880'); + +-- ---------------------------- +-- Table structure for campus_admin +-- ---------------------------- +DROP TABLE IF EXISTS `campus_admin`; +CREATE TABLE `campus_admin` ( + `campus_admin` varchar(255) NOT NULL, + `password` varchar(255) NOT NULL, + `type` smallint(6) DEFAULT NULL, + `campus_id` int(11) NOT NULL, + `last_login_date` date DEFAULT NULL, + PRIMARY KEY (`campus_admin`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Records of campus_admin +-- ---------------------------- +INSERT INTO `campus_admin` VALUES ('admin', 'e10adc3949ba59abbe56e057f20f883e', '0', '1', '2017-07-21'); +INSERT INTO `campus_admin` VALUES ('admin_1', 'e10adc3949ba59abbe56e057f20f883e', '1', '1', '2017-09-22'); + +-- ---------------------------- +-- Table structure for campus_admin_type +-- ---------------------------- +DROP TABLE IF EXISTS `campus_admin_type`; +CREATE TABLE `campus_admin_type` ( + `campus_admin_type` smallint(3) DEFAULT NULL, + `category` varchar(50) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of campus_admin_type +-- ---------------------------- +INSERT INTO `campus_admin_type` VALUES ('0', '校区管理员'); +INSERT INTO `campus_admin_type` VALUES ('1', '总管理员'); + +-- ---------------------------- +-- Table structure for campus_status +-- ---------------------------- +DROP TABLE IF EXISTS `campus_status`; +CREATE TABLE `campus_status` ( + `status_id` smallint(6) NOT NULL AUTO_INCREMENT, + `message` varchar(255) DEFAULT NULL, + PRIMARY KEY (`status_id`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Records of campus_status +-- ---------------------------- +INSERT INTO `campus_status` VALUES ('1', 'nomal'); + +-- ---------------------------- +-- Table structure for city +-- ---------------------------- +DROP TABLE IF EXISTS `city`; +CREATE TABLE `city` ( + `city_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '城市id', + `city_name` varchar(255) COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`city_id`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +-- ---------------------------- +-- Records of city +-- ---------------------------- +INSERT INTO `city` VALUES ('1', '苏州'); +INSERT INTO `city` VALUES ('2', '南京'); + +-- ---------------------------- +-- Table structure for feedback +-- ---------------------------- +DROP TABLE IF EXISTS `feedback`; +CREATE TABLE `feedback` ( + `campus_id` int(11) NOT NULL, + `phone_id` varchar(20) NOT NULL, + `date` date NOT NULL, + `suggestion` varchar(255) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of feedback +-- ---------------------------- +INSERT INTO `feedback` VALUES ('0', '15151883572', '2015-04-30', '结算页面怎么没有配送时间?备注功能也没有,下单下的好突然哦'); +INSERT INTO `feedback` VALUES ('0', '15295567537', '2015-04-13', '啊擦擦擦'); +INSERT INTO `feedback` VALUES ('0', '15295567537', '2015-05-06', '加油'); +INSERT INTO `feedback` VALUES ('0', '15295567537', '2015-05-26', '周老板,我要干你'); +INSERT INTO `feedback` VALUES ('0', '18094390667', '2015-05-13', '不可以退货啊'); +INSERT INTO `feedback` VALUES ('0', '18705199209', '2015-04-28', '不能取消订单?'); +INSERT INTO `feedback` VALUES ('0', '18705199209', '2015-04-29', '是否可以加上网上支付功能…不一定每次身上都有零钱给的…'); +INSERT INTO `feedback` VALUES ('0', '18705199233', '2015-04-27', '东西有点少,希望多加点高大上的,不缺钱,不过,画面挺好的,方便快捷'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-07-20', '好吃'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-07-22', '好吃'); +INSERT INTO `feedback` VALUES ('1', '18860902573', '2015-08-19', '你们的网站做得很好'); +INSERT INTO `feedback` VALUES ('1', '18896554888', '2015-08-19', ''); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-08-19', 'yyy'); +INSERT INTO `feedback` VALUES ('1', '18260108169', '2015-08-27', 'test'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-08-28', '好吃'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-08-28', '好吃''); +INSERT INTO `feedback` VALUES ('1', '18035735959', '2015-09-11', '你好'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', '好吃'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', 'aaaaaaaa'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', 'test1'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', 'wwww'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', '12weEWQE'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', 'ss'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', 'For优,为你,为更好的生活'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-11', '123'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-15', 'aaa'); +INSERT INTO `feedback` VALUES ('1', '18260108169', '2015-09-15', '12357886'); +INSERT INTO `feedback` VALUES ('1', '18013116680', '2015-09-15', '453062821 垃圾咯考虑图就拒绝啦咯'); +INSERT INTO `feedback` VALUES ('1', '18896554880', '2015-09-17', '难用'); +INSERT INTO `feedback` VALUES ('2', '18896554880', '2015-10-09', '牛严'); +INSERT INTO `feedback` VALUES ('1', '18896558935', '2015-10-09', '你好,我是朱丽叶,你是谁呀'); +INSERT INTO `feedback` VALUES ('2', '18896554880', '2015-10-09', '啊'); +INSERT INTO `feedback` VALUES ('1', '18896558935', '2015-10-09', '网好慢啊'); +INSERT INTO `feedback` VALUES ('1', '18762885079', '2015-10-09', '爸爸'); +INSERT INTO `feedback` VALUES ('1', '18762885079', '2015-10-09', '爸爸'); +INSERT INTO `feedback` VALUES ('1', '18035735959', '2015-10-09', '我\n但'); +INSERT INTO `feedback` VALUES ('1', '18035735959', '2015-10-09', '巴巴爸爸巴巴爸爸啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊巴巴爸爸巴巴爸爸啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊'); +INSERT INTO `feedback` VALUES ('1', '18035735959', '2015-10-09', '?'); +INSERT INTO `feedback` VALUES ('1', '18260108169', '2015-10-12', ''); +INSERT INTO `feedback` VALUES ('1', '18260108169', '2015-10-12', 'ss'); +INSERT INTO `feedback` VALUES ('1', '18862342354', '2015-10-16', '好棒'); +INSERT INTO `feedback` VALUES ('1', '18862342354', '2015-10-16', '好棒'); +INSERT INTO `feedback` VALUES ('1', '18896558935', '2015-10-18', '嗨'); + +-- ---------------------------- +-- Table structure for food +-- ---------------------------- +DROP TABLE IF EXISTS `food`; +CREATE TABLE `food` ( + `food_id` bigint(20) NOT NULL AUTO_INCREMENT, + `campus_id` int(11) NOT NULL, + `name` varchar(255) DEFAULT NULL, + `price` float(6,2) NOT NULL, + `discount_price` float(6,2) DEFAULT NULL, + `img_url` varchar(100) DEFAULT NULL, + `info` varchar(1000) DEFAULT NULL, + `modify_time` datetime DEFAULT NULL, + `status` smallint(6) DEFAULT NULL COMMENT '食品状态,1上架,0下架', + `grade` float(2,0) DEFAULT NULL, + `food_flag` varchar(255) DEFAULT NULL COMMENT '食品标签', + `is_discount` smallint(1) DEFAULT NULL, + `category_id` int(11) DEFAULT NULL, + `prime_cost` float(6,2) DEFAULT NULL, + `sale_number` bigint(11) DEFAULT NULL, + `tag` smallint(6) NOT NULL DEFAULT '1', + `food_count` int(11) NOT NULL DEFAULT '500', + `to_home` smallint(6) NOT NULL DEFAULT '0', + `message` varchar(255) DEFAULT NULL, + `home_image` varchar(255) DEFAULT NULL, + `is_full_discount` tinyint(4) NOT NULL DEFAULT '0', + PRIMARY KEY (`food_id`,`campus_id`), + KEY `campus_foodid` (`campus_id`,`food_id`) +) ENGINE=InnoDB AUTO_INCREMENT=100102 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of food +-- ---------------------------- +INSERT INTO `food` VALUES ('101', '1', '奶酪', '1.00', '0.80', '/Public/img/goods/9280c8519530206c.jpg', null, '2015-09-18 17:42:07', '1', null, '', '0', '105', null, '0', '0', '200', '0', null, null, '0'); +INSERT INTO `food` VALUES ('101', '2', '奶酪', '1.00', '0.80', '/Public/img/goods/9280c8519530206c.jpg', null, '2015-09-18 17:42:07', '1', null, '', '0', '105', null, '0', '0', '500', '0', null, null, '0'); +INSERT INTO `food` VALUES ('104', '1', '蛋糕', '11.00', '10.80', '/Public/img/goods/W020150327373576406347.jpg', ',http://www.enjoyfu.com.cn:7777/ForyouImage/food/1442902969347-1886647746.jpg,,', '2015-09-22 14:15:31', '1', null, '蛋糕', '0', '105', null, '0', '0', '200', '1', null, 'http://www.deskcar.com/desktop/fengjing/2012613231539/13.jpg', '0'); +INSERT INTO `food` VALUES ('104', '2', '蛋糕', '11.00', '10.80', '/Public/img/goods/W020150327373576406347.jpg', ',http://www.enjoyfu.com.cn:7777/ForyouImage/food/1442902969347-1886647746.jpg,,', '2015-09-22 14:15:31', '1', null, '蛋糕', '0', '105', null, '0', '0', '500', '1', null, 'http://www.deskcar.com/desktop/fengjing/2012613231539/13.jpg', '0'); +INSERT INTO `food` VALUES ('10000', '1', '王子饼干', '20.00', '18.00', '/Public/img/goods/23.jpg', 'http://120.26.76.252:8080/ForyouImage/food/14505437863731467028565.jpg', '2015-12-20 00:49:46', '1', null, '饼干', '0', '1', '4.00', '0', '0', '500', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10101', '1', '小当家干脆面', '0.10', '0.10', '/Public/img/goods/9280c8519530206c.jpg', ',http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg,http://pic1.ooopic.com/uploadfilepic/sheying/2009-12-01/OOOPIC_yuer88521_20091201f5e08e4f6c8f5bc3.jpg,', '2015-09-21 13:29:48', '0', null, '方便面,爆款', '0', '106', null, '2', '0', '521', '0', '所有食品都是绿色食品', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '1'); +INSERT INTO `food` VALUES ('10101', '2', '小当家干脆面', '0.10', '0.10', '/Public/img/goods/9280c8519530206c.jpg', ',http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg,http://pic1.ooopic.com/uploadfilepic/sheying/2009-12-01/OOOPIC_yuer88521_20091201f5e08e4f6c8f5bc3.jpg,', '2015-09-21 13:29:48', '0', null, '方便面,爆款', '0', '106', null, '1', '0', '500', '0', '所有食品都是绿色食品', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '1'); +INSERT INTO `food` VALUES ('10102', '1', '统一小浣熊干吃面', '0.10', '0.10', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-26 22:52:30', '1', null, '方便面', '0', '101', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10102', '2', '统一小浣熊干吃面', '0.10', '0.10', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-26 22:52:30', '1', null, '方便面', '0', '101', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10103', '1', '玉米粥', '2.50', '2.30', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-10-02 00:14:00', '1', null, '', '0', '105', null, '4', '1', '401', '1', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://86bizhi.manmankan.com/bizhipic/201501/4972/1_1280x800.jpg', '1'); +INSERT INTO `food` VALUES ('10103', '2', '月饼', '2.50', '2.30', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-10-02 00:03:35', '1', null, '月饼', '0', '501', null, '0', '1', '500', '1', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://86bizhi.manmankan.com/bizhipic/201501/4972/1_1280x800.jpg', '1'); +INSERT INTO `food` VALUES ('10104', '1', '康师傅老坛酸菜牛肉面袋装a', '2.60', '2.10', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-09-07 22:08:37', '0', null, '方便面,速食,泡面,拉面', '1', '107', null, '0', '0', '4172', '0', '所有食品都是绿色食品,a不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10104', '2', '康师傅老坛酸菜牛肉面袋装a', '2.60', '2.10', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-09-07 22:08:37', '0', null, '方便面,速食,泡面,拉面', '1', '107', null, '0', '0', '500', '0', '所有食品都是绿色食品,a不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10105', '1', '康师傅香辣牛肉面袋装', '2.50', '2.30', '/Public/img/goods/23.jpg', ',http://www.enjoyfu.com.cn:7777/ForyouImage/food/14443733092781417138610.jpg,http://www.enjoyfu.com.cn:7777/ForyouImage/food/14443733092801846314212.jpg,http://www.enjoyfu.com.cn:7777/ForyouImage/food/1444373309282-2089297910.jpg', '2015-05-26 22:52:50', '1', null, '泡面,速食,方便面', '0', '101', null, '7', '1', '4204', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10105', '2', '康师傅香辣牛肉面袋装', '2.50', '2.30', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-26 22:52:50', '1', null, '泡面,速食,方便面', '0', '101', null, '7', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10106', '1', '萝卜羹', '2.80', '2.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-10-02 00:16:36', '0', null, '', '0', '105', null, '2', '1', '4174', '1', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '1'); +INSERT INTO `food` VALUES ('10106', '2', '糕点', '2.80', '2.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-10-02 00:04:34', '1', null, '糕点', '0', '501', null, '0', '1', '500', '1', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '1'); +INSERT INTO `food` VALUES ('10107', '1', '康师傅红烧牛肉面袋装', '2.50', '2.30', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-26 22:52:59', '1', null, '泡面,方便面,速食,袋装', '0', '101', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10107', '2', '康师傅红烧牛肉面袋装', '2.50', '2.30', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-26 22:52:59', '1', null, '泡面,方便面,速食,袋装', '0', '101', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10108', '1', '康师傅大食桶红烧牛肉面 方便面', '4.50', '4.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-26 22:53:46', '1', null, '泡面,方便面,速食', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10108', '2', '康师傅大食桶红烧牛肉面 方便面', '4.50', '4.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-26 22:53:46', '1', null, '泡面,方便面,速食', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10109', '2', '统一老坛酸菜牛肉面桶装 速食 方便面', '4.00', '3.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:18:56', '1', null, '泡面,方便面,速食', '0', '501', null, '4', '1', '499', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://www.deskcar.com/desktop/fengjing/2012613231539/13.jpg', '0'); +INSERT INTO `food` VALUES ('10111', '1', '五仁月饼', '4.00', '3.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-10-02 00:18:24', '1', null, '', '0', '105', null, '2', '1', '4204', '1', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '1'); +INSERT INTO `food` VALUES ('10111', '2', '康师傅鲜虾鱼板桶装面', '4.00', '3.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:19:18', '1', null, '泡面,方便面,速食', '0', '101', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '0'); +INSERT INTO `food` VALUES ('10112', '1', '康师傅老陈醋酸辣桶面', '4.00', '3.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:19:56', '1', null, '泡面,方便面,速食', '0', '101', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10112', '2', '康师傅老陈醋酸辣桶面', '4.00', '3.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:19:56', '1', null, '泡面,方便面,速食', '0', '101', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10113', '1', '康师傅红烧牛肉面桶装', '4.00', '3.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:21:00', '1', null, '泡面,方便面,速食', '0', '101', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://86bizhi.manmankan.com/bizhipic/201501/4972/1_1280x800.jpg', '0'); +INSERT INTO `food` VALUES ('10113', '2', '康师傅红烧牛肉面桶装', '4.00', '3.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:21:00', '1', null, '泡面,方便面,速食', '0', '101', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://86bizhi.manmankan.com/bizhipic/201501/4972/1_1280x800.jpg', '0'); +INSERT INTO `food` VALUES ('10114', '1', '康师傅大食桶香辣牛肉面', '4.50', '4.30', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:21:22', '1', null, '泡面,方便面,速食', '0', '101', null, '54', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10114', '2', '康师傅大食桶香辣牛肉面', '4.50', '4.30', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:21:22', '1', null, '泡面,方便面,速食', '0', '101', null, '54', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10115', '1', '康师傅红烧干拌面', '5.00', '4.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:22:46', '1', null, '泡面,干拌面,速食', '0', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '1'); +INSERT INTO `food` VALUES ('10115', '2', '康师傅红烧干拌面', '5.00', '4.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:22:46', '1', null, '泡面,干拌面,速食', '0', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '1'); +INSERT INTO `food` VALUES ('10116', '1', '康师傅老坛酸菜牛肉面袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:23:10', '1', null, '泡面,方便面,速食', '0', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10116', '2', '康师傅老坛酸菜牛肉面袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:23:10', '1', null, '泡面,方便面,速食', '0', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10117', '1', '康师傅秘制香菇卤香牛肉面 103克 袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:23:55', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10117', '2', '康师傅秘制香菇卤香牛肉面 103克 袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:23:55', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10118', '2', '统一100精炖番茄牛肉面 100克 面饼85克', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:24:13', '1', null, '泡面,方便面,速食,袋装', '1', '502', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10119', '1', '康师傅红烧排骨面 102克 面饼82.5克', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:24:28', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10119', '2', '康师傅红烧排骨面 102克 面饼82.5克', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:24:28', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10120', '1', '康师傅爆椒牛肉面 102克 面饼82.5克', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:51:59', '0', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10120', '2', '康师傅爆椒牛肉面 102克 面饼82.5克', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:51:59', '0', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10121', '1', '康师傅老陈醋 酸辣牛肉面 面饼加配料111克袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:25:04', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10121', '2', '康师傅老陈醋 酸辣牛肉面 面饼加配料111克袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:25:04', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10122', '1', '康师傅西红柿鸡蛋打卤面 104克 82.5袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:25:31', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10122', '2', '康师傅西红柿鸡蛋打卤面 104克 82.5袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:25:31', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10123', '1', '康师傅秘制香菇 辣 卤香牛肉面104克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:25:45', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10123', '2', '康师傅秘制香菇 辣 卤香牛肉面104克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:25:45', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10124', '1', '康师傅 老坛酸菜 鲜虾面118克袋装', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:26:04', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10124', '2', '康师傅 老坛酸菜 鲜虾面118克袋装', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:26:04', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10125', '1', '康师傅 老坛酸菜 排骨面119克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:26:34', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10125', '2', '康师傅 老坛酸菜 排骨面119克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:26:34', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10126', '1', '康师傅香辣牛肉面101克 活力新包装袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:26:51', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10126', '2', '康师傅香辣牛肉面101克 活力新包装袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:26:51', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10127', '1', '康师傅鲜脆雪笋 炒肉丝面126克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:04', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10127', '2', '康师傅鲜脆雪笋 炒肉丝面126克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:04', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10128', '1', '康师傅 鲜香菇鸡蛋打卤面 100克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:15', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10128', '2', '康师傅 鲜香菇鸡蛋打卤面 100克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:15', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10129', '1', '康师傅老坛泡椒 牛肉面103克', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:26', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10129', '2', '康师傅老坛泡椒 牛肉面103克', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:26', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10130', '2', '康师傅鲜虾鱼板面 清爽鲜滋味 96克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:44', '1', null, '泡面,方便面,速食,袋装', '1', '502', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10131', '1', '统一老坛酸菜牛肉面 统一100', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:55', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10131', '2', '统一老坛酸菜牛肉面 统一100', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:27:55', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10132', '1', '统一老坛酸豆角排骨面 110克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:28:55', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10132', '2', '统一老坛酸豆角排骨面 110克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:28:55', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10133', '1', '统一老坛酸菜鱼面118克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:30:26', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10133', '2', '统一老坛酸菜鱼面118克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:30:26', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10134', '1', '统一老坛酸菜牛肉面 芒果在里面 121克袋装', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:30:46', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '2', '1', '4206', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10134', '2', '统一老坛酸菜牛肉面 芒果在里面 121克袋装', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:30:46', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10135', '1', '康师傅红烧牛肉面100克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:31:01', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10135', '2', '康师傅红烧牛肉面100克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:31:01', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10136', '1', '统一卤肉面 辣香在里面112克袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:31:16', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '8', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10136', '2', '统一卤肉面 辣香在里面112克袋装', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:31:16', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '8', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10137', '2', '统一100香辣牛肉面100克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:31:31', '1', null, '泡面,方便面,速食,袋装', '0', '502', null, '2', '1', '498', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10138', '1', '康师傅香菇炖鸡面 炖出真滋味 98克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:31:53', '1', null, '泡面,方便面,速食,袋装', '0', '101', null, '23', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10138', '2', '康师傅香菇炖鸡面 炖出真滋味 98克袋装', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:31:53', '1', null, '泡面,方便面,速食,袋装', '0', '101', null, '23', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10139', '1', '康师傅老坛酸菜牛肉面116克袋装', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:32:05', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '1', '4207', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10139', '2', '康师傅老坛酸菜牛肉面116克袋装', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:32:05', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10140', '1', '康师傅老坛泡椒竹笋鸡面105克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:32:33', '1', null, '泡面,方便面,速食,袋装', '0', '101', null, '7', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10140', '2', '康师傅老坛泡椒竹笋鸡面105克袋装', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:32:33', '1', null, '泡面,方便面,速食,袋装', '0', '101', null, '7', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10141', '1', '稻花香 香辣牛肉味 过桥米线 108克袋装', '4.00', '3.60', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:32:53', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '24', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10141', '2', '稻花香 香辣牛肉味 过桥米线 108克袋装', '4.00', '3.60', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:32:53', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '24', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10142', '1', '康师傅香辣牛肉面大食袋 125克', '3.00', '2.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:33:14', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10142', '2', '康师傅香辣牛肉面大食袋 125克', '3.00', '2.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:33:14', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10143', '1', '康师傅老坛酸菜牛肉面大食袋 147克袋装', '3.00', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:33:30', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '8', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10143', '2', '康师傅老坛酸菜牛肉面大食袋 147克袋装', '3.00', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:33:30', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '8', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10144', '1', '康师傅红烧牛肉面大食袋125克', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:33:45', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '11', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10144', '2', '康师傅红烧牛肉面大食袋125克', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 00:33:45', '1', null, '泡面,方便面,速食,袋装', '1', '101', null, '11', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10145', '1', '农心乌龙面 乌冬汤味120克袋装', '4.00', '3.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:24:53', '1', null, '泡面,方便面,速食,袋装,爆款', '1', '101', null, '124', '1', '4118', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10145', '2', '农心乌龙面 乌冬汤味120克袋装', '4.00', '3.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:24:53', '1', null, '泡面,方便面,速食,袋装,爆款', '1', '101', null, '124', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10164', '1', '美味月饼', '11.00', '10.80', '/Public/img/goods/W020150327373576406347.jpg', null, '2015-10-08 14:49:46', '1', null, '蛋糕', '0', '105', null, '0', '1', '100', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10165', '1', '五仁月饼', '11.00', '10.80', '/Public/img/goods/23.jpg', null, '2015-10-08 14:48:08', '1', null, '美味', '0', '106', null, '0', '0', '1000', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10167', '1', '美味月饼', '10.00', '9.00', '/Public/img/goods/23.jpg', null, '2015-10-08 14:38:11', '1', null, '美味', '0', '105', null, '0', '0', '100', '0', '非常美味的月饼等你来拿', null, '0'); +INSERT INTO `food` VALUES ('10178', '1', '美食美味', '10.00', '8.00', '/Public/img/goods/10584128_131324463183_2.jpg', null, '2015-10-08 14:12:58', '1', null, '美味', '0', '105', null, '0', '0', '100', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10179', '1', '美食美味', '10.00', '9.00', '/Public/img/goods/W020150327373576406347.jpg', null, '2015-10-08 14:35:35', '1', null, '美味', '0', '105', null, '0', '0', '100', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10186', '1', '牛奶面包', '1.00', '0.80', '/Public/img/goods/9280c8519530206c.jpg', null, '2015-09-07 22:12:20', '1', null, '面包,牛奶', '0', '202', null, '0', '0', '300', '1', null, 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '0'); +INSERT INTO `food` VALUES ('10186', '2', '牛奶面包', '1.00', '0.80', '/Public/img/goods/9280c8519530206c.jpg', null, '2015-09-07 22:12:20', '1', null, '面包,牛奶', '0', '202', null, '0', '0', '500', '1', null, 'http://www.deskcar.com/desktop/fengjing/2011520220338/5.jpg', '0'); +INSERT INTO `food` VALUES ('10187', '1', '奶酪', '10.30', '10.20', '/Public/img/goods/23.jpg', ',http://120.26.76.252:8080/ForyouImage/food/1442378209444-1199442901.jpghttp://120.26.76.252:8080/ForyouImage/food/1442378209465-773970341.jpghttp://120.26.76.252:8080/ForyouImage/food/1442379423069-22880260.jpg,http://120.26.76.252:8080/ForyouImage/food/14423797089811084184477.jpg', '2015-09-16 12:12:41', '1', null, '', '0', '106', null, '0', '0', '600', '0', '', null, '1'); +INSERT INTO `food` VALUES ('10187', '2', '奶酪', '10.30', '10.20', '/Public/img/goods/23.jpg', ',http://120.26.76.252:8080/ForyouImage/food/1442378209444-1199442901.jpghttp://120.26.76.252:8080/ForyouImage/food/1442378209465-773970341.jpghttp://120.26.76.252:8080/ForyouImage/food/1442379423069-22880260.jpg,http://120.26.76.252:8080/ForyouImage/food/14423797089811084184477.jpg', '2015-09-16 12:12:41', '1', null, '', '0', '106', null, '0', '0', '500', '0', '', null, '1'); +INSERT INTO `food` VALUES ('10188', '1', '牛奶', '10.60', '10.00', '/Public/img/goods/10584128_131324463183_2.jpg', null, '2015-09-07 16:55:28', '1', null, '牛奶,饮料', '0', '105', null, '0', '0', '700', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10188', '2', '牛奶', '10.60', '10.00', '/Public/img/goods/10584128_131324463183_2.jpg', null, '2015-09-07 16:55:28', '1', null, '牛奶,饮料', '0', '105', null, '0', '0', '500', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10198', '1', '奶酪', '19.00', '18.00', '/Public/img/goods/10584128_131324463183_2.jpg', null, '2015-09-14 12:54:23', '1', null, '', '0', '106', null, '0', '0', '700', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10198', '2', '奶酪', '19.00', '18.00', '/Public/img/goods/10584128_131324463183_2.jpg', null, '2015-09-14 12:54:23', '1', null, '', '0', '106', null, '0', '0', '500', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10199', '1', '雪碧', '3.80', '3.40', '/Public/img/goods/W020150327373576406347.jpg', null, '2015-09-14 12:47:01', '1', null, '', '0', '105', null, '0', '0', '300', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10199', '2', '雪碧', '3.80', '3.40', '/Public/img/goods/W020150327373576406347.jpg', null, '2015-09-14 12:47:01', '1', null, '', '0', '105', null, '0', '1', '500', '0', null, null, '0'); +INSERT INTO `food` VALUES ('10201', '1', '双汇香辣香脆肠 35g', '1.20', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:03:36', '1', null, '速食,火腿,香肠', '0', '102', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10201', '2', '双汇香辣香脆肠 35g', '1.20', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:03:36', '1', null, '速食,火腿,香肠', '0', '102', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10202', '1', '乡巴佬卤蛋30g', '1.50', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:02:25', '1', null, '卤蛋,速食', '1', '102', null, '16', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10202', '2', '乡巴佬卤蛋30g', '1.50', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:02:25', '1', null, '卤蛋,速食', '1', '102', null, '16', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10203', '1', '双汇玉米热狗肠40g 单支', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:03:23', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10203', '2', '双汇玉米热狗肠40g 单支', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:03:23', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10204', '1', '劲辣鸭脖23g', '1.50', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 22:36:07', '1', null, '辣食,速食,鸭脖', '1', '102', null, '27', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10204', '2', '劲辣鸭脖23g', '1.50', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 22:36:07', '1', null, '辣食,速食,鸭脖', '1', '102', null, '27', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10205', '1', '双汇台式香肠48g', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:06:49', '1', null, '香肠,火腿,速食', '0', '102', null, '14', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10205', '2', '双汇台式香肠48g', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:06:49', '1', null, '香肠,火腿,速食', '0', '102', null, '14', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10206', '1', '双汇润口香甜玉米香肠30g*9', '8.00', '7.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:08:09', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '202', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10206', '2', '双汇润口香甜玉米香肠30g*9', '8.00', '7.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:08:09', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '202', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10207', '1', '双汇Q趣火腿肠85g', '2.00', '1.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:09:39', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '24', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10207', '2', '双汇Q趣火腿肠85g', '2.00', '1.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 10:09:39', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '24', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10208', '1', '双汇王中王袋装30g*9', '9.50', '7.60', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 20:28:48', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '12', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10208', '2', '双汇王中王袋装30g*9', '9.50', '7.60', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 20:28:48', '1', null, '火腿肠,烤肠,肠,速食', '0', '102', null, '12', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10209', '1', '统一老坛酸菜牛肉面桶装 速食 方便面', '4.00', '3.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:56:24', '1', null, '泡面,方便面,速食', '1', '102', null, '5', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10209', '2', '统一老坛酸菜牛肉面桶装 速食 方便面', '4.00', '3.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:56:24', '1', null, '泡面,方便面,速食', '1', '102', null, '5', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10210', '1', '康师傅老坛泡椒竹笋鸡面 115g 桶装', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:12:04', '1', null, '泡面,方便面,速食', '1', '102', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10210', '2', '康师傅老坛泡椒竹笋鸡面 115g 桶装', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:12:04', '1', null, '泡面,方便面,速食', '1', '102', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10211', '1', '统一来一桶 精炖番茄牛肉面 108g', '4.00', '3.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 16:08:10', '1', null, '泡面,方便面,速食', '1', '102', null, '15', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10211', '2', '统一来一桶 精炖番茄牛肉面 108g', '4.00', '3.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 16:08:10', '1', null, '泡面,方便面,速食', '1', '102', null, '15', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10212', '1', '康师傅 老陈醋 酸辣牛肉面 118g 桶装', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 16:10:58', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10212', '2', '康师傅 老陈醋 酸辣牛肉面 118g 桶装', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 16:10:58', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10213', '1', '康师傅 爱鲜大餐 秘制辣牛肉面', '6.00', '5.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 16:15:11', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10213', '2', '康师傅 爱鲜大餐 秘制辣牛肉面', '6.00', '5.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 16:15:11', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10214', '1', '康师傅 爱鲜大餐 精炖排骨面', '6.00', '5.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:43:32', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10214', '2', '康师傅 爱鲜大餐 精炖排骨面', '6.00', '5.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:43:32', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10215', '1', '光华 粉丝馆 够味酸辣粉', '4.50', '3.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:46:39', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10215', '2', '光华 粉丝馆 够味酸辣粉', '4.50', '3.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:46:39', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10216', '1', '康师傅 爱鲜大餐 上汤炖鸡面', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:48:42', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10216', '2', '康师傅 爱鲜大餐 上汤炖鸡面', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:48:42', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10217', '1', '康师傅 老坛泡椒牛肉面 过瘾酸辣味 桶装', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:52:45', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10217', '2', '康师傅 老坛泡椒牛肉面 过瘾酸辣味 桶装', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:52:45', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10218', '1', '康师傅 鲜香菇 鸡蛋打卤面', '4.00', '3.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:55:22', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '2', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10218', '2', '康师傅 鲜香菇 鸡蛋打卤面', '4.00', '3.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-14 18:55:22', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '2', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10219', '1', '康师傅 鲜虾鱼板面 桶装', '4.00', '3.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-15 14:39:54', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '17', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10219', '2', '康师傅 鲜虾鱼板面 桶装', '4.00', '3.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-15 14:39:54', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '17', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10220', '1', '康师傅 经典红烧排骨面桶装', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-23 22:47:55', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '17', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10220', '2', '康师傅 经典红烧排骨面桶装', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-23 22:47:55', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '17', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10221', '1', '康师傅 海鲜豚骨面 骨汤浓海鲜味', '4.00', '3.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-15 14:52:14', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '42', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10221', '2', '康师傅 海鲜豚骨面 骨汤浓海鲜味', '4.00', '3.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-15 14:52:14', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '42', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10222', '1', '统一来一桶 老坛酸菜鱼面', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-15 14:45:00', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '30', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10222', '2', '统一来一桶 老坛酸菜鱼面', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-15 14:45:00', '1', null, '泡面,方便面,速食,桶装', '1', '102', null, '30', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10278', '1', '蛋糕', '11.00', '10.80', '/Public/img/goods/10584128_131324463183_2.jpg', null, '2015-10-08 14:59:10', '1', null, '蛋糕', '0', '105', null, '0', '0', '100', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10301', '1', '亲嘴烧 卫龙', '1.00', '0.40', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:52:52', '1', null, '辣条,豆干,方便速食,爆款', '1', '103', null, '264', '1', '4202', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10301', '2', '亲嘴烧 卫龙', '1.00', '0.40', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:52:52', '1', null, '辣条,豆干,方便速食,爆款', '1', '103', null, '264', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10302', '1', '卫龙辣条 128g', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-28 23:59:41', '1', null, '辣条,豆干,方便速食', '1', '103', null, '42', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10302', '2', '卫龙辣条 128g', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-28 23:59:41', '1', null, '辣条,豆干,方便速食', '1', '103', null, '42', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10401', '1', '甜玉米 香肠 45g', '1.50', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:13:35', '1', null, '香肠,火腿,速食,肉干肉脯', '1', '104', null, '13', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10401', '2', '甜玉米 香肠 45g', '1.50', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:13:35', '1', null, '香肠,火腿,速食,肉干肉脯', '1', '104', null, '13', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10402', '1', '双汇王中王 火腿 35g', '1.00', '0.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:21:41', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款', '0', '104', null, '10', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10402', '2', '双汇王中王 火腿 35g', '1.00', '0.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:21:41', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款', '0', '104', null, '10', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10403', '1', '双汇王中王 火腿 70g', '2.00', '1.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:11:25', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '6', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10403', '2', '双汇王中王 火腿 70g', '2.00', '1.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:11:25', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10404', '1', '润口香甜王 香肠 48g', '1.00', '0.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:12:59', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '5', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10404', '2', '润口香甜王 香肠 48g', '1.00', '0.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:12:59', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '5', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10405', '1', '双汇鸡肉肠 70g', '1.20', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:14:39', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10405', '2', '双汇鸡肉肠 70g', '1.20', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:14:39', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10406', '1', '润口香甜王 香肠 95g', '2.50', '2.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:16:47', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '104', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10406', '2', '润口香甜王 香肠 95g', '2.50', '2.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:16:47', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '104', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10407', '1', '双汇 肉花肠 90g', '2.00', '1.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:48:29', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10407', '2', '双汇 肉花肠 90g', '2.00', '1.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:48:29', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10408', '1', '双汇 汇享来 火腿肠 150g', '2.50', '2.30', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:51:43', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '104', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10408', '2', '双汇 汇享来 火腿肠 150g', '2.50', '2.30', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:51:43', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '104', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10409', '1', '泡面拍档 香肠 90g', '2.50', '2.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:16:07', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '14', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10409', '2', '泡面拍档 香肠 90g', '2.50', '2.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:16:07', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '14', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10410', '1', '弹脆 香肠 70g', '2.00', '1.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:58:52', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '104', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10410', '2', '弹脆 香肠 70g', '2.00', '1.80', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 15:58:52', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '104', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10411', '1', '双汇 香辣香脆肠', '1.50', '1.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:00:47', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '89', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10411', '2', '双汇 香辣香脆肠', '1.50', '1.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:00:47', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '89', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10412', '1', '双汇 玉米热狗肠', '1.20', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:07:03', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '6', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10412', '2', '双汇 玉米热狗肠', '1.20', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:07:03', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10413', '1', '双汇 润口香甜王 玉米风味香肠 一包', '8.00', '7.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:10:59', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '17', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10413', '2', '双汇 润口香甜王 玉米风味香肠 一包', '8.00', '7.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:10:59', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '17', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10414', '1', '双汇 泡面拍档 香肠 一包', '7.00', '6.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:30:24', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款', '1', '104', null, '131', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10414', '2', '双汇 泡面拍档 香肠 一包', '7.00', '6.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:30:24', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款', '1', '104', null, '131', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10415', '1', '双汇 蒜蓉烤肠 105g', '3.50', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:14:49', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '6', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10415', '2', '双汇 蒜蓉烤肠 105g', '3.50', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:14:49', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10416', '1', '吾必香 爆蜡 鸭脖 20g', '1.50', '1.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:17:22', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10416', '2', '吾必香 爆蜡 鸭脖 20g', '1.50', '1.30', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:17:22', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '1', '104', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10418', '1', '乡巴佬 卤蛋', '1.50', '1.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:18:49', '1', null, '火腿肠,卤蛋,烤肠,肠,速食,肉干肉脯', '1', '104', null, '26', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10418', '2', '乡巴佬 卤蛋', '1.50', '1.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-20 16:18:49', '1', null, '火腿肠,卤蛋,烤肠,肠,速食,肉干肉脯', '1', '104', null, '26', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10501', '1', '乐天 草莓牛奶200ml 韩国进口', '6.50', '6.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:15:18', '1', null, '牛奶,进口,特色', '1', '105', null, '3', '1', '4205', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10501', '2', '乐天 草莓牛奶200ml 韩国进口', '6.50', '6.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:15:18', '1', null, '牛奶,进口,特色', '1', '105', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10502', '1', '乐天巧克力牛奶 200ml 韩国进口', '6.50', '6.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:16:47', '1', null, '牛奶,进口,特色', '1', '105', null, '106', '1', '4102', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10502', '2', '乐天巧克力牛奶 200ml 韩国进口', '6.50', '6.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:16:47', '1', null, '牛奶,进口,特色', '1', '105', null, '106', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10503', '1', '乐天香蕉牛奶 200ml 韩国进口', '6.50', '6.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:18:13', '1', null, '牛奶,进口,特色', '1', '105', null, '13201', '1', '-8993', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10503', '2', '乐天香蕉牛奶 200ml 韩国进口', '6.50', '6.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:18:13', '1', null, '牛奶,进口,特色', '1', '105', null, '13200', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10504', '1', '绿力500 芒果汁 490ml', '6.00', '5.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:56:32', '1', null, '进口,咖啡饮料,特色', '1', '105', null, '14', '1', '4197', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10504', '2', '绿力500 芒果汁 490ml', '6.00', '5.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:56:32', '1', null, '进口,咖啡饮料,特色', '1', '105', null, '14', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10505', '1', '明屋木瓜牛奶', '10.00', '9.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:58:31', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '105', null, '40', '1', '4175', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10505', '2', '明屋木瓜牛奶', '10.00', '9.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:58:31', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '105', null, '40', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10506', '1', '葡萄干曲奇饼干 90g', '10.00', '8.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:29:26', '1', null, '进口,饼干糕点,热卖', '1', '105', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10506', '2', '葡萄干曲奇饼干 90g', '10.00', '8.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:29:26', '1', null, '进口,饼干糕点,热卖', '1', '105', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10507', '1', '7D芒果干 100g', '8.50', '7.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:31:45', '1', null, '进口,特色,糖果', '1', '105', null, '19', '1', '4197', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10507', '2', '7D芒果干 100g', '8.50', '7.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 09:31:45', '1', null, '进口,特色,糖果', '1', '105', null, '19', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10601', '1', '黄桃水罐头 500g (该商品当天送达)', '19.00', '17.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:06:37', '1', null, '进口,饮料,特色', '1', '106', null, '4', '1', '4206', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10601', '2', '黄桃水罐头 500g (该商品当天送达)', '19.00', '17.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:06:37', '1', null, '进口,饮料,特色', '1', '106', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10602', '1', '菠萝糖水罐头 210g(该商品当天送达)', '17.00', '15.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:06:53', '1', null, '进口,饮料,特色', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10602', '2', '菠萝糖水罐头 210g(该商品当天送达)', '17.00', '15.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:06:53', '1', null, '进口,饮料,特色', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10603', '1', '香辣小银鱼 200g(该商品当天送达)', '22.00', '20.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:04', '1', null, '进口,饮料,特色', '1', '106', null, '4', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10603', '2', '香辣小银鱼 200g(该商品当天送达)', '22.00', '20.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:04', '1', null, '进口,饮料,特色', '1', '106', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10604', '1', '椰蓉香蕉饼 200g(该商品当天送达)', '23.00', '20.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:15', '1', null, '进口,饮料,特色', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10604', '2', '椰蓉香蕉饼 200g(该商品当天送达)', '23.00', '20.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:15', '1', null, '进口,饮料,特色', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10605', '1', '铁板奶酪鱿鱼丝 150g(该商品当天送达)', '22.00', '19.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:37', '1', null, '进口,饮料,特色', '1', '106', null, '6', '1', '4205', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10605', '2', '铁板奶酪鱿鱼丝 150g(该商品当天送达)', '22.00', '19.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:37', '1', null, '进口,饮料,特色', '1', '106', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10607', '1', '蔓越莓沙琪玛 205g(该商品当天送达)', '23.00', '21.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:51', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10607', '2', '蔓越莓沙琪玛 205g(该商品当天送达)', '23.00', '21.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:07:51', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10608', '1', '蜜汁猪肉脯 250g(该商品当天送达)', '25.00', '23.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:08:02', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10608', '2', '蜜汁猪肉脯 250g(该商品当天送达)', '25.00', '23.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:08:02', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10609', '1', '椰蓉糯米糕 380g(该商品当天送达)', '22.00', '20.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:08:14', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10609', '2', '椰蓉糯米糕 380g(该商品当天送达)', '22.00', '20.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:08:14', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10610', '1', '酸奶条 230g(该商品当天送达)', '21.00', '19.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:08:29', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10610', '2', '酸奶条 230g(该商品当天送达)', '21.00', '19.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:08:29', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10611', '1', '山楂球 280g(该商品当天送达)', '17.00', '15.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:14:52', '1', null, '进口,特色,糖果', '1', '106', null, '4', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10611', '2', '山楂球 280g(该商品当天送达)', '17.00', '15.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:14:52', '1', null, '进口,特色,糖果', '1', '106', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10612', '1', '香蕉片 200g(该商品当天送达)', '14.50', '14.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:14:41', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10612', '2', '香蕉片 200g(该商品当天送达)', '14.50', '14.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:14:41', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10613', '1', '综合蔬果干 145g(该商品当天送达)', '21.00', '19.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:14:31', '1', null, '进口,特色,糖果', '1', '106', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10613', '2', '综合蔬果干 145g(该商品当天送达)', '21.00', '19.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:14:31', '1', null, '进口,特色,糖果', '1', '106', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10614', '1', '肉松卷(一罐9个)180g', '19.00', '17.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 13:57:24', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10614', '2', '肉松卷(一罐9个)180g', '19.00', '17.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 13:57:24', '1', null, '进口,特色,糖果', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10615', '1', '独家牛肉 100g', '22.00', '20.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 13:58:48', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10615', '2', '独家牛肉 100g', '22.00', '20.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 13:58:48', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10617', '1', '香辣鳗鱼丝 200g', '22.00', '20.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:00:17', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10617', '2', '香辣鳗鱼丝 200g', '22.00', '20.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:00:17', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10618', '1', 'QQ金钱肉 250g', '28.00', '26.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:02:30', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10618', '2', 'QQ金钱肉 250g', '28.00', '26.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:02:30', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10619', '1', '水果燕麦片 240g', '23.00', '20.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:03:18', '1', null, '进口,饮料,特色', '1', '106', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10619', '2', '水果燕麦片 240g', '23.00', '20.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:03:18', '1', null, '进口,饮料,特色', '1', '106', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10620', '1', '花姑娘果脯 250g', '23.00', '22.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:04:04', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10620', '2', '花姑娘果脯 250g', '23.00', '22.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:04:04', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10621', '1', '甜甜圈 210g', '22.00', '20.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:05:09', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10621', '2', '甜甜圈 210g', '22.00', '20.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:05:09', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10622', '1', '半边梅 250g', '17.00', '15.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:05:59', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10622', '2', '半边梅 250g', '17.00', '15.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:05:59', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10623', '1', '小金桔 280g', '18.00', '15.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:06:47', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '4', '1', '4205', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10623', '2', '小金桔 280g', '18.00', '15.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:06:47', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10624', '1', '酸奶梅 280g', '19.00', '17.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:07:31', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '51', '1', '4159', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10624', '2', '酸奶梅 280g', '19.00', '17.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:07:31', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '51', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10625', '1', '牛奶吐司 170g', '21.00', '19.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:08:18', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '17', '1', '4192', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10625', '2', '牛奶吐司 170g', '21.00', '19.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 14:08:18', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '17', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10626', '1', '冻玉米干 100g', '19.00', '15.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 22:33:18', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '37', '1', '4172', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10626', '2', '冻玉米干 100g', '19.00', '15.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 22:33:18', '1', null, '进口,特色,糖果,肉干肉脯', '1', '106', null, '37', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10701', '1', '格力高 百奇巧克力味45g', '6.00', '5.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:21:23', '1', null, '进口,饼干糕点,热卖', '1', '107', null, '23', '1', '4187', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10701', '2', '格力高 百奇巧克力味45g', '6.00', '5.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:21:23', '1', null, '进口,饼干糕点,热卖', '1', '107', null, '23', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10702', '1', '格力高 百奇抹茶味45g', '6.00', '5.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:23:37', '1', null, '进口,饼干糕点,特色', '1', '107', null, '4', '1', '4204', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10702', '2', '格力高 百奇抹茶味45g', '6.00', '5.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:23:37', '1', null, '进口,饼干糕点,特色', '1', '107', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10703', '1', '格力高 百奇牛奶草莓味45g', '6.00', '5.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:25:36', '1', null, '进口,饼干糕点,特色', '1', '107', null, '1', '1', '4207', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10703', '2', '格力高 百奇牛奶草莓味45g', '6.00', '5.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:25:36', '1', null, '进口,饼干糕点,特色', '1', '107', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10704', '1', '格力高 百奇蓝莓树莓味45g', '6.00', '5.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:26:53', '1', null, '进口,饼干糕点,特色', '1', '107', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10704', '2', '格力高 百奇蓝莓树莓味45g', '6.00', '5.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:26:53', '1', null, '进口,饼干糕点,特色', '1', '107', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10705', '1', '好丽友蛋黄派 2枚/盒 46g', '5.00', '4.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:33:19', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '107', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10705', '2', '好丽友蛋黄派 2枚/盒 46g', '5.00', '4.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:33:19', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '107', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10706', '1', '2包 宗味斋 原味蜜汁豆干', '3.00', '2.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:47:28', '1', null, '休闲,辣条豆干,肉干肉脯', '1', '107', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10706', '2', '2包 宗味斋 原味蜜汁豆干', '3.00', '2.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:47:28', '1', null, '休闲,辣条豆干,肉干肉脯', '1', '107', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10707', '1', '2包 旺友山椒花生', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:48:48', '1', null, '休闲,辣条豆干,肉干肉脯', '1', '107', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10707', '2', '2包 旺友山椒花生', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:48:48', '1', null, '休闲,辣条豆干,肉干肉脯', '1', '107', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10708', '1', '2包 真之味 鸡蛋干', '2.00', '1.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:50:08', '1', null, '休闲,辣条豆干,肉干肉脯', '1', '107', null, '11', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10708', '2', '2包 真之味 鸡蛋干', '2.00', '1.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:50:08', '1', null, '休闲,辣条豆干,肉干肉脯', '1', '107', null, '11', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10709', '1', '2包 友臣肉松饼', '3.00', '2.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:51:41', '1', null, '休闲,肉干肉脯,特色', '1', '107', null, '23', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10709', '2', '2包 友臣肉松饼', '3.00', '2.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:51:41', '1', null, '休闲,肉干肉脯,特色', '1', '107', null, '23', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10710', '1', '老北京蜂蜜枣糕', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:55:42', '1', null, '休闲,饼干糕点,特色,爆款', '1', '107', null, '18', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10710', '2', '老北京蜂蜜枣糕', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:55:42', '1', null, '休闲,饼干糕点,特色,爆款', '1', '107', null, '18', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10711', '1', '乐事忠于原味 桶装104g', '8.50', '7.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:57:12', '1', null, '薯片,糕点,坚果炒货,爆款', '1', '107', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10711', '2', '乐事忠于原味 桶装104g', '8.50', '7.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:57:12', '1', null, '薯片,糕点,坚果炒货,爆款', '1', '107', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10712', '1', '采纳膜片 50g', '2.00', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:54:21', '1', null, '休闲,肉干肉脯,特色,坚果炒货', '1', '107', null, '4', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10712', '2', '采纳膜片 50g', '2.00', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:54:21', '1', null, '休闲,肉干肉脯,特色,坚果炒货', '1', '107', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10713', '1', '洽洽香瓜子 110g', '3.50', '3.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 17:18:29', '1', null, '坚果炒货,糖果布丁,特色', '1', '107', null, '15', '1', '4205', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10713', '2', '洽洽香瓜子 110g', '3.50', '3.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 17:18:29', '1', null, '坚果炒货,糖果布丁,特色', '1', '107', null, '15', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10714', '1', '洽洽喀吱脆 老坛酸菜味51g一包', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:49:19', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '107', null, '13', '1', '4195', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10714', '2', '洽洽喀吱脆 老坛酸菜味51g一包', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:49:19', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '107', null, '13', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10715', '1', '洽洽喀吱脆 铁板烧烤味51g一包', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:51:32', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '107', null, '20', '1', '4193', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10715', '2', '洽洽喀吱脆 铁板烧烤味51g一包', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 23:51:32', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '107', null, '20', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10716', '1', '洽洽喀吱脆 纯香紫薯味51g一包', '3.50', '3.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:21:09', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '37', '1', '4172', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10716', '2', '洽洽喀吱脆 纯香紫薯味51g一包', '3.50', '3.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:21:09', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '37', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('10718', '1', '旺旺 仙贝520g', '22.00', '20.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:22:14', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '4', '1', '4205', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10718', '2', '旺旺 仙贝520g', '22.00', '20.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:22:14', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10719', '1', '旺旺 雪饼520g', '22.00', '20.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:23:04', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10719', '2', '旺旺 雪饼520g', '22.00', '20.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:23:04', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10720', '1', '咪咪', '0.70', '0.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:26:40', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '107', null, '73', '1', '4190', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10720', '2', '咪咪', '0.70', '0.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:26:40', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '107', null, '61', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10721', '1', '农心洋葱圈 70g 韩国进口', '7.50', '6.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:29:53', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '28', '1', '4183', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10721', '2', '农心洋葱圈 70g 韩国进口', '7.50', '6.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:29:53', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '107', null, '27', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10722', '1', '咪咪 40包', '20.00', '18.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:33:27', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '107', null, '137', '1', '4072', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('10722', '2', '咪咪 40包', '20.00', '18.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 00:33:27', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '107', null, '73', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('11111', '1', '唐僧肉', '999.00', '99.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-07-29 11:49:05', '1', null, '肉类', '0', '111', '88.00', '0', '0', '4208', '0', null, null, '0'); +INSERT INTO `food` VALUES ('11111', '2', '唐僧肉', '999.00', '99.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-07-29 11:49:05', '1', null, '肉类', '0', '111', '88.00', '0', '0', '500', '0', null, null, '0'); +INSERT INTO `food` VALUES ('19999', '2', '葡萄干', '8.00', '7.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://localhost:8080/ForyouImage/food/14415281877971852837910.jpg', '2015-09-06 16:29:50', '1', null, '', '0', '501', '6.00', '13', '0', '487', '0', null, null, '0'); +INSERT INTO `food` VALUES ('20101', '1', '可口可乐 600ml', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:55:34', '1', null, '可乐,咖啡饮料,雪碧,水', '1', '201', null, '5', '1', '4206', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20101', '2', '可口可乐 600ml', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:55:34', '1', null, '可乐,咖啡饮料,雪碧,水', '1', '201', null, '5', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20102', '1', '雪碧柠檬味 330ml*6', '12.50', '10.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:57:17', '1', null, '可乐,饮料,柠檬,雪碧', '0', '201', null, '60', '1', '4148', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20102', '2', '雪碧柠檬味 330ml*6', '12.50', '10.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:57:17', '1', null, '可乐,饮料,柠檬,雪碧', '0', '201', null, '51', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20103', '1', '可口可乐原味迷你装300ml', '2.50', '1.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:13:26', '1', null, '可乐,咖啡饮料', '1', '201', null, '124', '1', '4084', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20103', '2', '可口可乐原味迷你装300ml', '2.50', '1.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-06 16:13:26', '1', null, '可乐,咖啡饮料', '1', '201', null, '98', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20104', '1', '雪碧600ml', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:56:06', '1', null, '可乐,咖啡饮料,雪碧', '1', '201', null, '33', '1', '4194', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20104', '2', '雪碧600ml', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:56:06', '1', null, '可乐,咖啡饮料,雪碧', '1', '201', null, '33', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20105', '1', '可口可乐罐装330ml', '2.30', '1.90', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 18:42:40', '1', null, '可乐,饮料', '1', '201', null, '19', '1', '4202', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20105', '2', '可口可乐罐装330ml', '2.30', '1.90', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 18:42:40', '1', null, '可乐,饮料', '1', '201', null, '19', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20106', '1', '雪碧罐装330ml', '2.50', '2.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 20:31:54', '1', null, '碳酸饮料,饮料,水', '1', '201', null, '76', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20106', '2', '雪碧罐装330ml', '2.50', '2.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 20:31:54', '1', null, '碳酸饮料,饮料,水', '1', '201', null, '76', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20107', '1', '百事可乐600ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:10:11', '1', null, '可乐,饮料,百事', '1', '201', '2.50', '50', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20107', '2', '百事可乐600ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:10:11', '1', null, '可乐,饮料,百事', '1', '201', '2.50', '50', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20108', '1', '百事可乐罐装330ml 产品有更新,随机发货哦', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:35:00', '1', null, '可乐,饮料,百事', '1', '201', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20108', '2', '百事可乐罐装330ml 产品有更新,随机发货哦', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:35:00', '1', null, '可乐,饮料,百事', '1', '201', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20109', '1', '芬达 碳酸饮料 橙味罐装330ml', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:36:27', '1', null, '可乐,饮料,雪碧,水', '1', '201', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20109', '2', '芬达 碳酸饮料 橙味罐装330ml', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:36:27', '1', null, '可乐,饮料,雪碧,水', '1', '201', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20110', '1', '雪碧 2L/瓶', '8.00', '6.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:18:25', '1', null, '可乐,饮料,雪碧,水', '1', '201', null, '12', '1', '4205', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20110', '2', '雪碧 2L/瓶', '8.00', '6.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:18:25', '1', null, '可乐,饮料,雪碧,水', '1', '201', null, '12', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20111', '1', '百事可乐2L/瓶 一瓶', '8.00', '6.90', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:55:05', '1', null, '可乐,咖啡饮料,雪碧,水', '1', '201', null, '8', '1', '4207', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20111', '2', '百事可乐2L/瓶 一瓶', '8.00', '6.90', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 09:55:05', '1', null, '可乐,咖啡饮料,雪碧,水', '1', '201', null, '8', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20112', '1', '芬达 橙味碳酸饮料600ml 一瓶', '3.00', '2.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:19:21', '1', null, '可乐,饮料,雪碧,水', '1', '201', null, '42', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20112', '2', '芬达 橙味碳酸饮料600ml 一瓶', '3.00', '2.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:19:21', '1', null, '可乐,饮料,雪碧,水', '1', '201', null, '42', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20201', '1', '康师傅经典奶茶500ml', '3.30', '2.70', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:23:49', '1', null, '奶茶', '0', '202', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20201', '2', '康师傅经典奶茶500ml', '3.30', '2.70', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:23:49', '1', null, '奶茶', '0', '202', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20202', '1', '统一冰红茶500m', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:27:32', '1', null, '可乐,饮料', '0', '202', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20202', '2', '统一冰红茶500m', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:27:32', '1', null, '可乐,饮料', '0', '202', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20203', '1', '统一阿萨姆奶茶500ml', '3.60', '2.90', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:33:22', '1', null, '饮料', '0', '202', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20203', '2', '统一阿萨姆奶茶500ml', '3.60', '2.90', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:33:22', '1', null, '饮料', '0', '202', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20204', '1', '统一绿茶500ml 一瓶', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 03:56:14', '1', null, '饮料,茶饮,水,统一', '0', '202', null, '4', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20204', '2', '统一绿茶500ml 一瓶', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 03:56:14', '1', null, '饮料,茶饮,水,统一', '0', '202', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20205', '1', '康师傅茉莉蜜茶500ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:04:33', '1', null, '饮料,茶饮,水,康师傅', '1', '202', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20205', '2', '康师傅茉莉蜜茶500ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:04:33', '1', null, '饮料,茶饮,水,康师傅', '1', '202', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20206', '1', '天喔蜂蜜柚子茶500ml', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 03:59:15', '1', null, '饮料,茶饮,水,康师傅', '0', '202', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20206', '2', '天喔蜂蜜柚子茶500ml', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 03:59:15', '1', null, '饮料,茶饮,水,康师傅', '0', '202', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20207', '1', '农夫山泉水溶C100(西柚)445ml 一瓶', '4.50', '4.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:03:12', '1', null, '饮料,果味饮品,水,农夫山泉', '1', '202', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20207', '2', '农夫山泉水溶C100(西柚)445ml 一瓶', '4.50', '4.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:03:12', '1', null, '饮料,果味饮品,水,农夫山泉', '1', '202', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20208', '1', '加多宝凉茶310ml', '4.00', '3.60', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:06:38', '1', null, '凉茶,水,饮料', '1', '202', null, '6', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20208', '2', '加多宝凉茶310ml', '4.00', '3.60', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:06:38', '1', null, '凉茶,水,饮料', '1', '202', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20209', '1', '康师傅冰红茶1L 产品略有更新,随机发货哦', '4.50', '4.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:54:55', '1', null, '饮料,茶饮,水,康师傅', '1', '202', null, '30', '1', '4196', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20209', '2', '康师傅冰红茶1L 产品略有更新,随机发货哦', '4.50', '4.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:54:55', '1', null, '饮料,茶饮,水,康师傅', '1', '202', null, '18', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20210', '1', '康师傅劲凉冰红茶600ml 产品有更新,随机发货哦', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:23:51', '1', null, '饮料,茶饮,水,康师傅', '1', '202', null, '6', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20210', '2', '康师傅劲凉冰红茶600ml 产品有更新,随机发货哦', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:23:51', '1', null, '饮料,茶饮,水,康师傅', '1', '202', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20211', '1', '康师傅茉莉蜜茶 1L', '5.00', '4.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:02:49', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '4', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20211', '2', '康师傅茉莉蜜茶 1L', '5.00', '4.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:02:49', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20212', '1', '康师傅每日C 红葡萄500ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:03:52', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '6', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20212', '2', '康师傅每日C 红葡萄500ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:03:52', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20213', '1', '康师傅茉莉清茶 1L', '5.00', '4.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:05:42', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20213', '2', '康师傅茉莉清茶 1L', '5.00', '4.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:05:42', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20214', '1', '康师傅蜂蜜柚子茶 500ml', '3.00', '2.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:06:48', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20214', '2', '康师傅蜂蜜柚子茶 500ml', '3.00', '2.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:06:48', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20215', '1', '康师傅 冰糖雪梨500ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:07:54', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '2', '1', '4207', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20215', '2', '康师傅 冰糖雪梨500ml', '3.00', '2.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 11:07:54', '1', null, '咖啡饮料,维生素,水', '1', '202', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20216', '1', '冰红茶 1L', '4.50', '4.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:53:12', '1', null, '饮料,果汁,特色', '1', '202', null, '25', '1', '4199', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20216', '2', '冰红茶 1L', '4.50', '4.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:53:12', '1', null, '饮料,果汁,特色', '1', '202', null, '25', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20301', '1', '脉动500ml', '4.00', '3.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:17:39', '1', null, '饮料', '1', '203', null, '49', '1', '4170', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20301', '2', '脉动500ml', '4.00', '3.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-04 00:17:39', '1', null, '饮料', '1', '203', null, '45', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20302', '1', '红牛能量250ml', '6.00', '5.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:22:46', '1', null, '可乐,饮料', '1', '203', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20302', '2', '红牛能量250ml', '6.00', '5.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:22:46', '1', null, '可乐,饮料', '1', '203', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20303', '1', '中沃体质能量580ml', '3.90', '3.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:39:19', '1', null, '饮料', '0', '203', null, '27', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20303', '2', '中沃体质能量580ml', '3.90', '3.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-06 15:39:19', '1', null, '饮料', '0', '203', null, '27', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20304', '1', '中沃苏打水350ml', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:46:14', '1', null, '水,饮料', '0', '203', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20304', '2', '中沃苏打水350ml', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:46:14', '1', null, '水,饮料', '0', '203', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20305', '1', '农夫维他命水功能饮料500ml', '3.90', '3.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:49:37', '1', null, '饮料,果味饮品,水,农夫山泉', '0', '203', null, '20', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20305', '2', '农夫维他命水功能饮料500ml', '3.90', '3.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:49:37', '1', null, '饮料,果味饮品,水,农夫山泉', '0', '203', null, '20', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20306', '1', '达利园乐虎功能饮料380ml 红牛口味', '6.00', '5.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:23:27', '1', null, '饮料,维生素,功能饮料,水', '1', '203', null, '5', '1', '4204', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20306', '2', '达利园乐虎功能饮料380ml 红牛口味', '6.00', '5.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:23:27', '1', null, '饮料,维生素,功能饮料,水', '1', '203', null, '5', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20307', '1', '东鹏特饮380ml', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:58:20', '1', null, '饮料,维生素,功能饮料,水', '1', '203', null, '10', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20307', '2', '东鹏特饮380ml', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 04:58:20', '1', null, '饮料,维生素,功能饮料,水', '1', '203', null, '10', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20308', '1', '黑卡6小时维生素果味饮料450ml', '6.00', '5.60', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 05:00:23', '1', null, '饮料,维生素,功能饮料,水', '0', '203', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20308', '2', '黑卡6小时维生素果味饮料450ml', '6.00', '5.60', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-18 05:00:23', '1', null, '饮料,维生素,功能饮料,水', '0', '203', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20309', '1', '娃哈哈启力维生素功能饮料250ml', '6.00', '5.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-29 00:04:04', '0', null, '饮料,维生素,功能饮料,水', '0', '203', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20309', '2', '娃哈哈启力维生素功能饮料250ml', '6.00', '5.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-29 00:04:04', '0', null, '饮料,维生素,功能饮料,水', '0', '203', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20310', '1', '尖叫550ml', '5.00', '4.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:29:25', '1', null, '咖啡饮料,维生素,功能饮料,水', '1', '203', null, '85', '1', '4125', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20310', '2', '尖叫550ml', '5.00', '4.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:29:25', '1', null, '咖啡饮料,维生素,功能饮料,水', '1', '203', null, '84', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20401', '1', '绿力500 水蜜桃汁 490ml', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:03:17', '1', null, '饮料,果汁,牛奶,特色', '1', '204', null, '5', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20401', '2', '绿力500 水蜜桃汁 490ml', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:03:17', '1', null, '饮料,果汁,牛奶,特色', '1', '204', null, '5', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20402', '1', '欢乐家 糖水桔子罐头460g', '9.50', '8.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 08:08:50', '1', null, '饮料,罐头,特色', '1', '204', null, '2', '1', '4206', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20402', '2', '欢乐家 糖水桔子罐头460g', '9.50', '8.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 08:08:50', '1', null, '饮料,罐头,特色', '1', '204', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20404', '1', '欢乐家冰糖雪梨罐头 460g', '9.50', '8.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 08:11:24', '1', null, '饮料,罐头,特色', '1', '204', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20404', '2', '欢乐家冰糖雪梨罐头 460g', '9.50', '8.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 08:11:24', '1', null, '饮料,罐头,特色', '1', '204', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20405', '1', '欢乐家生榨椰汁 500ml', '6.00', '5.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:37:36', '1', null, '饮料,果汁,牛奶,特色', '1', '204', null, '34', '1', '4194', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20405', '2', '欢乐家生榨椰汁 500ml', '6.00', '5.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:37:36', '1', null, '饮料,果汁,牛奶,特色', '1', '204', null, '34', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20406', '1', '欢乐家生榨芒果汁 500ml', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:36:24', '1', null, '饮料,果汁,牛奶,特色', '1', '204', null, '4', '1', '4204', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20406', '2', '欢乐家生榨芒果汁 500ml', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:36:24', '1', null, '饮料,果汁,牛奶,特色', '1', '204', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20407', '1', '汇源100%桃汁 1L', '15.00', '14.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:51:14', '1', null, '果汁,咖啡饮料,牛奶', '1', '204', null, '63', '1', '4156', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20407', '2', '汇源100%桃汁 1L', '15.00', '14.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:51:14', '1', null, '果汁,咖啡饮料,牛奶', '1', '204', null, '63', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20501', '1', '怡宝 555ml', '2.00', '1.60', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:12:08', '1', null, '饮料,矿泉水,爆款', '1', '205', null, '25', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20501', '2', '怡宝 555ml', '2.00', '1.60', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:12:08', '1', null, '饮料,矿泉水,爆款', '1', '205', null, '25', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20502', '1', '怡宝矿泉水 1555ml', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 07:49:51', '1', null, '饮料,纯净水', '0', '205', null, '9', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20502', '2', '怡宝矿泉水 1555ml', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 07:49:51', '1', null, '饮料,纯净水', '0', '205', null, '9', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20503', '1', '农夫山泉 矿泉水', '1.00', '0.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 17:14:15', '1', null, '饮料,果味饮品,水,农夫山泉,咖啡饮料', '1', '205', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20503', '2', '农夫山泉 矿泉水', '1.00', '0.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 17:14:15', '1', null, '饮料,果味饮品,水,农夫山泉,咖啡饮料', '1', '205', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20504', '1', '农夫山泉 矿泉水', '1.50', '1.30', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-19 23:35:03', '1', null, '饮料,果味饮品,水,农夫山泉', '1', '205', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20504', '2', '农夫山泉 矿泉水', '1.50', '1.30', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-19 23:35:03', '1', null, '饮料,果味饮品,水,农夫山泉', '1', '205', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20505', '1', '康师傅 矿泉水 ', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 17:21:04', '1', null, '饮料,茶饮,水,康师傅,咖啡饮料', '1', '205', null, '35', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20505', '2', '康师傅 矿泉水 ', '2.50', '2.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 17:21:04', '1', null, '饮料,茶饮,水,康师傅,咖啡饮料', '1', '205', null, '35', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20601', '1', '正宗椰树椰汁 245ml', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:37:25', '1', null, '饮料,茶饮,水,爆款', '1', '206', null, '24', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20601', '2', '正宗椰树椰汁 245ml', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:37:25', '1', null, '饮料,茶饮,水,爆款', '1', '206', null, '24', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20602', '1', '李子园牛奶 450ml', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:41:06', '1', null, '饮料,特色,水,牛奶', '1', '206', null, '14', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20602', '2', '李子园牛奶 450ml', '4.00', '3.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:41:06', '1', null, '饮料,特色,水,牛奶', '1', '206', null, '14', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20603', '1', '维他命香草味豆奶饮料一包 250ml', '3.50', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:46:04', '1', null, '饮料,茶饮,水,牛奶', '1', '206', null, '40', '1', '4171', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20603', '2', '维他命香草味豆奶饮料一包 250ml', '3.50', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:46:04', '1', null, '饮料,茶饮,水,牛奶', '1', '206', null, '40', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20604', '1', '真果粒牛奶饮品 20ml', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:49:14', '1', null, '饮料,牛奶,爆款,水,特色', '1', '206', null, '29', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20604', '2', '真果粒牛奶饮品 20ml', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:49:14', '1', null, '饮料,牛奶,爆款,水,特色', '1', '206', null, '29', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20605', '1', '真果粒牛奶 桃果味 250ml', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:51:16', '1', null, '饮料,茶饮,水,牛奶', '1', '206', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20605', '2', '真果粒牛奶 桃果味 250ml', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:51:16', '1', null, '饮料,茶饮,水,牛奶', '1', '206', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20606', '1', '奶特牛奶 朱古力口味 243ml', '4.50', '4.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:54:51', '1', null, '牛奶,饮料,水', '1', '206', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20606', '2', '奶特牛奶 朱古力口味 243ml', '4.50', '4.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:54:51', '1', null, '牛奶,饮料,水', '1', '206', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20607', '1', '光明纯牛奶 250ml', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:57:54', '1', null, '牛奶,饮料,特色,上新', '1', '206', '3.00', '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20607', '2', '光明纯牛奶 250ml', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:57:54', '1', null, '牛奶,饮料,特色,上新', '1', '206', '3.00', '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20608', '1', '蒙牛纯牛奶 250ml', '3.50', '3.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:00:12', '1', null, '牛奶,饮料,爆款,水', '1', '206', '3.00', '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20608', '2', '蒙牛纯牛奶 250ml', '3.50', '3.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:00:12', '1', null, '牛奶,饮料,爆款,水', '1', '206', '3.00', '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20609', '1', '娃哈哈 AD钙奶 220g', '2.00', '1.70', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:04:43', '1', null, '饮料,牛奶,爆款,打折,特色', '1', '206', null, '73', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20609', '2', '娃哈哈 AD钙奶 220g', '2.00', '1.70', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:04:43', '1', null, '饮料,牛奶,爆款,打折,特色', '1', '206', null, '73', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20610', '1', '爽歪歪 营养酸奶 200g', '2.00', '1.90', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:09:58', '1', null, '饮料,牛奶,特色', '1', '206', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20610', '2', '爽歪歪 营养酸奶 200g', '2.00', '1.90', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:09:58', '1', null, '饮料,牛奶,特色', '1', '206', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20611', '1', '绿力500 芒果汁 490ml', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:03:32', '1', null, '饮料,果汁,特色,进口', '1', '206', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20611', '2', '绿力500 芒果汁 490ml', '6.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:03:32', '1', null, '饮料,果汁,特色,进口', '1', '206', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20612', '1', '旺仔牛奶 245ml', '5.00', '4.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:11:38', '1', null, '牛奶,特色,饮料,', '1', '206', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20612', '2', '旺仔牛奶 245ml', '5.00', '4.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:11:38', '1', null, '牛奶,特色,饮料,', '1', '206', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20613', '1', '名屋木瓜牛奶 500ml', '10.00', '9.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:14:38', '1', null, '进口,牛奶,饮料,', '1', '206', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20613', '2', '名屋木瓜牛奶 500ml', '10.00', '9.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 01:14:38', '1', null, '进口,牛奶,饮料,', '1', '206', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20614', '1', '光明轻巧包 红枣风味酸奶', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:40:10', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '7', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20614', '2', '光明轻巧包 红枣风味酸奶', '3.50', '3.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:40:10', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '7', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20615', '1', '光明轻巧包 黑卡伦风味酸奶', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:41:21', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '9', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20615', '2', '光明轻巧包 黑卡伦风味酸奶', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:41:21', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '9', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20616', '1', '光明轻巧包 芦荟风味酸奶', '3.50', '3.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:43:52', '1', null, '饮料,果汁,牛奶,特色', '1', '206', null, '16', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20616', '2', '光明轻巧包 芦荟风味酸奶', '3.50', '3.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:43:52', '1', null, '饮料,果汁,牛奶,特色', '1', '206', null, '16', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20617', '1', '光明轻巧包 鲜牛奶', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:45:02', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '6', '1', '4204', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20617', '2', '光明轻巧包 鲜牛奶', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:45:02', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20618', '1', '光明一只椰子', '6.50', '6.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:48:01', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '14', '1', '4202', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20618', '2', '光明一只椰子', '6.50', '6.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 16:48:01', '1', null, '牛奶,进口,上新,咖饮料啡', '1', '206', null, '8', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('20701', '1', 'cass fresh beer 355ml(进口)', '9.00', '7.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:12:02', '1', null, '进口,咖啡饮料,特色', '1', '207', null, '2', '1', '4206', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20701', '2', 'cass fresh beer 355ml(进口)', '9.00', '7.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:12:02', '1', null, '进口,咖啡饮料,特色', '1', '207', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20702', '1', '德国黑啤 凯撒进口啤酒', '12.50', '10.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:14:07', '1', null, '进口,咖啡饮料,特色', '1', '207', null, '10', '1', '4198', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20702', '2', '德国黑啤 凯撒进口啤酒', '12.50', '10.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:14:07', '1', null, '进口,咖啡饮料,特色', '1', '207', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20703', '1', '雪花啤酒 330ml', '3.00', '2.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:15:33', '1', null, '咖啡饮料,啤酒', '1', '207', null, '18', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20703', '2', '雪花啤酒 330ml', '3.00', '2.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:15:33', '1', null, '咖啡饮料,啤酒', '1', '207', null, '18', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20704', '1', 'RIO 鸡尾酒 橙味伏加特 275ml', '13.00', '11.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:21:40', '1', null, '咖啡饮料,啤酒,特色', '1', '207', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('20704', '2', 'RIO 鸡尾酒 橙味伏加特 275ml', '13.00', '11.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 10:21:40', '1', null, '咖啡饮料,啤酒,特色', '1', '207', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('21701', '1', '宿舍厕所清洁', '10.00', '9.00', '/Public/img/goods/9280c8519530206c.jpg', null, '2015-10-04 12:49:05', '1', null, '清洁', '0', '217', null, '2', '1', '9998', '0', '还你一个清洁的宿舍', null, '1'); +INSERT INTO `food` VALUES ('21702', '1', '宿舍整体清洁', '20.00', '18.00', '/Public/img/goods/23.jpg', null, '2015-10-04 12:51:56', '1', null, '清洁', '0', '217', null, '13', '1', '9987', '0', '宿舍整体清洁,垃圾小强一网打尽', null, '1'); +INSERT INTO `food` VALUES ('21717', '1', '校园十月刊', '10.00', '9.80', '/Public/img/goods/23.jpg', null, '2015-10-04 13:02:36', '1', null, '刊物', '0', '4709', null, '2', '1', '998', '1', '详细的校园资讯告诉你不一样的消息', 'http://pic1.win4000.com/wallpaper/4/51a2cf7403d76.jpg', '1'); +INSERT INTO `food` VALUES ('21718', '1', '校园九月刊', '10.00', '9.80', '/Public/img/goods/10584128_131324463183_2.jpg', null, '2015-10-04 13:03:10', '1', null, '刊物', '0', '4709', null, '0', '1', '1000', '0', '提供校园刊物资讯,有你不知道的消息哦', null, '1'); +INSERT INTO `food` VALUES ('21720', '1', '五仁月饼', '11.00', '10.80', '/Public/img/goods/23.jpg', null, '2015-10-08 14:50:43', '1', null, '蛋糕', '0', '105', null, '0', '1', '100', '0', '美味蛋糕', null, '0'); +INSERT INTO `food` VALUES ('21801', '1', '快递代取', '5.00', '4.50', '/Public/img/goods/9280c8519530206c.jpg', null, '2015-10-04 12:54:35', '1', null, '快递', '0', '218', null, '3', '1', '9997', '0', '请在备注里表明快递的详细地址', null, '1'); +INSERT INTO `food` VALUES ('40101', '1', '好丽友呀!土豆 香焗原味70克', '6.00', '5.60', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:09:33', '1', null, '饼干,糕点,薯片,膨化', '1', '402', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40101', '2', '好丽友呀!土豆 香焗原味70克', '6.00', '5.60', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:09:33', '1', null, '饼干,糕点,薯片,膨化', '1', '402', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40102', '1', '盼盼麦香鸡块 105克', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:11:57', '1', null, '饼干,糕点,薯片,膨化', '1', '402', null, '25', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40102', '2', '盼盼麦香鸡块 105克', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:11:57', '1', null, '饼干,糕点,薯片,膨化', '1', '402', null, '25', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40103', '1', '董小姐 意式红烩味', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:07:24', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40103', '2', '董小姐 意式红烩味', '2.50', '2.20', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:07:24', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40104', '1', '董小姐 清新番茄味', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:08:00', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40104', '2', '董小姐 清新番茄味', '2.50', '2.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:08:00', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40105', '1', '董小姐 加勒比风情味', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:08:12', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '402', null, '12', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40105', '2', '董小姐 加勒比风情味', '2.50', '2.20', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:08:12', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '402', null, '12', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40106', '1', '董小姐 浓情烤肉味', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:08:29', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '18', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40106', '2', '董小姐 浓情烤肉味', '2.50', '2.20', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:08:29', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '18', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40107', '1', '麦维尔 拉面丸子(串烧味)一包', '2.00', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:00', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40107', '2', '麦维尔 拉面丸子(串烧味)一包', '2.00', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:00', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40108', '1', '麦维尔 拉面丸子(黑胡椒牛肉味)', '2.00', '1.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:17', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40108', '2', '麦维尔 拉面丸子(黑胡椒牛肉味)', '2.00', '1.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:17', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40109', '1', '麦维尔 拉面丸子(鸡汁味)', '2.00', '1.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:35', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40109', '2', '麦维尔 拉面丸子(鸡汁味)', '2.00', '1.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:35', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40110', '1', '麦小脆 拉面丸子(黑椒牛排味)', '2.50', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:50', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '4', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40110', '2', '麦小脆 拉面丸子(黑椒牛排味)', '2.50', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:06:50', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '4', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40111', '1', '好丽友 呀!土豆 香焗原味40克', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:10:08', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40111', '2', '好丽友 呀!土豆 香焗原味40克', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:10:08', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40112', '1', '盼盼香辣鸡块 105克', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:11:42', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '7', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40112', '2', '盼盼香辣鸡块 105克', '4.00', '3.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:11:42', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '7', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40113', '1', '好丽友 呀!土豆 番茄酱味40克', '3.00', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:10:25', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40113', '2', '好丽友 呀!土豆 番茄酱味40克', '3.00', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:10:25', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40114', '1', '好丽友 呀!土豆 滋香烤鸡味 40克', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:10:48', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40114', '2', '好丽友 呀!土豆 滋香烤鸡味 40克', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:10:48', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40201', '1', '上好佳 鲜虾片40g', '3.50', '3.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:09:58', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '6', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40201', '2', '上好佳 鲜虾片40g', '3.50', '3.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:09:58', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '6', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40202', '1', '上好佳 鲜虾片80g', '7.00', '5.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:10:49', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '7', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40202', '2', '上好佳 鲜虾片80g', '7.00', '5.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:10:49', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '7', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40203', '1', '乐事 美国经典原味 马铃薯片40g', '3.00', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 16:56:47', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '23', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40203', '2', '乐事 美国经典原味 马铃薯片40g', '3.00', '2.80', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 16:56:47', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '23', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40204', '1', '乐事 得克萨斯烧烤味 马铃薯片40g', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 16:58:09', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '13', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40204', '2', '乐事 得克萨斯烧烤味 马铃薯片40g', '3.00', '2.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 16:58:09', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '13', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40205', '1', '乐事 意大利香浓红烩味 马铃薯片40g', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:00:41', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '21', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40205', '2', '乐事 意大利香浓红烩味 马铃薯片40g', '3.50', '3.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:00:41', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '21', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40206', '1', '乐事 清新黄瓜味 马铃薯片40g', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:10:19', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '26', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40206', '2', '乐事 清新黄瓜味 马铃薯片40g', '3.00', '2.80', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:10:19', '1', null, '饼干糕点,薯片,膨化,烘焙', '0', '402', null, '26', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40207', '1', '乐事 墨西哥鸡汁番茄味 马铃薯片75g', '6.60', '6.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:25:23', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '402', null, '11', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40207', '2', '乐事 墨西哥鸡汁番茄味 马铃薯片75g', '6.60', '6.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:25:23', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '402', null, '11', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40208', '1', '乐事 美国经典原味 马铃薯片 75g', '6.60', '6.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:28:41', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '124', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40208', '2', '乐事 美国经典原味 马铃薯片 75g', '6.60', '6.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:28:41', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '124', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40209', '1', '乐事 意大利香浓红烩味 马铃薯片75g', '6.60', '6.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:30:47', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '47', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40209', '2', '乐事 意大利香浓红烩味 马铃薯片75g', '6.60', '6.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:30:47', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '47', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40210', '1', '乐事 得克萨斯烧烤味 马铃薯片75g', '6.60', '6.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:32:45', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '20', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40210', '2', '乐事 得克萨斯烧烤味 马铃薯片75g', '6.60', '6.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-19 17:32:45', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '402', null, '20', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40301', '1', '港荣 奶香蛋糕(鸡蛋原味)产品有更新,随机发货的', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:13:35', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40301', '2', '港荣 奶香蛋糕(鸡蛋原味)产品有更新,随机发货的', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:13:35', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40302', '1', '三辉麦风 韩式蛋糕 产品有更新,随机发货的', '2.00', '1.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:31:16', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '6', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40302', '2', '三辉麦风 韩式蛋糕 产品有更新,随机发货的', '2.00', '1.60', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:31:16', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '6', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40303', '1', '佰蜂 果町屋 芒果达人 280g', '7.50', '6.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:29:15', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40303', '2', '佰蜂 果町屋 芒果达人 280g', '7.50', '6.50', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:29:15', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40304', '1', '雪恋 纯薯巧合棒 30g 产品若有更新,随机发货哦', '1.50', '1.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:21:48', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '6', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40304', '2', '雪恋 纯薯巧合棒 30g 产品若有更新,随机发货哦', '1.50', '1.20', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:21:48', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '6', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40305', '1', '疯酥酥 一品蛋酥(原味)', '1.20', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:23:23', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40305', '2', '疯酥酥 一品蛋酥(原味)', '1.20', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:23:23', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40306', '1', '麦维尔 口袋饼(牛奶味)', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:24:36', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40306', '2', '麦维尔 口袋饼(牛奶味)', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:24:36', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40307', '1', '麦维尔 口袋饼(焦糖咖啡味)', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:32:24', '1', null, '饼干糕点', '1', '403', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40307', '2', '麦维尔 口袋饼(焦糖咖啡味)', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 00:32:24', '1', null, '饼干糕点', '1', '403', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40308', '1', '麦维尔 牛舌饼(牛奶味)', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:28:31', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '10', '0', '4207', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40308', '2', '麦维尔 牛舌饼(牛奶味)', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:28:31', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '10', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40309', '1', '日月潭 鸡蛋果酪18g 产品有更新,随机发货哦', '2.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:30:16', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40309', '2', '日月潭 鸡蛋果酪18g 产品有更新,随机发货哦', '2.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:30:16', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40310', '1', '泡吧 三明治蛋糕', '2.00', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:30:07', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '16', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40310', '2', '泡吧 三明治蛋糕', '2.00', '1.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:30:07', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '16', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40311', '1', '泡吧 提子蛋糕', '2.00', '1.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:28:50', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40311', '2', '泡吧 提子蛋糕', '2.00', '1.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:28:50', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40312', '1', '绿豆冰糕(原味)产品有更新随机发货哦', '2.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:34:32', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40312', '2', '绿豆冰糕(原味)产品有更新随机发货哦', '2.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:34:32', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40313', '1', '麦吉士 原味切片蛋糕', '2.00', '2.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:37:37', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '18', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40313', '2', '麦吉士 原味切片蛋糕', '2.00', '2.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:37:37', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '18', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40314', '1', '麦吉士 芝麻小酥', '1.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:39:07', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '9', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40314', '2', '麦吉士 芝麻小酥', '1.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:39:07', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '9', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40315', '1', '森度 千叶脱水蛋糕(牛奶味)', '1.00', '0.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:13:56', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '214', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40315', '2', '森度 千叶脱水蛋糕(牛奶味)', '1.00', '0.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:13:56', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '214', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40316', '1', '牛乳味大饼干 175g/7小包', '7.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:22:46', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40316', '2', '牛乳味大饼干 175g/7小包', '7.00', '5.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:22:46', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40317', '1', '小林煎饼 115g/9小包', '12.50', '10.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:24:31', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40317', '2', '小林煎饼 115g/9小包', '12.50', '10.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:24:31', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40318', '1', '蔓越莓味曲奇饼干 200g', '14.00', '12.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:25:54', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '403', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40318', '2', '蔓越莓味曲奇饼干 200g', '14.00', '12.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:25:54', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '403', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40319', '1', '巴拿米 蔓越莓西饼 170g', '16.00', '14.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:28:33', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40319', '2', '巴拿米 蔓越莓西饼 170g', '16.00', '14.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:28:33', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40320', '1', '巴拿米 抹茶蜜豆西饼 170g', '16.00', '14.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:14:21', '0', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '403', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40320', '2', '巴拿米 抹茶蜜豆西饼 170g', '16.00', '14.50', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-09 09:14:21', '0', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '403', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40321', '1', '布诺牌 原味口袋饼干 170g', '17.00', '15.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:38:55', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '403', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40321', '2', '布诺牌 原味口袋饼干 170g', '17.00', '15.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:38:55', '1', null, '饼干糕点,薯片,膨化,烘焙,爆款', '1', '403', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40322', '1', '布诺牌 奶酪口袋饼干 170g', '17.00', '15.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:41:45', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '1', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40322', '2', '布诺牌 奶酪口袋饼干 170g', '17.00', '15.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:41:45', '1', null, '饼干糕点,薯片,膨化,烘焙,特色', '1', '403', null, '1', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40401', '1', '好丽友 Q蒂多层蛋糕 2枚', '5.00', '4.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:04:32', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40401', '2', '好丽友 Q蒂多层蛋糕 2枚', '5.00', '4.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:04:32', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40402', '1', '上海真老大房 榴莲饼 产品有更新,随机发货哦', '2.50', '1.90', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:30:33', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40402', '2', '上海真老大房 榴莲饼 产品有更新,随机发货哦', '2.50', '1.90', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:30:33', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40403', '1', '卡尔顿 玛芬窝 蜂巢蛋糕', '2.10', '1.70', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:03:46', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40403', '2', '卡尔顿 玛芬窝 蜂巢蛋糕', '2.10', '1.70', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-07 01:03:46', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '403', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40404', '1', '吉娃娃 巧克力棒(蔓越莓味)', '1.80', '1.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:27:39', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '0', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40404', '2', '吉娃娃 巧克力棒(蔓越莓味)', '1.80', '1.50', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:27:39', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '0', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40405', '1', '旺旺 开心馒头仔', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:54:59', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '8', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40405', '2', '旺旺 开心馒头仔', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-21 14:54:59', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '8', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('40406', '1', '长鼻王 膨化夹心卷(蛋黄味)', '0.70', '0.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:26:43', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '2', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('40406', '2', '长鼻王 膨化夹心卷(蛋黄味)', '0.70', '0.50', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:26:43', '1', null, '饼干糕点,薯片,膨化,烘焙', '1', '404', null, '2', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('90101', '1', '甜玉米 香肠 45g', '1.50', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 16:49:07', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款,上新', '1', '901', null, '9', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90101', '2', '甜玉米 香肠 45g', '1.50', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 16:49:07', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款,上新', '1', '901', null, '9', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90102', '1', '双汇王中王 火腿 35g', '1.50', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 16:57:29', '1', null, '特色,上新,火腿,肉脯,', '1', '901', null, '12', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90102', '2', '双汇王中王 火腿 35g', '1.50', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 16:57:29', '1', null, '特色,上新,火腿,肉脯,', '1', '901', null, '12', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90103', '1', '润口香甜王 香肠 48g', '1.50', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:31:07', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款,上新', '1', '901', null, '20', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('90103', '2', '润口香甜王 香肠 48g', '1.50', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:31:07', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯,爆款,上新', '1', '901', null, '20', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('90104', '1', '泡面拍档 香肠 90g', '2.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:24:40', '1', null, '特色,上新,火腿,肉脯,', '0', '901', null, '0', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90104', '2', '泡面拍档 香肠 90g', '2.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:24:40', '1', null, '特色,上新,火腿,肉脯,', '0', '901', null, '0', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90105', '1', '弹脆 香肠 70g', '1.50', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:34:57', '1', null, '爆款,特色,火腿,肉脯', '0', '901', null, '432', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90105', '2', '弹脆 香肠 70g', '1.50', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:34:57', '1', null, '爆款,特色,火腿,肉脯', '0', '901', null, '432', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90106', '1', '康师傅香辣牛肉面袋装', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:40:10', '1', null, '火腿,肉脯,泡面', '0', '901', null, '500', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('90106', '2', '康师傅香辣牛肉面袋装', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:40:10', '1', null, '火腿,肉脯,泡面', '0', '901', null, '500', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('90107', '1', '吾必香 爆蜡 鸭脖 20g', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:54:21', '1', null, '', '0', '901', null, '37', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90107', '2', '吾必香 爆蜡 鸭脖 20g', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 21:54:21', '1', null, '', '0', '901', null, '37', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90108', '1', '乡巴佬 卤蛋30g', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 22:01:40', '1', null, '火腿肠,卤蛋,烤肠,肠,速食,肉干肉脯', '0', '901', null, '215', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90108', '2', '乡巴佬 卤蛋30g', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 22:01:40', '1', null, '火腿肠,卤蛋,烤肠,肠,速食,肉干肉脯', '0', '901', null, '215', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90109', '1', '统一小浣熊干吃面', '1.00', '0.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:24:12', '1', null, '泡面,方便面,速食,袋装', '1', '901', null, '53', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90109', '2', '统一小浣熊干吃面', '1.00', '0.80', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-30 00:24:12', '1', null, '泡面,方便面,速食,袋装', '1', '901', null, '53', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90110', '1', '双汇Q趣火腿肠85g', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 22:04:35', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '901', null, '4', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('90110', '2', '双汇Q趣火腿肠85g', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-26 22:04:35', '1', null, '火腿肠,烤肠,肠,速食,肉干肉脯', '0', '901', null, '4', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('90111', '1', '渔夫 鱼豆腐', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:11:39', '1', null, '肉脯肉干,特色', '0', '901', null, '103', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90111', '2', '渔夫 鱼豆腐', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:11:39', '1', null, '肉脯肉干,特色', '0', '901', null, '103', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90112', '1', '宏香记 奥尔良烤肉豆腐', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:13:01', '1', null, '肉干肉脯,特色', '0', '901', null, '21', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90112', '2', '宏香记 奥尔良烤肉豆腐', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:13:01', '1', null, '肉干肉脯,特色', '0', '901', null, '21', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90113', '1', '贤嫂 砂锅豆腐', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:13:52', '1', null, '肉干肉脯,特色,爆款', '0', '901', null, '8', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90113', '2', '贤嫂 砂锅豆腐', '1.00', '1.00', '/Public/img/goods/10584128_131324463183_2.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:13:52', '1', null, '肉干肉脯,特色,爆款', '0', '901', null, '8', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90114', '1', '金大洲 香辣金针菇', '1.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:14:49', '1', null, '肉干肉脯,特色,爆款', '0', '901', null, '18', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90114', '2', '金大洲 香辣金针菇', '1.00', '1.00', '/Public/img/goods/W020150327373576406347.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:14:49', '1', null, '肉干肉脯,特色,爆款', '0', '901', null, '18', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90115', '1', '阿胶枣 迷你包', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:16:23', '1', null, '坚果蜜饯,糖果布丁,特色', '0', '901', null, '3', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90115', '2', '阿胶枣 迷你包', '1.00', '1.00', '/Public/img/goods/23.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:16:23', '1', null, '坚果蜜饯,糖果布丁,特色', '0', '901', null, '3', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90116', '1', '美国青豆 3包', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:17:19', '1', null, '坚果蜜饯,糖果布丁,特色', '0', '901', null, '28', '1', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('90116', '2', '美国青豆 3包', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-05-05 10:17:19', '1', null, '坚果蜜饯,糖果布丁,特色', '0', '901', null, '28', '1', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '0'); +INSERT INTO `food` VALUES ('100101', '1', '限时抢购区里的商品一个订单只能购买一个哦', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 19:07:58', '1', null, '', '1', '1001', null, '1', '0', '4208', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); +INSERT INTO `food` VALUES ('100101', '2', '限时抢购区里的商品一个订单只能购买一个哦', '1.00', '1.00', '/Public/img/goods/9280c8519530206c.jpg', 'http://pic29.nipic.com/20130525/5890690_184803578000_2.jpg,http://pica.nipic.com/2007-12-19/2007121911592513_2.jpg,http://pic22.nipic.com/20120720/8989765_092835333150_2.jpg', '2015-04-22 19:07:58', '1', null, '', '1', '1001', null, '1', '0', '500', '0', '所有食品都是绿色食品,不含防腐剂,您吃的放心是我们的荣幸', null, '1'); + +-- ---------------------------- +-- Table structure for food_category +-- ---------------------------- +DROP TABLE IF EXISTS `food_category`; +CREATE TABLE `food_category` ( + `category_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '分类id', + `campus_id` int(11) NOT NULL, + `category` varchar(255) DEFAULT NULL, + `img_url` varchar(255) DEFAULT NULL, + `parent_id` int(11) DEFAULT '0', + `tag` smallint(6) NOT NULL DEFAULT '1', + `serial` smallint(2) DEFAULT NULL, + `is_open` smallint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`category_id`,`campus_id`), + KEY `campus_cateogry` (`campus_id`,`category_id`) +) ENGINE=InnoDB AUTO_INCREMENT=4710 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of food_category +-- ---------------------------- +INSERT INTO `food_category` VALUES ('105', '1', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('106', '1', '最新体验', null, '0', '1', '6', '0'); +INSERT INTO `food_category` VALUES ('107', '1', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('201', '1', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('202', '1', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('204', '1', '水果上门', null, '0', '1', '3', '0'); +INSERT INTO `food_category` VALUES ('206', '1', '酒水饮品', null, '0', '1', null, '1'); +INSERT INTO `food_category` VALUES ('207', '1', '饼干糕点', null, '0', '1', null, '0'); +INSERT INTO `food_category` VALUES ('217', '1', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('218', '1', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('501', '2', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('502', '2', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('503', '2', '特惠秒杀', null, '0', '1', '7', '0'); +INSERT INTO `food_category` VALUES ('504', '2', '早餐上门', null, '0', '1', '1', '0'); +INSERT INTO `food_category` VALUES ('505', '2', '更多分类', null, '0', '1', '8', '0'); +INSERT INTO `food_category` VALUES ('506', '2', '家政服务', null, '0', '1', '2', '0'); +INSERT INTO `food_category` VALUES ('507', '2', '水果上门', null, '0', '1', '3', '0'); +INSERT INTO `food_category` VALUES ('508', '2', '快递代取', null, '0', '1', '4', '0'); +INSERT INTO `food_category` VALUES ('3101', '31', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('3102', '31', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('3103', '31', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('3104', '31', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('3105', '31', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('3106', '31', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('3107', '31', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('3108', '31', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('3201', '32', '早餐上门', null, '0', '1', '1', '0'); +INSERT INTO `food_category` VALUES ('3202', '32', '家政服务', null, '0', '1', '2', '0'); +INSERT INTO `food_category` VALUES ('3203', '32', '水果上门', null, '0', '1', '3', '0'); +INSERT INTO `food_category` VALUES ('3204', '32', '快递代取', null, '0', '1', '4', '0'); +INSERT INTO `food_category` VALUES ('3205', '32', '小优推荐', null, '0', '1', '5', '0'); +INSERT INTO `food_category` VALUES ('3206', '32', '最新体验', null, '0', '1', '6', '0'); +INSERT INTO `food_category` VALUES ('3207', '32', '特惠秒杀', null, '0', '1', '7', '0'); +INSERT INTO `food_category` VALUES ('3208', '32', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('3301', '33', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('3302', '33', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('3303', '33', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('3304', '33', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('3305', '33', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('3306', '33', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('3307', '33', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('3308', '33', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('3401', '34', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('3402', '34', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('3403', '34', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('3404', '34', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('3405', '34', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('3406', '34', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('3407', '34', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('3408', '34', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('3409', '1', '香蕉牛奶', null, '0', '0', null, '0'); +INSERT INTO `food_category` VALUES ('3411', '1', '豆浆奶酪', null, '0', '1', null, '0'); +INSERT INTO `food_category` VALUES ('3501', '35', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('3502', '35', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('3503', '35', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('3504', '35', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('3505', '35', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('3506', '35', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('3507', '35', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('3508', '35', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('3601', '36', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('3602', '36', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('3603', '36', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('3604', '36', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('3605', '36', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('3606', '36', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('3607', '36', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('3608', '36', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('4401', '44', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('4402', '44', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('4403', '44', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('4404', '44', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('4405', '44', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('4406', '44', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('4407', '44', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('4408', '44', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('4501', '45', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('4502', '45', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('4503', '45', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('4504', '45', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('4505', '45', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('4506', '45', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('4507', '45', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('4508', '45', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('4601', '46', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('4602', '46', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('4603', '46', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('4604', '46', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('4605', '46', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('4606', '46', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('4607', '46', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('4608', '46', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('4609', '1', '奶酪蛋糕', null, '0', '1', null, '0'); +INSERT INTO `food_category` VALUES ('4610', '1', '美味奶酪啊', null, '0', '0', null, '1'); +INSERT INTO `food_category` VALUES ('4701', '47', '早餐上门', null, '0', '1', '1', '1'); +INSERT INTO `food_category` VALUES ('4702', '47', '家政服务', null, '0', '1', '2', '1'); +INSERT INTO `food_category` VALUES ('4703', '47', '水果上门', null, '0', '1', '3', '1'); +INSERT INTO `food_category` VALUES ('4704', '47', '快递代取', null, '0', '1', '4', '1'); +INSERT INTO `food_category` VALUES ('4705', '47', '小优推荐', null, '0', '1', '5', '1'); +INSERT INTO `food_category` VALUES ('4706', '47', '最新体验', null, '0', '1', '6', '1'); +INSERT INTO `food_category` VALUES ('4707', '47', '特惠秒杀', null, '0', '1', '7', '1'); +INSERT INTO `food_category` VALUES ('4708', '47', '更多分类', null, '0', '1', '8', '1'); +INSERT INTO `food_category` VALUES ('4709', '1', '校园资讯', null, '0', '1', null, '1'); + +-- ---------------------------- +-- Table structure for food_comment +-- ---------------------------- +DROP TABLE IF EXISTS `food_comment`; +CREATE TABLE `food_comment` ( + `food_id` bigint(20) NOT NULL, + `campus_id` int(11) NOT NULL, + `phone` varchar(20) NOT NULL, + `date` datetime NOT NULL, + `comment` varchar(255) DEFAULT NULL, + `grade` smallint(6) NOT NULL, + `tag` smallint(6) NOT NULL DEFAULT '1', + `is_hidden` smallint(6) NOT NULL DEFAULT '0', + `order_id` bigint(40) NOT NULL, + PRIMARY KEY (`food_id`,`phone`,`date`,`campus_id`), + KEY `campus_food_comment` (`campus_id`,`food_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of food_comment +-- ---------------------------- +INSERT INTO `food_comment` VALUES ('0', '1', '18860902563', '2015-08-14 23:11:06', '', '0', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10101', '1', '15366031030', '2015-05-04 12:56:13', '', '5', '1', '0', '1430277616618'); +INSERT INTO `food_comment` VALUES ('10101', '1', '15605159822', '2015-05-16 14:44:12', '', '4', '1', '0', '1431527057554'); +INSERT INTO `food_comment` VALUES ('10101', '1', '15961685555', '2015-05-22 17:29:49', '', '5', '1', '0', '1431942287268'); +INSERT INTO `food_comment` VALUES ('10101', '1', '18896554880', '2015-09-08 10:02:07', '啊啊啊吧', '3', '1', '0', '1441618148244'); +INSERT INTO `food_comment` VALUES ('10101', '1', '18896554880', '2015-09-16 17:54:10', 'teat111', '4', '1', '1', '1442396980163'); +INSERT INTO `food_comment` VALUES ('10101', '1', '18896554880', '2015-09-17 10:03:07', 'tesarqrc', '3', '1', '1', '1442397403658'); +INSERT INTO `food_comment` VALUES ('10101', '1', '18896554880', '2015-09-17 10:08:30', '123', '4', '1', '1', '1441462499350'); +INSERT INTO `food_comment` VALUES ('10101', '1', '18896554880', '2015-09-17 21:21:29', '不好吃,难吃死了', '5', '1', '0', '1442471782953'); +INSERT INTO `food_comment` VALUES ('10101', '1', '18896554880', '2015-09-18 17:34:38', '难吃死了', '1', '1', '0', '1442568342686'); +INSERT INTO `food_comment` VALUES ('10103', '1', '18896554880', '2015-08-26 15:40:25', '', '4', '1', '1', '1440471430816'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-15 13:28:35', 'aaa', '2', '1', '1', '1429972765548'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-15 14:33:37', '', '2', '1', '1', '1429971769361'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-15 15:06:10', 'aaaa', '3', '1', '1', '1429971412825'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-15 15:26:43', '能不能评论', '5', '1', '1', '1429811272143'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-22 09:52:05', '', '4', '1', '1', '1429971412825'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-22 09:59:46', '', '4', '1', '1', '1429811272143'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-22 10:50:31', '', '5', '1', '1', '1429972765548'); +INSERT INTO `food_comment` VALUES ('10104', '1', '18896554880', '2015-08-25 10:58:59', '', '5', '1', '1', '1429861151991'); +INSERT INTO `food_comment` VALUES ('10105', '1', '18896554880', '2015-08-26 15:43:59', '', '4', '1', '1', '1430044896102'); +INSERT INTO `food_comment` VALUES ('10109', '1', '18896554880', '2015-08-25 09:47:53', '', '5', '1', '1', '48097897979'); +INSERT INTO `food_comment` VALUES ('10109', '1', '18896554880', '2015-08-26 10:30:12', '', '5', '1', '1', '48097897979'); +INSERT INTO `food_comment` VALUES ('10118', '1', '18896554880', '2015-08-25 09:47:25', '', '5', '1', '1', '461209120912'); +INSERT INTO `food_comment` VALUES ('10118', '1', '18896554880', '2015-08-26 10:30:10', '', '5', '1', '1', '461209120912'); +INSERT INTO `food_comment` VALUES ('10119', '1', '18896554880', '2015-08-26 10:30:06', '', '5', '1', '1', '412770912790'); +INSERT INTO `food_comment` VALUES ('10119', '1', '18896554880', '2015-08-26 17:39:00', '味道蛮好的', '5', '1', '0', '412770912790'); +INSERT INTO `food_comment` VALUES ('10134', '1', '18896554880', '2015-08-26 15:40:36', '', '3', '1', '1', '1440469181175'); +INSERT INTO `food_comment` VALUES ('10141', '1', '18896554880', '2015-08-15 15:25:34', '为啥不能评论', '5', '1', '1', '1429811965903'); +INSERT INTO `food_comment` VALUES ('10145', '1', '18896554880', '2015-08-15 14:50:35', '', '4', '1', '1', '1429972027467'); +INSERT INTO `food_comment` VALUES ('10145', '1', '18896554880', '2015-08-21 20:32:55', '', '5', '1', '1', '1429972027467'); +INSERT INTO `food_comment` VALUES ('10145', '1', '18896554880', '2015-08-25 10:58:51', '', '5', '1', '1', '1429891519848'); +INSERT INTO `food_comment` VALUES ('10145', '1', '18896554880', '2015-08-25 10:58:53', '', '5', '1', '1', '1429891519848'); +INSERT INTO `food_comment` VALUES ('10205', '1', '18896554880', '2015-08-06 13:53:09', 'ggg', '3', '1', '1', '1432022393885'); +INSERT INTO `food_comment` VALUES ('10205', '1', '18896554880', '2015-08-06 14:47:17', '', '0', '1', '1', '1432022393885'); +INSERT INTO `food_comment` VALUES ('10205', '1', '18896554880', '2015-08-06 14:50:23', '', '0', '1', '1', '1432022393885'); +INSERT INTO `food_comment` VALUES ('10205', '1', '18896554880', '2015-08-06 14:57:23', '', '0', '1', '1', '1432022393885'); +INSERT INTO `food_comment` VALUES ('10221', '1', '18896554880', '2015-08-14 15:03:26', '', '4', '1', '1', '1430139852697'); +INSERT INTO `food_comment` VALUES ('10221', '1', '18896554880', '2015-08-21 20:17:59', '', '4', '1', '1', '1430139852697'); +INSERT INTO `food_comment` VALUES ('10402', '1', '18896554880', '2015-08-20 14:36:25', 'goodstatus', '2', '1', '1', '1430143292642'); +INSERT INTO `food_comment` VALUES ('10403', '1', '18896554880', '2015-08-14 15:57:28', '', '3', '1', '1', '1430139926629'); +INSERT INTO `food_comment` VALUES ('10403', '1', '18896554880', '2015-08-20 09:58:40', '', '4', '1', '1', '1430139926629'); +INSERT INTO `food_comment` VALUES ('10403', '1', '18896554880', '2015-08-21 19:59:34', '', '5', '1', '1', '1430139926629'); +INSERT INTO `food_comment` VALUES ('10418', '1', '18896554880', '2015-08-07 10:40:44', '', '0', '1', '1', '1432114221348'); +INSERT INTO `food_comment` VALUES ('10501', '1', '18896554880', '2015-09-16 17:35:25', '1231324123123', '4', '1', '1', '1440578968'); +INSERT INTO `food_comment` VALUES ('10501', '1', '18896554880', '2015-09-16 17:35:41', '1234', '4', '1', '1', '1440578968'); +INSERT INTO `food_comment` VALUES ('10502', '1', '18896554880', '2015-09-16 17:26:05', null, '4', '1', '1', '1440576983'); +INSERT INTO `food_comment` VALUES ('10504', '1', '15295567537', '2015-05-05 08:32:48', '大虫子', '5', '1', '0', '1430300653980'); +INSERT INTO `food_comment` VALUES ('10504', '1', '15365182279', '2015-08-11 08:47:59', '我张炜承觉得非常好吃', '0', '1', '0', '1431060957617'); +INSERT INTO `food_comment` VALUES ('10504', '1', '18896554880', '2015-08-26 11:04:00', 'arBut arBut', '4', '1', '1', '1439463265152'); +INSERT INTO `food_comment` VALUES ('10504', '1', '18896554880', '2015-08-26 11:04:09', 'arBut arBut', '4', '1', '1', '1439462795455'); +INSERT INTO `food_comment` VALUES ('10504', '1', '18896554880', '2015-08-26 11:04:45', 'arBut', '5', '1', '1', '1439459961953'); +INSERT INTO `food_comment` VALUES ('10504', '1', '18896554880', '2015-08-29 10:16:18', '', '5', '1', '0', '1440767416910'); +INSERT INTO `food_comment` VALUES ('10505', '1', '18260108169', '2015-08-29 17:21:52', null, '2', '1', '1', '1440571065426'); +INSERT INTO `food_comment` VALUES ('10505', '2', '18896554880', '2015-08-29 10:15:18', '', '4', '1', '1', '1440767422271'); +INSERT INTO `food_comment` VALUES ('10506', '1', '18051294119', '2015-09-01 17:22:08', 'nimama', '5', '1', '0', '1441099307'); +INSERT INTO `food_comment` VALUES ('10601', '1', '18896554880', '2015-08-25 09:48:02', '', '5', '1', '1', '2429775447983'); +INSERT INTO `food_comment` VALUES ('10601', '1', '18896554880', '2015-08-26 10:26:33', '', '5', '1', '1', '1477777777777'); +INSERT INTO `food_comment` VALUES ('10601', '1', '18896554880', '2015-08-26 15:25:01', '', '5', '1', '1', '2429775447983'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18051299999', '2015-09-01 14:42:35', '想吃菠萝罐头。。。。', '5', '1', '0', '1441089020'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:31:00', '', '5', '0', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:32:00', '', '5', '0', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:33:00', '', '5', '0', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:38:00', '', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:41:00', '', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:42:00', '', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:46:00', '', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:47:00', '', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 10:49:00', '', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 11:01:00', '', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 11:21:00', '还可以啦,不过习惯了差评', '5', '1', '0', '0'); +INSERT INTO `food_comment` VALUES ('10602', '1', '18896554880', '2015-08-26 15:00:05', '', '5', '1', '1', '1111111112222'); +INSERT INTO `food_comment` VALUES ('10624', '1', '18896554880', '2015-08-29 10:13:08', '1234', '3', '1', '1', '1440767472678'); +INSERT INTO `food_comment` VALUES ('10625', '1', '18896554880', '2015-08-29 10:12:18', '123456', '0', '1', '1', '1440767480223'); +INSERT INTO `food_comment` VALUES ('10626', '1', '18260108169', '2015-08-29 17:14:30', '写点评价吧,对其他小伙伴帮助很大哦', '4', '1', '0', '1440573182307'); +INSERT INTO `food_comment` VALUES ('10626', '1', '18896554880', '2015-08-29 10:11:26', '123456789', '2', '1', '0', '1440767485583'); +INSERT INTO `food_comment` VALUES ('10626', '1', '18896554880', '2015-09-07 10:36:54', '', '5', '1', '1', '1441531741750'); +INSERT INTO `food_comment` VALUES ('10702', '1', '18051294119', '2015-08-19 16:55:00', '好想吃百奇啊。。。。。。。。。。。。。。。。。', '5', '1', '0', '1439974285'); +INSERT INTO `food_comment` VALUES ('10703', '1', '18896554880', '2015-08-26 09:34:00', '味道挺好的,不错', '5', '0', '0', '1111111112225'); +INSERT INTO `food_comment` VALUES ('10710', '1', '18051294119', '2015-09-01 15:30:55', '222', '5', '1', '0', '1441092379'); +INSERT INTO `food_comment` VALUES ('10711', '1', '18051299999', '2015-09-01 15:03:58', '22', '4', '1', '0', '1441090971'); +INSERT INTO `food_comment` VALUES ('10721', '1', '18896554880', '2015-08-26 15:00:17', '', '3', '1', '1', '1440488771123'); +INSERT INTO `food_comment` VALUES ('10722', '1', '18896554880', '2015-08-26 15:00:19', '', '5', '1', '1', '1440488762541'); +INSERT INTO `food_comment` VALUES ('10722', '1', '18896554880', '2015-08-29 10:18:26', '', '3', '1', '1', '1440746151759'); +INSERT INTO `food_comment` VALUES ('20101', '1', '18860902563', '2015-08-15 00:12:28', '', '0', '1', '0', '1439468734'); +INSERT INTO `food_comment` VALUES ('20102', '1', '18260108169', '2015-08-29 17:21:12', null, '5', '1', '1', '1440571349915'); +INSERT INTO `food_comment` VALUES ('20102', '1', '18860902563', '2015-08-19 10:28:00', '蛮好吃的', '5', '1', '0', '1439459346'); +INSERT INTO `food_comment` VALUES ('20102', '1', '18896554880', '2015-08-29 12:27:08', '', '5', '1', '1', '1440815743285'); +INSERT INTO `food_comment` VALUES ('20103', '1', '18896554880', '2015-08-29 11:06:00', '', '4', '1', '1', '1440816249810'); +INSERT INTO `food_comment` VALUES ('20103', '1', '18896554880', '2015-09-06 12:36:59', '东西还不错哦', '5', '1', '0', '1440401253168'); +INSERT INTO `food_comment` VALUES ('20103', '1', '18896554880', '2015-09-06 12:37:11', '东西还不错哦', '5', '1', '0', '1440401253168'); +INSERT INTO `food_comment` VALUES ('20103', '1', '18896554880', '2015-09-08 16:10:35', '66666', '5', '1', '1', '1441275676774'); +INSERT INTO `food_comment` VALUES ('20103', '1', '18896554880', '2015-09-08 16:10:55', '666', '5', '1', '1', '1441275668325'); +INSERT INTO `food_comment` VALUES ('20103', '1', '18896554880', '2015-09-15 15:03:44', '呵呵', '5', '1', '1', '1440575447895'); +INSERT INTO `food_comment` VALUES ('20104', '1', '18896554880', '2015-08-14 15:03:45', '', '1', '1', '1', '1430139840512'); +INSERT INTO `food_comment` VALUES ('20104', '1', '18896554880', '2015-08-15 17:32:10', '', '4', '1', '1', '1430139840512'); +INSERT INTO `food_comment` VALUES ('20104', '1', '18896554880', '2015-08-22 10:27:53', '', '5', '1', '1', '1430139840512'); +INSERT INTO `food_comment` VALUES ('20111', '1', '18896554880', '2015-08-21 19:58:56', '', '4', '1', '1', '1430143274557'); +INSERT INTO `food_comment` VALUES ('20112', '1', '18896554880', '2015-08-14 15:03:11', '', '0', '1', '1', '1430139902746'); +INSERT INTO `food_comment` VALUES ('20112', '1', '18896554880', '2015-08-14 17:07:34', '', '4', '1', '1', '1430139902746'); +INSERT INTO `food_comment` VALUES ('20112', '1', '18896554880', '2015-08-15 17:50:09', '', '4', '1', '1', '1430139902746'); +INSERT INTO `food_comment` VALUES ('20112', '1', '18896554880', '2015-08-21 20:15:17', '', '5', '1', '1', '1430139902746'); +INSERT INTO `food_comment` VALUES ('20203', '1', '18860902563', '2015-08-19 16:10:00', '这个蛮好喝的', '1', '1', '0', '1439459341'); +INSERT INTO `food_comment` VALUES ('20216', '1', '18896554880', '2015-08-26 10:48:46', '', '5', '1', '1', '1440490568711'); +INSERT INTO `food_comment` VALUES ('20301', '1', '18896554880', '2015-08-29 10:48:32', '123456789', '5', '1', '1', '1440816402983'); +INSERT INTO `food_comment` VALUES ('20301', '1', '18896554889', '2015-09-03 21:09:20', '还好吧', '5', '1', '0', '1441279818798'); +INSERT INTO `food_comment` VALUES ('20302', '1', '18860902563', '2015-08-15 00:12:29', '', '0', '1', '0', '1439468743'); +INSERT INTO `food_comment` VALUES ('20302', '1', '18896554889', '2015-09-03 21:09:11', '好吃啊', '5', '1', '1', '1441279743341'); +INSERT INTO `food_comment` VALUES ('20305', '1', '18896554880', '2015-08-17 17:59:31', '', '1', '1', '1', '1429970667628'); +INSERT INTO `food_comment` VALUES ('20306', '1', '18896554880', '2015-08-29 11:02:01', '', '5', '1', '1', '1440816396588'); +INSERT INTO `food_comment` VALUES ('20310', '1', '18896554880', '2015-08-26 10:59:32', '', '5', '1', '1', '1440490328551'); +INSERT INTO `food_comment` VALUES ('20310', '1', '18896554880', '2015-08-26 15:23:38', '', '5', '1', '1', '1444444444444'); +INSERT INTO `food_comment` VALUES ('20310', '1', '18896554880', '2015-08-26 15:27:39', '', '5', '1', '1', '1440489106693'); +INSERT INTO `food_comment` VALUES ('20310', '1', '18896554880', '2015-08-29 11:05:30', '11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '3', '1', '1', '1440816392580'); +INSERT INTO `food_comment` VALUES ('20401', '1', '18896554880', '2015-08-25 17:29:02', '', '5', '1', '1', '1455555555555'); +INSERT INTO `food_comment` VALUES ('20402', '1', '18896554880', '2015-08-26 15:23:21', '', '4', '1', '1', '1433333333333'); +INSERT INTO `food_comment` VALUES ('20404', '1', '18896554880', '2015-08-26 15:18:35', '', '4', '1', '1', '1422222222222'); +INSERT INTO `food_comment` VALUES ('20405', '1', '18896554880', '2015-08-26 10:24:18', '', '5', '1', '0', '1466666666666'); +INSERT INTO `food_comment` VALUES ('20405', '1', '18896554880', '2015-08-26 15:27:12', '', '5', '1', '1', '1440489113948'); +INSERT INTO `food_comment` VALUES ('20405', '1', '18896554880', '2015-09-16 17:09:35', '1', '3', '1', '1', '1440742620758'); +INSERT INTO `food_comment` VALUES ('20501', '1', '18896554880', '2015-08-26 10:24:45', '', '5', '1', '1', '1477777777733'); +INSERT INTO `food_comment` VALUES ('20502', '1', '18896554880', '2015-08-26 09:55:54', '', '5', '1', '1', '1477777777772'); +INSERT INTO `food_comment` VALUES ('20703', '1', '18896554880', '2015-08-26 11:09:40', 'arBut', '2', '1', '1', '1439454531789'); +INSERT INTO `food_comment` VALUES ('20703', '1', '18896554880', '2015-08-26 11:09:51', 'arBut', '5', '1', '1', '1439454529267'); +INSERT INTO `food_comment` VALUES ('20703', '1', '18896554880', '2015-08-26 11:10:04', 'arBut', '3', '1', '1', '1439454523328'); +INSERT INTO `food_comment` VALUES ('40105', '1', '18896554880', '2015-08-06 13:06:16', 'hhhh', '3', '1', '1', '1432114141876'); +INSERT INTO `food_comment` VALUES ('40105', '1', '18896554880', '2015-08-06 13:06:31', 'hhhh', '3', '1', '1', '1432114141876'); +INSERT INTO `food_comment` VALUES ('40105', '1', '18896554880', '2015-08-06 13:06:34', 'hhhh', '3', '1', '1', '1432114141876'); +INSERT INTO `food_comment` VALUES ('40105', '1', '18896554880', '2015-08-06 13:06:38', 'hhhh', '3', '1', '1', '1432114141876'); +INSERT INTO `food_comment` VALUES ('40105', '1', '18896554880', '2015-08-06 14:50:03', '', '0', '1', '1', '1432114141876'); +INSERT INTO `food_comment` VALUES ('40105', '1', '18896554880', '2015-08-06 14:56:47', '', '0', '1', '1', '1432114141876'); +INSERT INTO `food_comment` VALUES ('40106', '1', '18896554880', '2015-08-06 13:29:33', 'uuuuu', '2', '1', '1', '1432114130508'); +INSERT INTO `food_comment` VALUES ('40106', '1', '18896554880', '2015-08-06 14:44:50', '', '0', '1', '1', '1432114130508'); +INSERT INTO `food_comment` VALUES ('40106', '1', '18896554880', '2015-08-06 14:46:47', '', '0', '1', '1', '1432114130508'); +INSERT INTO `food_comment` VALUES ('40106', '1', '18896554880', '2015-08-06 14:50:33', '', '0', '1', '1', '1432114130508'); +INSERT INTO `food_comment` VALUES ('40106', '1', '18896554880', '2015-08-06 14:56:50', '', '0', '1', '1', '1432114130508'); +INSERT INTO `food_comment` VALUES ('40112', '1', '18896554880', '2015-08-14 15:03:18', '', '0', '1', '1', '1430139878293'); +INSERT INTO `food_comment` VALUES ('40112', '1', '18896554880', '2015-08-15 16:40:40', '', '5', '1', '1', '1430139878293'); +INSERT INTO `food_comment` VALUES ('40112', '1', '18896554880', '2015-08-21 20:17:49', '', '4', '1', '1', '1430139878293'); +INSERT INTO `food_comment` VALUES ('40112', '1', '18896554880', '2015-08-21 20:18:20', '', '2', '1', '1', '1430139878293'); +INSERT INTO `food_comment` VALUES ('40206', '1', '18896554880', '2015-08-06 14:47:27', '', '0', '1', '1', '1432022360632'); +INSERT INTO `food_comment` VALUES ('40206', '1', '18896554880', '2015-08-06 14:50:39', '', '0', '1', '1', '1432022360632'); +INSERT INTO `food_comment` VALUES ('40206', '1', '18896554880', '2015-08-06 14:57:24', '', '0', '1', '1', '1432022360632'); +INSERT INTO `food_comment` VALUES ('40207', '1', '18896554880', '2015-08-21 19:58:06', '', '3', '1', '1', '1430143282801'); +INSERT INTO `food_comment` VALUES ('40207', '1', '18896554880', '2015-08-21 19:58:18', '', '4', '1', '1', '1430143282801'); +INSERT INTO `food_comment` VALUES ('40207', '1', '18896554880', '2015-08-21 19:58:27', '', '4', '1', '1', '1430143282801'); +INSERT INTO `food_comment` VALUES ('40208', '1', '18896554880', '2015-08-14 15:03:44', '', '1', '1', '1', '1430139846328'); +INSERT INTO `food_comment` VALUES ('40208', '1', '18896554880', '2015-08-15 14:45:03', '', '3', '1', '1', '1429971492682'); +INSERT INTO `food_comment` VALUES ('40208', '1', '18896554880', '2015-08-15 17:16:10', '', '4', '1', '1', '1430139846328'); +INSERT INTO `food_comment` VALUES ('40208', '1', '18896554880', '2015-08-15 17:16:42', '', '5', '1', '1', '1430139846328'); +INSERT INTO `food_comment` VALUES ('40208', '1', '18896554880', '2015-08-15 17:17:02', '', '5', '1', '1', '1430139846328'); +INSERT INTO `food_comment` VALUES ('40208', '1', '18896554880', '2015-08-21 20:20:04', '', '4', '1', '1', '1430139846328'); +INSERT INTO `food_comment` VALUES ('40310', '1', '18896554880', '2015-08-26 15:42:35', '', '5', '1', '1', '1429775456072'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-03 13:55:38', '11', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-06 09:12:10', '11', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-06 09:14:22', '88', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-06 09:14:57', '22', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-06 10:03:07', '11', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-06 12:44:05', '11', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-06 12:44:16', '11', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '15151883571', '2015-08-06 17:22:43', '11', '1', '1', '1', '1429811838366'); +INSERT INTO `food_comment` VALUES ('40313', '1', '18896554880', '2015-08-14 13:14:03', '11', '1', '1', '1', '1430139926629'); +INSERT INTO `food_comment` VALUES ('40315', '1', '18896554880', '2015-08-06 12:47:07', 'cc', '2', '1', '0', '1432114180212'); +INSERT INTO `food_comment` VALUES ('40315', '1', '18896554880', '2015-08-06 12:51:00', 'hhhh', '3', '1', '0', '1432114180212'); +INSERT INTO `food_comment` VALUES ('40315', '1', '18896554880', '2015-08-06 12:51:11', 'hhhh', '3', '1', '0', '1432114180212'); +INSERT INTO `food_comment` VALUES ('40315', '1', '18896554880', '2015-08-06 14:50:06', '', '0', '1', '1', '1432114180212'); +INSERT INTO `food_comment` VALUES ('40315', '1', '18896554880', '2015-08-06 14:56:32', '', '0', '1', '1', '1432114180212'); +INSERT INTO `food_comment` VALUES ('90112', '1', '18896554880', '2015-08-06 14:44:22', '', '3', '1', '1', '1432022436511'); +INSERT INTO `food_comment` VALUES ('90112', '1', '18896554880', '2015-08-06 14:50:12', '', '0', '1', '1', '1432022436511'); +INSERT INTO `food_comment` VALUES ('90112', '1', '18896554880', '2015-08-06 14:57:22', '', '0', '1', '1', '1432022436511'); + +-- ---------------------------- +-- Table structure for hot_search +-- ---------------------------- +DROP TABLE IF EXISTS `hot_search`; +CREATE TABLE `hot_search` ( + `hot_id` int(10) NOT NULL AUTO_INCREMENT, + `display_name` varchar(255) NOT NULL, + `search_tag` varchar(255) NOT NULL, + `create_time` bigint(20) DEFAULT NULL, + `is_display` tinyint(4) NOT NULL DEFAULT '1', + `campus_id` int(11) NOT NULL, + PRIMARY KEY (`hot_id`), + KEY `index_search` (`campus_id`) +) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of hot_search +-- ---------------------------- +INSERT INTO `hot_search` VALUES ('1', '新鲜牛奶', '牛奶', null, '1', '1'); +INSERT INTO `hot_search` VALUES ('3', '美味面包', '面包', null, '1', '1'); +INSERT INTO `hot_search` VALUES ('4', '休闲零食', '零食', null, '1', '1'); +INSERT INTO `hot_search` VALUES ('5', '可口饮料', '饮料', null, '1', '1'); +INSERT INTO `hot_search` VALUES ('6', '家政服务', '家政', null, '1', '1'); +INSERT INTO `hot_search` VALUES ('7', '新鲜水果', '水果', null, '1', '2'); +INSERT INTO `hot_search` VALUES ('8', '美味奶酪', '奶酪', '1440771281755', '1', '1'); + +-- ---------------------------- +-- Table structure for news +-- ---------------------------- +DROP TABLE IF EXISTS `news`; +CREATE TABLE `news` ( + `news_id` bigint(20) NOT NULL, + `campus_id` int(11) NOT NULL, + `create_time` datetime NOT NULL, + `title` varchar(100) NOT NULL, + `img_url` varchar(255) DEFAULT NULL, + `content` varchar(5000) DEFAULT NULL, + PRIMARY KEY (`news_id`,`campus_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of news +-- ---------------------------- +INSERT INTO `news` VALUES ('1443714657869', '1', '2015-10-01 23:50:57', '', 'http://pic1.win4000.com/wallpaper/3/53ad42ed97f0a.jpg', ''); +INSERT INTO `news` VALUES ('1443714679985', '1', '2015-10-01 23:51:19', '', 'http://img1.3lian.com/2015/a1/18/d/150.jpg', ''); +INSERT INTO `news` VALUES ('1443714725063', '1', '2015-10-01 23:52:05', '', 'http://bizhi.4493.com/uploads/allimg/140924/4-140924104310.jpg', ''); +INSERT INTO `news` VALUES ('1443715227770', '2', '2015-10-02 00:00:27', '', 'http://www.bz55.com/uploads/allimg/130207/1-13020F92228-50.jpg', ''); +INSERT INTO `news` VALUES ('1443715243855', '2', '2015-10-02 00:00:43', '', 'http://pic2.ooopic.com/11/77/11/38bOOOPICdf_1024.jpg', ''); +INSERT INTO `news` VALUES ('1443715273675', '2', '2015-10-02 00:01:13', '', 'http://pic41.nipic.com/20140519/18505720_094637688147_2.jpg', ''); + +-- ---------------------------- +-- Table structure for orders +-- ---------------------------- +DROP TABLE IF EXISTS `orders`; +CREATE TABLE `orders` ( + `order_id` bigint(40) NOT NULL, + `phone` varchar(20) NOT NULL, + `campus_id` int(11) NOT NULL, + `together_id` varchar(200) DEFAULT NULL, + `create_time` datetime DEFAULT NULL, + `status` smallint(6) NOT NULL, + `price` float(6,2) DEFAULT NULL, + `order_count` int(11) DEFAULT NULL, + `is_remarked` smallint(6) NOT NULL DEFAULT '0', + `food_id` bigint(20) NOT NULL, + `rank` varchar(255) DEFAULT NULL, + `together_date` datetime DEFAULT NULL, + `admin_phone` varchar(20) DEFAULT NULL, + `reserve_time` varchar(30) DEFAULT NULL COMMENT '预定送达时间', + `message` varchar(255) DEFAULT NULL COMMENT '留言', + `tag` smallint(6) NOT NULL DEFAULT '1', + `pay_way` smallint(6) DEFAULT '0', + `prefere_id` int(11) DEFAULT NULL, + `total_price` float(6,2) DEFAULT NULL, + `charge_id` varchar(255) DEFAULT NULL, + PRIMARY KEY (`order_id`,`phone`), + KEY `together_id_index` (`together_id`), + KEY `admin_phone_index` (`admin_phone`), + KEY `rank_index` (`rank`), + KEY `create_time_index` (`create_time`), + KEY `together_date_index` (`together_date`), + KEY `food_id_index` (`food_id`), + KEY `campus_order` (`campus_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of orders +-- ---------------------------- +INSERT INTO `orders` VALUES ('1439459246', '18860902563', '1', '188609025631439459319', '2015-08-13 17:08:26', '9', null, '4', '0', '10703', null, '2015-08-13 17:08:39', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439459341', '18860902563', '1', '188609025631439468641', '2015-08-13 17:08:01', '1', null, '6', '1', '20203', null, '2015-08-13 20:08:01', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439459346', '18860902563', '1', '188609025631439468641', '2015-08-13 17:08:06', '1', null, '4', '1', '20102', null, '2015-08-13 20:08:01', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439459352', '18860902563', '1', '188609025631439468641', '2015-08-13 17:08:12', '3', null, '17', '0', '10705', null, '2015-08-13 20:08:01', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439468710', '18860902563', '1', '188609025631439469029', '2015-08-13 20:08:10', '3', null, '2', '0', '10604', null, '2015-08-13 20:08:29', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439468723', '18860902563', '1', '188609025631439469029', '2015-08-13 20:08:23', '4', null, '1', '0', '10601', null, '2015-08-13 20:08:29', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439468734', '18860902563', '1', '188609025631439469029', '2015-08-13 20:08:34', '5', null, '3', '0', '20101', null, '2015-08-13 20:08:29', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439468743', '18860902563', '1', '188609025631439469029', '2015-08-13 20:08:43', '5', null, '3', '0', '20302', null, '2015-08-13 20:08:29', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439469032', '18860902563', '1', '188609025631439469046', '2015-08-13 20:08:32', '5', null, '3', '0', '20302', '1427634635035', '2015-08-13 20:08:46', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439469040', '18860902563', '1', '188609025631439469046', '2015-08-13 20:08:40', '5', null, '1', '0', '20305', '1427634635035', '2015-08-13 20:08:46', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439469107', '18860902563', '1', '188609025631439951094000', '2015-08-13 20:08:47', '2', null, '37', '0', '20603', '1427634635035', '2015-08-19 10:08:54', null, null, null, '0', '0', null, '1.00', 'ch_Xsr7u35O3m1Gw4ed2ODmi4Lw'); +INSERT INTO `orders` VALUES ('1439469122', '18860902563', '1', '188609025631439950450000', '2015-08-13 20:08:02', '1', null, '105', '0', '20601', '1427634635035', '2015-08-19 10:08:10', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439478522', '18860902563', '1', '188609025631439951229000', '2015-08-13 23:08:42', '0', null, '60', '0', '20303', '1427634635035', '2015-08-19 10:08:09', null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439790242', '18860902563', '1', '188609025631441009576544', '2015-08-17 13:08:02', '1', null, '1', '0', '10701', null, '2015-08-19 10:08:09', null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439950789', '18860902563', '1', '188609025631439951321000', '2015-08-19 10:08:49', '1', null, '1', '0', '10503', null, '2015-08-19 10:08:41', null, null, null, '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439968650', '13913287690', '1', '139132876901439971207000', '2015-08-19 15:08:30', '0', null, '1', '0', '10602', null, '2015-08-19 16:08:07', null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439968654', '13913287690', '1', '139132876901439971207000', '2015-08-19 15:08:34', '0', null, '2', '0', '10601', null, '2015-08-19 16:08:07', null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439968702', '13913287690', '1', null, '2015-08-19 15:08:22', '0', null, '1', '0', '20102', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439968710', '13913287690', '1', '139132876901439969468000', '2015-08-19 15:08:30', '0', null, '1', '0', '20203', null, '2015-08-19 15:08:08', null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1441000098', '18896554883', '1', '188965548831441000662000', '2015-08-31 13:08:18', '1', null, '2', '0', '10601', '1441014994756', '2015-08-31 13:08:42', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441012278', '18896554883', '1', '188965548831441012667000', '2015-08-31 17:08:18', '3', '5.50', '1', '0', '10702', '1441014994756', '2015-08-31 17:08:47', '18260108169', '立即送达', '', '1', '1', null, '53.80', 'ch_9CCGCS8ar9C4ifHK0S1mT4K0'); +INSERT INTO `orders` VALUES ('1441012426', '18896554883', '1', '188965548831441012667000', '2015-08-31 17:08:46', '3', '7.50', '1', '0', '10507', '1441014994756', '2015-08-31 17:08:47', '18260108169', '立即送达', '', '1', '1', null, '53.80', 'ch_9CCGCS8ar9C4ifHK0S1mT4K0'); +INSERT INTO `orders` VALUES ('1441012451', '18896554883', '1', '188965548831441012667000', '2015-08-31 17:08:11', '3', '20.50', '1', '0', '10604', '1441014994756', '2015-08-31 17:08:47', '18260108169', '立即送达', '', '1', '1', null, '53.80', 'ch_9CCGCS8ar9C4ifHK0S1mT4K0'); +INSERT INTO `orders` VALUES ('1441012493', '18896554883', '1', '188965548831441012667000', '2015-08-31 17:08:53', '3', '19.50', '1', '0', '10605', '1441014994756', '2015-08-31 17:08:47', '18260108169', '立即送达', '', '1', '1', null, '53.80', 'ch_9CCGCS8ar9C4ifHK0S1mT4K0'); +INSERT INTO `orders` VALUES ('1441012574', '18896554883', '1', '188965548831441012667000', '2015-08-31 17:08:14', '3', '0.80', '1', '0', '90109', '1441014994756', '2015-08-31 17:08:47', '18260108169', '立即送达', '', '1', '1', null, '53.80', 'ch_9CCGCS8ar9C4ifHK0S1mT4K0'); +INSERT INTO `orders` VALUES ('1441012991', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:11', '1', null, '8', '0', '10103', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441012996', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:16', '1', null, '1', '0', '10131', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441013009', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:29', '1', null, '1', '0', '10134', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441013150', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:50', '1', null, '1', '0', '90109', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441094115', '18862124316', '1', null, '2015-09-01 15:09:15', '0', null, '1', '0', '10506', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441100914', '18051294119', '1', '180512941191441100954000', '2015-09-01 17:09:34', '4', '5.00', '1', '0', '10504', null, '2015-09-01 17:09:14', null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441100918', '18051294119', '1', '180512941191441101035000', '2015-09-01 17:09:38', '4', '7.50', '1', '0', '10507', null, '2015-09-01 17:09:35', null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441101541', '18051294119', '1', null, '2015-09-01 17:09:01', '0', null, '1', '0', '10705', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441101550', '18051294119', '1', null, '2015-09-01 17:09:10', '0', null, '1', '0', '20604', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441123310', '18862344648', '1', null, '2015-09-02 00:09:50', '0', null, '1', '0', '10501', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441854958', '15506218219', '1', '155062182191444304309000', '2015-09-10 11:09:58', '1', '6.00', '1', '0', '10501', '1444304326643', '2015-10-08 19:10:29', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442319340', '11111111111', '1', null, '2015-09-15 20:09:40', '0', null, '1', '0', '10701', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442986637', '18896554880', '1', '188965548801443005885096', '2015-09-23 13:09:17', '1', '5.50', '1', '0', '10703', '1442384951119', '2015-09-23 18:58:05', null, '立即送达', '', '1', '1', null, '36.50', null); +INSERT INTO `orders` VALUES ('1442986666', '18896554880', '1', '188965548801443087415249', '2015-09-23 13:09:46', '1', '6.00', '1', '0', '10503', '1442384951119', '2015-09-24 17:09:55', null, '立即送达', '', '1', '1', null, '36.50', null); +INSERT INTO `orders` VALUES ('1430144042336', '15152658540', '1', '151526585401430144422837', '2015-04-27 22:14:02', '4', null, '1', '0', '40112', '1430143999704', '2015-04-27 00:00:00', '18260108169', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430144296462', '15152658540', '1', '151526585401430144422837', '2015-04-27 22:18:16', '4', null, '1', '0', '10144', '1430143999704', '2015-04-27 00:00:00', '18260108169', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430144403120', '15152658540', '1', '151526585401430144422837', '2015-04-27 22:20:03', '4', null, '1', '0', '20301', '1430143999704', '2015-04-27 00:00:00', '18260108169', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151373718', '15151883571', '1', '151518835711430151400968', '2015-04-28 00:16:13', '3', null, '6', '0', '10105', '1427634635035', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151379484', '15151883571', '1', '151518835711430151400968', '2015-04-28 00:16:19', '3', null, '5', '0', '10145', '1427634635035', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151509421', '15151883572', '1', '151518835721430151563935', '2015-04-28 00:18:29', '3', null, '10', '0', '90105', '1427691760293', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151527200', '15151883572', '1', '151518835721430151563935', '2015-04-28 00:18:47', '3', null, '2', '0', '10414', '1427691760293', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151760021', '15151883572', '1', '151518835721430151779925', '2015-04-28 00:22:40', '3', null, '6', '0', '10141', '1427691760293', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151939514', '15151883572', '1', '151518835721430151947005', '2015-04-28 00:25:39', '3', null, '6', '0', '40208', '1427691760293', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151977998', '15151883572', '1', '151518835721430151989687', '2015-04-28 00:26:17', '3', null, '3', '0', '40208', '1427691760293', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430151983466', '15151883572', '1', '151518835721430151989687', '2015-04-28 00:26:23', '3', null, '2', '0', '90105', '1427691760293', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430159467861', '15151883571', '1', '151518835711430159475732', '2015-04-28 02:31:07', '3', null, '6', '0', '90105', '1427634635035', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430176538322', '18705199035', '1', '187051990351439974200458', '2015-04-28 07:15:38', '1', null, '1', '0', '40308', '1427444444444', '2015-08-19 16:50:00', null, '立即送达', '速度', '1', '1', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430176553180', '18705199035', '1', null, '2015-04-28 07:15:53', '0', null, '1', '0', '90108', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430176597520', '18705199035', '1', null, '2015-04-28 07:16:37', '0', null, '1', '0', '10402', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430185384944', '18114706485', '1', '181147064851430185428037', '2015-04-28 09:43:04', '3', null, '6', '0', '10206', '1429811993729', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430185952893', '15151883571', '1', '151518835711430185969235', '2015-04-28 09:52:32', '3', null, '2', '0', '10414', '1427634635035', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430186008134', '15151883571', '1', '151518835711430186023127', '2015-04-28 09:53:28', '3', null, '3', '0', '10414', '1427634635035', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430186049712', '15151883571', '1', '151518835711430186057508', '2015-04-28 09:54:09', '3', null, '3', '0', '40207', '1427634635035', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430186073682', '15151883571', '1', '151518835711430186080390', '2015-04-28 09:54:33', '3', null, '4', '0', '40207', '1427634635035', '2015-04-28 00:00:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430189726170', '15295567537', '1', '152955675371430189738403', '2015-04-28 10:55:26', '3', null, '3', '0', '90105', '1428134772134', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430190503386', '15151883571', '1', '151518835711430190508781', '2015-04-28 11:08:23', '3', null, '3', '0', '10414', '1427634635035', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430194029975', '15190518013', '1', '151905180131430194093589', '2015-04-28 12:07:09', '3', null, '1', '0', '20210', '1430194088216', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430194046636', '15190518013', '1', '151905180131430194093589', '2015-04-28 12:07:26', '3', null, '3', '0', '90104', '1430194088216', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430194407789', '15261895955', '1', '152618959551430194662716', '2015-04-28 12:13:27', '3', null, '1', '0', '40114', '1430194614988', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430194476386', '15261895955', '1', '152618959551430194662716', '2015-04-28 12:14:36', '3', null, '1', '0', '10211', '1430194614988', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430194513419', '15261895955', '1', '152618959551430194662716', '2015-04-28 12:15:13', '3', null, '1', '0', '20101', '1430194614988', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430194521801', '15261895955', '1', '152618959551430194662716', '2015-04-28 12:15:21', '3', null, '2', '0', '90105', '1430194614988', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430194565291', '15261895955', '1', '152618959551430194662716', '2015-04-28 12:16:05', '3', null, '1', '0', '40105', '1430194614988', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430196130200', '13815445502', '1', '138154455021430196141287', '2015-04-28 12:42:10', '3', null, '1', '0', '10144', '1430196072612', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430196215750', '13815445502', '1', '138154455021430196229464', '2015-04-28 12:43:35', '3', null, '1', '0', '20101', '1430196072612', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430213969746', '15251895527', '1', '152518955271430214243378', '2015-04-28 17:39:29', '3', null, '1', '0', '10413', '1430213301695', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430214143892', '15251895527', '1', '152518955271430214243378', '2015-04-28 17:42:23', '3', null, '1', '0', '40104', '1430213301695', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430214180949', '15251895527', '1', '152518955271430214243378', '2015-04-28 17:43:00', '3', null, '2', '0', '40302', '1430213301695', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215234232', '15190518013', '1', '151905180131430215288694', '2015-04-28 18:00:34', '3', null, '1', '0', '20301', '1430194088216', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215267453', '15190518013', '1', '151905180131430215288694', '2015-04-28 18:01:07', '3', null, '1', '0', '20208', '1430194088216', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215352869', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:02:32', '3', null, '1', '0', '90110', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215360997', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:02:40', '3', null, '1', '0', '90105', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215379001', '18724005167', '1', '187240051671430215730528', '2015-04-28 18:02:59', '3', null, '1', '0', '20101', '1430215725002', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215478565', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:04:38', '3', null, '1', '0', '20301', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215498038', '18724005167', '1', '187240051671430215730528', '2015-04-28 18:04:58', '3', null, '2', '0', '40401', '1430215725002', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215505143', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:05:05', '3', null, '1', '0', '10302', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215532694', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:05:32', '3', null, '4', '0', '10301', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215550066', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:05:50', '3', null, '1', '0', '10205', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215569126', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:06:09', '3', null, '1', '0', '20209', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215608021', '18724005167', '1', '187240051671430215730528', '2015-04-28 18:06:48', '3', null, '1', '0', '40112', '1430215725002', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430215892140', '15295509505', '1', '152955095051430215934265', '2015-04-28 18:11:32', '3', null, '1', '0', '20309', '1430215931228', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430216797447', '15205196040', '1', '152051960401430216882781', '2015-04-28 18:26:37', '3', null, '4', '0', '20101', '1430216853879', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430216903996', '18705199209', '1', '187051992091430217027248', '2015-04-28 18:28:23', '3', null, '1', '0', '20101', '1430217024155', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430217588864', '15205196040', '1', '152051960401430217617093', '2015-04-28 18:39:48', '3', null, '1', '0', '20101', '1430216853879', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430218154897', '18705199209', '1', '187051992091430380152402', '2015-04-28 18:49:14', '3', null, '1', '0', '40206', '1430217024155', '2015-04-30 15:49:12', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430219766343', '13022571629', '1', '130225716291430295054726', '2015-04-28 19:16:06', '3', null, '1', '0', '20101', '1430219675555', '2015-04-29 16:10:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430219889761', '15261896973', '1', '152618969731430220187039', '2015-04-28 19:18:09', '3', null, '1', '0', '20101', '1430220181373', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430219890669', '13022571629', '1', '130225716291430295054726', '2015-04-28 19:18:10', '3', null, '1', '0', '10302', '1430219675555', '2015-04-29 16:10:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430219895903', '13022571629', '1', '130225716291430295054726', '2015-04-28 19:18:15', '3', null, '1', '0', '40206', '1430219675555', '2015-04-29 16:10:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430219924946', '15261896973', '1', '152618969731430220187039', '2015-04-28 19:18:44', '3', null, '1', '0', '40112', '1430220181373', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430219971159', '15261896973', '1', '152618969731430220187039', '2015-04-28 19:19:31', '3', null, '4', '0', '10101', '1430220181373', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430220006330', '13022571629', '1', '130225716291430295054726', '2015-04-28 19:20:06', '3', null, '3', '0', '10204', '1430219675555', '2015-04-29 16:10:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430220088665', '15261896973', '1', '152618969731430220187039', '2015-04-28 19:21:28', '3', null, '2', '0', '40401', '1430220181373', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430220122119', '15261896973', '1', '152618969731430220187039', '2015-04-28 19:22:02', '3', null, '2', '0', '40107', '1430220181373', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430225986622', '18724005167', '1', null, '2015-04-28 20:59:46', '0', null, '1', '0', '90105', null, null, null, null, '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430225999957', '18724005167', '1', '187240051671430226029516', '2015-04-28 20:59:59', '3', null, '2', '0', '10107', '1430215725002', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430226010392', '18724005167', '1', '187240051671430226029516', '2015-04-28 21:00:10', '3', null, '1', '0', '10402', '1430215725002', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430227488473', '15365132621', '1', null, '2015-04-28 21:24:48', '0', null, '1', '0', '20101', null, null, null, null, '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430227574227', '15365132621', '1', '153651326211430227586477', '2015-04-28 21:26:14', '3', null, '1', '0', '20101', '1430227427638', '2015-04-28 00:00:00', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430229919460', '15380820376', '1', '153808203761430230107058', '2015-04-28 22:05:19', '3', null, '1', '0', '10114', '1430230060734', '2015-04-28 00:00:00', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430229938199', '15380820376', '1', '153808203761430230107058', '2015-04-28 22:05:38', '3', null, '10', '0', '20101', '1430230060734', '2015-04-28 00:00:00', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430230023179', '15380820376', '1', '153808203761430230107058', '2015-04-28 22:07:03', '3', null, '2', '0', '90108', '1430230060734', '2015-04-28 00:00:00', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430232722295', '17768105186', '1', null, '2015-04-28 22:52:02', '0', null, '1', '0', '10220', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430232812145', '17768105186', '1', null, '2015-04-28 22:53:32', '0', null, '2', '0', '20101', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430232849226', '17768105186', '1', null, '2015-04-28 22:54:09', '0', null, '2', '0', '40105', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430234930999', '18020118759', '1', '180201187591430276167275', '2015-04-28 23:28:50', '3', null, '1', '0', '20101', '1430234904151', '2015-04-29 10:56:07', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430235098259', '18020118759', '1', '180201187591430276167275', '2015-04-28 23:31:38', '3', null, '2', '0', '90106', '1430234904151', '2015-04-29 10:56:07', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430235111478', '18020118759', '1', '180201187591430276167275', '2015-04-28 23:31:51', '3', null, '3', '0', '90104', '1430234904151', '2015-04-29 10:56:07', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430235566258', '15257588659', '1', '152575886591430236106793', '2015-04-28 23:39:26', '3', null, '1', '0', '10133', '1430236104110', '2015-04-28 23:48:26', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430235581028', '15257588659', '1', '152575886591430236106793', '2015-04-28 23:39:41', '3', null, '1', '0', '10127', '1430236104110', '2015-04-28 23:48:26', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430235961311', '15257588659', '1', '152575886591430236106793', '2015-04-28 23:46:01', '3', null, '1', '0', '40203', '1430236104110', '2015-04-28 23:48:26', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430235973209', '15257588659', '1', '152575886591430236106793', '2015-04-28 23:46:13', '3', null, '1', '0', '40201', '1430236104110', '2015-04-28 23:48:26', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430235986659', '15257588659', '1', '152575886591430236106793', '2015-04-28 23:46:26', '3', null, '1', '0', '40314', '1430236104110', '2015-04-28 23:48:26', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430236335014', '15257588659', '1', '152575886591430236409041', '2015-04-28 23:52:15', '3', null, '2', '0', '10204', '1430236104110', '2015-04-28 23:53:29', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430238383404', '15295569715', '1', null, '2015-04-29 00:26:23', '0', null, '1', '0', '20101', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430238454489', '15295569715', '1', null, '2015-04-29 00:27:34', '0', null, '10', '0', '40406', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430238917392', '18114706485', '1', null, '2015-04-29 00:35:17', '0', null, '5', '0', '10414', null, null, null, null, '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430241101038', '15366199989', '1', '153661999891430241142647', '2015-04-29 01:11:41', '3', null, '6', '0', '20101', '1430241137802', '2015-04-29 01:12:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430265089168', '15951996706', '1', null, '2015-04-29 07:51:29', '0', null, '1', '0', '40207', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430265129197', '15951996706', '1', null, '2015-04-29 07:52:09', '0', null, '2', '0', '40403', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430265208601', '15951996706', '1', null, '2015-04-29 07:53:28', '0', null, '1', '0', '40201', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430265213101', '15951996706', '1', null, '2015-04-29 07:53:33', '0', null, '2', '0', '40109', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430265244712', '15961537269', '1', null, '2015-04-29 07:54:04', '0', null, '10', '0', '20101', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430266637424', '18662835126', '1', '186628351261430266719190', '2015-04-29 08:17:17', '3', null, '10', '0', '20101', '1430266717780', '2015-04-29 08:18:39', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430266659627', '18662835126', '1', '186628351261430266719190', '2015-04-29 08:17:39', '3', null, '2', '0', '10302', '1430266717780', '2015-04-29 08:18:39', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430270372445', '13160076990', '1', null, '2015-04-29 09:19:32', '0', null, '6', '0', '20101', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430273454955', '15365132560', '1', '153651325601430276642411', '2015-04-29 10:10:54', '3', null, '1', '0', '90106', '1430273424102', '2015-04-29 11:04:02', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430273499328', '15365132560', '1', '153651325601430276642411', '2015-04-29 10:11:39', '3', null, '2', '0', '20101', '1430273424102', '2015-04-29 11:04:02', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430273640481', '15365132560', '1', '153651325601430276642411', '2015-04-29 10:14:00', '3', null, '2', '0', '10301', '1430273424102', '2015-04-29 11:04:02', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430273731004', '15365132560', '1', '153651325601430276642411', '2015-04-29 10:15:31', '3', null, '4', '0', '90108', '1430273424102', '2015-04-29 11:04:02', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430274954011', '15151883571', '1', '151518835711430274992276', '2015-04-29 10:35:54', '3', null, '5', '0', '20301', '1427634635035', '2015-04-29 10:36:32', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430275040807', '15151883571', '1', '151518835711430275087859', '2015-04-29 10:37:20', '3', null, '6', '0', '20301', '1427634635035', '2015-04-29 10:38:07', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430275286533', '15151883572', '1', '151518835721430275314465', '2015-04-29 10:41:26', '3', null, '6', '0', '20301', '1427691760293', '2015-04-29 10:41:54', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430275727288', '18020118759', '1', '180201187591430276167275', '2015-04-29 10:48:47', '3', null, '1', '0', '20301', '1430234904151', '2015-04-29 10:56:07', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430276270327', '15151883572', '1', '151518835721430276290526', '2015-04-29 10:57:50', '3', null, '4', '0', '10414', '1427691760293', '2015-04-29 10:58:10', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277093799', '15380820376', '1', '153808203761430280037437', '2015-04-29 11:11:33', '3', null, '1', '0', '10114', '1430230060734', '2015-04-29 12:00:37', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277106268', '15380820376', '1', '153808203761430280037437', '2015-04-29 11:11:46', '3', null, '5', '0', '20101', '1430230060734', '2015-04-29 12:00:37', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277204205', '15380820376', '1', '153808203761430280037437', '2015-04-29 11:13:24', '3', null, '2', '0', '10411', '1430230060734', '2015-04-29 12:00:37', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277550865', '15366031030', '1', '153660310301430277988799', '2015-04-29 11:19:10', '3', null, '2', '0', '90105', '1430143358581', '2015-04-29 11:26:28', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277616618', '15366031030', '1', '153660310301430277988799', '2015-04-29 11:20:16', '3', null, '4', '0', '10101', '1430143358581', '2015-04-29 11:26:28', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277626828', '15366031030', '1', '153660310301430277988799', '2015-04-29 11:20:26', '3', null, '1', '0', '10205', '1430143358581', '2015-04-29 11:26:28', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277891575', '15366031030', '1', '153660310301430277988799', '2015-04-29 11:24:51', '3', null, '2', '0', '40403', '1430143358581', '2015-04-29 11:26:28', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277954817', '15366031030', '1', '153660310301430277988799', '2015-04-29 11:25:54', '3', null, '1', '0', '10302', '1430143358581', '2015-04-29 11:26:28', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430277966335', '15366031030', '1', '153660310301430277988799', '2015-04-29 11:26:06', '3', null, '1', '0', '20101', '1430143358581', '2015-04-29 11:26:28', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280287480', '15190518013', '1', '151905180131430280412216', '2015-04-29 12:04:47', '3', null, '2', '0', '90104', '1430194088216', '2015-04-29 12:06:52', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280327727', '15190518013', '1', '151905180131430280412216', '2015-04-29 12:05:27', '3', null, '1', '0', '20208', '1430194088216', '2015-04-29 12:06:52', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280354516', '15190518013', '1', '151905180131430280412216', '2015-04-29 12:05:54', '3', null, '1', '0', '40206', '1430194088216', '2015-04-29 12:06:52', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280362975', '15261895955', '1', '152618959551430280492419', '2015-04-29 12:06:02', '3', null, '2', '0', '90105', '1430194614988', '2015-04-29 12:08:12', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280373397', '15261895955', '1', '152618959551430280492419', '2015-04-29 12:06:13', '3', null, '2', '0', '40105', '1430194614988', '2015-04-29 12:08:12', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280376065', '15190518013', '1', '151905180131430280412216', '2015-04-29 12:06:16', '3', null, '1', '0', '40106', '1430194088216', '2015-04-29 12:06:52', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280399230', '15190518013', '1', '151905180131430280412216', '2015-04-29 12:06:39', '3', null, '1', '0', '20210', '1430194088216', '2015-04-29 12:06:52', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280404225', '15261895955', '1', '152618959551430280492419', '2015-04-29 12:06:44', '3', null, '1', '0', '20301', '1430194614988', '2015-04-29 12:08:12', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280420915', '18502500812', '1', '185025008121430280552470', '2015-04-29 12:07:00', '3', null, '1', '0', '20208', '1430280547956', '2015-04-29 12:09:12', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280471270', '18502500812', '1', '185025008121430280552470', '2015-04-29 12:07:51', '3', null, '1', '0', '40104', '1430280547956', '2015-04-29 12:09:12', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280505326', '18502500812', '1', '185025008121430280552470', '2015-04-29 12:08:25', '3', null, '1', '0', '10207', '1430280547956', '2015-04-29 12:09:12', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280742652', '15380820376', '1', '153808203761430730416067', '2015-04-29 12:12:22', '3', null, '1', '0', '10204', '1430230060734', '2015-05-04 17:06:56', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430280802985', '15380820376', '1', '153808203761431516606575', '2015-04-29 12:13:22', '3', null, '2', '0', '10411', '1430230060734', '2015-05-13 19:30:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430281125223', '18013863934', '1', '180138639341430281478901', '2015-04-29 12:18:45', '3', null, '3', '0', '90106', '1430281348420', '2015-04-29 12:24:38', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430281136832', '18013863934', '1', '180138639341430281478901', '2015-04-29 12:18:56', '3', null, '3', '0', '90104', '1430281348420', '2015-04-29 12:24:38', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430281221091', '18013863934', '1', '180138639341430281478901', '2015-04-29 12:20:21', '3', null, '1', '0', '20110', '1430281348420', '2015-04-29 12:24:38', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430281292660', '18013863934', '1', '180138639341430281478901', '2015-04-29 12:21:32', '3', null, '2', '0', '40205', '1430281348420', '2015-04-29 12:24:38', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430282516425', '15295567537', '1', '152955675371430284065546', '2015-04-29 12:41:56', '3', null, '3', '0', '10418', '1428134772134', '2015-04-29 13:07:45', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430283271333', '15151883571', '1', '151518835711430283293726', '2015-04-29 12:54:31', '3', null, '5', '0', '20301', '1427634635035', '2015-04-29 12:54:53', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430284050512', '15295567537', '1', '152955675371430284065546', '2015-04-29 13:07:30', '3', null, '5', '0', '20301', '1428134772134', '2015-04-29 13:07:45', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430284182141', '15295567537', '1', '152955675371430284231890', '2015-04-29 13:09:42', '3', null, '17', '0', '90103', '1428134772134', '2015-04-29 13:10:31', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430284219898', '15295567537', '1', '152955675371430284231890', '2015-04-29 13:10:19', '3', null, '7', '0', '10414', '1428134772134', '2015-04-29 13:10:31', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430287457083', '18020118356', '1', '180201183561430288457096', '2015-04-29 14:04:17', '3', null, '1', '0', '90106', '1430288419148', '2015-04-29 14:20:57', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430287493895', '18020118356', '1', '180201183561430288457096', '2015-04-29 14:04:53', '3', null, '1', '0', '20110', '1430288419148', '2015-04-29 14:20:57', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430287571025', '18020118356', '1', '180201183561430288457096', '2015-04-29 14:06:11', '3', null, '1', '0', '10302', '1430288419148', '2015-04-29 14:20:57', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430288115208', '18020118356', '1', '180201183561430288457096', '2015-04-29 14:15:15', '3', null, '2', '0', '40406', '1430288419148', '2015-04-29 14:20:57', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430288327639', '18020118356', '1', '180201183561430288457096', '2015-04-29 14:18:47', '3', null, '1', '0', '40104', '1430288419148', '2015-04-29 14:20:57', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430288353478', '18020118356', '1', '180201183561430288457096', '2015-04-29 14:19:13', '3', null, '1', '0', '40112', '1430288419148', '2015-04-29 14:20:57', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430292834810', '15161048466', '1', '151610484661430292843047', '2015-04-29 15:33:54', '3', null, '14', '0', '90106', '1430291991110', '2015-04-29 15:34:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430293311593', '15151883571', '1', '151518835711430293320469', '2015-04-29 15:41:51', '3', null, '266', '0', '90106', '1427634635035', '2015-04-29 15:42:00', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430293591430', '13913976839', '1', '139139768391430293687612', '2015-04-29 15:46:31', '3', null, '2', '0', '20301', '1430293686093', '2015-04-29 15:48:07', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430294887217', '13160076967', '1', '131600769671430295159856', '2015-04-29 16:08:07', '3', null, '1', '0', '10107', '1430295105062', '2015-04-29 16:12:39', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430294940902', '13160076967', '1', '131600769671430295159856', '2015-04-29 16:09:00', '3', null, '1', '0', '40208', '1430295105062', '2015-04-29 16:12:39', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430295019916', '13160076967', '1', '131600769671430295159856', '2015-04-29 16:10:19', '3', null, '1', '0', '20107', '1430295105062', '2015-04-29 16:12:39', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430295335217', '15365128369', '1', '153651283691430295530478', '2015-04-29 16:15:35', '3', null, '2', '0', '10301', '1430281199125', '2015-04-29 16:18:50', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430295341055', '15365128369', '1', '153651283691430295530478', '2015-04-29 16:15:41', '3', null, '1', '0', '40208', '1430281199125', '2015-04-29 16:18:50', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430295349958', '15365128369', '1', '153651283691430295530478', '2015-04-29 16:15:49', '3', null, '1', '0', '90108', '1430281199125', '2015-04-29 16:18:50', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430295362025', '15365128369', '1', '153651283691430295530478', '2015-04-29 16:16:02', '3', null, '4', '0', '10101', '1430281199125', '2015-04-29 16:18:50', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430295397530', '15365128369', '1', '153651283691430295530478', '2015-04-29 16:16:37', '3', null, '1', '0', '100101', '1430281199125', '2015-04-29 16:18:50', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298229945', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:03:49', '3', null, '1', '0', '90103', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298285297', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:04:45', '3', null, '1', '0', '10202', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298355206', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:05:55', '3', null, '4', '0', '40406', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298368726', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:06:08', '3', null, '1', '0', '40404', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298376660', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:06:16', '3', null, '1', '0', '40402', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298409830', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:06:49', '3', null, '1', '0', '40312', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298417631', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:06:57', '3', null, '1', '0', '40309', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298464551', '17768104230', '1', null, '2015-04-29 17:07:44', '0', null, '1', '0', '90108', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298487189', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:08:07', '3', null, '1', '0', '40108', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298487288', '17768104230', '1', null, '2015-04-29 17:08:07', '0', null, '6', '0', '10301', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298498514', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:08:18', '3', null, '1', '0', '20107', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430298586747', '15365132560', '1', '153651325601430298609136', '2015-04-29 17:09:46', '3', null, '1', '0', '90104', '1430273424102', '2015-04-29 17:10:09', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430300542887', '15850789886', '1', null, '2015-04-29 17:42:22', '0', null, '4', '0', '10414', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430300653980', '15295567537', '1', '152955675371430300662259', '2015-04-29 17:44:13', '3', null, '5', '0', '10105', '1428134772134', '2015-04-29 17:44:22', '18252056259', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430301611924', '18705199233', '1', '187051992331430301841341', '2015-04-29 18:00:11', '3', null, '1', '0', '10222', '1430301839771', '2015-04-29 18:04:01', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430301684646', '18705199233', '1', '187051992331430301841341', '2015-04-29 18:01:24', '3', null, '2', '0', '10411', '1430301839771', '2015-04-29 18:04:01', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430301778276', '18705199233', '1', '187051992331430301841341', '2015-04-29 18:02:58', '3', null, '1', '0', '20101', '1430301839771', '2015-04-29 18:04:01', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430302531183', '15151883571', '1', '151518835711430302550757', '2015-04-29 18:15:31', '3', null, '4', '0', '10414', '1427634635035', '2015-04-29 18:15:50', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430302552168', '15295569869', '1', '152955698691430311096505', '2015-04-29 18:15:52', '3', null, '6', '0', '10301', '1430140350821', '2015-04-29 20:38:16', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430302603523', '15295569869', '1', '152955698691430311096505', '2015-04-29 18:16:43', '3', null, '1', '0', '90110', '1430140350821', '2015-04-29 20:38:16', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430303162067', '15295569869', '1', '152955698691430311096505', '2015-04-29 18:26:02', '3', null, '1', '0', '20301', '1430140350821', '2015-04-29 20:38:16', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430307639517', '-1', '1', null, '2015-04-29 19:40:39', '0', null, '1', '0', '20301', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309178261', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:06:18', '3', null, '4', '0', '10301', '1430219675555', '2015-04-29 20:11:04', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309192037', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:06:32', '3', null, '2', '0', '90105', '1430219675555', '2015-04-29 20:11:04', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309209065', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:06:49', '3', null, '10', '0', '10101', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309221835', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:07:01', '3', null, '2', '0', '90101', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309253954', '13022571629', '1', null, '2015-04-29 20:07:33', '0', null, '1', '0', '20301', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309309246', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:08:29', '3', null, '2', '0', '10415', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309344461', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:09:04', '3', null, '10', '0', '40406', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309358499', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:09:18', '3', null, '4', '0', '40403', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309377222', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:09:37', '3', null, '2', '0', '40311', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309392823', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:09:52', '3', null, '2', '0', '40303', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430309409083', '13022571629', '1', '130225716291430309463890', '2015-04-29 20:10:09', '3', null, '2', '0', '40313', '1430219675555', '2015-04-29 20:11:03', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430310750691', '15295569869', '1', '152955698691430311096505', '2015-04-29 20:32:30', '3', null, '1', '0', '10214', '1430140350821', '2015-04-29 20:38:16', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430312191844', '15261896973', '1', '152618969731430312415753', '2015-04-29 20:56:31', '3', null, '2', '0', '90105', '1430220181373', '2015-04-29 21:00:15', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430312224845', '15261896973', '1', '152618969731430312415753', '2015-04-29 20:57:04', '3', null, '2', '0', '40401', '1430220181373', '2015-04-29 21:00:15', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430312257756', '15261896973', '1', '152618969731430312415753', '2015-04-29 20:57:37', '3', null, '2', '0', '10404', '1430220181373', '2015-04-29 21:00:15', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430312271679', '15261896973', '1', '152618969731430312415753', '2015-04-29 20:57:51', '3', null, '2', '0', '40110', '1430220181373', '2015-04-29 21:00:15', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430312330061', '15261896973', '1', '152618969731430312415753', '2015-04-29 20:58:50', '3', null, '2', '0', '10204', '1430220181373', '2015-04-29 21:00:15', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430312377396', '15261896973', '1', '152618969731430312415753', '2015-04-29 20:59:37', '3', null, '2', '0', '20210', '1430220181373', '2015-04-29 21:00:15', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430313614376', '15152658540', '1', '151526585401430314909995', '2015-04-29 21:20:14', '3', null, '1', '0', '20101', '1430143999704', '2015-04-29 21:41:50', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430313742753', '15366199989', '1', '153661999891430316178732', '2015-04-29 21:22:22', '3', null, '1', '0', '20301', '1430241137802', '2015-04-29 22:02:58', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430313757698', '15366199989', '1', '153661999891430316178732', '2015-04-29 21:22:37', '3', null, '1', '0', '20101', '1430241137802', '2015-04-29 22:02:58', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430313973130', '13951781505', '1', null, '2015-04-29 21:26:13', '0', null, '7', '0', '10301', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314016173', '13951781505', '1', null, '2015-04-29 21:26:56', '0', null, '3', '0', '10101', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314098297', '13951781505', '1', null, '2015-04-29 21:28:18', '0', null, '2', '0', '90101', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314206578', '18252066383', '1', '182520663831430314494207', '2015-04-29 21:30:06', '3', null, '3', '0', '20107', '1430314490045', '2015-04-29 21:34:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314232299', '18252066383', '1', '182520663831430314494207', '2015-04-29 21:30:32', '3', null, '1', '0', '10302', '1430314490045', '2015-04-29 21:34:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314333021', '18252066383', '1', '182520663831430314494207', '2015-04-29 21:32:13', '3', null, '2', '0', '10411', '1430314490045', '2015-04-29 21:34:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314345749', '18252066383', '1', '182520663831430314494207', '2015-04-29 21:32:25', '3', null, '3', '0', '10418', '1430314490045', '2015-04-29 21:34:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314451336', '18252066383', '1', '182520663831430314494207', '2015-04-29 21:34:11', '3', null, '2', '0', '90110', '1430314490045', '2015-04-29 21:34:54', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430314894682', '15152658540', '1', '151526585401430314909995', '2015-04-29 21:41:34', '3', null, '1', '0', '40112', '1430143999704', '2015-04-29 21:41:49', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430325922682', '15295567537', '1', '152955675371430325970139', '2015-04-30 00:45:22', '3', null, '3', '0', '10409', '1428134772134', '2015-04-30 00:46:10', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430325951137', '15295567537', '1', '152955675371430325970139', '2015-04-30 00:45:51', '3', null, '6', '0', '20602', '1428134772134', '2015-04-30 00:46:10', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430363698839', '18724005167', '1', '187240051671430364074906', '2015-04-30 11:14:58', '3', null, '2', '0', '10404', '1430215725002', '2015-04-30 11:21:14', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430363741380', '18724005167', '1', '187240051671430364074906', '2015-04-30 11:15:41', '3', null, '1', '0', '10405', '1430215725002', '2015-04-30 11:21:14', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430363804851', '18724005167', '1', '187240051671430364074906', '2015-04-30 11:16:44', '3', null, '3', '0', '40401', '1430215725002', '2015-04-30 11:21:14', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430363965170', '18724005167', '1', '187240051671430364074906', '2015-04-30 11:19:25', '3', null, '1', '0', '20203', '1430215725002', '2015-04-30 11:21:14', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430363999725', '18724005167', '1', '187240051671430364074906', '2015-04-30 11:19:59', '3', null, '1', '0', '40107', '1430215725002', '2015-04-30 11:21:14', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430369007460', '15257588659', '1', null, '2015-04-30 12:43:27', '0', null, '1', '0', '10506', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430369195019', '15257588659', '1', null, '2015-04-30 12:46:35', '0', null, '1', '0', '40208', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430369911557', '15151883571', '1', '151518835711430369988893', '2015-04-30 12:58:31', '3', null, '407', '0', '40401', '1427634635035', '2015-04-30 12:59:48', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430370700122', '15151883571', '1', '151518835711430370717558', '2015-04-30 13:11:40', '3', null, '85', '0', '40401', '1427634635035', '2015-04-30 13:11:57', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373343375', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:55:43', '3', null, '4', '0', '10101', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373351574', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:55:51', '3', null, '1', '0', '20609', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373366306', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:56:06', '3', null, '2', '0', '90101', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373386887', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:56:26', '3', null, '1', '0', '20611', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373411795', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:56:51', '3', null, '1', '0', '20602', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373428889', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:57:08', '3', null, '1', '0', '40109', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373453087', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:57:33', '3', null, '2', '0', '40403', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373466899', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:57:46', '3', null, '1', '0', '20111', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373482369', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:58:02', '3', null, '2', '0', '90102', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373538951', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:58:58', '3', null, '1', '0', '40401', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430373548619', '15366031030', '1', '153660310301430373741361', '2015-04-30 13:59:08', '3', null, '1', '0', '40205', '1430143358581', '2015-04-30 14:02:21', '15151883571', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430379893783', '18705199209', '1', '187051992091430380152402', '2015-04-30 15:44:53', '3', null, '1', '0', '90109', '1430217024155', '2015-04-30 15:49:12', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430379904018', '18705199209', '1', '187051992091430380152402', '2015-04-30 15:45:04', '3', null, '1', '0', '90108', '1430217024155', '2015-04-30 15:49:12', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430380085129', '18705199209', '1', '187051992091430380152402', '2015-04-30 15:48:05', '3', null, '1', '0', '10401', '1430217024155', '2015-04-30 15:49:12', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430380129007', '18705199209', '1', '187051992091430380152402', '2015-04-30 15:48:49', '3', null, '1', '0', '20110', '1430217024155', '2015-04-30 15:49:12', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430383907774', '15261895955', '1', '152618959551430384162495', '2015-04-30 16:51:47', '3', null, '2', '0', '20609', '1430194614988', '2015-04-30 16:56:02', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430383949717', '15261895955', '1', '152618959551430384162495', '2015-04-30 16:52:29', '3', null, '1', '0', '20301', '1430194614988', '2015-04-30 16:56:02', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384073614', '15261895955', '1', '152618959551430384162495', '2015-04-30 16:54:33', '3', null, '3', '0', '10101', '1430194614988', '2015-04-30 16:56:02', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384096485', '15261895955', '1', '152618959551430384162495', '2015-04-30 16:54:56', '3', null, '1', '0', '40107', '1430194614988', '2015-04-30 16:56:02', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384100435', '15261895955', '1', '152618959551430384162495', '2015-04-30 16:55:00', '3', null, '1', '0', '40108', '1430194614988', '2015-04-30 16:56:02', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384646954', '18705199233', '1', '187051992331430384826571', '2015-04-30 17:04:06', '3', null, '2', '0', '10220', '1430301839771', '2015-04-30 17:07:06', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384777938', '18705199233', '1', '187051992331430384826571', '2015-04-30 17:06:17', '3', null, '2', '0', '10411', '1430301839771', '2015-04-30 17:07:06', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384797287', '18705199233', '1', '187051992331430384826571', '2015-04-30 17:06:37', '3', null, '1', '0', '10407', '1430301839771', '2015-04-30 17:07:06', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384810682', '18705199233', '1', '187051992331430384826571', '2015-04-30 17:06:50', '3', null, '1', '0', '20112', '1430301839771', '2015-04-30 17:07:06', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430384818313', '18705199233', '1', '187051992331430384826571', '2015-04-30 17:06:58', '3', null, '1', '0', '20106', '1430301839771', '2015-04-30 17:07:06', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430385935280', '18252057339', '1', '182520573391430386139824', '2015-04-30 17:25:35', '3', null, '1', '0', '10206', '1430386138346', '2015-04-30 17:28:59', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430385942226', '18252057339', '1', '182520573391430386139824', '2015-04-30 17:25:42', '3', null, '2', '0', '90108', '1430386138346', '2015-04-30 17:28:59', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430385998704', '18252057339', '1', '182520573391430386139824', '2015-04-30 17:26:38', '3', null, '1', '0', '10504', '1430386138346', '2015-04-30 17:28:59', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430386007046', '18252057339', '1', '182520573391430386139824', '2015-04-30 17:26:47', '3', null, '1', '0', '10506', '1430386138346', '2015-04-30 17:28:59', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430386041096', '18252057339', '1', '182520573391430386139824', '2015-04-30 17:27:21', '3', null, '2', '0', '40310', '1430386138346', '2015-04-30 17:28:59', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430386074804', '18252057339', '1', '182520573391430386139824', '2015-04-30 17:27:54', '3', null, '1', '0', '10409', '1430386138346', '2015-04-30 17:28:59', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430409053849', '18751889637', '1', '187518896371430409117778', '2015-04-30 23:50:53', '3', null, '2', '0', '20111', '1430409101899', '2015-04-30 23:51:57', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430446940945', '18252058127', '1', '182520581271430448302369', '2015-05-01 10:22:20', '3', null, '50', '0', '10101', '1430303302959', '2015-05-01 10:45:02', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430446971594', '18252058127', '1', '182520581271430448302369', '2015-05-01 10:22:51', '3', null, '1', '0', '10414', '1430303302959', '2015-05-01 10:45:02', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430447121319', '18252058127', '1', '182520581271430448302369', '2015-05-01 10:25:21', '3', null, '5', '0', '20609', '1430303302959', '2015-05-01 10:45:02', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430447291202', '18252058127', '1', '182520581271430448302369', '2015-05-01 10:28:11', '3', null, '1', '0', '40112', '1430303302959', '2015-05-01 10:45:02', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430447661961', '18252058127', '1', '182520581271430448302369', '2015-05-01 10:34:21', '3', null, '1', '0', '10302', '1430303302959', '2015-05-01 10:45:02', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430447999837', '18252058127', '1', '182520581271430448302369', '2015-05-01 10:39:59', '3', null, '1', '0', '10219', '1430303302959', '2015-05-01 10:45:02', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430449046823', '15605159822', '1', '156051598221430449299110', '2015-05-01 10:57:26', '3', null, '10', '0', '10101', '1430449291849', '2015-05-01 11:01:39', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430449177011', '15605159822', '1', '156051598221430449299110', '2015-05-01 10:59:37', '3', null, '2', '0', '40208', '1430449291849', '2015-05-01 11:01:39', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430449198248', '15605159822', '1', '156051598221430449299110', '2015-05-01 10:59:58', '3', null, '2', '0', '20501', '1430449291849', '2015-05-01 11:01:39', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430450646896', '18061739312', '1', '180617393121430450754564', '2015-05-01 11:24:06', '3', null, '10', '0', '10101', '1430233845504', '2015-05-01 11:25:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430450685527', '18061739312', '1', '180617393121430450754564', '2015-05-01 11:24:45', '3', null, '5', '0', '40315', '1430233845504', '2015-05-01 11:25:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430450724930', '18061739312', '1', '180617393121430450754564', '2015-05-01 11:25:24', '3', null, '4', '0', '40310', '1430233845504', '2015-05-01 11:25:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430481531701', '18020118356', '1', '180201183561430714092813', '2015-05-01 19:58:51', '3', null, '1', '0', '20110', '1430288419148', '2015-05-04 12:34:52', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430481710048', '18020118356', '1', '180201183561430714092813', '2015-05-01 20:01:50', '3', null, '4', '0', '10101', '1430288419148', '2015-05-04 12:34:52', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430481818683', '18020118356', '1', '180201183561430714092813', '2015-05-01 20:03:38', '3', null, '1', '0', '10103', '1430288419148', '2015-05-04 12:34:52', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430481829211', '18020118356', '1', '180201183561430714092813', '2015-05-01 20:03:49', '3', null, '1', '0', '20604', '1430288419148', '2015-05-04 12:34:52', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430481930008', '18020118356', '1', '180201183561430714092813', '2015-05-01 20:05:30', '3', null, '1', '0', '10204', '1430288419148', '2015-05-04 12:34:52', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430481939720', '18020118356', '1', '180201183561430714092813', '2015-05-01 20:05:39', '3', null, '2', '0', '10301', '1430288419148', '2015-05-04 12:34:52', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430483445326', '-1', '1', null, '2015-05-01 20:30:45', '0', null, '2', '0', '10301', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430483453403', '-1', '1', null, '2015-05-01 20:30:53', '0', null, '1', '0', '10402', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430483488843', '-1', '1', null, '2015-05-01 20:31:28', '0', null, '1', '0', '10411', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430539374558', '15380820376', '1', '153808203761430730416067', '2015-05-02 12:02:54', '3', null, '1', '0', '10219', '1430230060734', '2015-05-04 17:06:56', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430539497819', '15380820376', '1', '153808203761431516606575', '2015-05-02 12:04:57', '3', null, '1', '0', '40204', '1430230060734', '2015-05-13 19:30:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430539541660', '15380820376', '1', '153808203761430887170746', '2015-05-02 12:05:41', '3', null, '2', '0', '90107', '1430230060734', '2015-05-06 12:39:30', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430618491384', '18362938239', '1', '183629382391430705926703', '2015-05-03 10:01:31', '3', null, '1', '0', '20104', '1430618682327', '2015-05-04 10:18:46', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430618532546', '18362938239', '1', '183629382391430705926703', '2015-05-03 10:02:12', '3', null, '1', '0', '20601', '1430618682327', '2015-05-04 10:18:46', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430618606270', '18362938239', '1', '183629382391430705926703', '2015-05-03 10:03:26', '3', null, '1', '0', '40202', '1430618682327', '2015-05-04 10:18:46', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430618921019', '15366031030', '1', '153660310301439519885187', '2015-05-03 10:08:41', '1', null, '2', '0', '40311', '1427622407201', '2015-08-14 10:38:05', null, '立即送达', '速度', '1', '1', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430618931710', '15366031030', '1', '153660310301439519885187', '2015-05-03 10:08:51', '1', null, '2', '0', '10401', '1427622407201', '2015-08-14 10:38:05', null, '立即送达', '速度', '1', '1', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430618956256', '15366031030', '1', null, '2015-05-03 10:09:16', '0', null, '1', '0', '40207', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430618999075', '15366031030', '1', null, '2015-05-03 10:09:59', '0', null, '1', '0', '10127', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430621038630', '13382402235', '1', null, '2015-05-03 10:43:58', '0', null, '1', '0', '10505', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430621075987', '13382402235', '1', null, '2015-05-03 10:44:35', '0', null, '1', '0', '90108', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430631745191', '15380820376', '1', '153808203761430730416067', '2015-05-03 13:42:25', '3', null, '1', '0', '20110', '1430230060734', '2015-05-04 17:06:56', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430643172624', '18070155110', '1', null, '2015-05-03 16:52:52', '0', null, '10', '0', '10101', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430643251727', '18070155110', '1', null, '2015-05-03 16:54:11', '0', null, '6', '0', '40406', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430643338139', '18070155110', '1', null, '2015-05-03 16:55:38', '0', null, '1', '0', '40105', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430643431932', '18070155110', '1', null, '2015-05-03 16:57:11', '0', null, '1', '0', '40401', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430643478816', '18070155110', '1', null, '2015-05-03 16:57:58', '0', null, '2', '0', '40403', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430643503928', '18070155110', '1', null, '2015-05-03 16:58:23', '0', null, '2', '0', '40304', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430643545213', '18070155110', '1', null, '2015-05-03 16:59:05', '0', null, '2', '0', '90108', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430647476009', '15295567537', '1', '152955675371430729176173', '2015-05-03 18:04:36', '3', null, '4', '0', '10507', '1428134772134', '2015-05-04 16:46:16', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430655159434', '18013866641', '1', '180138666411430655165547', '2015-05-03 20:12:39', '3', null, '3', '0', '20502', '1430573737418', '2015-05-03 20:12:45', '18252056259', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430659124171', '18662835126', '1', '186628351261430659255785', '2015-05-03 21:18:44', '3', null, '30', '0', '10101', '1430266717780', '2015-05-03 21:20:55', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430659194121', '18662835126', '1', '186628351261430659255785', '2015-05-03 21:19:54', '3', null, '2', '0', '10302', '1430266717780', '2015-05-03 21:20:55', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430659842757', '13861605337', '1', '138616053371430659954144', '2015-05-03 21:30:42', '3', null, '2', '0', '20611', '1430659947759', '2015-05-03 21:32:34', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430659890426', '13861605337', '1', '138616053371430659954144', '2015-05-03 21:31:30', '3', null, '1', '0', '40208', '1430659947759', '2015-05-03 21:32:34', '13160076990', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430660114643', '13160076990', '1', null, '2015-05-03 21:35:14', '0', null, '4', '0', '10302', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430674895367', '18114706485', '1', '181147064851430674907165', '2015-05-04 01:41:35', '3', null, '18', '0', '90109', '1429811993729', '2015-05-04 01:41:47', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430696486338', '13040101273', '1', '130401012731430696542477', '2015-05-04 07:41:26', '3', null, '1', '0', '10611', '1430282698225', '2015-05-04 07:42:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430696495378', '13040101273', '1', '130401012731430696542477', '2015-05-04 07:41:35', '3', null, '1', '0', '10608', '1430282698225', '2015-05-04 07:42:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430696504924', '13040101273', '1', '130401012731430696542477', '2015-05-04 07:41:44', '3', null, '1', '0', '10603', '1430282698225', '2015-05-04 07:42:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430696525027', '13040101273', '1', '130401012731430696542477', '2015-05-04 07:42:05', '3', null, '1', '0', '10602', '1430282698225', '2015-05-04 07:42:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430705838641', '18362938239', '1', '183629382391430705926703', '2015-05-04 10:17:18', '3', null, '1', '0', '10103', '1430618682327', '2015-05-04 10:18:46', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430705887715', '18362938239', '1', '183629382391430705926703', '2015-05-04 10:18:07', '3', null, '1', '0', '10402', '1430618682327', '2015-05-04 10:18:46', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430708902660', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:08:22', '3', null, '8', '0', '10101', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430708970717', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:09:30', '3', null, '2', '0', '20609', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430708986528', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:09:46', '3', null, '1', '0', '20603', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430708999944', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:09:59', '3', null, '2', '0', '40107', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430709004363', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:10:04', '3', null, '1', '0', '40109', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430709013409', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:10:13', '3', null, '1', '0', '40403', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430709025063', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:10:25', '3', null, '1', '0', '20110', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430709050735', '15366031030', '1', '153660310301430709091323', '2015-05-04 11:10:50', '3', null, '1', '0', '10136', '1430143358581', '2015-05-04 11:11:31', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430724703470', '18705199209', '1', '187051992091430724810526', '2015-05-04 15:31:43', '3', null, '1', '0', '40208', '1430217024155', '2015-05-04 15:33:30', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430724762119', '18705199209', '1', '187051992091430724810526', '2015-05-04 15:32:42', '3', null, '2', '0', '20107', '1430217024155', '2015-05-04 15:33:30', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430724789602', '18705199209', '1', '187051992091430724810526', '2015-05-04 15:33:09', '3', null, '1', '0', '20401', '1430217024155', '2015-05-04 15:33:30', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430726473964', '18551310166', '1', '185513101661430726871921', '2015-05-04 16:01:13', '3', null, '1', '0', '20401', '1430726869324', '2015-05-04 16:07:51', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430726515599', '18551310166', '1', '185513101661430726871921', '2015-05-04 16:01:55', '3', null, '2', '0', '40311', '1430726869324', '2015-05-04 16:07:51', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430726801148', '18551310166', '1', '185513101661430726871921', '2015-05-04 16:06:41', '3', null, '1', '0', '40201', '1430726869324', '2015-05-04 16:07:51', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430726806575', '18551310166', '1', '185513101661430726871921', '2015-05-04 16:06:46', '3', null, '1', '0', '40203', '1430726869324', '2015-05-04 16:07:51', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430726810598', '18551310166', '1', '185513101661430726871921', '2015-05-04 16:06:50', '3', null, '1', '0', '40205', '1430726869324', '2015-05-04 16:07:51', '15052875774', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430729168919', '15295567537', '1', '152955675371430729176173', '2015-05-04 16:46:08', '3', null, '6', '0', '10504', '1428134772134', '2015-05-04 16:46:16', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430735926912', '18036196086', '1', '180361960861430736085170', '2015-05-04 18:38:46', '3', null, '10', '0', '10101', '1430736081605', '2015-05-04 18:41:25', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430736002798', '18036196086', '1', '180361960861430736085170', '2015-05-04 18:40:02', '3', null, '2', '0', '20204', '1430736081605', '2015-05-04 18:41:25', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430736027940', '18036196086', '1', null, '2015-05-04 18:40:27', '0', null, '1', '0', '20104', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430741356961', '18724005167', '1', '187240051671430741407745', '2015-05-04 20:09:16', '3', null, '3', '0', '20107', '1430215725002', '2015-05-04 20:10:07', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430741367145', '18724005167', '1', '187240051671430741407745', '2015-05-04 20:09:27', '3', null, '2', '0', '20104', '1430215725002', '2015-05-04 20:10:07', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430744945426', '18796640565', '1', '187966405651430745018836', '2015-05-04 21:09:05', '3', null, '1', '0', '10221', '1430745016925', '2015-05-04 21:10:18', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430744971135', '18796640565', '1', '187966405651430745018836', '2015-05-04 21:09:31', '3', null, '1', '0', '10202', '1430745016925', '2015-05-04 21:10:18', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430748925187', '13040101273', '1', '130401012731430748968932', '2015-05-04 22:15:25', '3', null, '1', '0', '10624', '1430282698225', '2015-05-04 22:16:08', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430748932465', '13040101273', '1', '130401012731430748968932', '2015-05-04 22:15:32', '3', null, '1', '0', '10621', '1430282698225', '2015-05-04 22:16:08', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430748946761', '13040101273', '1', '130401012731430748968932', '2015-05-04 22:15:46', '3', null, '1', '0', '10611', '1430282698225', '2015-05-04 22:16:08', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430794092682', '18705199035', '1', null, '2015-05-05 10:48:12', '0', null, '2', '0', '90114', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430794115813', '18705199035', '1', null, '2015-05-05 10:48:35', '0', null, '1', '0', '40310', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430797498616', '13815445502', '1', '138154455021430797751803', '2015-05-05 11:44:58', '3', null, '1', '0', '40205', '1430196072612', '2015-05-05 11:49:11', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430797709353', '13815445502', '1', '138154455021430797751803', '2015-05-05 11:48:29', '3', null, '1', '0', '40203', '1430196072612', '2015-05-05 11:49:11', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430797734280', '13815445502', '1', '138154455021430797751803', '2015-05-05 11:48:54', '3', null, '1', '0', '40210', '1430196072612', '2015-05-05 11:49:11', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430797806346', '15150443372', '1', '151504433721430797869623', '2015-05-05 11:50:06', '3', null, '1', '0', '20111', '1430797866303', '2015-05-05 11:51:09', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430800804275', '15190518013', '1', '151905180131430800860560', '2015-05-05 12:40:04', '3', null, '2', '0', '90102', '1430194088216', '2015-05-05 12:41:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430800821756', '15190518013', '1', '151905180131430800860560', '2015-05-05 12:40:21', '3', null, '1', '0', '40109', '1430194088216', '2015-05-05 12:41:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430800841364', '15190518013', '1', '151905180131430800860560', '2015-05-05 12:40:41', '3', null, '1', '0', '20502', '1430194088216', '2015-05-05 12:41:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430803912126', '18252120427', '1', '182521204271430804210070', '2015-05-05 13:31:52', '3', null, '10', '0', '10301', '1430804181551', '2015-05-05 13:36:50', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430803952389', '18252120427', '1', '182521204271430804210070', '2015-05-05 13:32:32', '3', null, '2', '0', '90108', '1430804181551', '2015-05-05 13:36:50', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430804080136', '18252120427', '1', '182521204271430804210070', '2015-05-05 13:34:40', '3', null, '2', '0', '40205', '1430804181551', '2015-05-05 13:36:50', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430804090695', '18252120427', '1', '182521204271430804210070', '2015-05-05 13:34:50', '3', null, '1', '0', '40207', '1430804181551', '2015-05-05 13:36:50', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430804140414', '18252120427', '1', '182521204271430804210070', '2015-05-05 13:35:40', '3', null, '1', '0', '40206', '1430804181551', '2015-05-05 13:36:50', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430813002837', '15251895527', '1', '152518955271430813071517', '2015-05-05 16:03:22', '3', null, '12', '0', '20604', '1430213301695', '2015-05-05 16:04:31', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430813027669', '15251895527', '1', '152518955271430813071517', '2015-05-05 16:03:47', '3', null, '2', '0', '20107', '1430213301695', '2015-05-05 16:04:31', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430821970437', '15150443372', '1', '151504433721430823128487', '2015-05-05 18:32:50', '3', null, '1', '0', '40209', '1430797866303', '2015-05-05 18:52:08', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430822003912', '15150443372', '1', '151504433721430823128487', '2015-05-05 18:33:23', '3', null, '1', '0', '40210', '1430797866303', '2015-05-05 18:52:08', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430830983393', '18066057126', '1', '180660571261431167754066', '2015-05-05 21:03:03', '3', null, '10', '0', '10101', '1430917522766', '2015-05-09 18:35:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430833795768', '15295569715', '1', null, '2015-05-05 21:49:55', '0', null, '1', '0', '20612', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430833807500', '15295569715', '1', null, '2015-05-05 21:50:07', '0', null, '1', '0', '20602', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430833819732', '15295569715', '1', null, '2015-05-05 21:50:19', '0', null, '1', '0', '20601', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430833838279', '15295569715', '1', null, '2015-05-05 21:50:38', '0', null, '1', '0', '20107', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430833847940', '18751889637', '1', '187518896371430834214614', '2015-05-05 21:50:47', '3', null, '10', '0', '10101', '1430409101899', '2015-05-05 21:56:54', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430834077255', '18751889637', '1', '187518896371430834214614', '2015-05-05 21:54:37', '3', null, '1', '0', '20104', '1430409101899', '2015-05-05 21:56:54', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430834194572', '18751889637', '1', '187518896371430834214614', '2015-05-05 21:56:34', '3', null, '2', '0', '10302', '1430409101899', '2015-05-05 21:56:54', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430834236645', '13451895624', '1', '134518956241430834461570', '2015-05-05 21:57:16', '3', null, '5', '0', '10301', '1430834407532', '2015-05-05 22:01:01', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430834244542', '13451895624', '1', '134518956241430834461570', '2015-05-05 21:57:24', '3', null, '1', '0', '20609', '1430834407532', '2015-05-05 22:01:01', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430834359028', '13451895624', '1', '134518956241430834461570', '2015-05-05 21:59:19', '3', null, '2', '0', '10411', '1430834407532', '2015-05-05 22:01:01', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430880029402', '15261896862', '1', '152618968621430880364975', '2015-05-06 10:40:29', '3', null, '1', '0', '20107', '1430880346706', '2015-05-06 10:46:05', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430880115467', '15261896862', '1', '152618968621430880364975', '2015-05-06 10:41:55', '3', null, '1', '0', '40105', '1430880346706', '2015-05-06 10:46:05', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430880121522', '15261896862', '1', '152618968621430880364975', '2015-05-06 10:42:01', '3', null, '1', '0', '40106', '1430880346706', '2015-05-06 10:46:05', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430880150498', '15261896862', '1', '152618968621430880364975', '2015-05-06 10:42:30', '3', null, '1', '0', '40205', '1430880346706', '2015-05-06 10:46:04', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430880259268', '15261896862', '1', '152618968621430880364975', '2015-05-06 10:44:19', '3', null, '1', '0', '40107', '1430880346706', '2015-05-06 10:46:04', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430880779725', '18705198389', '1', '187051983891430880822560', '2015-05-06 10:52:59', '3', null, '2', '0', '20107', '1430880199130', '2015-05-06 10:53:42', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430886011010', '13814504204', '1', '138145042041430886685008', '2015-05-06 12:20:11', '3', null, '3', '0', '10202', '1430886217079', '2015-05-06 12:31:25', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430886026910', '13814504204', '1', '138145042041430886685008', '2015-05-06 12:20:26', '3', null, '3', '0', '10220', '1430886217079', '2015-05-06 12:31:25', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430886055986', '13814504204', '1', '138145042041430886685008', '2015-05-06 12:20:55', '3', null, '2', '0', '20103', '1430886217079', '2015-05-06 12:31:25', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430886297603', '13814504204', '1', '138145042041430886685008', '2015-05-06 12:24:57', '3', null, '1', '0', '10404', '1430886217079', '2015-05-06 12:31:25', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430886351462', '13814504204', '1', '138145042041430886685008', '2015-05-06 12:25:51', '3', null, '2', '0', '10412', '1430886217079', '2015-05-06 12:31:25', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430886593542', '13814504204', '1', '138145042041430886685008', '2015-05-06 12:29:53', '3', null, '1', '0', '90107', '1430886217079', '2015-05-06 12:31:25', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430886642152', '13814504204', '1', '138145042041430886685008', '2015-05-06 12:30:42', '3', null, '1', '0', '20610', '1430886217079', '2015-05-06 12:31:25', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430887112151', '15380820376', '1', '153808203761430887170746', '2015-05-06 12:38:32', '3', null, '1', '0', '20107', '1430230060734', '2015-05-06 12:39:30', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430887135192', '15380820376', '1', '153808203761430887170746', '2015-05-06 12:38:55', '3', null, '1', '0', '20110', '1430230060734', '2015-05-06 12:39:30', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430888583551', '13739165168', '1', null, '2015-05-06 13:03:03', '0', null, '6', '0', '20110', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430892248797', '15150443372', '1', '151504433721430892279537', '2015-05-06 14:04:08', '3', null, '1', '0', '40209', '1430797866303', '2015-05-06 14:04:39', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430892268311', '15150443372', '1', '151504433721430892279537', '2015-05-06 14:04:28', '3', null, '1', '0', '40210', '1430797866303', '2015-05-06 14:04:39', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430903026272', '15190518013', '1', '151905180131430903049287', '2015-05-06 17:03:46', '3', null, '2', '0', '20303', '1430194088216', '2015-05-06 17:04:09', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430903127152', '18705198389', '1', '187051983891430903538711', '2015-05-06 17:05:27', '3', null, '2', '0', '10709', '1430880199130', '2015-05-06 17:12:18', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430903408830', '15365195716', '1', '153651957161430903634055', '2015-05-06 17:10:08', '3', null, '1', '0', '20401', '1430903632392', '2015-05-06 17:13:54', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430903433491', '15365195716', '1', '153651957161430903634055', '2015-05-06 17:10:33', '3', null, '1', '0', '20204', '1430903632392', '2015-05-06 17:13:54', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430903456336', '15365195716', '1', '153651957161430903634055', '2015-05-06 17:10:56', '3', null, '3', '0', '40302', '1430903632392', '2015-05-06 17:13:54', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430903474746', '18705198389', '1', '187051983891430903538711', '2015-05-06 17:11:14', '3', null, '2', '0', '20501', '1430880199130', '2015-05-06 17:12:18', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430903589874', '15365195716', '1', '153651957161430903634055', '2015-05-06 17:13:09', '3', null, '1', '0', '10206', '1430903632392', '2015-05-06 17:13:54', '15295560150', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906414084', '15261896973', '1', '152618969731430906664788', '2015-05-06 18:00:14', '3', null, '1', '0', '20303', '1430220181373', '2015-05-06 18:04:24', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906428004', '15261896973', '1', '152618969731430906664788', '2015-05-06 18:00:28', '3', null, '1', '0', '40112', '1430220181373', '2015-05-06 18:04:24', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906466654', '15190518013', '1', '151905180131430906524779', '2015-05-06 18:01:06', '3', null, '2', '0', '90111', '1430194088216', '2015-05-06 18:02:04', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906472704', '15261896973', '1', '152618969731430906664788', '2015-05-06 18:01:12', '3', null, '2', '0', '10101', '1430220181373', '2015-05-06 18:04:24', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906480682', '15190518013', '1', '151905180131430906524779', '2015-05-06 18:01:20', '3', null, '1', '0', '20306', '1430194088216', '2015-05-06 18:02:04', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906503878', '15190518013', '1', '151905180131430906524779', '2015-05-06 18:01:43', '3', null, '1', '0', '40206', '1430194088216', '2015-05-06 18:02:04', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906540006', '15261896973', '1', '152618969731430906664788', '2015-05-06 18:02:20', '3', null, '1', '0', '90109', '1430220181373', '2015-05-06 18:04:24', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906549267', '15261896973', '1', '152618969731430906664788', '2015-05-06 18:02:29', '3', null, '2', '0', '10401', '1430220181373', '2015-05-06 18:04:24', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430906600234', '15261896973', '1', '152618969731430906664788', '2015-05-06 18:03:20', '3', null, '1', '0', '40201', '1430220181373', '2015-05-06 18:04:24', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430908525646', '13040101273', '1', '130401012731430908582672', '2015-05-06 18:35:25', '3', null, '1', '0', '10621', '1430282698225', '2015-05-06 18:36:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430908541968', '13040101273', '1', '130401012731430908582672', '2015-05-06 18:35:41', '3', null, '1', '0', '10613', '1430282698225', '2015-05-06 18:36:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430908550788', '13040101273', '1', '130401012731430908582672', '2015-05-06 18:35:50', '3', null, '1', '0', '10605', '1430282698225', '2015-05-06 18:36:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430908559307', '13040101273', '1', '130401012731430908582672', '2015-05-06 18:35:59', '3', null, '1', '0', '10603', '1430282698225', '2015-05-06 18:36:22', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430911120705', '13040101273', '1', '130401012731430911131230', '2015-05-06 19:18:40', '3', null, '1', '0', '10625', '1430282698225', '2015-05-06 19:18:51', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430915883564', '13451895624', '1', '134518956241430915967726', '2015-05-06 20:38:03', '3', null, '6', '0', '10301', '1430834407532', '2015-05-06 20:39:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430915891464', '13451895624', '1', '134518956241430915967726', '2015-05-06 20:38:11', '3', null, '1', '0', '20609', '1430834407532', '2015-05-06 20:39:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430915955420', '13451895624', '1', '134518956241430915967726', '2015-05-06 20:39:15', '3', null, '2', '0', '10411', '1430834407532', '2015-05-06 20:39:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430916254605', '15295509505', '1', '152955095051430916418326', '2015-05-06 20:44:14', '3', null, '1', '0', '20301', '1430215931228', '2015-05-06 20:46:58', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430916265890', '15295509505', '1', '152955095051430916418326', '2015-05-06 20:44:25', '3', null, '5', '0', '10101', '1430215931228', '2015-05-06 20:46:58', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430916283520', '15295509505', '1', '152955095051430916418326', '2015-05-06 20:44:43', '3', null, '7', '0', '10301', '1430215931228', '2015-05-06 20:46:58', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430916346985', '15295509505', '1', '152955095051430916418326', '2015-05-06 20:45:46', '3', null, '7', '0', '90111', '1430215931228', '2015-05-06 20:46:58', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430917277806', '15365132560', '1', '153651325601430917406177', '2015-05-06 21:01:17', '3', null, '10', '0', '10301', '1430273424102', '2015-05-06 21:03:26', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430917364227', '18066057126', '1', '180660571261431167754066', '2015-05-06 21:02:44', '3', null, '1', '0', '10138', '1430917522766', '2015-05-09 18:35:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430917373613', '18066057126', '1', '180660571261431167754066', '2015-05-06 21:02:53', '3', null, '1', '0', '10136', '1430917522766', '2015-05-09 18:35:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430917385503', '15365132560', '1', '153651325601430917406177', '2015-05-06 21:03:05', '3', null, '10', '0', '90109', '1430273424102', '2015-05-06 21:03:26', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430918490381', '18351008060', '1', null, '2015-05-06 21:21:30', '0', null, '1', '0', '20501', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430931852386', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:04:12', '3', null, '1', '0', '10209', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430931860511', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:04:20', '3', null, '1', '0', '10710', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430931898471', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:04:58', '3', null, '1', '0', '20111', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430931985198', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:06:25', '3', null, '1', '0', '10302', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430932054836', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:07:34', '3', null, '1', '0', '10220', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430932062262', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:07:42', '3', null, '1', '0', '10202', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430932262622', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:11:02', '3', null, '1', '0', '90115', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430932285902', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:11:25', '3', null, '1', '0', '90107', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430932428023', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:13:48', '3', null, '1', '0', '90116', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430932726301', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:18:46', '3', null, '2', '0', '90109', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430932859618', '18020118356', '1', '180201183561430968140782', '2015-05-07 01:20:59', '3', null, '3', '0', '10720', '1430288419148', '2015-05-07 11:09:00', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430970184526', '18724005167', '1', '187240051671430970287970', '2015-05-07 11:43:04', '3', null, '1', '0', '90111', '1430215725002', '2015-05-07 11:44:48', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430970215264', '18724005167', '1', '187240051671430970287970', '2015-05-07 11:43:35', '3', null, '2', '0', '10107', '1430215725002', '2015-05-07 11:44:47', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430970264847', '18724005167', '1', '187240051671430970287970', '2015-05-07 11:44:24', '3', null, '1', '0', '20607', '1430215725002', '2015-05-07 11:44:47', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430971188663', '15190518013', '1', '151905180131430971218713', '2015-05-07 11:59:48', '3', null, '18', '0', '90111', '1430194088216', '2015-05-07 12:00:18', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430971198326', '15190518013', '1', '151905180131430971218713', '2015-05-07 11:59:58', '3', null, '2', '0', '90102', '1430194088216', '2015-05-07 12:00:18', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430979353490', '13815445502', '1', '138154455021430979519751', '2015-05-07 14:15:53', '3', null, '1', '0', '40105', '1430196072612', '2015-05-07 14:18:39', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430979394261', '13815445502', '1', '138154455021430979519751', '2015-05-07 14:16:34', '3', null, '1', '0', '40205', '1430196072612', '2015-05-07 14:18:39', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430979448841', '13815445502', '1', '138154455021430979519751', '2015-05-07 14:17:28', '3', null, '1', '0', '20112', '1430196072612', '2015-05-07 14:18:39', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430979498162', '13815445502', '1', '138154455021430979519751', '2015-05-07 14:18:18', '3', null, '1', '0', '40103', '1430196072612', '2015-05-07 14:18:39', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430993703117', '13040101273', '1', '130401012731430993727643', '2015-05-07 18:15:03', '3', null, '1', '0', '10624', '1430282698225', '2015-05-07 18:15:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430993719278', '13040101273', '1', '130401012731430993727643', '2015-05-07 18:15:19', '3', null, '1', '0', '10617', '1430282698225', '2015-05-07 18:15:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430998801967', '18252058127', '1', '182520581271430999279314', '2015-05-07 19:40:01', '3', null, '2', '0', '10209', '1430303302959', '2015-05-07 19:47:59', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430998984113', '18252058127', '1', '182520581271430999279314', '2015-05-07 19:43:04', '3', null, '5', '0', '20609', '1430303302959', '2015-05-07 19:47:59', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430999027411', '18252058127', '1', '182520581271430999279314', '2015-05-07 19:43:47', '3', null, '30', '0', '10101', '1430303302959', '2015-05-07 19:47:59', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430999090062', '18252058127', '1', '182520581271430999279314', '2015-05-07 19:44:50', '3', null, '1', '0', '40112', '1430303302959', '2015-05-07 19:47:59', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430999184552', '18252058127', '1', '182520581271430999279314', '2015-05-07 19:46:24', '3', null, '1', '0', '10219', '1430303302959', '2015-05-07 19:47:59', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1430999198120', '18252058127', '1', '182520581271430999279314', '2015-05-07 19:46:38', '3', null, '1', '0', '10218', '1430303302959', '2015-05-07 19:47:59', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431000338796', '15151883572', '1', '151518835721432456881073', '2015-05-07 20:05:38', '3', null, '3', '0', '90108', '1427691760293', '2015-05-24 16:41:21', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431001678259', '15261896862', '1', '152618968621431001969940', '2015-05-07 20:27:58', '3', null, '1', '0', '20107', '1430880346706', '2015-05-07 20:32:49', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431001744096', '15261896862', '1', '152618968621431001969940', '2015-05-07 20:29:04', '3', null, '1', '0', '10401', '1430880346706', '2015-05-07 20:32:49', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431001777342', '15261896862', '1', '152618968621431001969940', '2015-05-07 20:29:37', '3', null, '2', '0', '40106', '1430880346706', '2015-05-07 20:32:49', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431001829644', '15261896862', '1', '152618968621431001969940', '2015-05-07 20:30:29', '3', null, '1', '0', '90107', '1430880346706', '2015-05-07 20:32:49', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431001907762', '15261896862', '1', '152618968621431001969940', '2015-05-07 20:31:47', '3', null, '1', '0', '10710', '1430880346706', '2015-05-07 20:32:49', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431043536885', '18724005167', '1', '187240051671431066970160', '2015-05-08 08:05:36', '3', null, '1', '0', '40316', '1430215725002', '2015-05-08 14:36:10', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431044631708', '18252056259', '1', '182520562591431954030576', '2015-05-08 08:23:51', '3', null, '1', '0', '10722', '1430209427176', '2015-05-18 21:00:30', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050344963', '15251820285', '1', '152518202851431050892341', '2015-05-08 09:59:04', '3', null, '1', '0', '40320', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050362062', '15251820285', '1', '152518202851431050892341', '2015-05-08 09:59:22', '3', null, '4', '0', '90114', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050377622', '15251820285', '1', '152518202851431050892341', '2015-05-08 09:59:37', '3', null, '4', '0', '20609', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050391231', '15251820285', '1', '152518202851431050892341', '2015-05-08 09:59:51', '3', null, '1', '0', '20604', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050403122', '15251820285', '1', '152518202851431050892341', '2015-05-08 10:00:03', '3', null, '1', '0', '20601', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050430123', '15251820285', '1', '152518202851431050892341', '2015-05-08 10:00:30', '3', null, '4', '0', '10411', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050455923', '15251820285', '1', '152518202851431050892341', '2015-05-08 10:00:55', '3', null, '1', '0', '40201', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050495702', '15251820285', '1', '152518202851431050892341', '2015-05-08 10:01:35', '3', null, '2', '0', '10205', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050510205', '15251820285', '1', '152518202851431050892341', '2015-05-08 10:01:50', '3', null, '3', '0', '90107', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050544805', '15251820285', '1', '152518202851431050892341', '2015-05-08 10:02:24', '3', null, '2', '0', '10710', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431050605567', '15251820285', '1', '152518202851431050892341', '2015-05-08 10:03:25', '3', null, '2', '0', '20610', '1431050881326', '2015-05-08 10:08:12', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431060957617', '15365182279', '1', '153651822791431061279973', '2015-05-08 12:55:57', '3', null, '1', '0', '10504', '1431061252453', '2015-05-08 13:01:20', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431061094627', '15365182279', '1', '153651822791431061279973', '2015-05-08 12:58:14', '3', null, '1', '0', '20502', '1431061252453', '2015-05-08 13:01:19', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431061155963', '15365182279', '1', '153651822791431061279973', '2015-05-08 12:59:15', '3', null, '1', '0', '20501', '1431061252453', '2015-05-08 13:01:19', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431063254557', '13815445502', '1', '138154455021431063306886', '2015-05-08 13:34:14', '3', null, '1', '0', '40204', '1430196072612', '2015-05-08 13:35:06', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431063296612', '13815445502', '1', '138154455021431063306886', '2015-05-08 13:34:56', '3', null, '1', '0', '20106', '1430196072612', '2015-05-08 13:35:06', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431064557767', '13861605337', '1', '138616053371431064658760', '2015-05-08 13:55:57', '3', null, '1', '0', '20112', '1430659947759', '2015-05-08 13:57:38', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431064576832', '13861605337', '1', '138616053371431064658760', '2015-05-08 13:56:16', '3', null, '1', '0', '20209', '1430659947759', '2015-05-08 13:57:38', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431064585295', '13861605337', '1', '138616053371431064658760', '2015-05-08 13:56:25', '3', null, '1', '0', '20301', '1430659947759', '2015-05-08 13:57:38', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431064630097', '13861605337', '1', '138616053371431064658760', '2015-05-08 13:57:10', '3', null, '1', '0', '20107', '1430659947759', '2015-05-08 13:57:38', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431066956371', '18724005167', '1', '187240051671431066970160', '2015-05-08 14:35:56', '3', null, '2', '0', '20608', '1430215725002', '2015-05-08 14:36:10', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431066973219', '15261896862', '1', '152618968621431067167899', '2015-05-08 14:36:13', '3', null, '1', '0', '20401', '1430880346706', '2015-05-08 14:39:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431067032745', '15261896862', '1', '152618968621431067167899', '2015-05-08 14:37:12', '3', null, '1', '0', '40315', '1430880346706', '2015-05-08 14:39:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431067042741', '15261896862', '1', '152618968621431067167899', '2015-05-08 14:37:22', '3', null, '1', '0', '40304', '1430880346706', '2015-05-08 14:39:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431067129744', '15261896862', '1', '152618968621431067167899', '2015-05-08 14:38:49', '3', null, '1', '0', '20107', '1430880346706', '2015-05-08 14:39:27', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431074808964', '13815445502', '1', '138154455021431074861052', '2015-05-08 16:46:48', '3', null, '1', '0', '10218', '1430196072612', '2015-05-08 16:47:41', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431074834995', '13815445502', '1', '138154455021431074861052', '2015-05-08 16:47:14', '3', null, '1', '0', '10205', '1430196072612', '2015-05-08 16:47:41', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431074853237', '13815445502', '1', '138154455021431074861052', '2015-05-08 16:47:33', '3', null, '1', '0', '10203', '1430196072612', '2015-05-08 16:47:41', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431075751974', '18252120427', '1', '182521204271431075914070', '2015-05-08 17:02:31', '3', null, '1', '0', '10302', '1430804181551', '2015-05-08 17:05:14', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431075759254', '18252120427', '1', '182521204271431075914070', '2015-05-08 17:02:39', '3', null, '8', '0', '10301', '1430804181551', '2015-05-08 17:05:14', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431075808431', '18252120427', '1', '182521204271431075914070', '2015-05-08 17:03:28', '3', null, '6', '0', '10720', '1430804181551', '2015-05-08 17:05:14', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431075820023', '18252120427', '1', '182521204271431075914070', '2015-05-08 17:03:40', '3', null, '1', '0', '10713', '1430804181551', '2015-05-08 17:05:14', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431075875994', '18252120427', '1', '182521204271431075914070', '2015-05-08 17:04:35', '3', null, '5', '0', '10418', '1430804181551', '2015-05-08 17:05:14', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081073974', '15190518013', '1', '151905180131431081177093', '2015-05-08 18:31:13', '3', null, '5', '0', '10101', '1430194088216', '2015-05-08 18:32:57', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081090171', '15261895955', '1', '152618959551431081291294', '2015-05-08 18:31:30', '3', null, '2', '0', '40105', '1430194614988', '2015-05-08 18:34:51', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081105610', '15190518013', '1', '151905180131431081177093', '2015-05-08 18:31:45', '3', null, '4', '0', '10301', '1430194088216', '2015-05-08 18:32:57', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081107718', '15261895955', '1', '152618959551431081291294', '2015-05-08 18:31:47', '3', null, '1', '0', '20609', '1430194614988', '2015-05-08 18:34:51', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081139444', '15190518013', '1', '151905180131431081177093', '2015-05-08 18:32:19', '3', null, '4', '0', '10720', '1430194088216', '2015-05-08 18:32:57', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081154736', '15261895955', '1', '152618959551431081291294', '2015-05-08 18:32:34', '3', null, '1', '0', '10411', '1430194614988', '2015-05-08 18:34:51', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081167867', '15190518013', '1', '151905180131431081177093', '2015-05-08 18:32:47', '3', null, '3', '0', '40302', '1430194088216', '2015-05-08 18:32:57', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081221641', '15261895955', '1', '152618959551431081291294', '2015-05-08 18:33:41', '3', null, '1', '0', '40108', '1430194614988', '2015-05-08 18:34:51', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081241947', '15261895955', '1', '152618959551431081291294', '2015-05-08 18:34:01', '3', null, '2', '0', '10720', '1430194614988', '2015-05-08 18:34:51', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431081268989', '15261895955', '1', '152618959551431081291294', '2015-05-08 18:34:28', '3', null, '1', '0', '40102', '1430194614988', '2015-05-08 18:34:51', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431082263123', '18061739312', '1', '180617393121431082829611', '2015-05-08 18:51:03', '3', null, '10', '0', '10101', '1430233845504', '2015-05-08 19:00:29', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431082381675', '18061739312', '1', '180617393121431082829611', '2015-05-08 18:53:01', '3', null, '1', '0', '10715', '1430233845504', '2015-05-08 19:00:29', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431082711368', '18061739312', '1', '180617393121431082829611', '2015-05-08 18:58:31', '3', null, '3', '0', '40106', '1430233845504', '2015-05-08 19:00:29', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431082803801', '18061739312', '1', '180617393121431082829611', '2015-05-08 19:00:03', '3', null, '1', '0', '20501', '1430233845504', '2015-05-08 19:00:29', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431083782178', '15366127275', '1', '153661272751431166208336', '2015-05-08 19:16:22', '3', null, '5', '0', '10301', '1431166185371', '2015-05-09 18:10:08', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431083812894', '15366127275', '1', '153661272751431166208336', '2015-05-08 19:16:52', '3', null, '6', '0', '10101', '1431166185371', '2015-05-09 18:10:08', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431084108706', '15366127275', '1', '153661272751431166208336', '2015-05-08 19:21:48', '3', null, '1', '0', '10220', '1431166185371', '2015-05-09 18:10:08', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431085122106', '15295569869', '1', '152955698691431085198526', '2015-05-08 19:38:42', '3', null, '1', '0', '20107', '1430140350821', '2015-05-08 19:39:58', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431085156128', '15295569869', '1', '152955698691431085198526', '2015-05-08 19:39:16', '3', null, '1', '0', '40102', '1430140350821', '2015-05-08 19:39:58', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431085177065', '15295569869', '1', '152955698691431085198526', '2015-05-08 19:39:37', '3', null, '10', '0', '10301', '1430140350821', '2015-05-08 19:39:58', '18114706485', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094232619', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:10:32', '3', null, '1', '0', '40102', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094238479', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:10:38', '3', null, '1', '0', '40106', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094242648', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:10:42', '3', null, '1', '0', '40105', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094248430', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:10:48', '3', null, '1', '0', '40104', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094255378', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:10:55', '3', null, '1', '0', '40103', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094271778', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:11:11', '3', null, '1', '0', '40107', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094314271', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:11:54', '3', null, '5', '0', '10301', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094321220', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:12:01', '3', null, '1', '0', '10713', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094334020', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:12:14', '3', null, '2', '0', '10708', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094362083', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:12:42', '3', null, '1', '0', '20101', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094370073', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:12:50', '3', null, '2', '0', '10204', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094391751', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:13:11', '3', null, '3', '0', '10101', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094436874', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:13:56', '3', null, '5', '0', '20609', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094553669', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:15:53', '3', null, '3', '0', '40304', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431094742468', '17768116252', '1', '177681162521431094809782', '2015-05-08 22:19:02', '3', null, '3', '0', '90111', '1431094805202', '2015-05-08 22:20:09', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431143726732', '15295569869', '1', '152955698691431143744223', '2015-05-09 11:55:26', '3', null, '50', '0', '10301', '1430140350821', '2015-05-09 11:55:44', '15151883572', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431144882902', '18066057126', '1', '180660571261431167754066', '2015-05-09 12:14:42', '3', null, '4', '0', '90107', '1430917522766', '2015-05-09 18:35:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431144906375', '18066057126', '1', '180660571261431167754066', '2015-05-09 12:15:06', '3', null, '1', '0', '40202', '1430917522766', '2015-05-09 18:35:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431144914994', '18066057126', '1', '180660571261431167754066', '2015-05-09 12:15:14', '3', null, '1', '0', '40112', '1430917522766', '2015-05-09 18:35:54', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431156136669', '18705199035', '1', null, '2015-05-09 15:22:16', '0', null, '3', '0', '40315', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431156148017', '18705199035', '1', null, '2015-05-09 15:22:28', '0', null, '1', '0', '20212', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431156187986', '18705199035', '1', null, '2015-05-09 15:23:07', '0', null, '1', '0', '10710', null, null, null, null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431160996420', '18551310166', '1', '185513101661431161174600', '2015-05-09 16:43:16', '3', null, '1', '0', '40102', '1430726869324', '2015-05-09 16:46:14', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431161002458', '18551310166', '1', '185513101661431161174600', '2015-05-09 16:43:22', '3', null, '1', '0', '40112', '1430726869324', '2015-05-09 16:46:14', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431161038540', '18551310166', '1', '185513101661431161174600', '2015-05-09 16:43:58', '3', null, '1', '0', '20209', '1430726869324', '2015-05-09 16:46:14', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431165993630', '15366127275', '1', '153661272751431166208336', '2015-05-09 18:06:33', '3', null, '3', '0', '10709', '1431166185371', '2015-05-09 18:10:08', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431170499367', '15365195716', '1', '153651957161431170682402', '2015-05-09 19:21:39', '3', null, '1', '0', '40401', '1430903632392', '2015-05-09 19:24:42', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431170529978', '15365195716', '1', '153651957161431170682402', '2015-05-09 19:22:09', '3', null, '1', '0', '20401', '1430903632392', '2015-05-09 19:24:42', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431170551817', '15365195716', '1', '153651957161431170682402', '2015-05-09 19:22:31', '3', null, '5', '0', '10101', '1430903632392', '2015-05-09 19:24:42', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431170867712', '15380820376', '1', '153808203761431171069895', '2015-05-09 19:27:47', '3', null, '1', '0', '20110', '1430230060734', '2015-05-09 19:31:09', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431170875060', '15380820376', '1', '153808203761431171069895', '2015-05-09 19:27:55', '3', null, '1', '0', '20111', '1430230060734', '2015-05-09 19:31:09', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431171024604', '15380820376', '1', '153808203761431171069895', '2015-05-09 19:30:24', '3', null, '2', '0', '10416', '1430230060734', '2015-05-09 19:31:09', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431171886204', '15251899171', '1', '152518991711431172293309', '2015-05-09 19:44:46', '3', null, '5', '0', '10301', '1431172249861', '2015-05-09 19:51:33', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431172136525', '15251899171', '1', '152518991711431172293309', '2015-05-09 19:48:56', '3', null, '2', '0', '10709', '1431172249861', '2015-05-09 19:51:33', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431172160127', '15251899171', '1', '152518991711431172293309', '2015-05-09 19:49:20', '3', null, '4', '0', '10101', '1431172249861', '2015-05-09 19:51:33', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431172204581', '15251899171', '1', '152518991711431172293309', '2015-05-09 19:50:04', '3', null, '2', '0', '20104', '1431172249861', '2015-05-09 19:51:33', '15850789886', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431174659234', '15295509505', '1', '152955095051431174874185', '2015-05-09 20:30:59', '3', null, '2', '0', '10301', '1430215931228', '2015-05-09 20:34:34', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431174691437', '15295509505', '1', '152955095051431174874185', '2015-05-09 20:31:31', '3', null, '10', '0', '90111', '1430215931228', '2015-05-09 20:34:34', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431174717353', '15295509505', '1', '152955095051431174874185', '2015-05-09 20:31:57', '3', null, '1', '0', '20616', '1430215931228', '2015-05-09 20:34:34', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431174783456', '15295509505', '1', '152955095051431174874185', '2015-05-09 20:33:03', '3', null, '2', '0', '10720', '1430215931228', '2015-05-09 20:34:34', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431174830856', '15295509505', '1', '152955095051431174874185', '2015-05-09 20:33:50', '3', null, '1', '0', '10409', '1430215931228', '2015-05-09 20:34:34', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431174856904', '15295509505', '1', '152955095051431174874185', '2015-05-09 20:34:16', '3', null, '1', '0', '20602', '1430215931228', '2015-05-09 20:34:34', '17712916329', null, '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431181854675', '18013866641', '1', '180138666411431779677880', '2015-05-09 22:30:54', '3', null, '1', '0', '20505', '1430573737418', '2015-05-16 20:34:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431219866266', '18662835126', '1', '186628351261431219976199', '2015-05-10 09:04:26', '3', null, '5', '0', '20609', '1430266717780', '2015-05-10 09:06:16', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431219912814', '18662835126', '1', '186628351261431219976199', '2015-05-10 09:05:12', '3', null, '1', '0', '10302', '1430266717780', '2015-05-10 09:06:16', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431219961386', '18662835126', '1', '186628351261431219976199', '2015-05-10 09:06:01', '3', null, '3', '0', '20105', '1430266717780', '2015-05-10 09:06:16', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431232293503', '15961685555', '1', '159616855551431232360140', '2015-05-10 12:31:33', '3', null, '1', '0', '10507', '1431232134281', '2015-05-10 12:32:40', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431232331967', '15961685555', '1', '159616855551431232360140', '2015-05-10 12:32:11', '3', null, '1', '0', '20216', '1431232134281', '2015-05-10 12:32:40', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431234838438', '18252058069', '1', '182520580691431235143002', '2015-05-10 13:13:58', '3', null, '1', '0', '10414', '1431235121119', '2015-05-10 13:19:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431234850033', '18252058069', '1', '182520580691431235143002', '2015-05-10 13:14:10', '3', null, '1', '0', '20106', '1431235121119', '2015-05-10 13:19:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431234902485', '18252058069', '1', '182520580691431235143002', '2015-05-10 13:15:02', '3', null, '1', '0', '10205', '1431235121119', '2015-05-10 13:19:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431234984030', '18252058069', '1', '182520580691431235143002', '2015-05-10 13:16:24', '3', null, '1', '0', '10302', '1431235121119', '2015-05-10 13:19:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431235051558', '18252058069', '1', '182520580691431235143002', '2015-05-10 13:17:31', '3', null, '3', '0', '10101', '1431235121119', '2015-05-10 13:19:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431245172047', '13851558735', '1', '138515587351431245258740', '2015-05-10 16:06:12', '3', null, '1', '0', '40102', '1431245257405', '2015-05-10 16:07:38', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431245201323', '13851558735', '1', '138515587351431245258740', '2015-05-10 16:06:41', '3', null, '1', '0', '40106', '1431245257405', '2015-05-10 16:07:38', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431245207723', '13851558735', '1', '138515587351431245258740', '2015-05-10 16:06:47', '3', null, '1', '0', '40105', '1431245257405', '2015-05-10 16:07:38', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431245214084', '13851558735', '1', '138515587351431245258740', '2015-05-10 16:06:54', '3', null, '1', '0', '40104', '1431245257405', '2015-05-10 16:07:38', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431245220174', '13851558735', '1', '138515587351431245258740', '2015-05-10 16:07:00', '3', null, '1', '0', '40103', '1431245257405', '2015-05-10 16:07:38', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431250298652', '18705199209', '1', '187051992091431250343135', '2015-05-10 17:31:38', '3', null, '1', '0', '20112', '1430217024155', '2015-05-10 17:32:23', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431250330220', '18705199209', '1', '187051992091431250343135', '2015-05-10 17:32:10', '3', null, '1', '0', '20602', '1430217024155', '2015-05-10 17:32:23', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431251020777', '15295509505', '1', '152955095051431251188412', '2015-05-10 17:43:40', '3', null, '1', '0', '20602', '1430215931228', '2015-05-10 17:46:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431251044398', '15295509505', '1', '152955095051431251188412', '2015-05-10 17:44:04', '3', null, '1', '0', '20617', '1430215931228', '2015-05-10 17:46:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431251097283', '15295509505', '1', '152955095051431251188412', '2015-05-10 17:44:57', '3', null, '1', '0', '20405', '1430215931228', '2015-05-10 17:46:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431251113855', '15295509505', '1', '152955095051431251188412', '2015-05-10 17:45:13', '3', null, '10', '0', '90111', '1430215931228', '2015-05-10 17:46:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431251156674', '15295509505', '1', '152955095051431251188412', '2015-05-10 17:45:56', '3', null, '5', '0', '10301', '1430215931228', '2015-05-10 17:46:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431251165267', '15295509505', '1', '152955095051431251188412', '2015-05-10 17:46:05', '3', null, '1', '0', '10411', '1430215931228', '2015-05-10 17:46:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431253177976', '13814504204', '1', '138145042041431254307973', '2015-05-10 18:19:37', '3', null, '1', '0', '20505', '1430886217079', '2015-05-10 18:38:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431253432765', '13814504204', '1', '138145042041431254307973', '2015-05-10 18:23:52', '3', null, '10', '0', '10101', '1430886217079', '2015-05-10 18:38:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431253612939', '13814504204', '1', '138145042041431254307973', '2015-05-10 18:26:52', '3', null, '1', '0', '10302', '1430886217079', '2015-05-10 18:38:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431253696156', '18705198716', '1', '187051987161431253771831', '2015-05-10 18:28:16', '3', null, '1', '0', '20107', '1431253769264', '2015-05-10 18:29:31', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431253721692', '13814504204', '1', '138145042041431254307973', '2015-05-10 18:28:41', '3', null, '1', '0', '90101', '1430886217079', '2015-05-10 18:38:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431253729685', '18705198716', '1', '187051987161431253771831', '2015-05-10 18:28:49', '3', null, '1', '0', '40205', '1431253769264', '2015-05-10 18:29:31', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431253749285', '13814504204', '1', '138145042041431254307973', '2015-05-10 18:29:09', '3', null, '1', '0', '10412', '1430886217079', '2015-05-10 18:38:27', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431254288453', '13814504204', '1', '138145042041431254307973', '2015-05-10 18:38:08', '3', null, '1', '0', '20107', '1430886217079', '2015-05-10 18:38:27', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431259855877', '18705198389', '1', '187051983891431260068146', '2015-05-10 20:10:55', '3', null, '2', '0', '20216', '1430880199130', '2015-05-10 20:14:28', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270477300', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:07:57', '3', null, '1', '0', '90108', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270517957', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:08:37', '3', null, '1', '0', '10138', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270574284', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:09:34', '3', null, '1', '0', '10144', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270593310', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:09:53', '3', null, '1', '0', '10143', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270604164', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:10:04', '3', null, '1', '0', '90102', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270633731', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:10:33', '3', null, '1', '0', '20210', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270664156', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:11:04', '3', null, '1', '0', '20301', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270896909', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:14:56', '3', null, '1', '0', '10401', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431270949989', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:15:49', '3', null, '1', '0', '90114', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431271113533', '18362938239', '1', '183629382391431310932578', '2015-05-10 23:18:33', '3', null, '1', '0', '10706', '1430618682327', '2015-05-11 10:22:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431307693300', '13160076990', '1', '131600769901431307747738', '2015-05-11 09:28:13', '3', null, '4', '0', '90108', '1430270433261', '2015-05-11 09:29:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431307722010', '13160076990', '1', '131600769901431307747738', '2015-05-11 09:28:42', '3', null, '8', '0', '20609', '1430270433261', '2015-05-11 09:29:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431318387372', '15651967988', '1', '156519679881431318692591', '2015-05-11 12:26:27', '3', null, '1', '0', '10209', '1431318681075', '2015-05-11 12:31:32', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431318483883', '15651967988', '1', '156519679881431318692591', '2015-05-11 12:28:03', '3', null, '2', '0', '10409', '1431318681075', '2015-05-11 12:31:32', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431318610011', '15651967988', '1', '156519679881431318692591', '2015-05-11 12:30:10', '3', null, '6', '0', '10301', '1431318681075', '2015-05-11 12:31:32', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431318829311', '18061739312', '1', '180617393121431319007703', '2015-05-11 12:33:49', '3', null, '1', '0', '10705', '1430233845504', '2015-05-11 12:36:47', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431318947800', '18061739312', '1', '180617393121431319007703', '2015-05-11 12:35:47', '3', null, '2', '0', '40313', '1430233845504', '2015-05-11 12:36:47', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431318967876', '18061739312', '1', null, '2015-05-11 12:36:07', '0', null, '3', '0', '40320', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431318997716', '18061739312', '1', '180617393121431319007703', '2015-05-11 12:36:37', '3', null, '1', '0', '40322', '1430233845504', '2015-05-11 12:36:47', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431319425382', '15261895955', '1', '152618959551431319658763', '2015-05-11 12:43:45', '3', null, '1', '0', '10411', '1430194614988', '2015-05-11 12:47:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431319433910', '15261895955', '1', '152618959551431319658763', '2015-05-11 12:43:53', '3', null, '1', '0', '90108', '1430194614988', '2015-05-11 12:47:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431319456862', '15261895955', '1', '152618959551431319658763', '2015-05-11 12:44:16', '3', null, '1', '0', '20609', '1430194614988', '2015-05-11 12:47:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431319473774', '15261895955', '1', '152618959551431319658763', '2015-05-11 12:44:33', '3', null, '1', '0', '90113', '1430194614988', '2015-05-11 12:47:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431319533911', '15261895955', '1', '152618959551431319658763', '2015-05-11 12:45:33', '3', null, '5', '0', '10301', '1430194614988', '2015-05-11 12:47:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431319583175', '15261895955', '1', '152618959551431319658763', '2015-05-11 12:46:23', '3', null, '3', '0', '40315', '1430194614988', '2015-05-11 12:47:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431319590222', '15261895955', '1', '152618959551431319658763', '2015-05-11 12:46:30', '3', null, '1', '0', '40201', '1430194614988', '2015-05-11 12:47:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431327364167', '18705199233', '1', '187051992331431327457109', '2015-05-11 14:56:04', '3', null, '2', '0', '20112', '1430301839771', '2015-05-11 14:57:37', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431331084874', '15261896973', '1', '152618969731431331297036', '2015-05-11 15:58:04', '3', null, '1', '0', '40112', '1430220181373', '2015-05-11 16:01:37', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431331139984', '15261896973', '1', '152618969731431331297036', '2015-05-11 15:58:59', '3', null, '2', '0', '10720', '1430220181373', '2015-05-11 16:01:37', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431331197376', '15261896973', '1', '152618969731431331297036', '2015-05-11 15:59:57', '3', null, '1', '0', '20203', '1430220181373', '2015-05-11 16:01:37', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431331268556', '15261896973', '1', '152618969731431331297036', '2015-05-11 16:01:08', '3', null, '1', '0', '40205', '1430220181373', '2015-05-11 16:01:37', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431339380524', '15295509505', '1', '152955095051431349160924', '2015-05-11 18:16:20', '3', null, '5', '0', '90111', '1430215931228', '2015-05-11 20:59:20', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431339439621', '15295509505', '1', '152955095051431349160924', '2015-05-11 18:17:19', '3', null, '1', '0', '40313', '1430215931228', '2015-05-11 20:59:20', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431341306033', '15190518013', '1', '151905180131431341486578', '2015-05-11 18:48:26', '3', null, '2', '0', '10105', '1430194088216', '2015-05-11 18:51:26', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431341316239', '15190518013', '1', '151905180131431341486578', '2015-05-11 18:48:36', '3', null, '2', '0', '10418', '1430194088216', '2015-05-11 18:51:26', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431341432840', '15190518013', '1', '151905180131431341486578', '2015-05-11 18:50:32', '3', null, '2', '0', '10402', '1430194088216', '2015-05-11 18:51:26', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431341461407', '15190518013', '1', '151905180131431341486578', '2015-05-11 18:51:01', '3', null, '1', '0', '90113', '1430194088216', '2015-05-11 18:51:26', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431341831946', '18896586309', '1', null, '2015-05-11 18:57:11', '0', null, '2', '0', '10301', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431342335059', '13814504204', '1', '138145042041431343265488', '2015-05-11 19:05:35', '3', null, '2', '0', '10301', '1430886217079', '2015-05-11 19:21:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431342628232', '13814504204', '1', '138145042041431343265488', '2015-05-11 19:10:28', '3', null, '3', '0', '10709', '1430886217079', '2015-05-11 19:21:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431342641691', '13814504204', '1', '138145042041431343265488', '2015-05-11 19:10:41', '3', null, '1', '0', '20505', '1430886217079', '2015-05-11 19:21:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431342724629', '13814504204', '1', '138145042041431343265488', '2015-05-11 19:12:04', '3', null, '1', '0', '20107', '1430886217079', '2015-05-11 19:21:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431343038054', '13814504204', '1', '138145042041431343265488', '2015-05-11 19:17:18', '3', null, '1', '0', '10302', '1430886217079', '2015-05-11 19:21:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431343240012', '13814504204', '1', '138145042041431343265488', '2015-05-11 19:20:40', '3', null, '2', '0', '40310', '1430886217079', '2015-05-11 19:21:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431343936267', '13815445502', '1', '138154455021431344276612', '2015-05-11 19:32:16', '3', null, '1', '0', '40110', '1430196072612', '2015-05-11 19:37:56', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431343950970', '13815445502', '1', '138154455021431344276612', '2015-05-11 19:32:30', '3', null, '1', '0', '40107', '1430196072612', '2015-05-11 19:37:56', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431344062865', '13815445502', '1', '138154455021431344276612', '2015-05-11 19:34:22', '3', null, '1', '0', '40205', '1430196072612', '2015-05-11 19:37:56', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431344415108', '13861605337', '1', '138616053371431344694972', '2015-05-11 19:40:15', '3', null, '1', '0', '20216', '1430659947759', '2015-05-11 19:44:55', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431344548609', '13861605337', '1', '138616053371431344694972', '2015-05-11 19:42:28', '3', null, '1', '0', '20203', '1430659947759', '2015-05-11 19:44:55', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431344610276', '13861605337', '1', '138616053371431344694972', '2015-05-11 19:43:30', '3', null, '1', '0', '20501', '1430659947759', '2015-05-11 19:44:54', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431344679660', '13861605337', '1', '138616053371431344694972', '2015-05-11 19:44:39', '3', null, '4', '0', '20609', '1430659947759', '2015-05-11 19:44:54', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431346676862', '18724005167', '1', '187240051671431346728028', '2015-05-11 20:17:56', '3', null, '1', '0', '10220', '1430215725002', '2015-05-11 20:18:48', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431346684966', '18724005167', '1', '187240051671431346728028', '2015-05-11 20:18:04', '3', null, '1', '0', '10202', '1430215725002', '2015-05-11 20:18:48', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431346704038', '18724005167', '1', '187240051671431346728028', '2015-05-11 20:18:24', '3', null, '1', '0', '10402', '1430215725002', '2015-05-11 20:18:48', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431347194621', '13585165686', '1', '135851656861431347338075', '2015-05-11 20:26:34', '3', null, '2', '0', '20107', '1431347335595', '2015-05-11 20:28:58', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431347243416', '18705199233', '1', '187051992331431347268452', '2015-05-11 20:27:23', '3', null, '1', '0', '20101', '1431327448315', '2015-05-11 20:27:48', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431347254595', '18705199233', '1', '187051992331431347268452', '2015-05-11 20:27:34', '3', null, '1', '0', '20110', '1431327448315', '2015-05-11 20:27:48', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431347261103', '13585165686', '1', '135851656861431347338075', '2015-05-11 20:27:41', '3', null, '2', '0', '10217', '1431347335595', '2015-05-11 20:28:58', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431349006227', '15295509505', '1', '152955095051431349160924', '2015-05-11 20:56:46', '3', null, '1', '0', '20216', '1430215931228', '2015-05-11 20:59:20', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431349036423', '15295509505', '1', '152955095051431349160924', '2015-05-11 20:57:16', '3', null, '1', '0', '40315', '1430215931228', '2015-05-11 20:59:20', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431349092202', '15295509505', '1', '152955095051431349160924', '2015-05-11 20:58:12', '3', null, '1', '0', '20602', '1430215931228', '2015-05-11 20:59:20', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431349311014', '18651323581', '1', '186513235811431349359759', '2015-05-11 21:01:51', '3', null, '1', '0', '40202', '1431349355327', '2015-05-11 21:02:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431349323627', '18651323581', '1', '186513235811431349359759', '2015-05-11 21:02:03', '3', null, '1', '0', '40102', '1431349355327', '2015-05-11 21:02:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431350804657', '15151883571', '1', null, '2015-05-11 21:26:44', '0', null, '2', '0', '20407', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431352537412', '15365132560', '1', null, '2015-05-11 21:55:37', '0', null, '1', '0', '20209', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431352558187', '15365132560', '1', null, '2015-05-11 21:55:58', '0', null, '1', '0', '20107', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431405306041', '18061739312', '1', '180617393121431405395727', '2015-05-12 12:35:06', '3', null, '1', '0', '40318', '1430233845504', '2015-05-12 12:36:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431405342187', '18061739312', '1', '180617393121431405395727', '2015-05-12 12:35:42', '3', null, '1', '0', '40106', '1430233845504', '2015-05-12 12:36:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431405346699', '18061739312', '1', '180617393121431405395727', '2015-05-12 12:35:46', '3', null, '1', '0', '40105', '1430233845504', '2015-05-12 12:36:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431406259457', '18705198716', '1', '187051987161431406355868', '2015-05-12 12:50:59', '3', null, '2', '0', '40205', '1431253769264', '2015-05-12 12:52:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431406320821', '18705198716', '1', '187051987161431406355868', '2015-05-12 12:52:00', '3', null, '8', '0', '40315', '1431253769264', '2015-05-12 12:52:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431421753312', '15151883572', '1', '151518835721432456881073', '2015-05-12 17:09:13', '3', null, '3', '0', '10721', '1427691760293', '2015-05-24 16:41:21', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431423099929', '13040101273', '1', '130401012731431423107555', '2015-05-12 17:31:39', '3', null, '2', '0', '10611', '1430282698225', '2015-05-12 17:31:47', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431431016589', '13451895624', '1', '134518956241431431138298', '2015-05-12 19:43:36', '3', null, '6', '0', '40315', '1430834407532', '2015-05-12 19:45:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431431066901', '13451895624', '1', '134518956241431431138298', '2015-05-12 19:44:26', '3', null, '2', '0', '10301', '1430834407532', '2015-05-12 19:45:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431431122473', '13451895624', '1', '134518956241431431138298', '2015-05-12 19:45:22', '3', null, '2', '0', '40304', '1430834407532', '2015-05-12 19:45:38', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431432524514', '15261896862', '1', '152618968621431434466000', '2015-05-12 20:08:44', '3', null, '1', '0', '20107', '1430880346706', '2015-05-12 20:41:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431433736142', '15261896862', '1', '152618968621431434466000', '2015-05-12 20:28:56', '3', null, '1', '0', '10710', '1430880346706', '2015-05-12 20:41:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431433759614', '15261896862', '1', '152618968621431434466000', '2015-05-12 20:29:19', '3', null, '1', '0', '10401', '1430880346706', '2015-05-12 20:41:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431433815506', '15261896862', '1', '152618968621431434466000', '2015-05-12 20:30:15', '3', null, '1', '0', '90114', '1430880346706', '2015-05-12 20:41:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431433823873', '15261896862', '1', '152618968621431434466000', '2015-05-12 20:30:23', '3', null, '1', '0', '40105', '1430880346706', '2015-05-12 20:41:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431434254724', '15261896862', '1', '152618968621431434466000', '2015-05-12 20:37:34', '3', null, '2', '0', '40315', '1430880346706', '2015-05-12 20:41:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431434456084', '15261896862', '1', '152618968621431434466000', '2015-05-12 20:40:56', '3', null, '1', '0', '40106', '1430880346706', '2015-05-12 20:41:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431476415424', '18705198716', '1', '187051987161431479239670', '2015-05-13 08:20:15', '3', null, '40', '0', '40315', '1431253769264', '2015-05-13 09:07:19', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431479274538', '18705198716', '1', '187051987161431479286759', '2015-05-13 09:07:54', '3', null, '40', '0', '40315', '1431253769264', '2015-05-13 09:08:06', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431480604022', '15295509505', '1', '152955095051431480714275', '2015-05-13 09:30:04', '3', null, '1', '0', '20405', '1430215931228', '2015-05-13 09:31:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431480610810', '15295509505', '1', '152955095051431480714275', '2015-05-13 09:30:10', '3', null, '5', '0', '90111', '1430215931228', '2015-05-13 09:31:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431480650392', '15295509505', '1', '152955095051431480714275', '2015-05-13 09:30:50', '3', null, '1', '0', '10114', '1430215931228', '2015-05-13 09:31:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431480671510', '15295509505', '1', '152955095051431480714275', '2015-05-13 09:31:11', '3', null, '1', '0', '10205', '1430215931228', '2015-05-13 09:31:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431480682469', '15295509505', '1', '152955095051431480714275', '2015-05-13 09:31:22', '3', null, '1', '0', '10202', '1430215931228', '2015-05-13 09:31:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431480691311', '15295509505', '1', '152955095051431480714275', '2015-05-13 09:31:31', '3', null, '1', '0', '20105', '1430215931228', '2015-05-13 09:31:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431485779931', '18020118356', '1', '180201183561431486386220', '2015-05-13 10:56:19', '3', null, '1', '0', '20110', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431485786150', '18061739312', '1', '180617393121431520275236', '2015-05-13 10:56:26', '3', null, '10', '0', '10101', '1430233845504', '2015-05-13 20:31:15', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431485813890', '18020118356', '1', '180201183561431486386220', '2015-05-13 10:56:53', '3', null, '2', '0', '10104', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431485877374', '18061739312', '1', '180617393121431520275236', '2015-05-13 10:57:57', '3', null, '2', '0', '40106', '1430233845504', '2015-05-13 20:31:15', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431485958922', '18061739312', '1', '180617393121431520275236', '2015-05-13 10:59:18', '3', null, '1', '0', '10715', '1430233845504', '2015-05-13 20:31:15', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486007544', '18061739312', '1', '180617393121431520275236', '2015-05-13 11:00:07', '3', null, '2', '0', '90116', '1430233845504', '2015-05-13 20:31:15', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486012562', '18020118356', '1', '180201183561431486386220', '2015-05-13 11:00:12', '3', null, '1', '0', '40102', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486039790', '18020118356', '1', '180201183561431486386220', '2015-05-13 11:00:39', '3', null, '1', '0', '10209', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486053892', '18020118356', '1', '180201183561431486386220', '2015-05-13 11:00:53', '3', null, '1', '0', '10713', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486059599', '18020118356', '1', '180201183561431486386220', '2015-05-13 11:00:59', '3', null, '3', '0', '10710', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486082932', '18061739312', '1', '180617393121431520275236', '2015-05-13 11:01:22', '3', null, '1', '0', '20501', '1430233845504', '2015-05-13 20:31:15', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486352723', '18020118356', '1', '180201183561431486386220', '2015-05-13 11:05:52', '3', null, '2', '0', '10418', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431486359745', '18020118356', '1', '180201183561431486386220', '2015-05-13 11:05:59', '3', null, '1', '0', '10101', '1430288419148', '2015-05-13 11:06:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431501213777', '18094390667', '1', '180943906671431501258156', '2015-05-13 15:13:33', '3', null, '3', '0', '20209', '1431501251014', '2015-05-13 15:14:18', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431502831759', '15151883571', '1', null, '2015-05-13 15:40:31', '0', null, '2', '0', '10145', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431512227326', '15261896973', '1', '152618969731431512260713', '2015-05-13 18:17:07', '3', null, '2', '0', '20301', '1430220181373', '2015-05-13 18:17:40', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431512242905', '15261896973', '1', '152618969731431512260713', '2015-05-13 18:17:22', '3', null, '1', '0', '20216', '1430220181373', '2015-05-13 18:17:40', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431515656142', '18705199233', '1', '187051992331431515823098', '2015-05-13 19:14:16', '3', null, '6', '0', '90111', '1431327448315', '2015-05-13 19:17:03', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431515727711', '18705199233', '1', '187051992331431515823098', '2015-05-13 19:15:27', '3', null, '2', '0', '10403', '1431327448315', '2015-05-13 19:17:03', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431515810860', '18705199233', '1', '187051992331431515823098', '2015-05-13 19:16:50', '3', null, '1', '0', '10415', '1431327448315', '2015-05-13 19:17:03', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431516405190', '15380820376', '1', '153808203761431516606575', '2015-05-13 19:26:45', '3', null, '1', '0', '20505', '1430230060734', '2015-05-13 19:30:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431516490638', '15380820376', '1', '153808203761431516606575', '2015-05-13 19:28:10', '3', null, '1', '0', '10206', '1430230060734', '2015-05-13 19:30:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431516497839', '15380820376', '1', '153808203761431516606575', '2015-05-13 19:28:17', '3', null, '1', '0', '10416', '1430230060734', '2015-05-13 19:30:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431516524719', '15380820376', '1', '153808203761431516606575', '2015-05-13 19:28:44', '3', null, '1', '0', '10302', '1430230060734', '2015-05-13 19:30:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431516534541', '15380820376', '1', '153808203761431516606575', '2015-05-13 19:28:54', '3', null, '1', '0', '90114', '1430230060734', '2015-05-13 19:30:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431521442065', '18705198389', '1', '187051983891431521477008', '2015-05-13 20:50:42', '3', null, '1', '0', '20216', '1430880199130', '2015-05-13 20:51:17', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431521458090', '18705198389', '1', '187051983891431521477008', '2015-05-13 20:50:58', '3', null, '1', '0', '20107', '1430880199130', '2015-05-13 20:51:17', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431527057554', '15605159822', '1', '156051598221431669370904', '2015-05-13 22:24:17', '3', null, '10', '0', '10101', '1430449291849', '2015-05-15 13:56:10', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431527388329', '-1', '1', null, '2015-05-13 22:29:48', '0', null, '1', '0', '20209', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431527485191', '-1', '1', null, '2015-05-13 22:31:25', '0', null, '1', '0', '90114', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431527489817', '-1', '1', null, '2015-05-13 22:31:29', '0', null, '1', '0', '90113', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431577761090', '13814504204', '1', '138145042041431578303480', '2015-05-14 12:29:21', '3', null, '1', '0', '20505', '1430886217079', '2015-05-14 12:38:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431577870575', '13814504204', '1', '138145042041431578303480', '2015-05-14 12:31:10', '3', null, '2', '0', '20107', '1430886217079', '2015-05-14 12:38:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431577926996', '13814504204', '1', '138145042041431578303480', '2015-05-14 12:32:06', '3', null, '1', '0', '40310', '1430886217079', '2015-05-14 12:38:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431577931497', '13814504204', '1', '138145042041431578303480', '2015-05-14 12:32:11', '3', null, '1', '0', '40311', '1430886217079', '2015-05-14 12:38:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431578251362', '13814504204', '1', '138145042041431578303480', '2015-05-14 12:37:31', '3', null, '2', '0', '10720', '1430886217079', '2015-05-14 12:38:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431579208622', '15365128369', '1', '153651283691431579629262', '2015-05-14 12:53:28', '3', null, '1', '0', '40112', '1430281199125', '2015-05-14 13:00:29', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431579219427', '15365128369', '1', '153651283691431579629262', '2015-05-14 12:53:39', '3', null, '1', '0', '40111', '1430281199125', '2015-05-14 13:00:29', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431579232794', '15365128369', '1', '153651283691431579629262', '2015-05-14 12:53:52', '3', null, '1', '0', '40110', '1430281199125', '2015-05-14 13:00:29', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431579310576', '15365128369', '1', '153651283691431579629262', '2015-05-14 12:55:10', '3', null, '1', '0', '20107', '1430281199125', '2015-05-14 13:00:29', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431579380614', '15365128369', '1', '153651283691431579629262', '2015-05-14 12:56:20', '3', null, '1', '0', '20105', '1430281199125', '2015-05-14 13:00:29', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431579397311', '15365128369', '1', '153651283691431579629262', '2015-05-14 12:56:37', '3', null, '2', '0', '90116', '1430281199125', '2015-05-14 13:00:29', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431579447518', '15365128369', '1', '153651283691431579629262', '2015-05-14 12:57:27', '3', null, '3', '0', '10301', '1430281199125', '2015-05-14 13:00:29', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431589416493', '18705198389', '1', '187051983891431589482632', '2015-05-14 15:43:36', '3', null, '1', '0', '20107', '1430880199130', '2015-05-14 15:44:42', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431589468389', '18705198389', '1', '187051983891431589482632', '2015-05-14 15:44:28', '3', null, '1', '0', '20502', '1430880199130', '2015-05-14 15:44:42', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431592728840', '15261896862', '1', '152618968621431592797043', '2015-05-14 16:38:48', '3', null, '1', '0', '20107', '1430880346706', '2015-05-14 16:39:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431592758443', '15261896862', '1', '152618968621431592797043', '2015-05-14 16:39:18', '3', null, '1', '0', '20301', '1430880346706', '2015-05-14 16:39:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431592772501', '15261896862', '1', '152618968621431592797043', '2015-05-14 16:39:32', '3', null, '1', '0', '20401', '1430880346706', '2015-05-14 16:39:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431597620096', '18705199209', '1', '187051992091431597750893', '2015-05-14 18:00:20', '3', null, '1', '0', '10107', '1430217024155', '2015-05-14 18:02:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431597638391', '18705199209', '1', '187051992091431597750893', '2015-05-14 18:00:38', '3', null, '1', '0', '10144', '1430217024155', '2015-05-14 18:02:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431597704917', '18705199209', '1', '187051992091431597750893', '2015-05-14 18:01:44', '3', null, '2', '0', '10101', '1430217024155', '2015-05-14 18:02:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431598108033', '18724005167', '1', '187240051671431598231433', '2015-05-14 18:08:28', '3', null, '1', '0', '20209', '1430215725002', '2015-05-14 18:10:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431598160677', '18724005167', '1', '187240051671431598231433', '2015-05-14 18:09:20', '3', null, '4', '0', '20107', '1430215725002', '2015-05-14 18:10:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605114315', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:05:14', '3', null, '14', '0', '10301', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605292802', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:08:12', '3', null, '1', '0', '40114', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605341728', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:09:01', '3', null, '1', '0', '10713', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605357104', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:09:17', '3', null, '3', '0', '10708', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605375672', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:09:35', '3', null, '2', '0', '90113', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605503797', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:11:43', '3', null, '4', '0', '90111', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605518875', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:11:58', '3', null, '5', '0', '10204', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605549171', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:12:29', '3', null, '5', '0', '10101', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431605579386', '17768116252', '1', '177681162521431605668408', '2015-05-14 20:12:59', '3', null, '10', '0', '20609', '1431094805202', '2015-05-14 20:14:28', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431606374260', '15295509505', '1', '152955095051431606477174', '2015-05-14 20:26:14', '3', null, '2', '0', '20209', '1430215931228', '2015-05-14 20:27:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431606387743', '15295509505', '1', '152955095051431606477174', '2015-05-14 20:26:27', '3', null, '1', '0', '20501', '1430215931228', '2015-05-14 20:27:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431606429676', '15295509505', '1', '152955095051431606477174', '2015-05-14 20:27:09', '3', null, '1', '0', '20111', '1430215931228', '2015-05-14 20:27:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431606457279', '15295509505', '1', '152955095051431606477174', '2015-05-14 20:27:37', '3', null, '3', '0', '90111', '1430215931228', '2015-05-14 20:27:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431606469110', '15295509505', '1', '152955095051431606477174', '2015-05-14 20:27:49', '3', null, '1', '0', '10301', '1430215931228', '2015-05-14 20:27:57', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431608962607', '15005527591', '1', '150055275911431609066663', '2015-05-14 21:09:22', '3', null, '2', '0', '20112', '1431609064380', '2015-05-14 21:11:06', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613148908', '15366031030', '1', '153660310301431690667116', '2015-05-14 22:19:08', '3', null, '1', '0', '20209', '1430143358581', '2015-05-15 19:51:07', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613183738', '15366031030', '1', '153660310301431690667116', '2015-05-14 22:19:43', '3', null, '1', '0', '20616', '1430143358581', '2015-05-15 19:51:07', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613210813', '15366031030', '1', null, '2015-05-14 22:20:10', '0', null, '1', '0', '40112', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613226022', '15366031030', '1', '153660310301431690667116', '2015-05-14 22:20:26', '3', null, '2', '0', '40110', '1430143358581', '2015-05-15 19:51:07', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613234693', '15366031030', '1', null, '2015-05-14 22:20:34', '0', null, '3', '0', '40403', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613277368', '15366031030', '1', '153660310301431690667116', '2015-05-14 22:21:17', '3', null, '4', '0', '10101', '1430143358581', '2015-05-15 19:51:07', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613309507', '15366031030', '1', '153660310301432559809378', '2015-05-14 22:21:49', '3', null, '2', '0', '20603', '1430143358581', '2015-05-25 21:16:49', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613316711', '15366031030', '1', null, '2015-05-14 22:21:56', '0', null, '2', '0', '40310', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613333672', '15366031030', '1', '153660310301431690667116', '2015-05-14 22:22:13', '3', null, '4', '0', '90101', '1430143358581', '2015-05-15 19:51:07', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431613344288', '15366031030', '1', null, '2015-05-14 22:22:24', '0', null, '2', '0', '10130', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431657365607', '15261895955', '1', '152618959551431657498854', '2015-05-15 10:36:05', '3', null, '1', '0', '10411', '1430194614988', '2015-05-15 10:38:18', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431657369812', '15261895955', '1', '152618959551431657498854', '2015-05-15 10:36:09', '3', null, '1', '0', '20106', '1430194614988', '2015-05-15 10:38:18', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431657373883', '15261895955', '1', '152618959551431657498854', '2015-05-15 10:36:13', '3', null, '1', '0', '20609', '1430194614988', '2015-05-15 10:38:18', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431657421350', '15261895955', '1', '152618959551431657498854', '2015-05-15 10:37:01', '3', null, '1', '0', '40105', '1430194614988', '2015-05-15 10:38:18', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431657481637', '15261895955', '1', '152618959551431657498854', '2015-05-15 10:38:01', '3', null, '1', '0', '10220', '1430194614988', '2015-05-15 10:38:18', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431660686098', '15251895527', '1', '152518955271431662175822', '2015-05-15 11:31:26', '3', null, '1', '0', '10506', '1430213301695', '2015-05-15 11:56:15', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431660785571', '15251895527', '1', '152518955271431662175822', '2015-05-15 11:33:05', '3', null, '1', '0', '40316', '1430213301695', '2015-05-15 11:56:15', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431661055977', '15251895527', '1', '152518955271431662175822', '2015-05-15 11:37:35', '3', null, '12', '0', '20601', '1430213301695', '2015-05-15 11:56:15', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431661140658', '15251895527', '1', '152518955271431662175822', '2015-05-15 11:39:00', '3', null, '1', '0', '20112', '1430213301695', '2015-05-15 11:56:15', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431664484064', '15261896973', '1', '152618969731431664510985', '2015-05-15 12:34:44', '3', null, '1', '0', '10113', '1430220181373', '2015-05-15 12:35:11', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431664499555', '15261896973', '1', '152618969731431664510985', '2015-05-15 12:34:59', '3', null, '1', '0', '20301', '1430220181373', '2015-05-15 12:35:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431666322825', '18705199202', '1', '187051992021431666812743', '2015-05-15 13:05:22', '3', null, '1', '0', '40210', '1431524006786', '2015-05-15 13:13:32', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431666481658', '18705199202', '1', '187051992021431666812743', '2015-05-15 13:08:01', '3', null, '1', '0', '10713', '1431524006786', '2015-05-15 13:13:32', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431666630897', '18705199202', '1', '187051992021431666812743', '2015-05-15 13:10:30', '3', null, '1', '0', '20107', '1431524006786', '2015-05-15 13:13:32', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431666793547', '18705199202', '1', '187051992021431666812743', '2015-05-15 13:13:13', '3', null, '5', '0', '90116', '1431524006786', '2015-05-15 13:13:32', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431669361435', '15605159822', '1', '156051598221431669370904', '2015-05-15 13:56:01', '3', null, '1', '0', '20505', '1430449291849', '2015-05-15 13:56:10', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431670580312', '13815445502', '1', '138154455021431671480495', '2015-05-15 14:16:20', '3', null, '1', '0', '10219', '1430196072612', '2015-05-15 14:31:20', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431670638864', '13815445502', '1', '138154455021431671480495', '2015-05-15 14:17:18', '3', null, '1', '0', '20107', '1430196072612', '2015-05-15 14:31:20', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431671466606', '13815445502', '1', '138154455021431671480495', '2015-05-15 14:31:06', '3', null, '1', '0', '40204', '1430196072612', '2015-05-15 14:31:20', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431672585965', '15005527591', '1', '150055275911431672841573', '2015-05-15 14:49:45', '3', null, '1', '0', '10710', '1431609064380', '2015-05-15 14:54:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431672605011', '15005527591', '1', '150055275911431672841573', '2015-05-15 14:50:05', '3', null, '2', '0', '90111', '1431609064380', '2015-05-15 14:54:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431672690080', '15005527591', '1', '150055275911431672841573', '2015-05-15 14:51:30', '3', null, '1', '0', '90115', '1431609064380', '2015-05-15 14:54:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431672735090', '15005527591', '1', '150055275911431672841573', '2015-05-15 14:52:15', '3', null, '1', '0', '90112', '1431609064380', '2015-05-15 14:54:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431672808912', '15005527591', '1', '150055275911431672841573', '2015-05-15 14:53:28', '3', null, '1', '0', '90113', '1431609064380', '2015-05-15 14:54:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431675050779', '13815445502', '1', '138154455021431675691363', '2015-05-15 15:30:50', '3', null, '1', '0', '10220', '1430196072612', '2015-05-15 15:41:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431675192591', '13815445502', '1', '138154455021431675691363', '2015-05-15 15:33:12', '3', null, '1', '0', '20216', '1430196072612', '2015-05-15 15:41:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431675233146', '13815445502', '1', '138154455021431675691363', '2015-05-15 15:33:53', '3', null, '1', '0', '90115', '1430196072612', '2015-05-15 15:41:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431675259006', '13815445502', '1', '138154455021431675691363', '2015-05-15 15:34:19', '3', null, '1', '0', '20608', '1430196072612', '2015-05-15 15:41:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431675411033', '13815445502', '1', '138154455021431675691363', '2015-05-15 15:36:51', '3', null, '1', '0', '90116', '1430196072612', '2015-05-15 15:41:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431675592345', '13815445502', '1', '138154455021431675691363', '2015-05-15 15:39:52', '3', null, '1', '0', '10409', '1430196072612', '2015-05-15 15:41:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431675668578', '13815445502', '1', '138154455021431675691363', '2015-05-15 15:41:08', '3', null, '2', '0', '10101', '1430196072612', '2015-05-15 15:41:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431676209629', '18705198389', '1', '187051983891431676413551', '2015-05-15 15:50:09', '3', null, '1', '0', '20216', '1430880199130', '2015-05-15 15:53:33', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431676397841', '18705198389', '1', '187051983891431676413551', '2015-05-15 15:53:17', '3', null, '1', '0', '20107', '1430880199130', '2015-05-15 15:53:33', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431683159152', '13160076967', '1', '131600769671431683495990', '2015-05-15 17:45:59', '3', null, '1', '0', '10713', '1430295105062', '2015-05-15 17:51:36', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431683172633', '13160076967', '1', '131600769671431683495990', '2015-05-15 17:46:12', '3', null, '2', '0', '10720', '1430295105062', '2015-05-15 17:51:36', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431683194706', '13160076967', '1', '131600769671431683495990', '2015-05-15 17:46:34', '3', null, '2', '0', '20107', '1430295105062', '2015-05-15 17:51:36', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431683264340', '15380820376', '1', '153808203761431687645500', '2015-05-15 17:47:44', '3', null, '3', '0', '20505', '1430230060734', '2015-05-15 19:00:45', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431683307776', '13160076967', '1', '131600769671431683495990', '2015-05-15 17:48:27', '3', null, '1', '0', '40102', '1430295105062', '2015-05-15 17:51:36', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431683324775', '13160076967', '1', '131600769671431683495990', '2015-05-15 17:48:44', '3', null, '1', '0', '10143', '1430295105062', '2015-05-15 17:51:36', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431683415147', '13160076967', '1', '131600769671431683495990', '2015-05-15 17:50:15', '3', null, '3', '0', '40310', '1430295105062', '2015-05-15 17:51:35', '15850789886', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431684604197', '15295566015', '1', '152955660151431684910747', '2015-05-15 18:10:04', '3', null, '10', '0', '10101', '1431684892337', '2015-05-15 18:15:10', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431684674540', '15295566015', '1', '152955660151431684910747', '2015-05-15 18:11:14', '3', null, '1', '0', '20106', '1431684892337', '2015-05-15 18:15:10', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431684830091', '15295566015', '1', '152955660151431684910747', '2015-05-15 18:13:50', '3', null, '5', '0', '10411', '1431684892337', '2015-05-15 18:15:10', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686046127', '18705199233', '1', '187051992331431686224141', '2015-05-15 18:34:06', '3', null, '1', '0', '20110', '1431327448315', '2015-05-15 18:37:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686098134', '18705199233', '1', '187051992331431686224141', '2015-05-15 18:34:58', '3', null, '1', '0', '20615', '1431327448315', '2015-05-15 18:37:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686165808', '18705199233', '1', '187051992331431686224141', '2015-05-15 18:36:05', '3', null, '2', '0', '90109', '1431327448315', '2015-05-15 18:37:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686188364', '15151885657', '1', '151518856571431686359626', '2015-05-15 18:36:28', '3', null, '4', '0', '10301', '1431686355726', '2015-05-15 18:39:19', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686199851', '18705199233', '1', '187051992331431686224141', '2015-05-15 18:36:39', '3', null, '2', '0', '10415', '1431327448315', '2015-05-15 18:37:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686228278', '15151885657', '1', '151518856571431686359626', '2015-05-15 18:37:08', '3', null, '4', '0', '10411', '1431686355726', '2015-05-15 18:39:19', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686265066', '15151885657', '1', '151518856571431686359626', '2015-05-15 18:37:45', '3', null, '1', '0', '40106', '1431686355726', '2015-05-15 18:39:19', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431686319093', '15151885657', '1', '151518856571431686359626', '2015-05-15 18:38:39', '3', null, '2', '0', '40102', '1431686355726', '2015-05-15 18:39:19', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431687440103', '15380820376', '1', '153808203761431687645500', '2015-05-15 18:57:20', '3', null, '2', '0', '10302', '1430230060734', '2015-05-15 19:00:45', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431687531231', '15380820376', '1', '153808203761431687645500', '2015-05-15 18:58:51', '3', null, '1', '0', '90114', '1430230060734', '2015-05-15 19:00:45', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431696903248', '15896319989', '1', '158963199891431951716476', '2015-05-15 21:35:03', '3', null, '1', '0', '20209', '1431696973639', '2015-05-18 20:21:56', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431697747733', '18013866641', '1', '180138666411431779677880', '2015-05-15 21:49:07', '3', null, '6', '0', '20703', '1430573737418', '2015-05-16 20:34:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431754974858', '18252058069', '1', '182520580691431755281926', '2015-05-16 13:42:54', '3', null, '4', '0', '10101', '1431235121119', '2015-05-16 13:48:01', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431754996921', '18252058069', '1', '182520580691431755281926', '2015-05-16 13:43:16', '3', null, '1', '0', '10414', '1431235121119', '2015-05-16 13:48:01', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431755005611', '18252058069', '1', '182520580691431755281926', '2015-05-16 13:43:25', '3', null, '2', '0', '20609', '1431235121119', '2015-05-16 13:48:01', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431755252327', '18252058069', '1', '182520580691431755281926', '2015-05-16 13:47:32', '3', null, '1', '0', '40102', '1431235121119', '2015-05-16 13:48:01', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431758713545', '15605159822', '1', '156051598221431758844765', '2015-05-16 14:45:13', '3', null, '10', '0', '10101', '1430449291849', '2015-05-16 14:47:24', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431758743830', '15605159822', '1', '156051598221431758844765', '2015-05-16 14:45:43', '3', null, '4', '0', '90111', '1430449291849', '2015-05-16 14:47:24', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431758800055', '15605159822', '1', '156051598221431758844765', '2015-05-16 14:46:40', '3', null, '5', '0', '10301', '1430449291849', '2015-05-16 14:47:24', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772383535', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:33:03', '3', null, '1', '0', '20617', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772410108', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:33:30', '3', null, '1', '0', '40201', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772459366', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:34:19', '3', null, '1', '0', '10709', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772468661', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:34:28', '3', null, '3', '0', '90112', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772475045', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:34:35', '3', null, '3', '0', '90111', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772514780', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:35:14', '3', null, '2', '0', '90108', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772527975', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:35:27', '3', null, '1', '0', '20609', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431772534331', '15295509505', '1', '152955095051431772549044', '2015-05-16 18:35:34', '3', null, '1', '0', '10411', '1430215931228', '2015-05-16 18:35:49', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431775718366', '15366127275', '1', '153661272751431776317495', '2015-05-16 19:28:38', '3', null, '1', '0', '20107', '1431166185371', '2015-05-16 19:38:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431775777054', '15366127275', '1', '153661272751431776317495', '2015-05-16 19:29:37', '3', null, '2', '0', '10709', '1431166185371', '2015-05-16 19:38:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431775824646', '15366127275', '1', '153661272751431776317495', '2015-05-16 19:30:24', '3', null, '1', '0', '40102', '1431166185371', '2015-05-16 19:38:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431776141066', '15366127275', '1', '153661272751431776317495', '2015-05-16 19:35:41', '3', null, '4', '0', '10301', '1431166185371', '2015-05-16 19:38:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431776207500', '15366127275', '1', '153661272751431776317495', '2015-05-16 19:36:47', '3', null, '1', '0', '10220', '1431166185371', '2015-05-16 19:38:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431779103002', '13861605337', '1', '138616053371431779182582', '2015-05-16 20:25:03', '3', null, '1', '0', '20216', '1430659947759', '2015-05-16 20:26:22', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431779129992', '13861605337', '1', '138616053371431779182582', '2015-05-16 20:25:29', '3', null, '1', '0', '20501', '1430659947759', '2015-05-16 20:26:22', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431779171881', '13861605337', '1', '138616053371431779182582', '2015-05-16 20:26:11', '3', null, '1', '0', '20206', '1430659947759', '2015-05-16 20:26:22', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431780487209', '18252120427', '1', '182521204271431780746526', '2015-05-16 20:48:07', '3', null, '3', '0', '20609', '1430804181551', '2015-05-16 20:52:26', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431780615992', '18252120427', '1', '182521204271431780746526', '2015-05-16 20:50:15', '3', null, '1', '0', '10302', '1430804181551', '2015-05-16 20:52:26', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431780712021', '18252120427', '1', '182521204271431780746526', '2015-05-16 20:51:52', '3', null, '3', '0', '20208', '1430804181551', '2015-05-16 20:52:26', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431794358390', '18662835126', '1', '186628351261432180329719', '2015-05-17 00:39:18', '3', null, '2', '0', '10302', '1430266717780', '2015-05-21 11:52:09', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431830399208', '15151883572', '1', '151518835721432456881073', '2015-05-17 10:39:59', '3', null, '3', '0', '90116', '1427691760293', '2015-05-24 16:41:21', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431843338145', '18362938239', '1', '183629382391432543892580', '2015-05-17 14:15:38', '3', null, '4', '0', '90109', '1430618682327', '2015-05-25 16:51:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431843380437', '18362938239', '1', '183629382391432543892580', '2015-05-17 14:16:20', '3', null, '1', '0', '20601', '1430618682327', '2015-05-25 16:51:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847223198', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:20:23', '3', null, '1', '0', '10202', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847252810', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:20:52', '3', null, '1', '0', '10402', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847261530', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:21:01', '3', null, '1', '0', '10713', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847322425', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:22:02', '3', null, '1', '0', '10405', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847357348', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:22:37', '3', null, '1', '0', '10118', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847440433', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:24:00', '3', null, '1', '0', '10128', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847447042', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:24:07', '3', null, '1', '0', '20605', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847490281', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:24:50', '3', null, '1', '0', '10414', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847696843', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:28:16', '3', null, '1', '0', '20111', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431847758648', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:29:18', '3', null, '3', '0', '10101', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431848046507', '18362938239', '1', '183629382391432543892580', '2015-05-17 15:34:06', '3', null, '2', '0', '40105', '1430618682327', '2015-05-25 16:51:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431848053620', '18362938239', '1', '183629382391432543892580', '2015-05-17 15:34:13', '3', null, '1', '0', '40202', '1430618682327', '2015-05-25 16:51:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431848578471', '18020118356', '1', '180201183561431848587101', '2015-05-17 15:42:58', '3', null, '1', '0', '10302', '1430288419148', '2015-05-17 15:43:07', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431857907061', '18362938239', '1', '183629382391432543892580', '2015-05-17 18:18:27', '3', null, '1', '0', '20204', '1430618682327', '2015-05-25 16:51:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431857938985', '18362938239', '1', '183629382391432543892580', '2015-05-17 18:18:58', '3', null, '1', '0', '20609', '1430618682327', '2015-05-25 16:51:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431858064302', '15251899171', '1', null, '2015-05-17 18:21:04', '0', null, '1', '0', '20111', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431858127026', '15251899171', '1', null, '2015-05-17 18:22:07', '0', null, '2', '0', '20104', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431858168227', '15251899171', '1', null, '2015-05-17 18:22:48', '0', null, '5', '0', '10301', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431861968865', '15261897597', '1', null, '2015-05-17 19:26:08', '0', null, '2', '0', '10301', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431861986245', '15261897597', '1', null, '2015-05-17 19:26:26', '0', null, '1', '0', '10302', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431862078744', '15261897597', '1', null, '2015-05-17 19:27:58', '0', null, '2', '0', '90112', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431862313901', '15261897597', '1', null, '2015-05-17 19:31:53', '0', null, '2', '0', '40403', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431862336119', '15261897597', '1', null, '2015-05-17 19:32:16', '0', null, '1', '0', '40104', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431862454284', '15261897597', '1', null, '2015-05-17 19:34:14', '0', null, '2', '0', '40313', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431862497100', '15261897597', '1', null, '2015-05-17 19:34:57', '0', null, '1', '0', '10413', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431865012644', '18252056259', '1', '182520562591431954030576', '2015-05-17 20:16:52', '3', null, '3', '0', '20112', '1430209427176', '2015-05-18 21:00:30', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431911953504', '15295567537', '1', '152955675371431911966850', '2015-05-18 09:19:13', '3', null, '2', '0', '40321', '1428134772134', '2015-05-18 09:19:26', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431921964364', '15380820376', '1', '153808203761431922099453', '2015-05-18 12:06:04', '3', null, '1', '0', '10213', '1430230060734', '2015-05-18 12:08:19', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431922048437', '15380820376', '1', '153808203761431922099453', '2015-05-18 12:07:28', '3', null, '1', '0', '10109', '1430230060734', '2015-05-18 12:08:19', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431922068020', '15380820376', '1', '153808203761431922099453', '2015-05-18 12:07:48', '3', null, '2', '0', '20505', '1430230060734', '2015-05-18 12:08:19', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431933696890', '18705199209', '1', '187051992091431933844608', '2015-05-18 15:21:36', '3', null, '1', '0', '20112', '1430217024155', '2015-05-18 15:24:04', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431933720907', '18705199209', '1', '187051992091440400550209', '2015-05-18 15:22:00', '1', '0.00', '1', '0', '10301', '1427622407201', '2015-08-24 15:15:50', null, '立即送达', '速度', '1', '1', null, '300.00', null); +INSERT INTO `orders` VALUES ('1431933780233', '18705199209', '1', '187051992091440400550209', '2015-05-18 15:23:00', '1', '0.00', '1', '0', '10101', '1427622407201', '2015-08-24 15:15:50', null, '立即送达', '速度', '1', '1', null, '300.00', null); +INSERT INTO `orders` VALUES ('1431933814058', '18705199209', '1', '187051992091431933844608', '2015-05-18 15:23:34', '3', null, '1', '0', '20107', '1430217024155', '2015-05-18 15:24:04', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431938983605', '15365182279', '1', '153651822791431939423960', '2015-05-18 16:49:43', '3', null, '1', '0', '20609', '1431061251802', '2015-05-18 16:57:04', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431938999624', '15365182279', '1', '153651822791431939423960', '2015-05-18 16:49:59', '3', null, '2', '0', '10101', '1431061251802', '2015-05-18 16:57:03', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431939101940', '15365182279', '1', '153651822791431939423960', '2015-05-18 16:51:41', '3', null, '1', '0', '10504', '1431061251802', '2015-05-18 16:57:03', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431939278750', '15365182279', '1', '153651822791431939423960', '2015-05-18 16:54:38', '3', null, '2', '0', '10720', '1431061251802', '2015-05-18 16:57:03', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431941554930', '13861605337', '1', '138616053371431941697326', '2015-05-18 17:32:34', '3', null, '1', '0', '20209', '1430659947759', '2015-05-18 17:34:57', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431941947498', '15961685555', '1', '159616855551431942355974', '2015-05-18 17:39:07', '3', null, '1', '0', '20602', '1431232134281', '2015-05-18 17:45:56', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431942287268', '15961685555', '1', '159616855551431942355974', '2015-05-18 17:44:47', '3', null, '2', '0', '10101', '1431232134281', '2015-05-18 17:45:55', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431942338211', '15961685555', '1', '159616855551431942355974', '2015-05-18 17:45:38', '3', null, '1', '0', '90111', '1431232134281', '2015-05-18 17:45:55', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431946323577', '15365132560', '1', '153651325601439446026208', '2015-05-18 18:52:03', '1', null, '1', '0', '20505', '1430273424102', '2015-08-13 14:07:06', '15850789886', '立即送达', '速度', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431950568332', '18013864787', '1', null, '2015-05-18 20:02:48', '0', null, '3', '0', '10101', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431950797607', '18013864787', '1', null, '2015-05-18 20:06:37', '0', null, '1', '0', '20609', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431951552134', '15605159822', '1', '156051598221431951610023', '2015-05-18 20:19:12', '1', null, '4', '0', '90111', '1430449291849', '2015-05-18 20:20:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431951566237', '15605159822', '1', '156051598221431951610023', '2015-05-18 20:19:26', '1', null, '1', '0', '20107', '1430449291849', '2015-05-18 20:20:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431951584967', '15605159822', '1', '156051598221431951610023', '2015-05-18 20:19:44', '1', null, '2', '0', '90109', '1430449291849', '2015-05-18 20:20:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431951694571', '13815445502', '1', '138154455021431953977666', '2015-05-18 20:21:34', '3', null, '1', '0', '40208', '1430196072612', '2015-05-18 20:59:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431951898099', '15261896973', '1', '152618969731431951935312', '2015-05-18 20:24:58', '3', null, '2', '0', '90114', '1430220181373', '2015-05-18 20:25:35', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952019317', '13815445502', '1', '138154455021431953977666', '2015-05-18 20:26:59', '3', null, '1', '0', '10413', '1430196072612', '2015-05-18 20:59:37', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952399680', '13451895624', '1', '134518956241431952410892', '2015-05-18 20:33:19', '3', null, '1', '0', '40401', '1430834407532', '2015-05-18 20:33:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952429497', '15605159822', '1', '156051598221431952445684', '2015-05-18 20:33:49', '1', null, '1', '0', '20216', '1430449291849', '2015-05-18 20:34:05', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952513630', '15261895955', '1', '152618959551431952710717', '2015-05-18 20:35:13', '3', null, '1', '0', '40202', '1430194614988', '2015-05-18 20:38:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952543006', '15261895955', '1', '152618959551431952710717', '2015-05-18 20:35:43', '3', null, '1', '0', '10708', '1430194614988', '2015-05-18 20:38:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952577143', '15261895955', '1', '152618959551431952710717', '2015-05-18 20:36:17', '3', null, '2', '0', '10301', '1430194614988', '2015-05-18 20:38:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952671149', '15261895955', '1', '152618959551431952710717', '2015-05-18 20:37:51', '3', null, '1', '0', '10411', '1430194614988', '2015-05-18 20:38:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431952691250', '15261895955', '1', '152618959551431952710717', '2015-05-18 20:38:11', '1', null, '1', '0', '90111', '1430194614988', '2015-05-18 20:38:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431953651762', '15952035224', '1', '159520352241431953693632', '2015-05-18 20:54:11', '1', null, '10', '0', '10101', '1431953691258', '2015-05-18 20:54:53', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431953662606', '15952035224', '1', '159520352241431953693632', '2015-05-18 20:54:22', '1', null, '10', '0', '10301', '1431953691258', '2015-05-18 20:54:53', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431954013362', '18252056259', '1', '182520562591431954030576', '2015-05-18 21:00:13', '3', null, '6', '0', '20104', '1430209427176', '2015-05-18 21:00:30', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431954503326', '15896319989', '1', '158963199891431954604780', '2015-05-18 21:08:23', '1', null, '1', '0', '20216', '1431696973639', '2015-05-18 21:10:04', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1431954564581', '15896319989', '1', '158963199891431954604780', '2015-05-18 21:09:24', '3', null, '2', '0', '20501', '1431696973639', '2015-05-18 21:10:04', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432004244027', '18251883658', '1', '182518836581432004514058', '2015-05-19 10:57:24', '1', null, '4', '0', '10101', '1432004512688', '2015-05-19 11:01:54', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432004383311', '18251883658', '1', '182518836581432004514058', '2015-05-19 10:59:43', '3', null, '5', '0', '10301', '1432004512688', '2015-05-19 11:01:54', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432004486580', '18251883658', '1', '182518836581432004514058', '2015-05-19 11:01:26', '3', null, '1', '0', '20209', '1432004512688', '2015-05-19 11:01:54', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432005208026', '13814504204', '1', '138145042041432005855459', '2015-05-19 11:13:28', '3', null, '3', '0', '20505', '1430886217079', '2015-05-19 11:24:15', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432005385567', '13814504204', '1', '138145042041432005855459', '2015-05-19 11:16:25', '3', null, '4', '0', '10709', '1430886217079', '2015-05-19 11:24:15', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432016848618', '18896765902', '1', '188967659021432017545304', '2015-05-19 14:27:28', '3', null, '2', '0', '10409', '1432017530630', '2015-05-19 14:39:05', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432016872284', '18896765902', '1', '188967659021432017545304', '2015-05-19 14:27:52', '1', null, '3', '0', '20505', '1432017530630', '2015-05-19 14:39:05', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432016909664', '18896765902', '1', '188967659021432017545304', '2015-05-19 14:28:29', '1', null, '10', '0', '10101', '1432017530630', '2015-05-19 14:39:05', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432016933931', '18896765902', '1', null, '2015-05-19 14:28:53', '0', null, '4', '0', '40320', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432036450946', '15251895527', '1', '152518955271432036503635', '2015-05-19 19:54:10', '3', null, '3', '0', '20504', '1430213301695', '2015-05-19 19:55:03', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432036825313', '18252056259', '1', '182520562591432036918888', '2015-05-19 20:00:25', '3', null, '1', '0', '10222', '1430209427176', '2015-05-19 20:01:58', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432036829610', '18252056259', '1', '182520562591432036918888', '2015-05-19 20:00:29', '3', null, '1', '0', '10219', '1430209427176', '2015-05-19 20:01:58', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432036886651', '18252056259', '1', '182520562591432036918888', '2015-05-19 20:01:26', '3', null, '5', '0', '10204', '1430209427176', '2015-05-19 20:01:58', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432094538957', '18252056259', '1', '182520562591432094562387', '2015-05-20 12:02:18', '3', null, '2', '0', '20104', '1430209427176', '2015-05-20 12:02:42', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432114209407', '15190518013', '1', '151905180131432114383185', '2015-05-20 17:30:09', '3', null, '1', '0', '10710', '1430194088216', '2015-05-20 17:33:03', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432126779704', '18252120427', '1', '182521204271432127019799', '2015-05-20 20:59:39', '3', null, '1', '0', '20209', '1430804181551', '2015-05-20 21:03:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432126807795', '18252120427', '1', '182521204271432127019799', '2015-05-20 21:00:07', '3', null, '5', '0', '90112', '1430804181551', '2015-05-20 21:03:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432126848645', '15896319989', '1', '158963199891432126858951', '2015-05-20 21:00:48', '3', null, '1', '0', '20209', '1431696973639', '2015-05-20 21:00:58', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432126860919', '18252120427', '1', '182521204271432127019799', '2015-05-20 21:01:00', '3', null, '10', '0', '10301', '1430804181551', '2015-05-20 21:03:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432126871579', '18252120427', '1', '182521204271432127019799', '2015-05-20 21:01:11', '3', null, '1', '0', '20106', '1430804181551', '2015-05-20 21:03:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432126895343', '18252120427', '1', '182521204271432127019799', '2015-05-20 21:01:35', '3', null, '3', '0', '40206', '1430804181551', '2015-05-20 21:03:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432127011407', '18252120427', '1', '182521204271432127019799', '2015-05-20 21:03:31', '3', null, '2', '0', '40205', '1430804181551', '2015-05-20 21:03:39', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432127232185', '18252022980', '1', null, '2015-05-20 21:07:12', '0', null, '4', '0', '10720', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432127355632', '18252022980', '1', null, '2015-05-20 21:09:15', '0', null, '2', '0', '10403', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432134585661', '17751770753', '1', null, '2015-05-20 23:09:45', '0', null, '1', '0', '10206', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432134646696', '17751770753', '1', null, '2015-05-20 23:10:46', '0', null, '1', '0', '20616', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432173122897', '18020118356', '1', '180201183561432464059716', '2015-05-21 09:52:02', '3', null, '1', '0', '40102', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432173238402', '18020118356', '1', '180201183561432464059716', '2015-05-21 09:53:58', '3', null, '1', '0', '20602', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432173266603', '18020118356', '1', '180201183561432464059716', '2015-05-21 09:54:26', '3', null, '1', '0', '10302', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432173284823', '18020118356', '1', '180201183561432464059716', '2015-05-21 09:54:44', '3', null, '1', '0', '10145', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432173326702', '18020118356', '1', '180201183561432464059716', '2015-05-21 09:55:26', '3', null, '1', '0', '10122', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432173460713', '18020118356', '1', '180201183561432464059716', '2015-05-21 09:57:40', '3', null, '1', '0', '10402', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432175839480', '18252120427', '1', '182521204271432175927879', '2015-05-21 10:37:19', '3', null, '3', '0', '10418', '1430804181551', '2015-05-21 10:38:47', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432175853771', '18252120427', '1', '182521204271432175927879', '2015-05-21 10:37:33', '3', null, '1', '0', '40202', '1430804181551', '2015-05-21 10:38:47', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432175858398', '18252120427', '1', '182521204271432175927879', '2015-05-21 10:37:38', '3', null, '1', '0', '40201', '1430804181551', '2015-05-21 10:38:47', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432175879920', '18252120427', '1', '182521204271432175927879', '2015-05-21 10:37:59', '3', null, '3', '0', '40205', '1430804181551', '2015-05-21 10:38:47', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176567900', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:49:27', '3', null, '2', '0', '10601', '1430282698225', '2015-05-21 10:53:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176574513', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:49:34', '3', null, '1', '0', '10602', '1430282698225', '2015-05-21 10:53:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176587491', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:49:47', '3', null, '2', '0', '10604', '1430282698225', '2015-05-21 10:53:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176596182', '', '0', null, null, '0', null, null, '0', '0', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176596183', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:49:56', '3', null, '2', '0', '10603', '1430282698225', '2015-05-21 10:53:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176603541', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:50:03', '3', null, '2', '0', '10605', '1430282698225', '2015-05-21 10:53:01', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176609914', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:50:09', '3', null, '2', '0', '10607', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176617331', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:50:17', '3', null, '2', '0', '10608', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176624282', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:50:24', '3', null, '2', '0', '10609', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176630161', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:50:30', '3', null, '2', '0', '10610', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176636621', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:50:36', '3', null, '2', '0', '10613', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176650194', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:50:50', '3', null, '2', '0', '10612', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176665393', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:51:05', '3', null, '2', '0', '10614', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176671632', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:51:11', '3', null, '2', '0', '10615', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176680706', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:51:20', '3', null, '2', '0', '10617', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176686593', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:51:26', '3', null, '2', '0', '10618', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176694282', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:51:34', '3', null, '2', '0', '10619', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176724304', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:52:04', '3', null, '1', '0', '10621', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432176731536', '13040101273', '1', '130401012731432176780791', '2015-05-21 10:52:11', '3', null, '1', '0', '10623', '1430282698225', '2015-05-21 10:53:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432178093404', '15295509505', '1', '152955095051432178228759', '2015-05-21 11:14:53', '3', null, '5', '0', '90111', '1430215931228', '2015-05-21 11:17:08', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432178100669', '15295509505', '1', '152955095051432178228759', '2015-05-21 11:15:00', '3', null, '5', '0', '10301', '1430215931228', '2015-05-21 11:17:08', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432178117019', '15295509505', '1', '152955095051432178228759', '2015-05-21 11:15:17', '3', null, '5', '0', '90112', '1430215931228', '2015-05-21 11:17:08', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432178151169', '15295509505', '1', '152955095051432178228759', '2015-05-21 11:15:51', '3', null, '1', '0', '20107', '1430215931228', '2015-05-21 11:17:08', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432178219272', '15295509505', '1', '152955095051432178228759', '2015-05-21 11:16:59', '3', null, '2', '0', '10401', '1430215931228', '2015-05-21 11:17:08', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432180291198', '18662835126', '1', '186628351261432180329719', '2015-05-21 11:51:31', '3', null, '2', '0', '40102', '1430266717780', '2015-05-21 11:52:09', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432188905364', '13585165686', '1', '135851656861432188962735', '2015-05-21 14:15:05', '3', null, '2', '0', '20107', '1431347335595', '2015-05-21 14:16:02', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432188943723', '13585165686', '1', '135851656861432188962735', '2015-05-21 14:15:43', '3', null, '1', '0', '20216', '1431347335595', '2015-05-21 14:16:02', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432190838355', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:47:18', '3', null, '2', '0', '90107', '1432191232944', '2015-05-21 17:10:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432190846936', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:47:26', '3', null, '2', '0', '90108', '1432191232944', '2015-05-21 17:10:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432190854452', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:47:34', '3', null, '2', '0', '90114', '1432191232944', '2015-05-21 17:10:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432190881744', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:48:01', '4', null, '1', '0', '10222', '1432191232944', '2015-05-21 17:10:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432190896926', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:48:16', '3', null, '1', '0', '10219', '1432191232944', '2015-05-21 17:10:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432190954945', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:49:14', '3', null, '1', '0', '40201', '1432191232944', '2015-05-21 17:10:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432190974196', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:49:34', '3', null, '1', '0', '40102', '1432191232944', '2015-05-21 17:10:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432191001245', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:50:01', '3', null, '1', '0', '40205', '1432191232944', '2015-05-21 17:10:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432191021098', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:50:21', '3', null, '1', '0', '40204', '1432191232944', '2015-05-21 17:10:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432191113307', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:51:53', '3', null, '1', '0', '20111', '1432191232944', '2015-05-21 17:10:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432191144654', '15850789092', '1', '158507890921432199430890', '2015-05-21 14:52:24', '3', null, '2', '0', '90102', '1432191232944', '2015-05-21 17:10:30', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432197258063', '15365196382', '1', '153651963821432197876222', '2015-05-21 16:34:18', '3', null, '1', '0', '10706', '1432197873079', '2015-05-21 16:44:36', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432197272950', '15365196382', '1', '153651963821432197876222', '2015-05-21 16:34:32', '3', null, '1', '0', '90113', '1432197873079', '2015-05-21 16:44:36', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432197325870', '15365196382', '1', '153651963821432197876222', '2015-05-21 16:35:25', '3', null, '1', '0', '40315', '1432197873079', '2015-05-21 16:44:36', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432197333165', '15365196382', '1', '153651963821432197876222', '2015-05-21 16:35:33', '3', null, '1', '0', '90111', '1432197873079', '2015-05-21 16:44:36', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432197381617', '15365196382', '1', '153651963821432197876222', '2015-05-21 16:36:21', '3', null, '1', '0', '20601', '1432197873079', '2015-05-21 16:44:36', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432201800284', '18251883658', '1', '182518836581432201878133', '2015-05-21 17:50:00', '3', null, '5', '0', '10101', '1432004512688', '2015-05-21 17:51:18', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432201852026', '18251883658', '1', '182518836581432201878133', '2015-05-21 17:50:52', '3', null, '2', '0', '90109', '1432004512688', '2015-05-21 17:51:18', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432201865797', '18251883658', '1', '182518836581432201878133', '2015-05-21 17:51:05', '3', null, '1', '0', '20501', '1432004512688', '2015-05-21 17:51:18', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432203094135', '15365182279', '1', '153651822791432203348661', '2015-05-21 18:11:34', '3', null, '1', '0', '20609', '1431061251802', '2015-05-21 18:15:48', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432203110938', '15365182279', '1', '153651822791432203348661', '2015-05-21 18:11:50', '3', null, '2', '0', '20601', '1431061251802', '2015-05-21 18:15:48', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432203128963', '15365182279', '1', '153651822791432203348661', '2015-05-21 18:12:08', '3', null, '1', '0', '20505', '1431061251802', '2015-05-21 18:15:48', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432203235592', '15365182279', '1', '153651822791432203348661', '2015-05-21 18:13:55', '3', null, '1', '0', '10715', '1431061251802', '2015-05-21 18:15:48', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432203273983', '15365182279', '1', '153651822791432203348661', '2015-05-21 18:14:33', '3', null, '1', '0', '40207', '1431061251802', '2015-05-21 18:15:48', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432205067170', '18705199209', '1', null, '2015-05-21 18:44:27', '0', null, '1', '0', '10107', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432208198628', '15251895527', '1', '152518955271432208561270', '2015-05-21 19:36:38', '3', null, '1', '0', '20211', '1430213301695', '2015-05-21 19:42:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432208233966', '15251895527', '1', '152518955271432208561270', '2015-05-21 19:37:13', '3', null, '2', '0', '20505', '1430213301695', '2015-05-21 19:42:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432208550355', '15251895527', '1', '152518955271432208561270', '2015-05-21 19:42:30', '3', null, '1', '0', '20501', '1430213301695', '2015-05-21 19:42:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432210800885', '18252056259', '1', '182520562591432211280681', '2015-05-21 20:20:00', '3', null, '2', '0', '10220', '1430209427176', '2015-05-21 20:28:00', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432211223052', '18252056259', '1', '182520562591432211280681', '2015-05-21 20:27:03', '3', null, '8', '0', '10301', '1430209427176', '2015-05-21 20:28:00', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432214691972', '18013866641', '1', '180138666411432214830287', '2015-05-21 21:24:51', '3', null, '1', '0', '20505', '1430573737418', '2015-05-21 21:27:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432214790881', '18013866641', '1', '180138666411432214830287', '2015-05-21 21:26:30', '3', null, '1', '0', '10202', '1430573737418', '2015-05-21 21:27:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432214819825', '18013866641', '1', '180138666411432214830287', '2015-05-21 21:26:59', '3', null, '1', '0', '10216', '1430573737418', '2015-05-21 21:27:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432216407903', '18066057126', '1', null, '2015-05-21 21:53:27', '0', null, '4', '0', '40110', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432219767118', '15380821257', '1', null, '2015-05-21 22:49:27', '0', null, '2', '0', '40102', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432219827008', '15380821257', '1', null, '2015-05-21 22:50:27', '0', null, '1', '0', '40201', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432261537424', '15261861119', '1', '152618611191432271267273', '2015-05-22 10:25:37', '3', null, '5', '0', '90107', '1432261788752', '2015-05-22 13:07:47', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432261568093', '15261861119', '1', '152618611191432271267273', '2015-05-22 10:26:08', '3', null, '5', '0', '90109', '1432261788752', '2015-05-22 13:07:47', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432261654764', '15261861119', '1', '152618611191432271267273', '2015-05-22 10:27:34', '3', null, '6', '0', '10301', '1432261788752', '2015-05-22 13:07:47', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432261694895', '15261861119', '1', '152618611191432271267273', '2015-05-22 10:28:14', '3', null, '1', '0', '40102', '1432261788752', '2015-05-22 13:07:47', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432261700729', '15261861119', '1', '152618611191432271267273', '2015-05-22 10:28:20', '3', null, '1', '0', '40112', '1432261788752', '2015-05-22 13:07:47', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432268216052', '15380820376', '1', '153808203761432281163405', '2015-05-22 12:16:56', '3', null, '1', '0', '20505', '1430230060734', '2015-05-22 15:52:43', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432268301122', '15380820376', '1', '153808203761432281163405', '2015-05-22 12:18:21', '3', null, '2', '0', '40406', '1430230060734', '2015-05-22 15:52:43', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432268541263', '15380820376', '1', '153808203761432281163405', '2015-05-22 12:22:21', '3', null, '1', '0', '10415', '1430230060734', '2015-05-22 15:52:43', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432268612097', '15380820376', '1', '153808203761432281163405', '2015-05-22 12:23:32', '3', null, '1', '0', '10109', '1430230060734', '2015-05-22 15:52:43', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432271242509', '15261861119', '1', '152618611191432271267273', '2015-05-22 13:07:22', '3', null, '3', '0', '10709', '1432261788752', '2015-05-22 13:07:47', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432271571011', '13861605337', '1', '138616053371432271607056', '2015-05-22 13:12:51', '3', null, '1', '0', '20310', '1430659947759', '2015-05-22 13:13:27', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432271577990', '13861605337', '1', '138616053371432271607056', '2015-05-22 13:12:57', '3', null, '1', '0', '20301', '1430659947759', '2015-05-22 13:13:27', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432271599902', '13861605337', '1', '138616053371432271607056', '2015-05-22 13:13:19', '3', null, '1', '0', '20205', '1430659947759', '2015-05-22 13:13:27', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432272371120', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:26:11', '3', null, '1', '0', '20616', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432272418979', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:26:58', '3', null, '1', '0', '10713', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432272487187', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:28:07', '3', null, '4', '0', '10202', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273173771', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:39:33', '3', null, '1', '0', '20209', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273189029', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:39:49', '3', null, '10', '0', '10301', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273221134', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:40:21', '3', null, '1', '0', '10302', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273366534', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:42:46', '3', null, '1', '0', '40102', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273380535', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:43:00', '3', null, '1', '0', '40113', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273404815', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:43:24', '3', null, '1', '0', '10716', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273438190', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:43:58', '3', null, '1', '0', '40313', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273444903', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:44:04', '3', null, '2', '0', '40206', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273503906', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:45:03', '3', null, '1', '0', '10712', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432273507625', '18252120427', '1', '182521204271432273513145', '2015-05-22 13:45:07', '3', null, '1', '0', '90116', '1430804181551', '2015-05-22 13:45:13', '15052875774', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432287028361', '15961685555', '1', '159616855551432287328908', '2015-05-22 17:30:28', '3', null, '10', '0', '40315', '1431232134281', '2015-05-22 17:35:28', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432287089594', '15961685555', '1', '159616855551432287328908', '2015-05-22 17:31:29', '3', null, '1', '0', '40102', '1431232134281', '2015-05-22 17:35:28', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432287146616', '15961685555', '1', '159616855551432287328908', '2015-05-22 17:32:26', '3', null, '1', '0', '20405', '1431232134281', '2015-05-22 17:35:28', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432287251497', '15961685555', '1', '159616855551432287328908', '2015-05-22 17:34:11', '3', null, '2', '0', '10720', '1431232134281', '2015-05-22 17:35:28', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432289778949', '18251883658', '1', '182518836581432289873018', '2015-05-22 18:16:18', '3', null, '5', '0', '10101', '1432004512688', '2015-05-22 18:17:53', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432289857018', '18251883658', '1', '182518836581432289873018', '2015-05-22 18:17:37', '3', null, '2', '0', '10401', '1432004512688', '2015-05-22 18:17:53', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432290830477', '18252056259', '1', '182520562591432290900089', '2015-05-22 18:33:50', '3', null, '2', '0', '10220', '1430209427176', '2015-05-22 18:35:00', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432290855793', '18252056259', '1', '182520562591432290900089', '2015-05-22 18:34:15', '3', null, '2', '0', '10418', '1430209427176', '2015-05-22 18:35:00', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432290867533', '18252056259', '1', '182520562591432290900089', '2015-05-22 18:34:27', '3', null, '2', '0', '10412', '1430209427176', '2015-05-22 18:35:00', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432292142872', '18705199209', '1', '187051992091432295984794', '2015-05-22 18:55:42', '3', null, '1', '0', '20616', '1430217024155', '2015-05-22 19:59:44', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432292233439', '15295567537', '1', '152955675371432292251030', '2015-05-22 18:57:13', '3', null, '12', '0', '20703', '1428134772134', '2015-05-22 18:57:31', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432292630501', '18168023515', '1', '181680235151432292710601', '2015-05-22 19:03:50', '3', null, '1', '0', '10213', '1432292709546', '2015-05-22 19:05:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432292638394', '18168023515', '1', '181680235151432292710601', '2015-05-22 19:03:58', '3', null, '1', '0', '10409', '1432292709546', '2015-05-22 19:05:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432292670728', '18168023515', '1', '181680235151432292710601', '2015-05-22 19:04:30', '3', null, '1', '0', '20108', '1432292709546', '2015-05-22 19:05:10', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295009652', '15605159822', '1', null, '2015-05-22 19:43:29', '0', null, '5', '0', '10301', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295077435', '15605159822', '1', '156051598221432295472401', '2015-05-22 19:44:37', '3', null, '10', '0', '10101', '1430449291849', '2015-05-22 19:51:12', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295101346', '15605159822', '1', '156051598221432295472401', '2015-05-22 19:45:01', '3', null, '4', '0', '90111', '1430449291849', '2015-05-22 19:51:12', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295131143', '15605159822', '1', '156051598221432295472401', '2015-05-22 19:45:31', '3', null, '1', '0', '20213', '1430449291849', '2015-05-22 19:51:12', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295179815', '15605159822', '1', '156051598221432295472401', '2015-05-22 19:46:19', '3', null, '4', '0', '10720', '1430449291849', '2015-05-22 19:51:12', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295278671', '18705199202', '1', '187051992021432295764581', '2015-05-22 19:47:58', '3', null, '1', '0', '40204', '1431524006786', '2015-05-22 19:56:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295301852', '15605159822', '1', null, '2015-05-22 19:48:21', '0', null, '2', '0', '90109', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295314362', '15605159822', '1', null, '2015-05-22 19:48:34', '0', null, '1', '0', '20107', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295321720', '15605159822', '1', '156051598221432295472401', '2015-05-22 19:48:41', '3', null, '1', '0', '10302', '1430449291849', '2015-05-22 19:51:12', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295613099', '18705199202', '1', '187051992021432295764581', '2015-05-22 19:53:33', '3', null, '1', '0', '10107', '1431524006786', '2015-05-22 19:56:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295705404', '18705199202', '1', '187051992021432295764581', '2015-05-22 19:55:05', '3', null, '5', '0', '90112', '1431524006786', '2015-05-22 19:56:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295735550', '18705199202', '1', '187051992021432295764581', '2015-05-22 19:55:35', '3', null, '1', '0', '10205', '1431524006786', '2015-05-22 19:56:04', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432295985631', '18705199202', '1', '187051992021432295992936', '2015-05-22 19:59:45', '3', null, '1', '0', '20502', '1431524006786', '2015-05-22 19:59:52', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432298220445', '18705199209', '1', '187051992091432298231550', '2015-05-22 20:37:00', '3', null, '2', '0', '20604', '1430217024155', '2015-05-22 20:37:11', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432344474093', '15961685555', '1', '159616855551432344558557', '2015-05-23 09:27:54', '3', null, '1', '0', '40401', '1431232134281', '2015-05-23 09:29:18', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432344490564', '15961685555', '1', '159616855551432344558557', '2015-05-23 09:28:10', '3', null, '1', '0', '10711', '1431232134281', '2015-05-23 09:29:18', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432344501766', '15961685555', '1', '159616855551432344558557', '2015-05-23 09:28:21', '3', null, '1', '0', '10710', '1431232134281', '2015-05-23 09:29:18', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432344833732', '13913976839', '1', null, '2015-05-23 09:33:53', '0', null, '3', '0', '40321', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432351090659', '13160076967', '1', '131600769671432351403188', '2015-05-23 11:18:10', '3', null, '6', '0', '40315', '1430295105062', '2015-05-23 11:23:23', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432351132891', '13160076967', '1', '131600769671432351403188', '2015-05-23 11:18:52', '3', null, '1', '0', '20107', '1430295105062', '2015-05-23 11:23:23', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432351206499', '13160076967', '1', '131600769671432351403188', '2015-05-23 11:20:06', '3', null, '1', '0', '20616', '1430295105062', '2015-05-23 11:23:23', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432351247317', '13160076967', '1', '131600769671432351403188', '2015-05-23 11:20:47', '3', null, '1', '0', '90116', '1430295105062', '2015-05-23 11:23:23', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432351389845', '13160076967', '1', '131600769671432351403188', '2015-05-23 11:23:09', '3', null, '1', '0', '10720', '1430295105062', '2015-05-23 11:23:23', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432353444988', '15651958911', '1', '156519589111432370349418', '2015-05-23 11:57:24', '3', null, '10', '0', '10301', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432353524058', '15651958911', '1', '156519589111432370349418', '2015-05-23 11:58:44', '3', null, '2', '0', '20505', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432353649875', '15651958911', '1', '156519589111432370349418', '2015-05-23 12:00:49', '3', null, '2', '0', '10302', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432353719105', '15651958911', '1', '156519589111432370349418', '2015-05-23 12:01:59', '3', null, '1', '0', '10206', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432353778748', '15651958911', '1', '156519589111432370349418', '2015-05-23 12:02:58', '3', null, '2', '0', '20105', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432353921793', '15651958911', '1', '156519589111432370349418', '2015-05-23 12:05:21', '3', null, '2', '0', '40310', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432354029559', '15651958911', '1', '156519589111432370349418', '2015-05-23 12:07:09', '3', null, '2', '0', '10710', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356043956', '15062202740', '1', null, '2015-05-23 12:40:43', '0', null, '1', '0', '10209', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356057341', '15062202740', '1', '150622027401432356224381', '2015-05-23 12:40:57', '3', null, '2', '0', '90109', '1432356221774', '2015-05-23 12:43:44', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356076937', '15062202740', '1', '150622027401432356224381', '2015-05-23 12:41:16', '3', null, '1', '0', '20216', '1432356221774', '2015-05-23 12:43:44', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356121080', '15062202740', '1', '150622027401432356224381', '2015-05-23 12:42:01', '3', null, '1', '0', '10302', '1432356221774', '2015-05-23 12:43:44', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356140528', '15062202740', '1', '150622027401432356224381', '2015-05-23 12:42:20', '3', null, '1', '0', '90111', '1432356221774', '2015-05-23 12:43:44', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356192503', '15062202740', '1', '150622027401432356224381', '2015-05-23 12:43:12', '3', null, '1', '0', '10713', '1432356221774', '2015-05-23 12:43:44', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356259683', '18252059027', '1', '182520590271432439063785', '2015-05-23 12:44:19', '3', null, '5', '0', '10301', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356325614', '18252059027', '1', '182520590271432439063785', '2015-05-23 12:45:25', '3', null, '5', '0', '10101', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356380630', '18252059027', '1', '182520590271432439063785', '2015-05-23 12:46:20', '3', null, '1', '0', '10302', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356825055', '15295560150', '1', '152955601501432356905342', '2015-05-23 12:53:45', '3', null, '2', '0', '20107', '1432356903527', '2015-05-23 12:55:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432356874081', '15295560150', '1', '152955601501432356905342', '2015-05-23 12:54:34', '3', null, '1', '0', '20401', '1432356903527', '2015-05-23 12:55:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432366574069', '15206145988', '1', '152061459881432366634345', '2015-05-23 15:36:14', '3', null, '1', '0', '10711', '1432366631339', '2015-05-23 15:37:14', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432366597055', '15206145988', '1', '152061459881432366634345', '2015-05-23 15:36:37', '3', null, '1', '0', '20205', '1432366631339', '2015-05-23 15:37:14', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432369461772', '18651337775', '1', '186513377751432369690293', '2015-05-23 16:24:21', '3', null, '4', '0', '10101', '1432369683943', '2015-05-23 16:28:10', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432369495935', '18651337775', '1', '186513377751432369690293', '2015-05-23 16:24:55', '3', null, '1', '0', '40208', '1432369683943', '2015-05-23 16:28:10', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432369634077', '18651337775', '1', '186513377751432369690293', '2015-05-23 16:27:14', '3', null, '1', '0', '10414', '1432369683943', '2015-05-23 16:28:10', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432369898491', '15651958911', '1', '156519589111432370349418', '2015-05-23 16:31:38', '3', null, '1', '0', '20111', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432369943142', '15651958911', '1', '156519589111432370349418', '2015-05-23 16:32:23', '3', null, '10', '0', '40315', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432369993770', '15651958911', '1', '156519589111432370349418', '2015-05-23 16:33:13', '3', null, '5', '0', '10204', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432370024933', '15651958911', '1', '156519589111432370349418', '2015-05-23 16:33:44', '3', null, '1', '0', '20104', '1432370323984', '2015-05-23 16:39:09', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432373580146', '18252057339', '1', '182520573391432373621692', '2015-05-23 17:33:00', '3', null, '1', '0', '40208', '1430386138346', '2015-05-23 17:33:41', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432373590900', '18252057339', '1', '182520573391432373621692', '2015-05-23 17:33:10', '3', null, '5', '0', '10301', '1430386138346', '2015-05-23 17:33:41', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432373595936', '18252057339', '1', '182520573391432373621692', '2015-05-23 17:33:15', '3', null, '1', '0', '90108', '1430386138346', '2015-05-23 17:33:41', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432373607497', '18252057339', '1', '182520573391432373621692', '2015-05-23 17:33:27', '3', null, '5', '0', '10101', '1430386138346', '2015-05-23 17:33:41', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432376106187', '-1', '1', null, '2015-05-23 18:15:06', '0', null, '12', '0', '10101', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432377353442', '15896319989', '1', '158963199891432377461635', '2015-05-23 18:35:53', '3', null, '1', '0', '10219', '1431696973639', '2015-05-23 18:37:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432377394679', '15896319989', '1', '158963199891432377461635', '2015-05-23 18:36:34', '3', null, '4', '0', '10720', '1431696973639', '2015-05-23 18:37:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432377417457', '15896319989', '1', '158963199891432377461635', '2015-05-23 18:36:57', '3', null, '1', '0', '20504', '1431696973639', '2015-05-23 18:37:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432377440898', '15896319989', '1', '158963199891432377461635', '2015-05-23 18:37:20', '3', null, '2', '0', '90107', '1431696973639', '2015-05-23 18:37:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432377446663', '15896319989', '1', '158963199891432377461635', '2015-05-23 18:37:26', '3', null, '1', '0', '90102', '1431696973639', '2015-05-23 18:37:41', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432378761807', '18252059027', '1', '182520590271432439063785', '2015-05-23 18:59:21', '3', null, '2', '0', '90114', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432378797877', '18252059027', '1', '182520590271432439063785', '2015-05-23 18:59:57', '3', null, '2', '0', '90113', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432378872563', '18252059027', '1', '182520590271432439063785', '2015-05-23 19:01:12', '3', null, '1', '0', '10710', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432378921255', '18252059027', '1', '182520590271432439063785', '2015-05-23 19:02:01', '3', null, '3', '0', '40315', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432379083356', '18252059027', '1', '182520590271432439063785', '2015-05-23 19:04:43', '3', null, '1', '0', '10712', '1432378989408', '2015-05-24 11:44:23', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432382765032', '18705198389', '1', '187051983891432382880009', '2015-05-23 20:06:05', '3', null, '1', '0', '10220', '1430880199130', '2015-05-23 20:08:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432382829699', '18705198389', '1', '187051983891432382880009', '2015-05-23 20:07:09', '3', null, '1', '0', '10128', '1430880199130', '2015-05-23 20:08:00', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432387219970', '18796640565', '1', '187966405651432387381523', '2015-05-23 21:20:19', '3', null, '1', '0', '40202', '1430745016925', '2015-05-23 21:23:01', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432387240122', '18796640565', '1', '187966405651432387381523', '2015-05-23 21:20:40', '3', null, '1', '0', '90108', '1430745016925', '2015-05-23 21:23:01', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432387317157', '18796640565', '1', '187966405651432387381523', '2015-05-23 21:21:57', '3', null, '1', '0', '20405', '1430745016925', '2015-05-23 21:23:01', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432387347423', '18796640565', '1', '187966405651432387381523', '2015-05-23 21:22:27', '3', null, '1', '0', '10220', '1430745016925', '2015-05-23 21:23:01', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432387371528', '18796640565', '1', '187966405651432387381523', '2015-05-23 21:22:51', '3', null, '1', '0', '90112', '1430745016925', '2015-05-23 21:23:01', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432388919933', '15366106958', '1', null, '2015-05-23 21:48:39', '0', null, '5', '0', '90109', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432388929499', '15366106958', '1', null, '2015-05-23 21:48:49', '0', null, '3', '0', '90107', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432388934759', '15366106958', '1', null, '2015-05-23 21:48:54', '0', null, '3', '0', '90101', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432434062173', '18724005167', '1', '187240051671432434314790', '2015-05-24 10:21:02', '3', null, '1', '0', '10718', '1430215725002', '2015-05-24 10:25:14', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432434108098', '18724005167', '1', '187240051671432434314790', '2015-05-24 10:21:48', '3', null, '2', '0', '40315', '1430215725002', '2015-05-24 10:25:14', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432434248441', '18724005167', '1', '187240051671432434314790', '2015-05-24 10:24:08', '3', null, '1', '0', '10412', '1430215725002', '2015-05-24 10:25:14', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432434291790', '18724005167', '1', '187240051671432434314790', '2015-05-24 10:24:51', '3', null, '1', '0', '10405', '1430215725002', '2015-05-24 10:25:14', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432438278057', '15190518013', '1', '151905180131432438412134', '2015-05-24 11:31:18', '3', null, '2', '0', '10105', '1430194088216', '2015-05-24 11:33:32', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432438316472', '15190518013', '1', '151905180131432438412134', '2015-05-24 11:31:56', '3', null, '1', '0', '90108', '1430194088216', '2015-05-24 11:33:32', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432438321406', '15190518013', '1', '151905180131432438412134', '2015-05-24 11:32:01', '3', null, '2', '0', '90102', '1430194088216', '2015-05-24 11:33:32', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432438374962', '15190518013', '1', '151905180131432438412134', '2015-05-24 11:32:54', '3', null, '2', '0', '40315', '1430194088216', '2015-05-24 11:33:32', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432438397856', '15190518013', '1', '151905180131432438412134', '2015-05-24 11:33:17', '3', null, '4', '0', '10720', '1430194088216', '2015-05-24 11:33:32', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432439545797', '15380820376', '1', '153808203761432439683897', '2015-05-24 11:52:25', '3', null, '1', '0', '10222', '1430230060734', '2015-05-24 11:54:43', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432439560718', '15380820376', '1', '153808203761432439683897', '2015-05-24 11:52:40', '3', null, '2', '0', '20505', '1430230060734', '2015-05-24 11:54:43', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432439662549', '15380820376', '1', '153808203761432439683897', '2015-05-24 11:54:22', '3', null, '1', '0', '20209', '1430230060734', '2015-05-24 11:54:43', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432441698181', '18305176480', '1', '183051764801432442066854', '2015-05-24 12:28:18', '3', null, '1', '0', '10507', '1432442064860', '2015-05-24 12:34:26', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432441730579', '18305176480', '1', '183051764801432442066854', '2015-05-24 12:28:50', '3', null, '1', '0', '20615', '1432442064860', '2015-05-24 12:34:26', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432441756642', '18305176480', '1', '183051764801432442066854', '2015-05-24 12:29:16', '3', null, '2', '0', '40315', '1432442064860', '2015-05-24 12:34:26', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432447801573', '13585165686', '1', '135851656861432447955114', '2015-05-24 14:10:01', '3', null, '1', '0', '20101', '1431347335595', '2015-05-24 14:12:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432447829352', '13585165686', '1', '135851656861432447955114', '2015-05-24 14:10:29', '3', null, '1', '0', '40114', '1431347335595', '2015-05-24 14:12:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432447849650', '18896765902', '1', '188967659021432447937331', '2015-05-24 14:10:49', '3', null, '1', '0', '10505', '1432017530630', '2015-05-24 14:12:17', '15151883572', '立即配送', '测试用请勿派送', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432447877308', '18896765902', '1', '188967659021432447937331', '2015-05-24 14:11:17', '3', null, '4', '0', '20618', '1432017530630', '2015-05-24 14:12:17', '15151883572', '立即配送', '测试用请勿派送', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432447909162', '13585165686', '1', '135851656861432447955114', '2015-05-24 14:11:49', '3', null, '1', '0', '20210', '1431347335595', '2015-05-24 14:12:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432447946611', '13585165686', '1', '135851656861432447955114', '2015-05-24 14:12:26', '3', null, '1', '0', '40201', '1431347335595', '2015-05-24 14:12:35', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432457018097', '15151883572', '1', '151518835721432457075614', '2015-05-24 16:43:38', '1', null, '5', '0', '10220', '1427691760293', '2015-05-24 16:44:35', '15151883572', '20:00:00', '亲爱的,不要辣', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432457455685', '15151883572', '1', '151518835721432461593462', '2015-05-24 16:50:55', '1', null, '4', '0', '20618', '1427691760293', '2015-05-24 17:59:53', null, '20:00:00', '88888888888889999999999999999999', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432463989627', '18020118356', '1', '180201183561432464059716', '2015-05-24 18:39:49', '3', null, '1', '0', '90108', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432464021621', '18020118356', '1', '180201183561432464059716', '2015-05-24 18:40:21', '3', null, '1', '0', '10411', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432464040909', '18020118356', '1', '180201183561432464059716', '2015-05-24 18:40:40', '3', null, '5', '0', '10101', '1430288419148', '2015-05-24 18:40:59', '15151883572', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432469428257', '15062417600', '1', '150624176001432469766577', '2015-05-24 20:10:28', '3', null, '1', '0', '10219', '1432469747778', '2015-05-24 20:16:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432469463260', '15062417600', '1', '150624176001432469766577', '2015-05-24 20:11:03', '3', null, '2', '0', '20505', '1432469747778', '2015-05-24 20:16:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432469485919', '15062417600', '1', '150624176001432469766577', '2015-05-24 20:11:25', '3', null, '1', '0', '90107', '1432469747778', '2015-05-24 20:16:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432469555158', '15062417600', '1', '150624176001432469766577', '2015-05-24 20:12:35', '3', null, '1', '0', '10708', '1432469747778', '2015-05-24 20:16:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432469714026', '15062417600', '1', '150624176001432469766577', '2015-05-24 20:15:14', '3', null, '1', '0', '20104', '1432469747778', '2015-05-24 20:16:06', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470070890', '18114706485', '1', '181147064851432470727258', '2015-05-24 20:21:10', '3', null, '3', '0', '10220', '1429811993729', '2015-05-24 20:32:07', '18114706485', '立即配送', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470071979', '15295567537', '1', '152955675371432470769208', '2015-05-24 20:21:11', '3', null, '6', '0', '10505', '1428134772134', '2015-05-24 20:32:49', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470564552', '15151883572', '1', '151518835721432470574285', '2015-05-24 20:29:24', '3', null, '1', '0', '20407', '1427691760293', '2015-05-24 20:29:34', '18114706485', '立即配送', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470604493', '15151883572', '1', '151518835721432530316549', '2015-05-24 20:30:04', '1', null, '5', '0', '10220', '1427691760293', '2015-05-25 13:05:16', null, '立即配送', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470645671', '15151883572', '1', null, '2015-05-24 20:30:45', '0', null, '1', '0', '40320', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470702049', '18114706485', '1', '181147064851432470727258', '2015-05-24 20:31:42', '3', null, '7', '0', '20407', '1429811993729', '2015-05-24 20:32:07', '18114706485', '立即配送', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470759572', '15295567537', '1', '152955675371432470769208', '2015-05-24 20:32:39', '3', null, '3', '0', '20407', '1428134772134', '2015-05-24 20:32:49', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432470791223', '15295567537', '1', null, '2015-05-24 20:33:11', '0', null, '7', '0', '10220', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432472263339', '13861605337', '1', '138616053371432472345699', '2015-05-24 20:57:43', '3', null, '1', '0', '20209', '1430659947759', '2015-05-24 20:59:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432472284418', '13861605337', '1', '138616053371432472345699', '2015-05-24 20:58:04', '3', null, '2', '0', '20501', '1430659947759', '2015-05-24 20:59:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432472333229', '13861605337', '1', '138616053371432472345699', '2015-05-24 20:58:53', '3', null, '2', '0', '10101', '1430659947759', '2015-05-24 20:59:05', '18114706485', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432473250752', '13951083940', '1', '139510839401432473355295', '2015-05-24 21:14:10', '3', null, '1', '0', '20104', '1432473352039', '2015-05-24 21:15:55', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432473302855', '13951083940', '1', '139510839401432473355295', '2015-05-24 21:15:02', '3', null, '14', '0', '40315', '1432473352039', '2015-05-24 21:15:55', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432473354516', '13270722790', '1', '132707227901432473584227', '2015-05-24 21:15:54', '3', null, '2', '0', '10411', '1432473308030', '2015-05-24 21:19:44', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432473377516', '13270722790', '1', '132707227901432473584227', '2015-05-24 21:16:17', '3', null, '4', '0', '10101', '1432473308030', '2015-05-24 21:19:44', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432473394663', '13270722790', '1', '132707227901432473584227', '2015-05-24 21:16:34', '3', null, '1', '0', '10711', '1432473308030', '2015-05-24 21:19:44', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432473409775', '13270722790', '1', '132707227901432473584227', '2015-05-24 21:16:49', '3', null, '2', '0', '10709', '1432473308030', '2015-05-24 21:19:44', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432473448673', '13270722790', '1', '132707227901432473584227', '2015-05-24 21:17:28', '3', null, '1', '0', '10710', '1432473308030', '2015-05-24 21:19:44', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475346244', '15365128369', '1', '153651283691432527465451', '2015-05-24 21:49:06', '4', null, '4', '0', '10101', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475365155', '15365128369', '1', '153651283691432527465451', '2015-05-24 21:49:25', '4', null, '4', '0', '10301', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475374064', '15365128369', '1', '153651283691432527465451', '2015-05-24 21:49:34', '4', null, '1', '0', '10411', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475394323', '15365128369', '1', '153651283691432527465451', '2015-05-24 21:49:54', '4', null, '1', '0', '40102', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475420145', '15365128369', '1', '153651283691432527465451', '2015-05-24 21:50:20', '4', null, '1', '0', '20105', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475453343', '15365128369', '1', '153651283691432527465451', '2015-05-24 21:50:53', '4', null, '3', '0', '90116', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475669043', '13270722790', '1', null, '2015-05-24 21:54:29', '0', null, '2', '0', '20105', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475712914', '13270722790', '1', null, '2015-05-24 21:55:12', '0', null, '1', '0', '10412', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432475726364', '13270722790', '1', null, '2015-05-24 21:55:26', '0', null, '1', '0', '20210', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432476710025', '15380821827', '1', '153808218271432477242966', '2015-05-24 22:11:50', '1', null, '1', '0', '20212', '1432477221106', '2015-05-24 22:20:43', '18252056259', '立即配送', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432476964141', '15380821827', '1', '153808218271432477242966', '2015-05-24 22:16:04', '1', null, '1', '0', '40205', '1432477221106', '2015-05-24 22:20:42', '18252056259', '立即配送', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432477151567', '15380821827', '1', '153808218271432477242966', '2015-05-24 22:19:11', '1', null, '1', '0', '20211', '1432477221106', '2015-05-24 22:20:42', '18252056259', '立即配送', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432520056725', '18252056259', '1', '182520562591432520141221', '2015-05-25 10:14:16', '3', null, '1', '0', '20616', '1430209427176', '2015-05-25 10:15:41', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432520082725', '18252056259', '1', '182520562591432520141221', '2015-05-25 10:14:42', '3', null, '6', '0', '10301', '1430209427176', '2015-05-25 10:15:41', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432520100011', '18252056259', '1', '182520562591432520141221', '2015-05-25 10:15:00', '3', null, '8', '0', '10101', '1430209427176', '2015-05-25 10:15:41', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432520113852', '18252056259', '1', '182520562591432520141221', '2015-05-25 10:15:13', '3', null, '2', '0', '10220', '1430209427176', '2015-05-25 10:15:41', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432522037946', '15365128369', '1', '153651283691432527465451', '2015-05-25 10:47:17', '4', null, '3', '0', '20501', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432522577551', '15380820376', '1', '153808203761432522626379', '2015-05-25 10:56:17', '3', null, '1', '0', '10222', '1430230060734', '2015-05-25 10:57:06', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432522603324', '15380820376', '1', '153808203761432522626379', '2015-05-25 10:56:43', '3', null, '1', '0', '10109', '1430230060734', '2015-05-25 10:57:06', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432522619710', '15380820376', '1', '153808203761432522626379', '2015-05-25 10:56:59', '3', null, '1', '0', '20209', '1430230060734', '2015-05-25 10:57:06', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432527417125', '15365128369', '1', '153651283691432527465451', '2015-05-25 12:16:57', '4', null, '1', '0', '20215', '1430281199125', '2015-05-25 12:17:45', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432550709664', '18705199209', '1', '187051992091432550994080', '2015-05-25 18:45:09', '3', null, '1', '0', '20616', '1430217024155', '2015-05-25 18:49:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432550729981', '18705199209', '1', '187051992091432550994080', '2015-05-25 18:45:29', '3', null, '2', '0', '40315', '1430217024155', '2015-05-25 18:49:54', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432552877458', '15261895955', '1', '152618959551432553001246', '2015-05-25 19:21:17', '3', null, '6', '0', '40315', '1430194614988', '2015-05-25 19:23:21', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432552903795', '15261895955', '1', '152618959551432553001246', '2015-05-25 19:21:43', '3', null, '4', '0', '10101', '1430194614988', '2015-05-25 19:23:21', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432552968143', '15261895955', '1', '152618959551432553001246', '2015-05-25 19:22:48', '3', null, '1', '0', '10205', '1430194614988', '2015-05-25 19:23:21', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432552980288', '15261895955', '1', '152618959551432553001246', '2015-05-25 19:23:00', '3', null, '1', '0', '10220', '1430194614988', '2015-05-25 19:23:21', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432553677084', '18724005167', '1', '187240051671432554243820', '2015-05-25 19:34:37', '3', null, '1', '0', '20505', '1430215725002', '2015-05-25 19:44:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432553681441', '18724005167', '1', '187240051671432554243820', '2015-05-25 19:34:41', '3', null, '1', '0', '20502', '1430215725002', '2015-05-25 19:44:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432553780432', '18724005167', '1', '187240051671432554243820', '2015-05-25 19:36:20', '3', null, '1', '0', '10701', '1430215725002', '2015-05-25 19:44:03', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432557069071', '13951083940', '1', null, '2015-05-25 20:31:09', '0', null, '20', '0', '40315', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432559687932', '15366031030', '1', '153660310301432559809378', '2015-05-25 21:14:47', '3', null, '1', '0', '10220', '1430143358581', '2015-05-25 21:16:49', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432559744113', '15366031030', '1', '153660310301432559809378', '2015-05-25 21:15:44', '3', null, '2', '0', '40205', '1430143358581', '2015-05-25 21:16:49', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432559778767', '15366031030', '1', '153660310301432559809378', '2015-05-25 21:16:18', '3', null, '1', '0', '10101', '1430143358581', '2015-05-25 21:16:49', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560472411', '15261896973', '1', '152618969731432560552798', '2015-05-25 21:27:52', '3', null, '1', '0', '20301', '1430220181373', '2015-05-25 21:29:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560489073', '15261896973', '1', '152618969731432560552798', '2015-05-25 21:28:09', '3', null, '1', '0', '40201', '1430220181373', '2015-05-25 21:29:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560513088', '15261896973', '1', '152618969731432560552798', '2015-05-25 21:28:33', '3', null, '3', '0', '10720', '1430220181373', '2015-05-25 21:29:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560545134', '15261896973', '1', '152618969731432560552798', '2015-05-25 21:29:05', '3', null, '2', '0', '90114', '1430220181373', '2015-05-25 21:29:12', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560609510', '15295567537', '1', '152955675371432560623665', '2015-05-25 21:30:09', '3', null, '1', '0', '20216', '1428134772134', '2015-05-25 21:30:23', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560619173', '15295560150', '1', '152955601501432563459196', '2015-05-25 21:30:19', '3', null, '1', '0', '10710', '1432356903527', '2015-05-25 22:17:39', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560681564', '15295560150', '1', '152955601501432563459196', '2015-05-25 21:31:21', '3', null, '4', '0', '40315', '1432356903527', '2015-05-25 22:17:39', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432560768492', '15295560150', '1', '152955601501432563459196', '2015-05-25 21:32:48', '3', null, '1', '0', '40106', '1432356903527', '2015-05-25 22:17:39', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432609615301', '18252056259', '1', '182520562591432609646335', '2015-05-26 11:06:55', '3', null, '9', '0', '20616', '1430209427176', '2015-05-26 11:07:26', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432609622621', '18252056259', '1', '182520562591432609646335', '2015-05-26 11:07:02', '3', null, '7', '0', '20615', '1430209427176', '2015-05-26 11:07:26', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432609631882', '18252056259', '1', '182520562591432609646335', '2015-05-26 11:07:11', '3', null, '7', '0', '20614', '1430209427176', '2015-05-26 11:07:26', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432610725909', '15190518013', '1', '151905180131432610839451', '2015-05-26 11:25:25', '3', null, '1', '0', '20104', '1430194088216', '2015-05-26 11:27:19', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432610793440', '15190518013', '1', '151905180131432610839451', '2015-05-26 11:26:33', '3', null, '2', '0', '40310', '1430194088216', '2015-05-26 11:27:19', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432610805391', '15190518013', '1', '151905180131432610839451', '2015-05-26 11:26:45', '3', null, '2', '0', '40315', '1430194088216', '2015-05-26 11:27:19', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432610816795', '15190518013', '1', '151905180131432610839451', '2015-05-26 11:26:56', '3', null, '1', '0', '40202', '1430194088216', '2015-05-26 11:27:19', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432611065421', '18251883658', '1', '182518836581432611143475', '2015-05-26 11:31:05', '3', null, '1', '0', '10713', '1432004512688', '2015-05-26 11:32:23', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432611120500', '18251883658', '1', '182518836581432611143475', '2015-05-26 11:32:00', '3', null, '2', '0', '10401', '1432004512688', '2015-05-26 11:32:23', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432611133659', '18251883658', '1', '182518836581432611143475', '2015-05-26 11:32:13', '3', null, '1', '0', '20106', '1432004512688', '2015-05-26 11:32:23', '18252056259', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432613149125', '18724005167', '1', '187240051671432613192621', '2015-05-26 12:05:49', '3', null, '1', '0', '10113', '1430215725002', '2015-05-26 12:06:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432613176388', '18724005167', '1', '187240051671432613192621', '2015-05-26 12:06:16', '3', null, '1', '0', '10402', '1430215725002', '2015-05-26 12:06:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432613183299', '18724005167', '1', '187240051671432613192621', '2015-05-26 12:06:23', '3', null, '1', '0', '10418', '1430215725002', '2015-05-26 12:06:32', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432617611271', '15051930218', '1', '150519302181432618464395', '2015-05-26 13:20:11', '3', null, '2', '0', '10302', '1432617174648', '2015-05-26 13:34:24', '18252056259', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432617899565', '15051930218', '1', '150519302181432618464395', '2015-05-26 13:24:59', '3', null, '1', '0', '40102', '1432617174648', '2015-05-26 13:34:24', '18252056259', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432617916520', '13815445502', '1', null, '2015-05-26 13:25:16', '0', null, '1', '0', '20112', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432618012562', '15051930218', '1', '150519302181432618464395', '2015-05-26 13:26:52', '3', null, '1', '0', '10418', '1432617174648', '2015-05-26 13:34:24', '18252056259', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432618063835', '15051930218', '1', '150519302181432618464395', '2015-05-26 13:27:43', '3', null, '2', '0', '10403', '1432617174648', '2015-05-26 13:34:24', '18252056259', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432618436133', '15051930218', '1', '150519302181432618464395', '2015-05-26 13:33:56', '3', null, '1', '0', '40318', '1432617174648', '2015-05-26 13:34:24', '18252056259', '立即送达', '', '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432619228923', '13913976839', '1', '139139768391432619266292', '2015-05-26 13:47:08', '3', null, '2', '0', '20501', '1430293686093', '2015-05-26 13:47:46', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432626995955', '18705198389', '1', '187051983891432627232387', '2015-05-26 15:56:35', '3', null, '1', '0', '10709', '1430880199130', '2015-05-26 16:00:32', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432627044711', '18705198389', '1', '187051983891432627232387', '2015-05-26 15:57:24', '3', null, '6', '0', '10720', '1430880199130', '2015-05-26 16:00:32', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432627212053', '18705198389', '1', '187051983891432627232387', '2015-05-26 16:00:12', '3', null, '1', '0', '20212', '1430880199130', '2015-05-26 16:00:32', '17712916329', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432634483540', '15151883572', '1', null, '2015-05-26 18:01:23', '0', null, '11', '0', '10105', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432637676807', '13451895624', '1', '134518956241432638117927', '2015-05-26 18:54:36', '4', null, '2', '0', '20505', '1430834407532', '2015-05-26 19:01:57', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432637879745', '13451895624', '1', '134518956241432638117927', '2015-05-26 18:57:59', '4', null, '1', '0', '20602', '1430834407532', '2015-05-26 19:01:57', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432638044367', '13451895624', '1', '134518956241432638117927', '2015-05-26 19:00:44', '4', null, '20', '0', '40315', '1430834407532', '2015-05-26 19:01:57', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432638082725', '13451895624', '1', '134518956241432638117927', '2015-05-26 19:01:22', '4', null, '1', '0', '40206', '1430834407532', '2015-05-26 19:01:57', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640042400', '15295562062', '1', '152955620621432640327079', '2015-05-26 19:34:02', '4', null, '4', '0', '90109', '1432640311181', '2015-05-26 19:38:47', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640125351', '15295562062', '1', '152955620621432640327079', '2015-05-26 19:35:25', '4', null, '2', '0', '90107', '1432640311181', '2015-05-26 19:38:47', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640155796', '15295562062', '1', '152955620621432640327079', '2015-05-26 19:35:55', '4', null, '2', '0', '90116', '1432640311181', '2015-05-26 19:38:47', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640216402', '15295562062', '1', '152955620621432640327079', '2015-05-26 19:36:56', '4', null, '7', '0', '10301', '1432640311181', '2015-05-26 19:38:47', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640266811', '15295562062', '1', '152955620621432640327079', '2015-05-26 19:37:46', '4', null, '1', '0', '20301', '1432640311181', '2015-05-26 19:38:47', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640516181', '18951702641', '1', '189517026411432641127727', '2015-05-26 19:41:56', '3', null, '10', '0', '10301', '1432640448606', '2015-05-26 19:52:07', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640529755', '18951702641', '1', '189517026411432641127727', '2015-05-26 19:42:09', '3', null, '2', '0', '10302', '1432640448606', '2015-05-26 19:52:07', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640691330', '18951702641', '1', '189517026411432641127727', '2015-05-26 19:44:51', '3', null, '1', '0', '10713', '1432640448606', '2015-05-26 19:52:07', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640770859', '18951702641', '1', '189517026411432641127727', '2015-05-26 19:46:10', '3', null, '6', '0', '40315', '1432640448606', '2015-05-26 19:52:07', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432640862732', '18951702641', '1', '189517026411432641127727', '2015-05-26 19:47:42', '3', null, '1', '0', '20604', '1432640448606', '2015-05-26 19:52:07', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432641058661', '18951702641', '1', '189517026411432641127727', '2015-05-26 19:50:58', '3', null, '1', '0', '10144', '1432640448606', '2015-05-26 19:52:07', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432641675269', '18705198389', '1', '187051983891432641793625', '2015-05-26 20:01:15', '4', null, '1', '0', '10222', '1430880199130', '2015-05-26 20:03:13', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432641700534', '18705198389', '1', '187051983891432641793625', '2015-05-26 20:01:40', '4', null, '1', '0', '10125', '1430880199130', '2015-05-26 20:03:13', '15151883572', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432643555035', '13861605337', '1', '138616053371432643685364', '2015-05-26 20:32:35', '3', null, '1', '0', '20212', '1430659947759', '2015-05-26 20:34:45', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432643654020', '13861605337', '1', '138616053371432643685364', '2015-05-26 20:34:14', '3', null, '6', '0', '20601', '1430659947759', '2015-05-26 20:34:45', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432643669408', '13861605337', '1', '138616053371432643685364', '2015-05-26 20:34:29', '3', null, '6', '0', '20501', '1430659947759', '2015-05-26 20:34:45', '13160076990', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432646468808', '18662835126', '1', '186628351261432646676049', '2015-05-26 21:21:08', '4', null, '1', '0', '20108', '1430266717780', '2015-05-26 21:24:36', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432646483371', '18662835126', '1', '186628351261432646676049', '2015-05-26 21:21:23', '4', null, '3', '0', '10302', '1430266717780', '2015-05-26 21:24:36', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1432646628201', '18662835126', '1', '186628351261432646676049', '2015-05-26 21:23:48', '4', null, '4', '0', '20609', '1430266717780', '2015-05-26 21:24:36', '18260108169', null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1438996708275', '18860902573', '1', null, '2015-08-08 09:18:28', '0', null, '4', '0', '10101', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1438997705554', '18888888888', '1', null, '2015-08-08 09:35:05', '0', null, '14', '0', '10101', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1438997806048', '18860902711', '1', null, '2015-08-08 09:36:46', '0', null, '10', '0', '10101', null, null, null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439476371613', '13914083434', '1', '139140834341439476430260', '2015-08-13 22:32:51', '10', null, '3', '0', '10502', '1438321743304', '2015-08-13 22:33:50', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439476496639', '13914083434', '1', '139140834341439476534628', '2015-08-13 22:34:56', '10', null, '4', '0', '10504', '1438321743304', '2015-08-13 22:35:34', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439476503528', '13914083434', '1', '139140834341439476534628', '2015-08-13 22:35:03', '10', null, '1', '0', '10502', '1438321743304', '2015-08-13 22:35:34', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439476510686', '13914083434', '1', '139140834341439476534628', '2015-08-13 22:35:10', '10', null, '4', '0', '10505', '1438321743304', '2015-08-13 22:35:34', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439476647679', '13914083434', '1', '139140834341439476762338', '2015-08-13 22:37:27', '10', null, '1', '0', '10505', '1438321743304', '2015-08-13 22:39:22', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439476661066', '13914083434', '1', '139140834341439476762338', '2015-08-13 22:37:41', '10', null, '1', '0', '10505', '1438321743304', '2015-08-13 22:39:22', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439476673617', '13914083434', '1', '139140834341439476762338', '2015-08-13 22:37:53', '10', null, '1', '0', '10504', '1438321743304', '2015-08-13 22:39:22', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439477034811', '13914083434', '1', '139140834341439477055322', '2015-08-13 22:43:54', '10', null, '1', '0', '10504', '1438321743304', '2015-08-13 22:44:15', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439478022809', '13914083434', '1', '139140834341439478048420', '2015-08-13 23:00:22', '1', null, '1', '0', '10505', '1438321743304', '2015-08-13 23:00:48', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439478028063', '13914083434', '1', '139140834341439478048420', '2015-08-13 23:00:28', '1', null, '1', '0', '10504', '1438321743304', '2015-08-13 23:00:48', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439478035649', '13914083434', '1', '139140834341439478048420', '2015-08-13 23:00:35', '1', null, '3', '0', '10502', '1438321743304', '2015-08-13 23:00:48', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439478546759', '13914083434', '1', '139140834341439478565444', '2015-08-13 23:09:06', '1', null, '1', '0', '10505', '1438321743304', '2015-08-13 23:09:25', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439479132960', '13914083434', '1', '139140834341439479145589', '2015-08-13 23:18:52', '1', null, '1', '0', '10505', '1438321743304', '2015-08-13 23:19:05', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439515810254', '13914083434', '1', '139140834341439515818393', '2015-08-14 09:30:10', '1', null, '1', '0', '10505', '1438321743304', '2015-08-14 09:30:18', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439515864007', '13914083434', '1', '139140834341439515935995', '2015-08-14 09:31:04', '1', null, '1', '0', '10505', '1438321743304', '2015-08-14 09:32:15', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439515867979', '13914083434', '1', '139140834341439515935995', '2015-08-14 09:31:07', '1', null, '1', '0', '10504', '1438321743304', '2015-08-14 09:32:15', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439515873669', '13914083434', '1', '139140834341439515935995', '2015-08-14 09:31:13', '1', null, '1', '0', '10502', '1438321743304', '2015-08-14 09:32:15', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439515948416', '13914083434', '1', '139140834341439515961459', '2015-08-14 09:32:28', '1', null, '1', '0', '10505', '1438321743304', '2015-08-14 09:32:41', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439515997937', '13914083434', '1', '139140834341439516735861', '2015-08-14 09:33:17', '1', null, '1', '0', '10505', '1438321743304', '2015-08-14 09:45:35', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439516002718', '13914083434', '1', '139140834341439516735861', '2015-08-14 09:33:22', '1', null, '1', '0', '10504', '1438321743304', '2015-08-14 09:45:35', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439516006190', '13914083434', '1', '139140834341439516735861', '2015-08-14 09:33:26', '1', null, '1', '0', '10502', '1438321743304', '2015-08-14 09:45:35', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439516828733', '13914083434', '1', '139140834341439516835359', '2015-08-14 09:47:08', '1', null, '1', '0', '10505', '1438321743304', '2015-08-14 09:47:15', null, '立即送达', '', '0', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439530579000', '18860902563', '1', '188609025631441009576544', '2015-08-14 13:08:19', '1', null, '3', '0', '20102', null, '2015-08-19 10:08:09', null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439696198000', '18860902563', '1', '188609025631440037550193', '2015-08-16 11:08:38', '1', '36.00', '6', '0', '10502', '1440740539936', '2015-08-20 10:25:50', null, '立即送达', '速度', '1', '1', null, '9997.00', null); +INSERT INTO `orders` VALUES ('1439783739000', '18860902563', '1', '188609025631441513445000', '2015-08-17 11:08:39', '1', '6.00', '1', '0', '10502', '1441004238', '2015-09-06 12:09:05', null, '立即送达', '', '1', '1', null, '100.00', null); +INSERT INTO `orders` VALUES ('1439950791000', '18860902563', '1', '188609025631440037550193', '2015-08-19 10:08:51', '1', '3600.00', '600', '0', '10503', '1440740539936', '2015-08-20 10:25:50', null, '立即送达', '速度', '1', '1', null, '9997.00', null); +INSERT INTO `orders` VALUES ('1439967922000', '13913287690', '1', '139132876901439967922000', '2015-08-19 15:08:22', '0', null, '3', '0', '10501', null, '2015-08-19 15:08:22', null, null, null, '1', '0', null, '100.00', null); +INSERT INTO `orders` VALUES ('1440501486048', '13914083434', '1', '139140834341440579034013', '2015-08-25 19:18:06', '1', '12.00', '3', '0', '20310', '1438321743304', '2015-08-26 16:50:33', null, '立即送达', '', '0', '1', null, '12.00', null); +INSERT INTO `orders` VALUES ('1440861185100', '15083548084', '1', null, '2015-08-29 23:13:05', '0', null, '1', '0', '20407', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441003331000', '18860902563', '1', '188609025631441004161450', '2015-08-31 14:08:11', '1', null, '1', '0', '20101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441004149000', '18860902563', '1', '188609025631441004161450', '2015-08-31 14:08:49', '1', null, '1', '0', '20104', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441009552360', '18860902563', '1', '188609025631441010094714', '2015-08-31 16:08:52', '1', null, '2', '0', '20301', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441013228000', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:08', '1', null, '2', '0', '10115', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441013437000', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:37', '1', null, '1', '0', '90109', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441013477000', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:17', '1', null, '1', '0', '10105', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441013486000', '18896554883', '1', '188965548831441014181000', '2015-08-31 17:08:26', '1', null, '1', '0', '90106', '1441014994756', '2015-08-31 17:08:01', null, null, null, '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441094843000', '18862124316', '1', '188621243161441094844000', '2015-09-01 16:09:23', '0', null, '1', '0', '10503', null, '2015-09-01 16:09:24', null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441099825292', '18896554889', '2', '188965548891441099838849', '2015-09-01 17:09:25', '9', '8.00', '2', '0', '10109', '1441086427', null, null, null, '', '1', '1', null, '7.00', 'ch_1qjTa5HePyj5TK00uTjrT0S8'); +INSERT INTO `orders` VALUES ('1441099882254', '18896554889', '2', '188965548891441294999758', '2015-09-01 17:09:22', '1', '12.00', '3', '0', '10109', '1441086427', null, null, null, '', '1', '1', null, '7.00', 'ch_GqXTWDz9uTW18OavfDzTqDO0'); +INSERT INTO `orders` VALUES ('1441115370000', '18915996127', '1', '189159961271441115370000', '2015-09-01 21:09:30', '0', null, '1', '0', '10507', null, '2015-09-01 21:09:30', null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1441170105991', '18896554889', '1', '188965548891441285365583', '2015-09-02 13:09:45', '1', '7.80', '2', '0', '20305', '1441086427', '2015-09-03 21:09:33', null, '立即送达', '', '1', '1', null, '18.80', 'ch_qr1un51OqDm5avDiLOPyXjjL'); +INSERT INTO `orders` VALUES ('1441170118673', '18896554889', '1', '188965548891441285365583', '2015-09-02 13:09:58', '1', '11.00', '2', '0', '20306', '1441086427', '2015-09-03 21:09:33', null, '立即送达', '', '1', '1', null, '18.80', 'ch_qr1un51OqDm5avDiLOPyXjjL'); +INSERT INTO `orders` VALUES ('1441279743341', '18896554889', '1', '188965548891441285562644', '2015-09-03 19:09:03', '5', '45.00', '9', '1', '20302', '1441086427', '2015-09-03 21:09:49', null, '立即送达', '', '1', '1', '3', '51.50', 'ch_yDiTmPL4K4uHPev9yTTCWb5G'); +INSERT INTO `orders` VALUES ('1441279818798', '18896554889', '1', '188965548891441285562644', '2015-09-03 19:09:18', '5', '17.50', '5', '1', '20301', '1441086427', '2015-09-03 21:09:49', null, '立即送达', '', '1', '1', '3', '51.50', 'ch_yDiTmPL4K4uHPev9yTTCWb5G'); +INSERT INTO `orders` VALUES ('1441288189872', '18896554889', '1', '188965548891441288226474', '2015-09-03 21:09:49', '4', '12.50', '1', '0', '20102', '1441086427', '2015-09-03 21:09:16', null, '立即送达', '', '1', '1', '12', '14.10', 'ch_XDa5mDKWjjX9XrHOe1TKS4KC'); +INSERT INTO `orders` VALUES ('1441288201991', '18896554889', '1', '188965548891441288226474', '2015-09-03 21:09:01', '4', '3.60', '2', '0', '20103', '1441086427', '2015-09-03 21:09:16', null, '立即送达', '', '1', '1', '12', '14.10', 'ch_XDa5mDKWjjX9XrHOe1TKS4KC'); +INSERT INTO `orders` VALUES ('1441288259887', '18896554889', '1', '188965548891441288292843', '2015-09-03 21:09:59', '3', '5.00', '1', '0', '20302', '1441086427', '2015-09-03 21:09:21', '18260108169', '立即送达', '', '1', '1', null, '10.50', 'ch_SyLaDOzHaTSOKSyzHS94i9q9'); +INSERT INTO `orders` VALUES ('1441288266586', '18896554889', '1', '188965548891441288292843', '2015-09-03 21:09:06', '3', '5.50', '1', '0', '20306', '1441086427', '2015-09-03 21:09:21', '18260108169', '立即送达', '', '1', '1', null, '10.50', 'ch_SyLaDOzHaTSOKSyzHS94i9q9'); +INSERT INTO `orders` VALUES ('1441291948326', '18896554889', '1', '188965548891441291972302', '2015-09-03 22:09:28', '1', '10.00', '2', '0', '20302', '1441086427', '2015-09-03 22:09:41', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1441291999301', '18896554889', '1', '188965548891441332926682', '2015-09-03 22:09:19', '3', '3.90', '1', '0', '20305', '1441159340', '2015-09-04 10:09:12', '18260108169', '立即送达', '', '1', '1', null, '3.90', 'ch_uXbvL48KG0qLybX9C0uXnXLO'); +INSERT INTO `orders` VALUES ('1441432994000', '18012344321', '1', '180123443211441432995000', '2015-09-05 14:09:14', '1', '15.00', '1', '0', '10602', '1441099142804', '2015-09-05 14:09:15', null, '立即送达', '', '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441455643000', '18896554889', '1', '188965548891441455644000', '2015-09-05 20:09:43', '1', '0.10', '1', '0', '10101', '1441086427', '2015-09-05 20:09:44', null, '立即送达', '', '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441506779000', '18896554889', '1', '188965548891441506780000', '2015-09-06 10:09:59', '1', '6.00', '1', '0', '10502', '1441086427', '2015-09-06 10:09:00', null, '立即送达', '', '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441541923000', '18860902563', '1', '188609025631441541924000', '2015-09-06 20:09:43', '1', '6.00', '2', '0', '10501', '1441004238', '2015-09-06 20:09:44', null, '立即送达', '', '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441594424000', '18860902563', '1', '188609025631441595165000', '2015-09-07 10:09:44', '1', '6.00', '2', '0', '10501', '1441004238', '2015-09-07 11:09:05', null, '立即送达', '', '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441595371000', '18860902563', '1', '188609025631441597973000', '2015-09-07 11:09:31', '1', '6.00', '1', '0', '10503', '1440740576667', '2015-09-07 11:09:53', null, '立即送达', '', '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441598258000', '18860902563', '1', '188609025631441598718000', '2015-09-07 11:09:38', '1', '6.00', '1', '0', '10503', '1441004238', '2015-09-07 12:09:18', null, '立即送达', '', '1', '1', null, null, null); +INSERT INTO `orders` VALUES ('1441600282808', '18860902563', '1', '188609025631441600289783', '2015-09-07 12:09:22', '4', '8.50', '1', '0', '20404', '1440740539936', '2015-09-07 12:09:29', '18260108169', '立即送达', '', '0', '1', null, '8.50', 'ch_HiffL4PmnrfPHujDG0bjP4u1'); +INSERT INTO `orders` VALUES ('1441600334131', '18860902563', '1', '188609025631441600337594', '2015-09-07 12:09:14', '1', '8.50', '1', '0', '20404', '1440740539936', '2015-09-07 12:09:17', null, '立即送达', '', '1', '1', null, '8.50', null); +INSERT INTO `orders` VALUES ('1441678632767', '13914083434', '1', '139140834341441678639912', '2015-09-08 10:17:12', '1', '0.20', '2', '0', '10101', '1438321743304', '2015-09-08 10:17:19', null, '立即送达', '', '0', '1', null, '0.20', null); +INSERT INTO `orders` VALUES ('1441678923077', '13914083434', '1', '139140834341441678932321', '2015-09-08 10:22:03', '1', '19.00', '1', '0', '10625', '1438321743304', '2015-09-08 10:22:12', null, '立即送达', '', '0', '1', null, '34.50', null); +INSERT INTO `orders` VALUES ('1441678926606', '13914083434', '1', '139140834341441678932321', '2015-09-08 10:22:06', '1', '15.50', '1', '0', '10626', '1438321743304', '2015-09-08 10:22:12', null, '立即送达', '', '0', '1', null, '34.50', null); +INSERT INTO `orders` VALUES ('1441678944820', '13914083434', '1', '139140834341441678949298', '2015-09-08 10:22:24', '1', '17.00', '1', '0', '10624', '1438321743304', '2015-09-08 10:22:29', null, '立即送达', '', '0', '1', null, '17.00', null); +INSERT INTO `orders` VALUES ('1441681703766', '18013116680', '1', '180131166801447310629272', '2015-09-08 11:08:23', '1', '4.00', '1', '0', '20310', '1442297715', '2015-11-12 14:43:49', null, '立即送达', '', '1', '1', null, '34.90', null); +INSERT INTO `orders` VALUES ('1441684323457', '13914083434', '1', '139140834341441684328180', '2015-09-08 11:52:03', '1', '4.00', '1', '0', '20310', '1438321743304', '2015-09-08 11:52:08', null, '立即送达', '', '0', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1441684375294', '13914083434', '1', '139140834341441684379493', '2015-09-08 11:52:55', '1', '4.00', '1', '0', '20310', '1438321743304', '2015-09-08 11:52:59', null, '立即送达', '', '0', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1441684545485', '13914083434', '1', '139140834341441684575813', '2015-09-08 11:55:45', '1', '4.00', '1', '0', '20310', '1438321743304', '2015-09-08 11:56:15', null, '立即送达', '', '0', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1441684675670', '13914083434', '1', '139140834341441684686264', '2015-09-08 11:57:55', '1', '15.50', '1', '0', '10626', '1438321743304', '2015-09-08 11:58:06', null, '立即送达', '', '0', '1', null, '15.50', null); +INSERT INTO `orders` VALUES ('1441684748631', '13914083434', '1', '139140834341441684757009', '2015-09-08 11:59:08', '1', '3.50', '1', '0', '20301', '1438321743304', '2015-09-08 11:59:16', null, '立即送达', '', '0', '1', null, '3.50', null); +INSERT INTO `orders` VALUES ('1441684975882', '13914083434', '1', '139140834341441684985376', '2015-09-08 12:02:55', '1', '0.10', '1', '0', '10101', '1438321743304', '2015-09-08 12:03:05', null, '立即送达', '', '0', '1', null, '0.10', null); +INSERT INTO `orders` VALUES ('1441685164875', '13914083434', '1', '139140834341441685651957', '2015-09-08 12:06:04', '1', '3.50', '1', '0', '20301', '1438321743304', '2015-09-08 12:14:11', null, '立即送达', '', '0', '1', null, '12.50', null); +INSERT INTO `orders` VALUES ('1441685645247', '13914083434', '1', '139140834341441685651957', '2015-09-08 12:14:05', '1', '9.00', '1', '0', '10505', '1438321743304', '2015-09-08 12:14:11', null, '立即送达', '', '0', '1', null, '12.50', null); +INSERT INTO `orders` VALUES ('1441685798344', '13914083434', '1', '139140834341441685810419', '2015-09-08 12:16:38', '1', '3.50', '1', '0', '20301', '1438321743304', '2015-09-08 12:16:50', null, '立即送达', '', '0', '1', null, '3.50', null); +INSERT INTO `orders` VALUES ('1441685865383', '13914083434', '1', '139140834341441685906526', '2015-09-08 12:17:45', '1', '15.50', '1', '0', '10626', '1438321743304', '2015-09-08 12:18:26', null, '立即送达', '', '0', '1', null, '34.50', null); +INSERT INTO `orders` VALUES ('1441685899513', '13914083434', '1', '139140834341441685906526', '2015-09-08 12:18:19', '1', '19.00', '1', '0', '10625', '1438321743304', '2015-09-08 12:18:26', null, '立即送达', '', '0', '1', null, '34.50', null); +INSERT INTO `orders` VALUES ('1441685994101', '13914083434', '1', '139140834341441686001721', '2015-09-08 12:19:54', '1', '19.00', '1', '0', '10625', '1438321743304', '2015-09-08 12:20:01', null, '立即送达', '', '0', '1', null, '19.00', null); +INSERT INTO `orders` VALUES ('1441686527320', '13914083434', '1', '139140834341441686532513', '2015-09-08 12:28:47', '1', '3.50', '1', '0', '20301', '1438321743304', '2015-09-08 12:28:52', null, '立即送达', '', '0', '1', null, '3.50', null); +INSERT INTO `orders` VALUES ('1441686894593', '13914083434', '1', '139140834341441686902211', '2015-09-08 12:34:54', '1', '15.50', '1', '0', '10626', '1438321743304', '2015-09-08 12:35:02', null, '立即送达', '', '0', '1', null, '15.50', null); +INSERT INTO `orders` VALUES ('1441941241000', '18860902563', '1', '188609025631441941242000', '2015-09-11 11:09:01', '0', '12.50', '1', '0', '20102', null, '2015-09-11 11:09:02', null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442295978222', '18896554924', '1', '188965549241442297171522', '2015-09-15 13:09:18', '1', '3.50', '1', '0', '20301', '1442296113', '2015-09-15 14:09:11', null, '立即送达', '', '1', '1', null, '14.50', null); +INSERT INTO `orders` VALUES ('1442296280562', '18013116680', '1', '180131166801447310629272', '2015-09-15 13:09:20', '1', '12.50', '1', '0', '20102', '1442297715', '2015-11-12 14:43:49', null, '立即送达', '', '1', '1', null, '34.90', null); +INSERT INTO `orders` VALUES ('1442296320350', '18013116680', '1', '180131166801447310629272', '2015-09-15 13:09:00', '1', '12.50', '1', '0', '20102', '1442297715', '2015-11-12 14:43:49', null, '立即送达', '', '1', '1', null, '34.90', null); +INSERT INTO `orders` VALUES ('1442296320969', '18013116680', '1', '180131166801447310629272', '2015-09-15 13:09:00', '1', '12.50', '1', '0', '20102', '1442297715', '2015-11-12 14:43:49', null, '立即送达', '', '1', '1', null, '34.90', null); +INSERT INTO `orders` VALUES ('1442296348434', '18013116680', '1', '180131166801447310629272', '2015-09-15 13:09:28', '1', '1.80', '1', '0', '20103', '1442297715', '2015-11-12 14:43:49', null, '立即送达', '', '1', '1', null, '34.90', null); +INSERT INTO `orders` VALUES ('1442296349719', '18013116680', '1', '180131166801447310629272', '2015-09-15 13:09:29', '1', '1.80', '1', '0', '20103', '1442297715', '2015-11-12 14:43:49', null, '立即送达', '', '1', '1', null, '34.90', null); +INSERT INTO `orders` VALUES ('1442296350852', '18013116680', '1', '180131166801447310629272', '2015-09-15 13:09:30', '1', '1.80', '1', '0', '20103', '1442297715', '2015-11-12 14:43:49', null, '立即送达', '', '1', '1', null, '34.90', null); +INSERT INTO `orders` VALUES ('1442296830117', '18896554924', '1', '188965549241442296844830', '2015-09-15 14:09:30', '1', '3.80', '1', '0', '10199', '1442296113', '2015-09-15 14:09:44', null, '立即送达', '', '1', '1', null, '3.80', null); +INSERT INTO `orders` VALUES ('1442296998955', '18896554924', '1', '188965549241442297171522', '2015-09-15 14:09:18', '1', '11.00', '2', '0', '10701', '1442296113', '2015-09-15 14:09:11', null, '立即送达', '', '1', '1', null, '14.50', null); +INSERT INTO `orders` VALUES ('1442304407392', '18896554924', '1', null, '2015-09-15 16:06:47', '0', null, '2', '0', '10722', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442545702955', '18013646790', '1', '180136467901442545739612', '2015-09-18 11:08:22', '1', '18.00', '1', '0', '10722', '1442302581211', '2015-09-18 11:08:59', null, '立即送达', '', '1', '2', null, '18.00', null); +INSERT INTO `orders` VALUES ('1442563797514', '18013646790', '1', '180136467901442563855313', '2015-09-18 16:09:57', '1', '39.00', '13', '0', '10714', '1442302581211', '2015-09-18 16:10:55', null, '17:10', '', '0', '1', null, '32.00', null); +INSERT INTO `orders` VALUES ('1442564832614', '18035735959', '1', '180357359591442564838091', '2015-09-18 16:27:12', '3', '0.10', '2', '0', '10101', '1442309741880', '2015-09-18 16:27:17', '13160076990', '立即送达', '', '1', '1', null, '0.10', 'ch_GyXDK0efbnPCfH8yfDyX9ibH'); +INSERT INTO `orders` VALUES ('1442565185384', '18035735959', '1', '180357359591442565190146', '2015-09-18 16:33:05', '3', '0.10', '2', '0', '10101', '1442309741880', '2015-09-18 16:33:10', '13160076990', '立即送达', '', '1', '1', null, '0.10', 'ch_Wbn5CKKGOavHWrjvbLK0W5aT'); +INSERT INTO `orders` VALUES ('1442568342686', '18896554880', '1', '188965548801442568344223', '2015-09-18 17:25:42', '4', '0.10', '1', '1', '10101', '1442384951119', '2015-09-18 17:25:44', '18260108169', '立即送达', '', '0', '1', null, '0.10', 'ch_GqfrrDTWHi5C0Kqnj5SGabvL'); +INSERT INTO `orders` VALUES ('1442593559000', '18896554880', '1', '188965548801442593559000', '2015-09-19 00:09:59', '1', '20.00', '1', '0', '10603', '1442384951119', '2015-09-19 00:09:59', null, '立即送达', '', '0', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442593870000', '18896554880', '1', '188965548801442837406690', '2015-09-19 00:09:10', '1', '4.00', '4', '0', '10705', '1442384951119', '2015-09-21 10:28:23', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1442732191013', '18896554880', '1', null, '2015-09-20 14:56:31', '8', null, '1', '0', '10101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442732319934', '18896554880', '1', '188965548801442732341211', '2015-09-20 14:58:39', '11', '0.10', '1', '0', '10101', '1442384951119', '2015-09-20 14:59:01', null, '17:58', '', '1', '1', null, '0.10', 'ch_jjDqDOj1G8aHzLCavL8mPmT4'); +INSERT INTO `orders` VALUES ('1442732407654', '18896554880', '1', '188965548801442732410331', '2015-09-20 15:00:07', '11', '0.10', '1', '0', '10101', '1442384951119', '2015-09-20 15:00:10', null, '立即送达', '', '1', '2', null, '0.10', 'ch_f1CWDO0iHi9G4qvnXLmzn5uD'); +INSERT INTO `orders` VALUES ('1442732772005', '18896554880', '1', null, '2015-09-20 15:06:12', '8', null, '1', '0', '10720', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442733735606', '18896554880', '1', '188965548801442803210037', '2015-09-20 15:22:15', '1', '3.00', '6', '0', '10720', '1442384951119', '2015-09-21 10:40:10', null, '10:45', '', '1', '1', null, '3.00', null); +INSERT INTO `orders` VALUES ('1442751588474', '18896554880', '1', '188965548801442813575248', '2015-09-20 20:09:48', '1', '7.20', '2', '0', '20203', '1442384951119', '2015-09-21 13:09:55', null, '立即送达', '', '1', '1', null, '7.20', null); +INSERT INTO `orders` VALUES ('1442801518994', '18896554880', '1', '188965548801442834675145', '2015-09-21 10:11:58', '9', '0.10', '1', '0', '10101', '1442384951119', '2015-09-21 19:24:35', null, '立即送达', '', '1', '1', null, '0.10', 'ch_OOyXvD1afn5KXjbH08r9WT4G'); +INSERT INTO `orders` VALUES ('1442801617931', '18896554880', '1', '188965548801442802300334', '2015-09-21 10:13:37', '1', '0.20', '2', '0', '10101', '1442384951119', '2015-09-21 10:25:00', null, '11:00', '', '1', '1', null, '0.20', null); +INSERT INTO `orders` VALUES ('1442801650984', '18896554880', '1', null, '2015-09-21 10:14:10', '8', null, '2', '0', '10101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1442801699353', '18896554880', '1', '188965548801442801701830', '2015-09-21 10:14:59', '9', '0.10', '1', '0', '10101', '1442384951119', '2015-09-21 10:15:01', '18252056259', '立即送达', '', '1', '1', null, '0.10', 'ch_CGm140uDmPaPuvf1KSyfDSeP'); +INSERT INTO `orders` VALUES ('1442814146145', '18896554880', '1', '188965548801442814151643', '2015-09-21 13:09:26', '1', '6.00', '1', '0', '10501', '1442384951119', '2015-09-21 13:09:31', null, '立即送达', '', '1', '1', null, '6.00', null); +INSERT INTO `orders` VALUES ('1442822641929', '18896554880', '1', '188965548801442834375046', '2015-09-21 16:04:01', '2', '0.50', '1', '0', '10720', '1442384951119', '2015-09-21 19:19:35', null, '立即送达', '', '1', '1', null, '0.50', 'ch_b9uHmLK4WPGSDyj1q91er1GK'); +INSERT INTO `orders` VALUES ('1442834642198', '18896554880', '1', '188965548801442834644251', '2015-09-21 19:24:02', '2', '0.50', '1', '0', '10720', '1442384951119', '2015-09-21 19:24:04', null, '立即送达', '', '1', '2', null, '0.50', 'ch_DinvXDLKmzf598S8SG0aH0i1'); +INSERT INTO `orders` VALUES ('1442974064806', '18896554880', '1', '188965548801443087435876', '2015-09-23 10:09:44', '1', '28.00', '10', '0', '10106', '1442384951119', '2015-09-24 17:09:15', null, '立即送达', '', '1', '1', null, '36.50', null); +INSERT INTO `orders` VALUES ('1443083774713', '18035735959', '1', '180357359591443083775744', '2015-09-24 16:09:14', '0', null, '2', '0', '10101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1443083788741', '18035735959', '1', '180357359591443083788125', '2015-09-24 16:09:28', '0', null, '2', '0', '10101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1443083803680', '18035735959', '1', '180357359591443083804999', '2015-09-24 16:09:43', '0', null, '2', '0', '10101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1443083823586', '18035735959', '1', '180357359591443083823469', '2015-09-24 16:09:03', '0', null, '2', '0', '10101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1443083862551', '18035735959', '1', '180357359591443083862337', '2015-09-24 16:09:42', '0', null, '1', '0', '10101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1443083910924', '18035735959', '1', '180357359591443083931592', '2015-09-24 16:09:30', '2', '0.10', '1', '0', '10101', '1443083813', '2015-09-24 16:09:51', null, '立即送达', '', '1', '1', null, '0.20', 'ch_n58uTC8G4m9S5WrD8K9SCCSO'); +INSERT INTO `orders` VALUES ('1443084248194', '18035735959', '1', '180357359591444228930376', '2015-09-24 16:09:08', '1', '5.60', '2', '0', '20101', '1443083813', '2015-10-07 22:10:10', null, '23:41', 'fuck', '1', '1', null, '58.40', null); +INSERT INTO `orders` VALUES ('1443084252440', '18035735959', '1', '180357359591444228930376', '2015-09-24 16:09:12', '1', '5.60', '2', '0', '20101', '1443083813', '2015-10-07 22:10:10', null, '23:41', 'fuck', '1', '1', null, '58.40', null); +INSERT INTO `orders` VALUES ('1443084577325', '18035735959', '1', '180357359591444228930376', '2015-09-24 16:09:37', '1', '18.00', '1', '0', '10722', '1443083813', '2015-10-07 22:10:10', null, '23:41', 'fuck', '1', '1', null, '58.40', null); +INSERT INTO `orders` VALUES ('1443087566000', '18896554880', '1', '188965548801443845338940', '2015-09-24 17:09:26', '1', '5.50', '1', '0', '10702', '1442384951119', '2015-10-03 12:08:58', null, '立即送达', '', '1', '1', null, '5.50', null); +INSERT INTO `orders` VALUES ('1443087602000', '18896554880', '1', '188965548801443325897416', '2015-09-24 17:09:02', '1', '12.50', '1', '0', '20102', '1442384951119', '2015-09-27 11:51:37', null, '立即送达', '', '1', '1', null, '30.50', null); +INSERT INTO `orders` VALUES ('1443278074744', '18896554880', '1', '188965548801443325897416', '2015-09-26 22:34:34', '1', '18.00', '1', '0', '10722', '1442384951119', '2015-09-27 11:51:37', null, '立即送达', '', '1', '1', null, '30.50', null); +INSERT INTO `orders` VALUES ('1443406039569', '18896554880', '1', '188965548801443406055277', '2015-09-28 10:07:19', '1', '12.00', '2', '0', '20618', '1442384951119', '2015-09-28 10:07:35', null, '立即送达', '', '1', '2', null, '12.00', null); +INSERT INTO `orders` VALUES ('1443406066872', '18896554880', '1', '188965548801443780664858', '2015-09-28 10:07:46', '1', '50.00', '5', '0', '20702', '1442384951119', '2015-10-02 18:11:04', null, '立即送达', '', '1', '2', null, '38.00', null); +INSERT INTO `orders` VALUES ('1443845186742', '18896554880', '1', '188965548801443845202380', '2015-10-03 12:06:26', '1', '1.80', '1', '0', '20103', '1442384951119', '2015-10-03 12:06:42', null, '立即送达', '', '1', '2', null, '1.80', null); +INSERT INTO `orders` VALUES ('1443845368299', '18896554880', '1', '188965548801443845383259', '2015-10-03 12:09:28', '1', '25.00', '2', '0', '20102', '1442384951119', '2015-10-03 12:09:43', null, '立即送达', '', '1', '2', null, '22.00', null); +INSERT INTO `orders` VALUES ('1443845393325', '18896554880', '1', '188965548801443845409920', '2015-10-03 12:09:53', '1', '1.80', '1', '0', '20103', '1442384951119', '2015-10-03 12:10:09', null, '立即送达', '', '1', '2', null, '1.80', null); +INSERT INTO `orders` VALUES ('1443845394282', '18896554880', '1', '188965548801443845404161', '2015-10-03 12:09:54', '1', '1.80', '1', '0', '20103', '1442384951119', '2015-10-03 12:10:04', null, '立即送达', '', '1', '2', null, '1.80', null); +INSERT INTO `orders` VALUES ('1443845456577', '18896554880', '1', '188965548801443845461281', '2015-10-03 12:10:56', '1', '1.80', '1', '0', '20103', '1442384951119', '2015-10-03 12:11:01', null, '立即送达', '', '1', '2', null, '1.80', null); +INSERT INTO `orders` VALUES ('1443932036701', '18896554880', '1', '188965548801443933684784', '2015-10-04 12:13:56', '1', '1.80', '1', '0', '20103', '1442384951119', '2015-10-04 12:41:24', null, '立即送达', '', '1', '1', null, '1.80', null); +INSERT INTO `orders` VALUES ('1443932425710', '18762885079', '1', '187628850791443932430239', '2015-10-04 12:20:25', '1', '0.50', '1', '0', '10720', '1442298144', '2015-10-04 12:20:30', null, null, '', '1', '1', null, '0.50', null); +INSERT INTO `orders` VALUES ('1443932488185', '18762885079', '1', '187628850791443932492604', '2015-10-04 12:21:28', '1', '0.50', '1', '0', '10720', '1442298144', '2015-10-04 12:21:32', null, '13:21', '', '1', '1', null, '0.50', null); +INSERT INTO `orders` VALUES ('1443932579636', '18896554880', '1', '188965548801443932586255', '2015-10-04 12:22:59', '1', '0.50', '1', '0', '10720', '1442384951119', '2015-10-04 12:23:06', null, '13:22', '', '1', '1', null, '0.50', null); +INSERT INTO `orders` VALUES ('1443933516530', '18762885079', '1', '187628850791443933519316', '2015-10-04 12:38:36', '1', '0.50', '1', '0', '10720', '1442298144', '2015-10-04 12:38:39', null, '立即送达', '', '1', '1', null, '0.50', null); +INSERT INTO `orders` VALUES ('1443934043629', '18896554880', '1', '188965548801443934044821', '2015-10-04 12:47:23', '1', '0.50', '1', '0', '10720', '1442384951119', '2015-10-04 12:47:24', null, '立即送达', '', '1', '1', null, '0.50', null); +INSERT INTO `orders` VALUES ('1444176841203', '18896554880', '1', '188965548801444176868495', '2015-10-07 08:14:01', '1', '4.00', '1', '0', '20209', '1442384951119', '2015-10-07 08:14:28', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444179957782', '18896554880', '1', '188965548801444179965781', '2015-10-07 09:05:57', '9', '0.50', '1', '0', '10720', '1442384951119', '2015-10-07 09:06:05', null, '立即送达', '', '1', '1', null, '0.50', 'ch_4SqD4KGuLKW15i1mzLOe9Sm5'); +INSERT INTO `orders` VALUES ('1444204140289', '18896554880', '1', '188965548801444297484652', '2015-10-07 15:10:00', '1', '7.00', '2', '0', '20301', '1444297397044', '2015-10-08 17:44:44', null, '23:59', '', '1', '1', null, '7.00', null); +INSERT INTO `orders` VALUES ('1444204147000', '18896554880', '1', '188965548801444205143000', '2015-10-07 15:10:07', '1', '5.50', '1', '0', '10702', '1442384951119', '2015-10-07 16:10:43', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444204154665', '18896554880', '1', '188965548801444204157444', '2015-10-07 15:10:14', '1', '3.50', '2', '0', '20301', '1442384951119', '2015-10-07 15:10:17', null, '立即送达', '', '1', '1', null, '7.00', null); +INSERT INTO `orders` VALUES ('1444205378154', '18896554880', '1', '188965548801444205710485', '2015-10-07 16:10:38', '1', '4.00', '1', '0', '10111', '1442384951119', '2015-10-07 16:10:47', null, '立即送达', '', '1', '1', null, '8.00', null); +INSERT INTO `orders` VALUES ('1444205673234', '18896554880', '1', '188965548801444205677433', '2015-10-07 16:10:33', '1', '3.50', '1', '0', '20301', '1442384951119', '2015-10-07 16:10:37', null, '立即送达', '', '1', '1', null, '7.00', null); +INSERT INTO `orders` VALUES ('1444206068267', '18896554880', '1', '188965548801444206073346', '2015-10-07 16:10:08', '1', '4.00', '1', '0', '10111', '1442384951119', '2015-10-07 16:10:13', null, '立即送达', '', '1', '1', null, '8.00', null); +INSERT INTO `orders` VALUES ('1444206209000', '18896554880', '1', '188965548801444206209000', '2015-10-07 16:10:29', '1', '5.50', '1', '0', '10702', '1442384951119', '2015-10-07 16:10:29', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444208838000', '18896554880', '1', '188965548801444208839000', '2015-10-07 17:10:18', '1', '10.00', '1', '0', '21717', '1442384951119', '2015-10-07 17:10:19', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444210418332', '18260108169', '1', '182601081691444292076454', '2015-10-07 17:33:38', '1', '18.00', '1', '0', '10722', '1442303847049', '2015-10-08 16:14:36', null, '立即送达', '', '1', '1', null, '24.50', null); +INSERT INTO `orders` VALUES ('1444210424854', '18260108169', '1', '182601081691444292076454', '2015-10-07 17:33:44', '1', '6.50', '1', '0', '10721', '1442303847049', '2015-10-08 16:14:36', null, '立即送达', '', '1', '1', null, '24.50', null); +INSERT INTO `orders` VALUES ('1444229017215', '18035735959', '1', '180357359591444229022810', '2015-10-07 22:10:37', '2', '0.50', '1', '0', '10720', '1443083813', '2015-10-07 22:10:42', null, '立即送达', '', '1', '1', null, '1.00', 'ch_SiD4S4X9Sun5v94OC05uLWP4'); +INSERT INTO `orders` VALUES ('1444270737638', '18896554880', '1', '188965548801444272309370', '2015-10-08 10:10:57', '1', '15.00', '1', '0', '10602', '1442384951119', '2015-10-08 10:10:09', null, '立即送达', '', '1', '1', '2', '25.00', null); +INSERT INTO `orders` VALUES ('1444271919190', '18896554880', '1', '188965548801444272837196', '2015-10-08 10:10:39', '1', '10.00', '1', '0', '21701', '1442384951119', '2015-10-08 10:10:57', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444273170994', '18896554880', '1', '188965548801444273301742', '2015-10-08 10:10:30', '1', '10.00', '1', '0', '21701', '1442384951119', '2015-10-08 11:10:09', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444273622420', '18896554880', '1', '188965548801444273630954', '2015-10-08 11:10:02', '1', '15.00', '1', '0', '10602', '1442384951119', '2015-10-08 11:10:10', null, '立即送达', '', '1', '1', '2', '25.00', null); +INSERT INTO `orders` VALUES ('1444273720706', '18896554880', '1', '188965548801444281078577', '2015-10-08 11:10:40', '1', '15.00', '1', '0', '10602', '1442384951119', '2015-10-08 13:10:18', null, '立即送达', '', '0', '1', '2', '15.00', null); +INSERT INTO `orders` VALUES ('1444281128299', '18896554880', '1', '188965548801444281131448', '2015-10-08 13:10:08', '1', '15.00', '1', '0', '10602', '1442384951119', '2015-10-08 13:10:11', null, '立即送达', '', '1', '1', null, '15.00', null); +INSERT INTO `orders` VALUES ('1444281283611', '18896554880', '1', '188965548801444281291634', '2015-10-08 13:10:43', '1', '15.00', '1', '0', '10602', '1442384951119', '2015-10-08 13:10:51', null, '立即送达', '', '0', '1', null, '15.00', null); +INSERT INTO `orders` VALUES ('1444282021664', '18035735959', '1', '180357359591444282025538', '2015-10-08 13:10:01', '2', '0.50', '1', '0', '10720', '1443083813', '2015-10-08 13:10:05', null, '立即送达', '', '1', '1', null, '0.50', 'ch_eHuX18izvn9GKaP0SGWbzTG0'); +INSERT INTO `orders` VALUES ('1444288903732', '13739165168', '1', null, '2015-10-08 15:21:43', '7', null, '20', '0', '20112', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444289075310', '13739165168', '1', null, '2015-10-08 15:24:35', '7', null, '4', '0', '10111', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444289100314', '13739165168', '1', null, '2015-10-08 15:25:00', '7', null, '1', '0', '10111', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444289144116', '13739165168', '2', null, '2015-10-08 15:25:44', '7', null, '1', '0', '10106', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444289833531', '18860902573', '1', null, '2015-10-08 15:37:13', '7', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444290499138', '18860902573', '1', null, '2015-10-08 15:48:19', '7', null, '1', '0', '20104', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444291544463', '18896554880', '1', '188965548801444291548187', '2015-10-08 16:05:44', '2', '0.50', '1', '0', '10720', '1442384951119', '2015-10-08 16:05:48', null, '立即送达', '', '1', '1', null, '0.50', 'ch_SS8if5uzfH0Ou9mr9KDqPmPC'); +INSERT INTO `orders` VALUES ('1444291772214', '13739165168', '1', null, '2015-10-08 16:09:32', '7', null, '1', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444292008321', '13739165168', '1', '137391651681444292175264', '2015-10-08 16:13:28', '1', '20.00', '1', '0', '21702', '1444292165833', '2015-10-08 16:16:15', null, '立即送达', '', '0', '1', null, '17.00', null); +INSERT INTO `orders` VALUES ('1444295211765', '18035735959', '1', '180357359591444295244224', '2015-10-08 17:06:51', '1', '18.00', '1', '0', '10722', '1444295231450', '2015-10-08 17:07:24', null, '立即送达', '', '1', '1', null, '18.00', null); +INSERT INTO `orders` VALUES ('1444297524260', '18896554880', '1', '188965548801444297718427', '2015-10-08 17:45:24', '1', '1.80', '1', '0', '20103', '1444297397044', '2015-10-08 17:48:38', null, '现在送达', '', '1', '1', null, '1.80', null); +INSERT INTO `orders` VALUES ('1444297881765', '18896554880', '1', '188965548801444814581576', '2015-10-08 17:10:21', '1', '30.00', '3', '0', '21701', '1444364904671', '2015-10-14 17:10:01', null, '立即送达', '', '1', '1', '2', '25.00', null); +INSERT INTO `orders` VALUES ('1444297955719', '18896554880', '2', '188965548801444297961317', '2015-10-08 17:10:35', '1', '2.20', '1', '0', '10130', '1444297397044', '2015-10-08 17:10:41', null, '17:52', '', '1', '1', null, '2.20', null); +INSERT INTO `orders` VALUES ('1444305586583', '13739165168', '1', null, '2015-10-08 19:59:46', '7', null, '1', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444364872000', '18896554880', '1', '188965548801444364872000', '2015-10-09 12:10:52', '1', '5.50', '1', '0', '10701', '1444364904671', '2015-10-09 12:10:52', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444371790449', '15506218219', '1', '155062182191444371801299', '2015-10-09 14:23:10', '1', '7.20', '15', '0', '20103', '1444304326643', '2015-10-09 14:23:21', null, '立即送达', '', '1', '1', null, '7.20', null); +INSERT INTO `orders` VALUES ('1444373774058', '18896558935', '1', '188965589351444373826022', '2015-10-09 14:56:14', '1', '20.00', '1', '0', '21702', '1444373814939', '2015-10-09 14:57:06', null, '立即送达', '', '0', '1', null, '17.00', null); +INSERT INTO `orders` VALUES ('1444374372238', '18896559011', '1', null, '2015-10-09 15:06:12', '7', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444374418579', '18896559011', '1', '188965590111444376337489', '2015-10-09 15:06:58', '1', '1.80', '1', '0', '20103', '1444374404097', '2015-10-09 15:10:57', null, '立即送达', '', '1', '1', null, '1.80', null); +INSERT INTO `orders` VALUES ('1444375285000', '15506218219', '1', '155062182191444375285000', '2015-10-09 15:10:25', '1', '2.50', '1', '0', '10103', '1444304326643', '2015-10-09 15:10:25', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444375305558', '13739165168', '1', null, '2015-10-09 15:21:45', '0', null, '5', '0', '90108', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444375307792', '13739165168', '1', null, '2015-10-09 15:21:47', '7', null, '1', '0', '90108', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444375430686', '18896558935', '1', '188965589351444375503871', '2015-10-09 15:23:50', '1', '5.00', '1', '0', '21801', '1444373814939', '2015-10-09 15:25:03', null, '立即送达', '辛苦啦', '1', '2', null, '5.00', null); +INSERT INTO `orders` VALUES ('1444376498633', '18896559011', '1', '188965590111444376507337', '2015-10-09 15:10:38', '1', '2.80', '1', '0', '20101', '1444374404097', '2015-10-09 15:10:47', null, '立即送达', '', '1', '1', null, '2.80', null); +INSERT INTO `orders` VALUES ('1444378369280', '18896554880', '1', '188965548801444378417811', '2015-10-09 16:10:49', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-09 16:10:37', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444592450609', '18035735959', '1', null, '2015-10-12 03:40:50', '0', null, '1', '0', '20618', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444592560966', '18035735959', '1', null, '2015-10-12 03:42:40', '0', null, '1', '0', '21801', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444617516429', '18260108169', '1', '182601081691445576401020', '2015-10-12 10:38:36', '1', '1.80', '1', '0', '20103', '1442303847049', '2015-10-23 13:00:01', null, '立即送达', '', '1', '1', null, '49.80', null); +INSERT INTO `orders` VALUES ('1444617528350', '18260108169', '1', '182601081691445576401020', '2015-10-12 10:38:48', '1', '60.00', '3', '0', '21702', '1442303847049', '2015-10-23 13:00:01', null, '立即送达', '', '1', '1', null, '49.80', null); +INSERT INTO `orders` VALUES ('1444626486000', '18896554880', '1', '188965548801444626486221', '2015-10-12 13:10:06', '1', '5.50', '1', '0', '10702', '1444364904671', '2015-10-12 13:10:06', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444629570046', '18035735959', '1', '180357359591444629579208', '2015-10-12 13:59:30', '1', '20.00', '1', '0', '21702', '1444295231450', '2015-10-12 13:59:39', null, '立即送达', '', '1', '1', null, '17.00', null); +INSERT INTO `orders` VALUES ('1444803780752', '18896554880', '1', '188965548801444815172948', '2015-10-14 14:10:00', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 17:10:52', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444811570957', '18896554880', '1', '188965548801444811576594', '2015-10-14 16:10:50', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 16:10:56', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444811590863', '18896554880', '1', '188965548801444811595324', '2015-10-14 16:10:10', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 16:10:15', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444811681899', '18896554880', '1', '188965548801444811683363', '2015-10-14 16:10:41', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 16:10:43', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444811820202', '18896554880', '1', '188965548801444811827540', '2015-10-14 16:10:00', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 16:10:07', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444812603438', '18896554880', '1', '188965548801444813298402', '2015-10-14 16:10:03', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-14 17:10:38', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444813630618', '18896554880', '1', '188965548801444813634641', '2015-10-14 17:10:10', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-14 17:10:14', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444813663891', '18896554880', '1', '188965548801444813750594', '2015-10-14 17:10:43', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-14 17:10:10', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444813766805', '18896554880', '1', '188965548801444813770298', '2015-10-14 17:10:26', '1', '2.50', '1', '0', '10103', '1444364904671', '2015-10-14 17:10:30', null, '立即送达', '', '1', '1', null, '2.50', null); +INSERT INTO `orders` VALUES ('1444813816448', '18896554880', '1', '188965548801444813818908', '2015-10-14 17:10:16', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 17:10:18', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444813882276', '18896554880', '1', '188965548801444813885485', '2015-10-14 17:10:22', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-14 17:10:25', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444813985710', '18896554880', '1', '188965548801444813987873', '2015-10-14 17:10:05', '1', '2.50', '1', '0', '10103', '1444364904671', '2015-10-14 17:10:07', null, '立即送达', '', '1', '1', null, '2.50', null); +INSERT INTO `orders` VALUES ('1444814235199', '18896554880', '1', '188965548801444814239601', '2015-10-14 17:10:15', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 17:10:19', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444814671354', '18896554880', '1', '188965548801444814675638', '2015-10-14 17:10:31', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 17:10:35', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444815273164', '18896554880', '1', '188965548801444817767747', '2015-10-14 17:10:33', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-14 18:10:04', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444815368575', '18896554880', '1', '188965548801444815371340', '2015-10-14 17:10:08', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 17:10:11', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444815389185', '18896554880', '1', '188965548801444815391977', '2015-10-14 17:10:29', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-14 17:10:31', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444816887507', '18896554880', '1', '188965548801444816890657', '2015-10-14 18:10:27', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 18:10:30', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444816925417', '18896554880', '1', '188965548801444816928975', '2015-10-14 18:10:05', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-14 18:10:08', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444818121504', '18896554880', '1', '188965548801444820037550', '2015-10-14 18:10:01', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 18:10:57', null, '立即送达', '', '1', '1', null, '20.50', null); +INSERT INTO `orders` VALUES ('1444818284760', '18896554880', '1', '188965548801444818534832', '2015-10-14 18:10:44', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 18:10:08', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444818996915', '18896554880', '1', '188965548801444820037550', '2015-10-14 18:10:36', '1', '5.50', '1', '0', '10702', '1444364904671', '2015-10-14 18:10:57', null, '立即送达', '', '1', '1', null, '20.50', null); +INSERT INTO `orders` VALUES ('1444819031186', '18896554880', '1', '188965548801444819170384', '2015-10-14 18:10:11', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 18:10:30', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444819121571', '18896554880', '1', '188965548801444820037550', '2015-10-14 18:10:41', '1', '5.50', '1', '0', '10703', '1444364904671', '2015-10-14 18:10:57', null, '立即送达', '', '1', '1', null, '20.50', null); +INSERT INTO `orders` VALUES ('1444819190758', '18896554880', '1', '188965548801444820037550', '2015-10-14 18:10:50', '1', '5.50', '1', '0', '10703', '1444364904671', '2015-10-14 18:10:57', null, '立即送达', '', '1', '1', null, '20.50', null); +INSERT INTO `orders` VALUES ('1444819236900', '18896554880', '1', '188965548801444819352773', '2015-10-14 18:10:36', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 18:10:32', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444819360620', '18896554880', '1', '188965548801444819363947', '2015-10-14 18:10:40', '1', '5.50', '1', '0', '10703', '1444364904671', '2015-10-14 18:10:43', null, '立即送达', '', '1', '1', null, '5.50', null); +INSERT INTO `orders` VALUES ('1444820179852', '18896554880', '1', '188965548801444820185737', '2015-10-14 18:10:19', '1', '5.50', '1', '0', '10702', '1444364904671', '2015-10-14 18:10:25', null, '立即送达', '', '1', '1', null, '5.50', null); +INSERT INTO `orders` VALUES ('1444822476343', '18013646790', '1', '180136467901444822480230', '2015-10-14 19:34:36', '1', '1.80', '1', '0', '20103', '1442302581211', '2015-10-14 19:34:40', null, '立即送达', '', '1', '1', null, '1.80', null); +INSERT INTO `orders` VALUES ('1444825219413', '18896554880', '1', '188965548801444825222626', '2015-10-14 20:10:19', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-14 20:10:22', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444870306811', '18896554880', '1', '188965548801444875976118', '2015-10-15 08:10:46', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 10:10:16', null, '立即送达', '', '1', '1', '1', '21.00', null); +INSERT INTO `orders` VALUES ('1444870379288', '18896554880', '1', '188965548801444884051999', '2015-10-15 08:10:59', '1', '2.50', '1', '0', '10103', '1444364904671', '2015-10-15 09:10:42', null, '立即送达', '', '1', '1', null, '2.50', null); +INSERT INTO `orders` VALUES ('1444870506256', '18896554880', '1', '188965548801444875976118', '2015-10-15 08:10:06', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 10:10:16', null, '立即送达', '', '1', '1', '1', '21.00', null); +INSERT INTO `orders` VALUES ('1444870638232', '18896554880', '1', '188965548801444880975406', '2015-10-15 08:10:18', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 09:10:48', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444870932534', '18896554880', '1', '188965548801444875976118', '2015-10-15 09:10:12', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 10:10:16', null, '立即送达', '', '1', '1', '1', '21.00', null); +INSERT INTO `orders` VALUES ('1444870992221', '18896554880', '1', '188965548801444875976118', '2015-10-15 09:10:12', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 10:10:16', null, '立即送达', '', '1', '1', '1', '21.00', null); +INSERT INTO `orders` VALUES ('1444871034563', '18896554880', '1', '188965548801444871036680', '2015-10-15 09:10:54', '1', '2.50', '1', '0', '10103', '1444364904671', '2015-10-15 09:10:56', null, '立即送达', '', '1', '1', null, '2.50', null); +INSERT INTO `orders` VALUES ('1444871723659', '18896554880', '1', '188965548801444871728595', '2015-10-15 09:10:23', '1', '2.50', '1', '0', '10103', '1444364904671', '2015-10-15 09:10:28', null, '立即送达', '', '1', '1', null, '2.50', null); +INSERT INTO `orders` VALUES ('1444871857773', '18896554880', '1', '188965548801444871860992', '2015-10-15 09:10:37', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 09:10:40', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444872071297', '18896554880', '1', '188965548801444872076194', '2015-10-15 09:10:11', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 09:10:16', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444872132214', '18896554880', '1', '188965548801444872136850', '2015-10-15 09:10:12', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 09:10:16', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444872309769', '18896554880', '1', '188965548801444873798550', '2015-10-15 09:10:09', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 09:10:58', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444873826656', '18896554880', '1', '188965548801444875976118', '2015-10-15 09:10:26', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 10:10:16', null, '立即送达', '', '1', '1', '1', '21.00', null); +INSERT INTO `orders` VALUES ('1444873887911', '18896554880', '1', '188965548801444875976118', '2015-10-15 09:10:27', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 10:10:16', null, '立即送达', '', '1', '1', '1', '21.00', null); +INSERT INTO `orders` VALUES ('1444873925301', '18896554880', '1', '188965548801444873928562', '2015-10-15 09:10:05', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 09:10:08', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444880413777', '18896554880', '1', '188965548801444880517678', '2015-10-15 11:10:13', '1', '10.00', '1', '0', '21717', '1444364904671', '2015-10-15 11:10:57', null, '立即送达', '', '1', '1', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444882234427', '18896554880', '1', '188965548801445396559032', '2015-10-15 12:10:34', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-21 11:02:39', null, '立即送达', '', '1', '2', null, '12.50', null); +INSERT INTO `orders` VALUES ('1444882276909', '18896554880', '1', '188965548801444882284135', '2015-10-15 12:10:16', '1', '8.50', '1', '0', '20402', '1444364904671', '2015-10-15 12:10:24', null, '立即送达', '', '1', '1', null, '8.50', null); +INSERT INTO `orders` VALUES ('1444882311235', '18896554880', '1', '188965548801444882320145', '2015-10-15 12:10:51', '1', '4.00', '1', '0', '10111', '1444364904671', '2015-10-15 12:10:00', null, '立即送达', '', '1', '1', null, '4.00', null); +INSERT INTO `orders` VALUES ('1444884061181', '18896554880', '1', '188965548801461520146368', '2015-10-15 12:10:01', '1', '2.50', '1', '0', '10103', '1444364904671', '2016-04-25 01:04:06', null, '立即送达', '', '1', '2', null, '12.50', null); +INSERT INTO `orders` VALUES ('1444911026031', '15506218219', '1', null, '2015-10-15 20:10:26', '0', null, '1', '0', '10720', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444911043205', '15506218219', '1', null, '2015-10-15 20:10:43', '0', null, '1', '0', '21801', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1444911056280', '15506218219', '1', '155062182191444911091401', '2015-10-15 20:10:56', '1', '20.00', '5', '0', '20209', '1444304326643', '2015-10-15 20:11:31', null, '21:59', '', '1', '2', null, '20.00', null); +INSERT INTO `orders` VALUES ('1444973615856', '18862342354', '1', '188623423541444973637253', '2015-10-16 13:33:35', '1', '10.00', '1', '0', '21701', '1444973391648', '2015-10-16 13:33:57', null, '立即送达', '么么哒', '1', '2', null, '10.00', null); +INSERT INTO `orders` VALUES ('1444983714636', '18896554880', '1', '188965548801444983734994', '2015-10-16 16:21:54', '1', '2.50', '1', '0', '10103', '1444364904671', '2015-10-16 16:22:14', null, '立即送达', '', '1', '2', null, '2.50', null); +INSERT INTO `orders` VALUES ('1444983860055', '18896554880', '1', '188965548801445396559032', '2015-10-16 16:24:20', '1', '6.00', '2', '0', '20617', '1444364904671', '2015-10-21 11:02:39', null, '立即送达', '', '1', '2', null, '12.50', null); +INSERT INTO `orders` VALUES ('1445134389532', '18896558935', '1', null, '2015-10-18 10:13:09', '7', null, '1', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445134394306', '18896558935', '1', null, '2015-10-18 10:13:14', '0', null, '1', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445134502526', '18896558935', '1', null, '2015-10-18 10:15:02', '7', null, '1', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445135563824', '18896558935', '1', null, '2015-10-18 10:32:43', '0', null, '4', '0', '20112', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445137672811', '18862342354', '1', null, '2015-10-18 11:07:52', '7', null, '1', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445138521137', '18862342354', '1', null, '2015-10-18 11:22:01', '7', null, '1', '0', '20209', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445138540764', '18862342354', '1', null, '2015-10-18 11:22:20', '7', null, '1', '0', '20216', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445159285117', '13739165168', '1', '137391651681445159322500', '2015-10-18 17:08:05', '1', '90.00', '5', '0', '10722', '1444292165833', '2015-10-18 17:08:42', null, '立即送达', '', '1', '2', null, '90.00', null); +INSERT INTO `orders` VALUES ('1445159349851', '13739165168', '1', null, '2015-10-18 17:09:09', '7', null, '14', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445252887024', '18035735959', '1', '180357359591445252888613', '2015-10-19 19:08:07', '1', '0.50', '1', '0', '10720', '1444295231450', '2015-10-19 19:08:08', null, '立即送达', '', '1', '1', null, '0.50', null); +INSERT INTO `orders` VALUES ('1445339584000', '18896554880', '1', '188965548801445339584522', '2015-10-20 19:10:04', '1', '2.50', '1', '0', '20206', '1444364904671', '2015-10-20 19:10:04', null, '立即送达', '', '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445408009474', '15506218219', '2', null, '2015-10-21 14:13:29', '7', null, '1', '0', '10106', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445417892833', '18136075773', '1', null, '2015-10-21 16:58:12', '7', null, '1', '0', '21702', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445417914184', '18136075773', '1', null, '2015-10-21 16:58:34', '7', null, '1', '0', '20215', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445417935151', '18136075773', '1', null, '2015-10-21 16:58:55', '7', null, '1', '0', '20215', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445417952769', '18136075773', '1', null, '2015-10-21 16:59:12', '7', null, '1', '0', '20208', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445417954999', '18136075773', '1', null, '2015-10-21 16:59:14', '7', null, '1', '0', '20208', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445516325662', '18136075773', '1', null, '2015-10-22 20:18:45', '7', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445575029463', '18762885079', '1', null, '2015-10-23 12:37:09', '0', null, '3', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445576420107', '18260108169', '1', '182601081691445576425308', '2015-10-23 13:00:20', '1', '20.00', '1', '0', '21702', '1442303847049', '2015-10-23 13:00:25', null, '立即送达', '', '1', '2', null, '17.00', null); +INSERT INTO `orders` VALUES ('1445615705566', '18136075773', '1', null, '2015-10-23 23:55:05', '7', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445615767650', '18136075773', '1', null, '2015-10-23 23:56:07', '7', null, '1', '0', '20209', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445615779110', '18136075773', '1', null, '2015-10-23 23:56:19', '0', null, '1', '0', '20216', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445615784085', '18136075773', '1', null, '2015-10-23 23:56:24', '0', null, '1', '0', '20214', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445615790888', '18136075773', '1', null, '2015-10-23 23:56:30', '0', null, '2', '0', '20208', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445615800928', '18136075773', '1', null, '2015-10-23 23:56:40', '0', null, '1', '0', '10715', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445615804207', '18136075773', '1', null, '2015-10-23 23:56:44', '7', null, '1', '0', '10715', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445615853508', '18136075773', '1', null, '2015-10-23 23:57:33', '7', null, '1', '0', '21701', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445667862208', '18896558935', '1', null, '2015-10-24 14:24:22', '7', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445677519643', '18862342354', '1', null, '2015-10-24 17:05:19', '0', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445677526920', '18862342354', '1', null, '2015-10-24 17:05:26', '0', null, '1', '0', '20102', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445677532304', '18862342354', '1', null, '2015-10-24 17:05:32', '0', null, '1', '0', '20104', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1445752666472', '18896554880', '1', '188965548801445752730217', '2015-10-25 13:57:46', '1', '2.80', '1', '0', '10106', '1444364904671', '2015-10-25 13:58:50', null, '立即送达', '', '1', '1', null, '2.80', null); +INSERT INTO `orders` VALUES ('1446520999287', '18136075773', '1', null, '2015-11-03 11:23:19', '7', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1447070706265', '18896554880', '1', '188965548801447070707134', '2015-11-09 20:11:06', '7', null, '1', '0', '10111', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1447070761476', '18896554880', '1', null, '2015-11-09 20:06:01', '7', null, '5', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1447841992323', '13739165168', '2', null, '2015-11-18 18:19:52', '7', null, '8', '0', '10109', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1448593452607', '18013116680', '1', null, '2015-11-27 11:04:12', '0', null, '1', '0', '20103', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1448593457983', '18013116680', '1', null, '2015-11-27 11:04:17', '0', null, '2', '0', '20102', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1448593463612', '18013116680', '1', null, '2015-11-27 11:04:23', '0', null, '1', '0', '20101', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1448899199643', '18896554880', '1', null, '2015-11-30 23:59:59', '7', null, '1', '0', '10106', null, null, null, null, null, '1', '0', null, null, null); +INSERT INTO `orders` VALUES ('1448899336421', '18896554880', '1', '188965548801448899349917', '2015-12-01 00:02:16', '1', '20.00', '2', '0', '21717', '1444364904671', '2015-12-01 00:02:29', null, '立即送达', '', '1', '1', null, '17.00', null); +INSERT INTO `orders` VALUES ('1449033389624', '18013116680', '1', '180131166801449033397282', '2015-12-02 13:16:29', '1', '9.00', '5', '0', '20103', '1442297784', '2015-12-02 13:16:37', null, '立即送达', '', '1', '1', null, '9.00', null); +INSERT INTO `orders` VALUES ('1461520034000', '18896554880', '1', '188965548801461520034624', '2016-04-25 01:04:14', '1', '2.50', '1', '0', '10103', '1444364904671', '2016-04-25 01:04:14', null, '立即送达', '', '1', '0', null, null, null); + +-- ---------------------------- +-- Table structure for order_pay +-- ---------------------------- +DROP TABLE IF EXISTS `order_pay`; +CREATE TABLE `order_pay` ( + `pay_id` smallint(6) NOT NULL, + `category` varchar(255) NOT NULL, + PRIMARY KEY (`pay_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of order_pay +-- ---------------------------- +INSERT INTO `order_pay` VALUES ('1', '支付宝支付'); +INSERT INTO `order_pay` VALUES ('2', '微信支付'); + +-- ---------------------------- +-- Table structure for preferential +-- ---------------------------- +DROP TABLE IF EXISTS `preferential`; +CREATE TABLE `preferential` ( + `preferential_id` int(11) NOT NULL AUTO_INCREMENT, + `need_number` int(11) NOT NULL, + `discount_num` int(11) NOT NULL DEFAULT '0', + `campus_id` int(11) NOT NULL, + PRIMARY KEY (`preferential_id`), + KEY `prefer_campus` (`campus_id`) +) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of preferential +-- ---------------------------- +INSERT INTO `preferential` VALUES ('1', '20', '3', '1'); +INSERT INTO `preferential` VALUES ('2', '30', '5', '1'); +INSERT INTO `preferential` VALUES ('3', '40', '12', '1'); +INSERT INTO `preferential` VALUES ('4', '20', '6', '2'); +INSERT INTO `preferential` VALUES ('5', '10', '2', '32'); +INSERT INTO `preferential` VALUES ('6', '15', '3', '32'); +INSERT INTO `preferential` VALUES ('7', '20', '5', '32'); +INSERT INTO `preferential` VALUES ('8', '40', '8', '32'); +INSERT INTO `preferential` VALUES ('9', '50', '20', '32'); + +-- ---------------------------- +-- Table structure for receiver +-- ---------------------------- +DROP TABLE IF EXISTS `receiver`; +CREATE TABLE `receiver` ( + `phone_id` varchar(20) NOT NULL, + `phone` varchar(20) NOT NULL, + `name` varchar(255) NOT NULL, + `address` varchar(255) NOT NULL, + `tag` smallint(6) DEFAULT '1', + `rank` varchar(20) NOT NULL, + `is_out` smallint(6) NOT NULL DEFAULT '0' COMMENT '地址是否失效', + `campus_id` int(11) NOT NULL, + PRIMARY KEY (`rank`,`phone_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of receiver +-- ---------------------------- +INSERT INTO `receiver` VALUES ('8798', '13040101273', '灰熊', 'volvo***opel***saab***树林', '0', '1234567890', '0', '1'); +INSERT INTO `receiver` VALUES ('879833043', '13040101273', '黑熊', 'volvo***volvo***volvo***林树树林', '1', '1234567890', '0', '1'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '叶帆', '三江学院铁心桥主校区619', '1', '1427300541891', '1', '3'); +INSERT INTO `receiver` VALUES ('18260108169', '18896554880', '科技', '三江学院铁心桥主校区我们', '1', '1427308019083', '1', '1'); +INSERT INTO `receiver` VALUES ('15151883571', '15151883571', '绝地', '三江学院铁心桥主校区15-103', '0', '1427634635035', '0', '0'); +INSERT INTO `receiver` VALUES ('18751889986', '18751889986', '刘冠宏', '三江学院铁心桥主校区16-439宿舍', '0', '1427647922718', '0', '0'); +INSERT INTO `receiver` VALUES ('15151883572', '15151883572', '张梦杰', '三江学院铁心桥主校区3-153', '0', '1427691760293', '0', '0'); +INSERT INTO `receiver` VALUES ('17712915379', '17712915379', '123456', '三江学院铁心桥主校区15楼', '0', '1427701806534', '0', '1'); +INSERT INTO `receiver` VALUES ('15295567537', '15295567537', '骆言', '三江学院铁心桥主校区15—103', '0', '1428134772134', '0', '0'); +INSERT INTO `receiver` VALUES ('18762885079', '18896554880', '123', '三江学院铁心桥主校区618', '1', '1428311194447', '1', '0'); +INSERT INTO `receiver` VALUES ('18762885079', '18260108169', '2', '三江学院铁心桥主校区123', '1', '1428312246582', '0', '0'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', '123木头人', '三江学院铁心桥主校区123456', '1', '1428421699524', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554856', '韩月辉啊', '理工楼205', '1', '1428421706966', '1', '1'); +INSERT INTO `receiver` VALUES ('18114706485', '18751889986', '刘冠宏', '三江学院铁心桥主校区16-439', '0', '1429811993729', '0', '0'); +INSERT INTO `receiver` VALUES ('15365186735', '13151281128', '李烜鑫', '三江学院铁心桥主校区15号楼203', '0', '1430139968260', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108190', '苏州叶帆', '三江学院铁心桥主校区苏州东区6201', '1', '1430139968260', '1', '7'); +INSERT INTO `receiver` VALUES ('15295569869', '15295569869', '程时茂', '三江学院铁心桥主校区16楼443', '0', '1430140350821', '0', '0'); +INSERT INTO `receiver` VALUES ('15366031030', '15366031030', '唐吉雨', '三江学院铁心桥主校区16号楼411宿舍', '0', '1430143358581', '0', '0'); +INSERT INTO `receiver` VALUES ('15152658540', '15152658540', '施天翼', '三江学院铁心桥主校区16楼119宿舍', '0', '1430143999704', '0', '0'); +INSERT INTO `receiver` VALUES ('15190518013', '15190518013', '潘鸿', '三江学院铁心桥主校区三江学院16号楼432', '0', '1430194088216', '0', '0'); +INSERT INTO `receiver` VALUES ('15261895955', '15261895955', '16号楼432宿舍', '三江学院铁心桥主校区16号楼432宿舍', '0', '1430194614988', '0', '0'); +INSERT INTO `receiver` VALUES ('13815445502', '13815445502', '韩宇波', '三江学院铁心桥主校区16号楼215宿舍', '0', '1430196072612', '0', '0'); +INSERT INTO `receiver` VALUES ('18252056259', '18252056259', '李晓飞', '三江学院铁心桥主校区6号楼507', '0', '1430209427176', '0', '0'); +INSERT INTO `receiver` VALUES ('15251895527', '15251895527', '顾海波', '三江学院铁心桥主校区15号楼447宿舍', '0', '1430213301695', '0', '0'); +INSERT INTO `receiver` VALUES ('18724005167', '18724005167', '杨宏光', '三江学院铁心桥主校区16号楼432', '0', '1430215725002', '0', '0'); +INSERT INTO `receiver` VALUES ('15295509505', '15295509505', '赵浩', '三江学院铁心桥主校区三江16号楼431', '0', '1430215931228', '0', '0'); +INSERT INTO `receiver` VALUES ('15205196040', '15205196040', '张志伟', '三江学院铁心桥主校区四号食堂(求快点)', '0', '1430216853879', '0', '0'); +INSERT INTO `receiver` VALUES ('15205196040', '15205196040', '张志伟', '三江学院铁心桥主校区四号食堂(求快点)', '1', '1430216857560', '0', '0'); +INSERT INTO `receiver` VALUES ('15205196040', '15205196040', '张志伟', '三江学院铁心桥主校区四号食堂(求快点)', '1', '1430216858359', '0', '0'); +INSERT INTO `receiver` VALUES ('15205196040', '15205196040', '张志伟', '三江学院铁心桥主校区四号食堂(求快点)', '1', '1430216859520', '0', '0'); +INSERT INTO `receiver` VALUES ('15205196040', '15205196040', '张志伟', '三江学院铁心桥主校区四号食堂(求快点)', '1', '1430216860601', '0', '0'); +INSERT INTO `receiver` VALUES ('18705199209', '18705199209', '樊志文', '三江学院铁心桥主校区三江学院16号楼242宿舍', '0', '1430217024155', '0', '0'); +INSERT INTO `receiver` VALUES ('13022571629', '13022571629', '杨佳俊', '三江学院铁心桥主校区三江学院主校区16号楼331', '0', '1430219675555', '0', '0'); +INSERT INTO `receiver` VALUES ('15261896973', '15261896973', '狄宇', '三江学院铁心桥主校区16楼431宿舍', '0', '1430220181373', '0', '0'); +INSERT INTO `receiver` VALUES ('15365132621', '15365132621', '江爱祥', '三江学院铁心桥主校区16号楼419', '0', '1430227427638', '0', '0'); +INSERT INTO `receiver` VALUES ('15365132621', '15365132621', '江爱祥', '三江学院铁心桥主校区16号楼419', '1', '1430227429383', '0', '0'); +INSERT INTO `receiver` VALUES ('15380820376', '15380820376', '朱剑宇', '三江学院铁心桥主校区16-444', '0', '1430230060734', '0', '0'); +INSERT INTO `receiver` VALUES ('18061739312', '18061739312', '兰宇迪', '三江学院铁心桥主校区三江学院15号楼405', '0', '1430233845504', '0', '0'); +INSERT INTO `receiver` VALUES ('18020118759', '18020118759', '吴奥', '三江学院铁心桥主校区14#213', '0', '1430234904151', '0', '0'); +INSERT INTO `receiver` VALUES ('15257588659', '15257588659', '褚嘉琪', '三江学院铁心桥主校区2号楼', '0', '1430236104110', '0', '0'); +INSERT INTO `receiver` VALUES ('15295569715', '15295569715', '金针菇', '三江学院铁心桥主校区3号楼', '0', '1430238541764', '0', '0'); +INSERT INTO `receiver` VALUES ('15366199989', '15366199989', '李', '三江学院铁心桥主校区7号楼106', '0', '1430241137802', '0', '0'); +INSERT INTO `receiver` VALUES ('15951996706', '15951996706', '孙艺珊', '三江学院铁心桥主校区2号楼226', '0', '1430264991258', '0', '0'); +INSERT INTO `receiver` VALUES ('18662835126', '18662835126', '邹沁源', '三江学院铁心桥主校区男生宿舍12-328', '0', '1430266717780', '0', '0'); +INSERT INTO `receiver` VALUES ('13160076990', '13160076990', '张凯旋', '三江学院铁心桥主校区12楼108', '0', '1430270433261', '0', '0'); +INSERT INTO `receiver` VALUES ('13160076990', '13160076990', '张凯旋', '三江学院铁心桥主校区12楼108', '1', '1430270433560', '0', '0'); +INSERT INTO `receiver` VALUES ('13160076990', '13160076990', '张凯旋', '三江学院铁心桥主校区12楼108', '1', '1430270433790', '0', '0'); +INSERT INTO `receiver` VALUES ('13914720105', '13914720105', '赵勇', '三江学院铁心桥主校区16楼232室', '0', '1430273179483', '0', '0'); +INSERT INTO `receiver` VALUES ('15365132560', '15365132560', '储坚成', '三江学院铁心桥主校区15号楼118', '0', '1430273424102', '0', '0'); +INSERT INTO `receiver` VALUES ('18502500812', '18502500812', '张宏建', '三江学院铁心桥主校区16号楼432', '0', '1430280547956', '0', '0'); +INSERT INTO `receiver` VALUES ('15365128369', '15365128369', '徐皓祯', '三江学院铁心桥主校区16栋411', '0', '1430281199125', '0', '0'); +INSERT INTO `receiver` VALUES ('18013863934', '18013863934', '陆益', '三江学院铁心桥主校区14楼213', '0', '1430281348420', '0', '0'); +INSERT INTO `receiver` VALUES ('18020118356', '18020118356', '查剑', '三江学院铁心桥主校区三江学院14号公寓楼212号', '0', '1430288419148', '0', '0'); +INSERT INTO `receiver` VALUES ('15161048466', '15161048466', '丁昊', '三江学院铁心桥主校区三江学院五号楼310', '0', '1430291991110', '0', '0'); +INSERT INTO `receiver` VALUES ('13913976839', '13913976839', '沈玉权', '三江学院铁心桥主校区S楼606—1', '0', '1430293686093', '0', '0'); +INSERT INTO `receiver` VALUES ('13160076967', '13160076967', '郭晓强', '三江学院铁心桥主校区爱国楼16号楼242宿舍', '0', '1430295105062', '0', '0'); +INSERT INTO `receiver` VALUES ('15261861958', '15261861958', '汪静', '三江学院铁心桥主校区18号楼二单元603-1', '0', '1430296056741', '0', '0'); +INSERT INTO `receiver` VALUES ('15850789886', '15295567537', '哈哈哈', '三江学院铁心桥主校区15号', '0', '1430300589423', '0', '0'); +INSERT INTO `receiver` VALUES ('18705199233', '18705199233', '刘宇大帅哥', '三江学院铁心桥主校区4310', '1', '1430301839771', '1', '0'); +INSERT INTO `receiver` VALUES ('18252058127', '18252058127', '胡壮', '三江学院铁心桥主校区男生宿舍12号楼328', '0', '1430303302959', '0', '0'); +INSERT INTO `receiver` VALUES ('18252066383', '18252066383', '李明锋', '三江学院铁心桥主校区三江学院16号楼235', '0', '1430314490045', '0', '0'); +INSERT INTO `receiver` VALUES ('18252057339', '18252057339', '倪豪', '三江学院铁心桥主校区12楼328', '0', '1430386138346', '0', '0'); +INSERT INTO `receiver` VALUES ('18751889637', '18751889637', '袁建楠', '三江学院铁心桥主校区15号楼146', '0', '1430409101899', '0', '0'); +INSERT INTO `receiver` VALUES ('15605159822', '15605159822', '魏小翔', '三江学院铁心桥主校区三江学院16号楼331', '0', '1430449291849', '0', '0'); +INSERT INTO `receiver` VALUES ('18013866641', '18013866641', '曹起', '三江学院铁心桥主校区5319', '0', '1430573737418', '0', '0'); +INSERT INTO `receiver` VALUES ('18362938239', '18362938239', '杨友进', '三江学院铁心桥主校区7#514', '0', '1430618682327', '0', '0'); +INSERT INTO `receiver` VALUES ('18070155110', '18070155110', '胡素亚', '三江学院铁心桥主校区江西省南昌市红谷滩新区学府大道589号江西科技师范大学', '0', '1430643603185', '0', '0'); +INSERT INTO `receiver` VALUES ('13861605337', '13861605337', 'M', '三江学院铁心桥主校区16号楼241宿舍', '0', '1430659947759', '0', '0'); +INSERT INTO `receiver` VALUES ('18551310166', '18551310166', '顾鑫', '三江学院铁心桥主校区16号楼429', '0', '1430726869324', '0', '0'); +INSERT INTO `receiver` VALUES ('18036196086', '18036196086', '陆顺', '三江学院铁心桥主校区16号楼428宿舍', '0', '1430736081605', '0', '0'); +INSERT INTO `receiver` VALUES ('18796640565', '18796640565', '于志航', '三江学院铁心桥主校区15号楼339宿舍', '0', '1430745016925', '0', '0'); +INSERT INTO `receiver` VALUES ('15150443372', '15150443372', '姚申涛', '三江学院铁心桥主校区三江学院16号楼215', '0', '1430797866303', '0', '0'); +INSERT INTO `receiver` VALUES ('18252120427', '18252120427', '常文龙', '三江学院铁心桥主校区12号楼106', '0', '1430804181551', '0', '0'); +INSERT INTO `receiver` VALUES ('13451895624', '13451895624', '戚安琪', '三江学院铁心桥主校区16楼120', '0', '1430834407532', '0', '0'); +INSERT INTO `receiver` VALUES ('18705198389', '18705198389', '吴越', '三江学院铁心桥主校区15号楼447', '0', '1430880199130', '0', '0'); +INSERT INTO `receiver` VALUES ('15261896862', '15261896862', '张', '三江学院铁心桥主校区16号楼432宿舍', '0', '1430880346706', '0', '0'); +INSERT INTO `receiver` VALUES ('13814504204', '13814504204', '熊大伏', '三江学院铁心桥主校区16号楼442', '0', '1430886217079', '0', '0'); +INSERT INTO `receiver` VALUES ('15365195716', '15365195716', '张运杰', '三江学院铁心桥主校区16号楼428', '0', '1430903632392', '0', '0'); +INSERT INTO `receiver` VALUES ('18066057126', '18066057126', '王雪', '三江学院铁心桥主校区19号楼505-1', '0', '1430917522766', '0', '0'); +INSERT INTO `receiver` VALUES ('18351008060', '18351008060', '武金铭', '三江学院铁心桥主校区5号楼310', '0', '1430918438125', '0', '0'); +INSERT INTO `receiver` VALUES ('15951809434', '15951809434', '朱哥哥', '三江学院铁心桥主校区16-434', '0', '1430990495682', '0', '0'); +INSERT INTO `receiver` VALUES ('15251820285', '15251820285', '曹青', '三江学院铁心桥主校区21号楼202-2', '0', '1431050881326', '0', '0'); +INSERT INTO `receiver` VALUES ('15365182279', '15365182279', '丁奕铭', '三江学院铁心桥主校区15号楼447', '0', '1431061251802', '0', '0'); +INSERT INTO `receiver` VALUES ('15365182279', '15365182279', '丁奕铭', '三江学院铁心桥主校区15号楼447', '1', '1431061252453', '0', '0'); +INSERT INTO `receiver` VALUES ('17768116252', '17768116252', '庄嘉和', '三江学院铁心桥主校区12号楼104', '0', '1431094805202', '0', '0'); +INSERT INTO `receiver` VALUES ('15366127275', '15366127275', '张刘健', '三江学院铁心桥主校区16号楼442', '0', '1431166185371', '0', '0'); +INSERT INTO `receiver` VALUES ('15251899171', '15251899171', '黄耀辉', '三江学院铁心桥主校区16号楼442', '0', '1431172249861', '0', '0'); +INSERT INTO `receiver` VALUES ('15961685555', '15961685555', '马遥', '三江学院铁心桥主校区17楼304', '0', '1431232134281', '0', '0'); +INSERT INTO `receiver` VALUES ('18252058069', '18252058069', '杨帆', '三江学院铁心桥主校区12号楼328', '0', '1431235121119', '0', '0'); +INSERT INTO `receiver` VALUES ('13851558735', '13851558735', '刘旭凡', '三江学院铁心桥主校区16号楼433', '0', '1431245257405', '0', '0'); +INSERT INTO `receiver` VALUES ('18705198716', '18705198716', '陈希', '三江学院铁心桥主校区16。 431', '0', '1431253769264', '0', '0'); +INSERT INTO `receiver` VALUES ('15651967988', '15651967988', '李翔', '三江学院铁心桥主校区15 405', '0', '1431318681075', '0', '0'); +INSERT INTO `receiver` VALUES ('18705199233', '18705199233', '刘宇大帅哥', '三江学院铁心桥主校区16号楼429', '0', '1431327448315', '0', '0'); +INSERT INTO `receiver` VALUES ('13585165686', '13585165686', '季拓', '三江学院铁心桥主校区6号楼511', '0', '1431347335595', '0', '0'); +INSERT INTO `receiver` VALUES ('18651323581', '18651323581', '钱程', '三江学院铁心桥主校区16幢430', '0', '1431349355327', '0', '0'); +INSERT INTO `receiver` VALUES ('18094390667', '18094390667', '陈伟', '三江学院铁心桥主校区3教楼', '0', '1431501251014', '0', '0'); +INSERT INTO `receiver` VALUES ('18705199202', '18705199202', '毛楠', '三江学院铁心桥主校区16号楼242', '0', '1431524006786', '0', '0'); +INSERT INTO `receiver` VALUES ('15005527591', '15005527591', '贾桢', '三江学院铁心桥主校区15号楼406', '0', '1431609064380', '0', '0'); +INSERT INTO `receiver` VALUES ('15295566015', '15295566015', '陈浩兴', '三江学院铁心桥主校区16号楼428宿舍', '0', '1431684892337', '0', '0'); +INSERT INTO `receiver` VALUES ('15151885657', '15151885657', '蔡国庆', '三江学院铁心桥主校区16号楼429宿舍', '0', '1431686355726', '0', '0'); +INSERT INTO `receiver` VALUES ('15896319989', '15896319989', '陈绪', '三江学院铁心桥主校区15号楼405', '0', '1431696973639', '0', '0'); +INSERT INTO `receiver` VALUES ('15261897597', '15261897597', '唐明松', '三江学院铁心桥主校区15号楼116室', '0', '1431862595007', '0', '0'); +INSERT INTO `receiver` VALUES ('15952035224', '15952035224', '杨洋', '三江学院铁心桥主校区12号楼302', '0', '1431953691258', '0', '0'); +INSERT INTO `receiver` VALUES ('15250711506', '15250711506', '王博', '三江学院铁心桥主校区12号宿舍楼104室', '0', '1431959509192', '0', '0'); +INSERT INTO `receiver` VALUES ('18251883658', '18251883658', '陈玉鹏', '三江学院铁心桥主校区17号楼304', '0', '1432004512688', '0', '0'); +INSERT INTO `receiver` VALUES ('18896765902', '18896765902', '\'', '三江学院铁心桥主校区\'\'\'\'\'', '0', '1432017530630', '0', '0'); +INSERT INTO `receiver` VALUES ('13852290859', '15261893551', '徐瑞', '三江学院铁心桥主校区15#114', '0', '1432042057804', '0', '0'); +INSERT INTO `receiver` VALUES ('13852290859', '15261893551', '徐瑞', '三江学院铁心桥主校区15#114', '1', '1432042058240', '0', '0'); +INSERT INTO `receiver` VALUES ('18252022980', '18252022980', '王之润', '三江学院铁心桥主校区十三号楼308', '0', '1432126920293', '0', '0'); +INSERT INTO `receiver` VALUES ('17751770753', '17751770753', '吴爽', '三江学院铁心桥主校区16#441', '0', '1432134712613', '0', '0'); +INSERT INTO `receiver` VALUES ('15850789092', '15850789092', '杨玉成', '三江学院铁心桥主校区16号宿舍楼435宿舍', '0', '1432191232944', '0', '0'); +INSERT INTO `receiver` VALUES ('15365196382', '15365196382', '夏鑫宇', '三江学院铁心桥主校区15号楼107', '0', '1432197873079', '0', '0'); +INSERT INTO `receiver` VALUES ('15380821257', '15380821257', '金怀江', '三江学院铁心桥主校区16栋239', '0', '1432219586120', '0', '0'); +INSERT INTO `receiver` VALUES ('15261861119', '15261861119', '黄佳赛', '三江学院铁心桥主校区12号楼110宿舍', '0', '1432261788752', '0', '0'); +INSERT INTO `receiver` VALUES ('18168023515', '18168023515', '李瑞', '三江学院铁心桥主校区15号楼305', '0', '1432292709546', '0', '0'); +INSERT INTO `receiver` VALUES ('15295569575', '15295569575', '王文超', '三江学院铁心桥主校区16号楼339', '0', '1432346440599', '0', '0'); +INSERT INTO `receiver` VALUES ('15062202740', '15062202740', '王启建', '三江学院铁心桥主校区17号楼114', '0', '1432356221774', '0', '0'); +INSERT INTO `receiver` VALUES ('15295560150', '15295560150', '周彬', '三江学院铁心桥主校区16#431', '0', '1432356903527', '0', '0'); +INSERT INTO `receiver` VALUES ('15206145988', '15206145988', '冯科达', '三江学院铁心桥主校区17号楼103宿舍', '0', '1432366631339', '0', '0'); +INSERT INTO `receiver` VALUES ('18651337775', '18651337775', '王飞', '三江学院铁心桥主校区12栋508', '0', '1432369683943', '0', '0'); +INSERT INTO `receiver` VALUES ('15651958911', '15651958911', '李超', '三江学院铁心桥主校区爱国楼16号楼435', '0', '1432370323984', '0', '0'); +INSERT INTO `receiver` VALUES ('18252059027', '18252059027', '程双双', '三江学院铁心桥主校区12--104', '0', '1432378989408', '0', '0'); +INSERT INTO `receiver` VALUES ('15366106958', '15366106958', '智伟华', '三江学院铁心桥主校区15号楼111', '0', '1432389001180', '0', '0'); +INSERT INTO `receiver` VALUES ('18305176480', '18305176480', '吴昊懿', '三江学院铁心桥主校区3号楼428', '0', '1432442064860', '0', '0'); +INSERT INTO `receiver` VALUES ('15062417600', '15062417600', '赵逸斌', '三江学院铁心桥主校区16楼120', '0', '1432469747778', '0', '0'); +INSERT INTO `receiver` VALUES ('13270722790', '13270722790', '杨帆', '三江学院铁心桥主校区4号楼406', '0', '1432473308030', '0', '0'); +INSERT INTO `receiver` VALUES ('13951083940', '13951083940', '隋宇轩', '三江学院铁心桥主校区15号楼405', '0', '1432473352039', '0', '0'); +INSERT INTO `receiver` VALUES ('15380821827', '15380821827', '霸天虎', '三江学院铁心桥主校区6号楼511', '0', '1432477221106', '0', '0'); +INSERT INTO `receiver` VALUES ('15051930218', '15051930218', '蒋其书', '三江学院铁心桥主校区7号楼514', '0', '1432617174648', '0', '0'); +INSERT INTO `receiver` VALUES ('15295562062', '15295562062', '陈开', '三江学院铁心桥主校区16号楼428宿舍', '0', '1432640311181', '0', '0'); +INSERT INTO `receiver` VALUES ('18951702641', '18951702641', '李洋', '三江学院铁心桥主校区宿舍楼17号416室', '0', '1432640448606', '0', '0'); +INSERT INTO `receiver` VALUES ('13914083434', '13000000000', '我们', '三江学院铁心桥主校区我', '1', '1434374060919', '0', '0'); +INSERT INTO `receiver` VALUES ('15295569575', '15295569575', '王文超', '三江学院铁心桥主校区16号楼339', '1', '1437357938653', '0', '0'); +INSERT INTO `receiver` VALUES ('1234567890098765', '13040101273', '企鹅', 'saab***opel***audi***苏州大学', '0', '1437473514', '0', '0'); +INSERT INTO `receiver` VALUES ('7898', '13040101273', '河马', 'volvo***volvo***volvo***非洲', '0', '1437547333', '0', '0'); +INSERT INTO `receiver` VALUES ('7898', '13040101273', '康骏', 'volvo***volvo***volvo***非洲', '0', '1437547422', '0', '0'); +INSERT INTO `receiver` VALUES ('898998', '13040101273', '猪猪', 'volvo***volvo***volvo***苏州', '0', '1437547591', '0', '0'); +INSERT INTO `receiver` VALUES ('109', '13040101273', '我', 'volvo***volvo***volvo***苏州', '0', '1437618063', '0', '0'); +INSERT INTO `receiver` VALUES ('12340987', '12345678901', '围城', 'volvo***volvo***volvo***南京', '0', '1437622499', '0', '0'); +INSERT INTO `receiver` VALUES ('18800001111', '12345678901', '杨慧萍', 'volvo***volvo***volvo***淮安', '0', '1437702373', '0', '0'); +INSERT INTO `receiver` VALUES ('12340987', '18896554880', 'zhengzhihao', 'volvo***volvo***volvo***1212123', '1', '1437982341', '1', '0'); +INSERT INTO `receiver` VALUES ('12345678901', '18896554880', 'weicheng', 'volvo***volvo***volvo***南京秦淮', '1', '1437983460', '1', '0'); +INSERT INTO `receiver` VALUES ('123', '18896554880', '企鹅', '*********南极', '0', '1438011689', '1', '0'); +INSERT INTO `receiver` VALUES ('11111222222', '22', 'dd', '222', '0', '1438051089825', '0', '2'); +INSERT INTO `receiver` VALUES ('12345678909', '12345678907', 'lichangcheng', '清华大学qwertyuiop', '0', '1438063423949', '0', '7'); +INSERT INTO `receiver` VALUES ('12345678909', '12345678906', 'chencong', '复旦大学吴中校区asdfghjk', '1', '1438064255488', '0', '3'); +INSERT INTO `receiver` VALUES ('12345678909', '12345678909', 'shibowen', 'umng', '1', '1438087369041', '0', '4'); +INSERT INTO `receiver` VALUES ('12345678909', '18013116680', 'fandexian', 'woshifandexian', '1', '1438087559578', '0', '5'); +INSERT INTO `receiver` VALUES ('18762885079', '18035735959', 'ivan.Ye', 'SoochowUniversity 404', '1', '1438100668215', '1', '5'); +INSERT INTO `receiver` VALUES ('18762885079', '18035735959', 'yefanshabi', 'shabi haha', '1', '1438100705746', '1', '2'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'wozuiniiubi zhuifengshaonian', '1', '1438102224027', '1', '5'); +INSERT INTO `receiver` VALUES ('18896554880', '18762885079', 'ivan', 'y', '1', '1438104091470', '1', '1'); +INSERT INTO `receiver` VALUES ('18860902573', '18896554880', 'fdds', '*********ffdfff', '1', '1438137422', '1', '0'); +INSERT INTO `receiver` VALUES ('sadsa', '18896554880', 'ded', '*********sads', '1', '1438138982', '1', '0'); +INSERT INTO `receiver` VALUES ('dd', '18896554880', 'fff', '*********dd', '1', '1438139320', '1', '0'); +INSERT INTO `receiver` VALUES ('111', '18896554880', '11111', '*********11', '1', '1438139373', '1', '0'); +INSERT INTO `receiver` VALUES ('11', '18896554880', '11', '*********1111', '1', '1438139750', '1', '0'); +INSERT INTO `receiver` VALUES ('99', '18896554880', '99', '*********99', '1', '1438139802', '1', '0'); +INSERT INTO `receiver` VALUES ('12345678909', '12345678765', '1234', '12wefe', '1', '1438144107530', '0', '2'); +INSERT INTO `receiver` VALUES ('12345678909', '12345678965', 'dewf', 'qwert', '1', '1438144534507', '0', '3'); +INSERT INTO `receiver` VALUES ('12345678909', '00000000000', 'lllllllllllllllllllllllllllllll', 'lllllllllllllll', '1', '1438145001354', '0', '2'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'ttttt', '西交利物浦大学12345', '1', '1438145562997', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', '123', '西交利物浦大学1234', '1', '1438146282754', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', '1234', '苏州大学本部1234', '1', '1438146365578', '1', '5'); +INSERT INTO `receiver` VALUES ('18260108169', '1234567788899', '12', '西交利物浦大学1233123', '1', '1438148696581', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', '123456', '苏州大学本部12345', '1', '1438148774208', '1', '5'); +INSERT INTO `receiver` VALUES ('18260108169', '12312434545', '123', '西交利物浦大学123342345', '1', '1438148783743', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'ttttt', '西交利物浦大学西交利物浦大学12345', '1', '1438149933009', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'ttttt', '苏州大学本部西交利物浦大学12345', '1', '1438149941985', '1', '5'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'ttttt', '西交利物浦大学西交利物浦大学12345876543', '1', '1438149958979', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test', '复旦大学吴中校区5haolou', '1', '1438150025561', '1', '3'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test', '复旦大学吴中校区复旦大学吴中校区5haolou', '1', '1438150065074', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'ttttt', '复旦大学吴中校区苏州大学本部西交利物浦大学12345', '1', '1438150092559', '1', '3'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'shibowen', '苏州大学独墅湖校区wuhaolou', '1', '1438150373297', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'shibowen', '苏州大学独墅湖校区苏州大学独墅湖校区wuhaolou', '1', '1438150382684', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'shibowen', '苏州大学独墅湖校区苏州大学独墅湖校区wuhaolou', '1', '1438150398148', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'shibowen', '苏州大学独墅湖校区苏州大学独墅湖校区wuhaolou1', '1', '1438150401822', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'shibowen', '苏州大学独墅湖校区苏州大学独墅湖校区wuhaolou11', '1', '1438150407328', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'shibowen', '西交利物浦大学苏州大学独墅湖校区wuhaolou', '1', '1438150424510', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'fandexian', '苏州大学独墅湖校区123', '1', '1438150519423', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'fandexian', '苏州大学独墅湖校区苏州大学独墅湖校区123456', '1', '1438150537566', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'fandexian', '苏州大学独墅湖校区苏州大学独墅湖校区123', '1', '1438153937614', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test1', '1haolou', '1', '1438154175427', '1', '5'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test1', '1haolou2312', '1', '1438154181861', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test1', '1haolou2213455', '1', '1438154193239', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test', '123', '1', '1438154523118', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test1', '1234545', '1', '1438154689818', '1', '0'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test', 'we.231234566', '1', '1438154866736', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '18896557502', '追风少年', 'a01 225', '1', '1438154971238', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'ttest', '123', '1', '1438155962489', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '1234', '1234', '32445', '1', '1438156423624', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', ' 12334545', 'wqe', '123435', '1', '1438156433988', '1', '3'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', '12', 'test', '1', '1438156624531', '1', '3'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test', '1234', '1', '1438156828500', '1', '4'); +INSERT INTO `receiver` VALUES ('18260108169', '182601081691', 'test2', '234', '1', '1438157079384', '1', '7'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test', '12345', '1', '1438157618041', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test2', '123', '1', '1438157834878', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'wocaonimade ', '1', '1438171949449', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niu', 'a01225', '1', '1438172377568', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'a01 225', '1', '1438172555318', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '1', 'a01 225', '1', '1438172899063', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', 'niuyan', 'dushuhu a01 225', '1', '1438220670694', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', 'niuyan', 'dushuhuxiaoqua01 225', '1', '1438220795702', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', 'niuyan', 'a01 225', '1', '1438220984579', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', '1', 'a01 225', '1', '1438221147785', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', '1', '1', '1', '1438221192243', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', '1', '1', '1', '1438221216545', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', '111', '1111', '1', '1438221255980', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', 'niu', '1', '1', '1438222881433', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', '11', '1', '1', '1438222960063', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', '1', '1', '1', '1438223002197', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', '1', '1', '1', '1438223087732', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', '2', '2', '1', '1438223115441', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'shibowen', 'benbuwuhaolou', '1', '1438225017539', '1', '4'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'test1', '123456', '1', '1438228297525', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test2', '12345', '1', '1438228311027', '1', '1'); +INSERT INTO `receiver` VALUES ('1234', '18896554880', '张', '苏州^苏州大学独墅湖校区^南京秦淮', '1', '1438231440', '1', '0'); +INSERT INTO `receiver` VALUES ('1234', '18896554880', '拉拉', '杭州^浙江大学本部^啦啦啦啦啦', '1', '1438232989', '1', '0'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', '333', '2345d', '1', '1438234116476', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', 'niuy an', 'yiny uchengwoaini', '1', '1438234176479', '1', '4'); +INSERT INTO `receiver` VALUES ('5201314', '18896554880', '围城', '上海^复旦大学吴中校区^十里秦淮', '1', '1438235663', '1', '3'); +INSERT INTO `receiver` VALUES ('5201314', '18896554880', '围城', '上海^复旦大学吴中校区^十里秦淮', '1', '1438235665', '1', '3'); +INSERT INTO `receiver` VALUES ('1221221', '1221', 'kang', '11', '0', '1438236903703', '0', '3'); +INSERT INTO `receiver` VALUES ('18035735959', '1221', 'kang', '11', '1', '1438236923966', '1', '3'); +INSERT INTO `receiver` VALUES ('18035735959', '1221', 'kang', '11', '1', '1438236951498', '1', '3'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678990', 'test2', '12', '1', '1438238198594', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12323434546', '123345s', '1231244', '1', '1438238210007', '1', '3'); +INSERT INTO `receiver` VALUES ('5201314', '18896554880', '围城', '苏州^苏州大学独墅湖校区^十里秦淮七里山塘', '1', '1438241773', '1', '1'); +INSERT INTO `receiver` VALUES ('2132132', '15850033077', 'lala', '上海^复旦大学吴中校区^就分手快放假时刻了快速的减肥', '0', '1438242337', '1', '3'); +INSERT INTO `receiver` VALUES ('18896584265', '18896554857', '小白', '杭州^浙江大学本部^624', '0', '1438242591', '1', '4'); +INSERT INTO `receiver` VALUES ('18035735959', '18735735959', 'niuyan', 'a01 225', '1', '1438245522221', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18896557502', 'yinyucheng', 'dushuhuxiaoqu', '1', '1438245551288', '1', '2'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test4', '134', '1', '1438245774637', '1', '7'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'dushuhuxiaoquA01225', '1', '1438245889425', '1', '7'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'niuyanxihuanyinyucheng', '1', '1438246030790', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'dushuhuxiaoqua', '1', '1438246122357', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', '1111', '1', '1438246891238', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', '11111', '1', '1438247594329', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'lkjlkjlkjlj', '1', '1438247714765', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', '1', '1', '1', '1438247781528', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '1', '111', '1', '1438247826900', '1', '1'); +INSERT INTO `receiver` VALUES ('99999', '18860902563', 'weicheng', '南京^南京大学雨花台校区^123456', '0', '1438248041', '1', '2'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', 'KJ', '杭州^浙江大学本部^华西村', '1', '1438248065', '1', '4'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', 'KJ', '杭州^浙江大学本部^华西村', '1', '1438248068', '1', '4'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', '1111', '1', '1438248333739', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'dushuhu', '1', '1438248380602', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', 'dushuhu', '1', '1438249588634', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', 'niuyan', '11', '1', '1438249623844', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', '11', '1111', '1', '1438249776145', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '22', '111', '1', '1438249797713', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', 'niuyan', '1111', '1', '1438249832067', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛严', '独墅湖校区A01-225', '1', '1438249972601', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18896557502', '尹昱程', '独墅湖校区a04', '1', '1438250025564', '1', '5'); +INSERT INTO `receiver` VALUES ('18260108169', '12344567892', 'test', '1234', '1', '1438250113101', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12343534545', '123124', '123', '1', '1438250292628', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12342342344', '123', '1234453', '1', '1438255750999', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '123456788901', 'test', '1234', '1', '1438257360127', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test', '123', '1', '1438257448889', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test', '12345', '1', '1438257587258', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18762885079', 'ivan12', 'ddd', '1', '1438259434156', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛严', '独墅湖校区', '1', '1438259837670', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18896557502', '尹昱程', '独墅湖校区', '1', '1438259916402', '1', '2'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛宴', '独墅湖校区', '1', '1438304682129', '1', '2'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', '1', '1', '1', '1438304736804', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '22222222222', '2', '12', '1', '1438304913607', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', '钱钱钱钱钱', '2', '1', '1438305516907', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', '111', '3', '1', '1438307106042', '1', '1'); +INSERT INTO `receiver` VALUES ('18896584265', '18896554857', '小白', '杭州^浙江大学本部^624', '0', '1438307583', '1', '4'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛严', '独墅湖校区', '1', '1438307832620', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18034839573', '采臣', '读书户校区', '1', '1438308325422', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '139483048304', '张殷墟', '毒素', '1', '1438308344979', '1', '3'); +INSERT INTO `receiver` VALUES ('18035735959', '11256743323', '牛严', '是', '1', '1438308773183', '1', '3'); +INSERT INTO `receiver` VALUES ('18035735959', '33333333332', '3333', '帆', '1', '1438308794083', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '19039393939', '333', '11111', '1', '1438308855517', '1', '1'); +INSERT INTO `receiver` VALUES ('18013646790', '18013646790', 'ming', 'suzhoudaxuedushuhuxiaoquchuangyichanyeyuan', '1', '1438320052646', '1', '7'); +INSERT INTO `receiver` VALUES ('18013646790', '18013646780', 'miao', 'qwqw', '0', '1438320077850', '0', '4'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', 'testw23123', 'qwe123', '1', '1438320517047', '1', '6'); +INSERT INTO `receiver` VALUES ('13914083434', '11111111111', 'qqqqq', 'though hi to you', '0', '1438321743304', '0', '1'); +INSERT INTO `receiver` VALUES ('13914083434', '12345678901', ' ', ' ', '1', '1438321766500', '0', '5'); +INSERT INTO `receiver` VALUES ('5201314', '18896554880', '围城', '苏州^苏州大学独墅湖校区^十里秦淮七里山塘', '0', '1438326207', '1', '1'); +INSERT INTO `receiver` VALUES ('5201314', '18896554880', '围城', '苏州^苏州大学独墅湖校区^十里秦淮七里山塘', '0', '1438326243', '1', '1'); +INSERT INTO `receiver` VALUES ('52013145', '18896554880', '围城', '苏州^苏州大学独墅湖校区^十里秦淮七里山塘街', '1', '1438326460', '1', '1'); +INSERT INTO `receiver` VALUES ('18889', '18896554880', '和恶化', '苏州^苏州大学独墅湖校区^发士大夫s', '0', '1438326808', '1', '1'); +INSERT INTO `receiver` VALUES ('52013145', '18896554880', '围城', '苏州^苏州大学独墅湖校区^十里秦淮七里山塘街', '0', '1438326818', '1', '1'); +INSERT INTO `receiver` VALUES ('发送速度', '18896554880', '放进塑料袋就 ', '苏州^苏州大学独墅湖校区^发士大夫s', '1', '1438326837', '1', '1'); +INSERT INTO `receiver` VALUES ('发送速度', '18896554880', '放进塑料袋就 ', '苏州^苏州大学独墅湖校区^发士大夫s', '0', '1438326849', '1', '1'); +INSERT INTO `receiver` VALUES ('123', '18860902563', 'yhp', '上海^复旦大学吴中校区^阿什福', '1', '1438327507', '1', '3'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '杭州^浙江大学本部^华西村', '1', '1438328951', '1', '4'); +INSERT INTO `receiver` VALUES ('1234', '18860902563', '李丛', '苏州^苏州大学独墅湖校区^山东蓝翔', '1', '1438330074', '1', '1'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '杭州^浙江大学本部^十里秦淮', '1', '1438330093', '1', '4'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '杭州^浙江大学本部^十里秦淮人家', '1', '1438330244', '1', '4'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '杭州^浙江大学本部^十里秦淮', '1', '1438330549', '1', '4'); +INSERT INTO `receiver` VALUES ('111', '18896554880', '111', '上海^复旦大学吴中校区^111', '0', '1438334618', '1', '3'); +INSERT INTO `receiver` VALUES ('111', '18896554880', '111宿舍', '上海^复旦大学吴中校区^111宿舍', '0', '1438334735', '1', '3'); +INSERT INTO `receiver` VALUES ('111宿舍', '18896554880', '111宿舍', '上海^复旦大学吴中校区^111宿舍四十四', '1', '1438334749', '1', '3'); +INSERT INTO `receiver` VALUES ('1111111111', '18896554880', '四十四', '苏州^苏州大学独墅湖校区^11111111', '0', '1438334763', '1', '1'); +INSERT INTO `receiver` VALUES ('1111111', '18896554880', '11111', '苏州^苏州大学独墅湖校区^111111', '1', '1438334773', '1', '1'); +INSERT INTO `receiver` VALUES ('1111111', '18896554880', '111111', '苏州^苏州大学独墅湖校区^111111', '1', '1438334781', '1', '1'); +INSERT INTO `receiver` VALUES ('111111', '18896554880', '111111', '苏州^苏州大学独墅湖校区^1111111', '1', '1438334790', '1', '1'); +INSERT INTO `receiver` VALUES ('1111111', '18896554880', '11111', '苏州^苏州大学独墅湖校区^111111', '1', '1438334805', '1', '1'); +INSERT INTO `receiver` VALUES ('1111111', '18896554880', '1111111', '苏州^苏州大学独墅湖校区^1111111', '1', '1438334816', '1', '1'); +INSERT INTO `receiver` VALUES ('111111111', '18896554880', '1111111', '苏州^苏州大学独墅湖校区^111', '1', '1438335048', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', '111', '1', '1', '1438335720788', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '33333333333', '222', '3333', '1', '1438335733155', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '33333333333', '3333', '333', '1', '1438335745102', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '55555555555', '5', '5', '1', '1438335755167', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '66666666666', '6', '6', '1', '1438335765930', '1', '6'); +INSERT INTO `receiver` VALUES ('18035735959', '77777777777', '7777', '777', '1', '1438335779333', '1', '2'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '苏州^苏州大学本部^十里秦淮人家', '1', '1438343301', '1', '5'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '苏州^苏州大学独墅湖校区^十里秦淮人家', '1', '1438343352', '1', '1'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '上海^复旦大学吴中校区^十里秦淮人家', '1', '1438343615', '1', '3'); +INSERT INTO `receiver` VALUES ('45555', '18860902563', '张', '上海^复旦大学吴中校区^十里秦淮人家', '0', '1438343677', '1', '3'); +INSERT INTO `receiver` VALUES ('110', '18860902563', '李丛', '杭州^浙江大学本部^山东蓝翔校长孙子', '1', '1438352975', '1', '4'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', '施博文', '东5', '1', '1438397557986', '1', '5'); +INSERT INTO `receiver` VALUES ('1111111', '18896554880', '11111', '苏州^苏州大学独墅湖校区^江苏省苏州市沧浪区东环路50号', '1', '1438401307', '1', '1'); +INSERT INTO `receiver` VALUES ('110', '18860902563', '李丛', '杭州^浙江大学本部^山东蓝翔校长孙子他爸', '1', '1438401382', '1', '4'); +INSERT INTO `receiver` VALUES ('1111111111', '18896554880', '四十四', '苏州^苏州大学独墅湖校区^11111111', '1', '1438406816', '1', '1'); +INSERT INTO `receiver` VALUES ('1111111111', '18896554880', '四十四', '苏州^苏州大学独墅湖校区^11111111', '0', '1438406828', '1', '1'); +INSERT INTO `receiver` VALUES ('18896453692', '18896554880', 'simon', '上海^复旦大学吴中校区^上海市虹桥', '1', '1438410136', '1', '3'); +INSERT INTO `receiver` VALUES ('18896453692', '18896554880', 'simon', '苏州^苏州大学本部^上海市虹桥', '1', '1438410150', '1', '5'); +INSERT INTO `receiver` VALUES ('18896453692', '18896554880', 'simon', '苏州^苏州大学本部^上海市虹桥火车小镇', '1', '1438410163', '1', '5'); +INSERT INTO `receiver` VALUES ('123678419142', '18896554880', 'simon', '苏州^苏州大学本部^上海市虹桥火车小镇', '1', '1438410175', '1', '5'); +INSERT INTO `receiver` VALUES ('17739362241234', '18896554880', '四十四', '苏州^苏州大学独墅湖校区^江苏省苏州市沧浪区东环路50号', '1', '1438410211', '1', '1'); +INSERT INTO `receiver` VALUES ('123678419142', '18896554880', 'simons', '苏州^苏州大学本部^上海市虹桥火车小镇', '0', '1438412232', '1', '5'); +INSERT INTO `receiver` VALUES ('17739362241234', '18896554880', '极客', '苏州^苏州大学独墅湖校区^江苏省苏州市沧浪区东环路50号', '1', '1438412254', '0', '1'); +INSERT INTO `receiver` VALUES ('1886082346324', '18896554880', '大哥', '上海^复旦大学吴中校区^上海杨浦区138弄', '1', '1438417082', '1', '3'); +INSERT INTO `receiver` VALUES ('18860823463', '18896554880', '快叫大哥', '上海^复旦大学吴中校区^上海杨浦区138弄111室', '1', '1438417120', '1', '3'); +INSERT INTO `receiver` VALUES ('18860823463', '18896554880', '快叫大哥', '上海^复旦大学吴中校区^上海杨浦区138弄111室', '1', '1438417141', '0', '3'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛严', '独墅湖校区a01 225', '1', '1438676872887', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '12345678987', '333', '66666', '1', '1438676916704', '1', '2'); +INSERT INTO `receiver` VALUES ('18035735959', '23356778345', '56567', '3456345', '1', '1438676932052', '1', '6'); +INSERT INTO `receiver` VALUES ('18035735959', '13456789754', '7777', '234', '1', '1438676969749', '1', '3'); +INSERT INTO `receiver` VALUES ('18035735959', '33333333333', '33333', '3', '1', '1438678120467', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '44444444444', '444', '4', '1', '1438678151631', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '444444444444', '45555', '444', '1', '1438678179221', '1', '2'); +INSERT INTO `receiver` VALUES ('18035735959', '44444444444', '444', '4', '1', '1438678191011', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '555555555555', '5555', '555', '1', '1438678201755', '1', '2'); +INSERT INTO `receiver` VALUES ('18035735959', '77777777777', '777', '7', '1', '1438678292809', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '88888888888', '8', '8', '1', '1438678301951', '1', '3'); +INSERT INTO `receiver` VALUES ('18035735959', '22222222222', '222', '2', '1', '1438679167830', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '33333333333', '3', '3', '1', '1438679176472', '1', '5'); +INSERT INTO `receiver` VALUES ('18035735959', '44444444444', '4', '4', '1', '1438679189957', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '55555555555', '5', '5', '1', '1438679215728', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '66666666666', '6', '6', '1', '1438679225756', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '77777777777', '7', '7', '1', '1438679234983', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '88888888888', '8', '8', '1', '1438679244947', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '99999999999', '9', '9', '1', '1438679254909', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '11111111111', '1', '1', '1', '1438679265820', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '22222222222', '2', '2', '1', '1438679277185', '1', '1'); +INSERT INTO `receiver` VALUES ('2', '18860902563', '1', '3^4^5', '1', '1438701351', '1', '1'); +INSERT INTO `receiver` VALUES ('22', '18860902563', '11', '33^44^55', '1', '1438701420', '1', '1'); +INSERT INTO `receiver` VALUES ('22222222222222', '18860902563', '叶帆', '苏州^苏州大学独墅湖校区^1111111111', '1', '1438854800', '0', '1'); +INSERT INTO `receiver` VALUES ('十四是十四', '18860902563', '四是四', '苏州^苏州大学独墅湖校区^十是十', '1', '1438855042', '1', '1'); +INSERT INTO `receiver` VALUES ('222', '18860902563', '呵呵', '苏州^苏州大学独墅湖校区^11', '1', '1438861898', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', 'niuyan2', 'dushuhu1234', '1', '1439011602738', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12312341234', 'shit', 'ssss', '1', '1439011934768', '1', '2'); +INSERT INTO `receiver` VALUES ('1584678', '15850033077', 'li', 'ghdvsh^gdhdv^hdjfbd', '1', '1439343074', '0', '1'); +INSERT INTO `receiver` VALUES ('1584678', '15850033077', 'li', 'ghdvsh^gdhdv^hdjfbd', '1', '1439343075', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'Test234', '123456', '1', '1439539557176', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test1234', '98786753456789', '1', '1439539597854', '1', '3'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'shi234578967', '123', '1', '1439539649805', '1', '4'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '123456789', '1234', '1', '1439541057365', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'testnew', '5haolou', '1', '1439541687142', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'shibowen', 'rew', '1', '1439542580437', '1', '4'); +INSERT INTO `receiver` VALUES ('18896554880', '12312343535', 'sdaf s', '2314', '1', '1439542613399', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'testnew2', '1234', '1', '1439543275677', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'testnew3', '1234', '1', '1439543589867', '1', '5'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678902', 'testnew5', '123', '1', '1439543777263', '1', '5'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test6', '12345', '1', '1439543804417', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12231241234', 'test3456', '213213', '1', '1439545260073', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'sdafasdf adsf', '324121341234141232341354256433657', '1', '1439894266614', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678901', 'test', '1234', '1', '1439894494108', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678900', 'test', '456', '1', '1439894625316', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909876543', 'newtest', '1234', '1', '1439950522943', '1', '6'); +INSERT INTO `receiver` VALUES ('134', '18860902563', 'jzz', '上海^复旦大学吴中校区^zz', '1', '1439960345000', '0', '3'); +INSERT INTO `receiver` VALUES ('aaa', '13913287690', 'yyy', '苏州^苏州大学独墅湖校区^安安硕', '1', '1439969449000', '0', '1'); +INSERT INTO `receiver` VALUES ('123', '13913287690', 'zzz', '苏州^苏州大学独墅湖校区^sdafaf', '1', '1439969459000', '0', '1'); +INSERT INTO `receiver` VALUES ('12344', '13913287690', 'ss', '苏州^苏州大学独墅湖校区^dafa', '1', '1439971295000', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'cccccc', 'qwer', '1', '1439973213527', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '1144332244', '施施', '体育馆', '1', '1439974693087', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', 'ssssss', '三里屯', '1', '1440063649835', '1', '2'); +INSERT INTO `receiver` VALUES ('1221221', '1221', 'kang', '11', '1', '1440063761466', '0', '3'); +INSERT INTO `receiver` VALUES ('18896552573', '18896554880', 'ssssss', '三里屯', '0', '1440064335847', '0', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'test', 'qqq', '1', '1440066002292', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678909', 'test', '1234', '1', '1440213857968', '1', '2'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678901', 'test', '123', '1', '1440214104472', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678909', 'test', '1234', '1', '1440215570473', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'tttt', '1234', '1', '1440221838529', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '32412123123', '123', '123123', '1', '1440221892997', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678901', '123', '123', '1', '1440221922165', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678901', '123', '1234 567', '1', '1440222514531', '1', '32'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678900', '45678', '123123', '1', '1440222531626', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '123456789', '123', '1', '1440222567468', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test', '345', '1', '1440222898759', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test', '1234', '1', '1440223039167', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678912', 'test', '12345', '1', '1440223155256', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '1', '123', '1', '1440224225832', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '2', '1324567', '1', '1440224236619', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '3', '1234567890', '1', '1440224247593', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '3', '12345', '1', '1440224286657', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '3', '123', '1', '1440224416881', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '3', '12345', '1', '1440224589080', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '3', '31312', '1', '1440224935817', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test', '1234', '1', '1440225524835', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678902', '1', '1234', '1', '1440225637616', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '2', '1234', '1', '1440225699504', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', '3', '123213123', '1', '1440225713819', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678901', 'rare', 'fffff', '1', '1440401961193', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678901', 'test', '123456', '1', '1440402247358', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test', '123', '1', '1440404041368', '1', '6'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678901', 'test', '123123', '1', '1440404125503', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test', '123', '1', '1440404752960', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', 'the ', 'uuuu', '1', '1440404867610', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'ppppppppppp', 'uuuu ', 'ghhhh ', '1', '1440404923994', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'rrrrrrrrrrr', 'tyttttyy', 'uuuu', '1', '1440405023679', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'qqqqqqqqqqq', 'ttttt', 'vigorous', '1', '1440405176247', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'qqqqqqqqqqq', 'the ', 'the ', '1', '1440405366010', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'qqqqqqqqqqq', 'the ', 'the ', '1', '1440405451033', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'qqqqqqqqqqq', 'the ', 'qqq', '1', '1440405659785', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'qqqqqqqqqqq', 'I'm', 'the', '1', '1440405844836', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', 'qqqqqqqqqqq', 'the ', 'the ', '1', '1440405908963', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', 'back', '爸爸', '1', '1440479379660', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'ttt', '1234', '1', '1440488177479', '1', '2'); +INSERT INTO `receiver` VALUES ('13914083434', '13335858789 ', ' ', ' ', '1', '1440501261497', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896654880', '我', '三江学院铁心桥主校区号啊', '1', '1440561147797', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896654880', '我的', '三江学院铁心桥主校区号', '1', '1440561160619', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896654880', '我擦', '三江学院铁心桥主校区号', '1', '1440561172336', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678909', 'test', '12345678', '1', '1440565672430', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '呵呵nimei', '理工楼205', '1', '1440573815731', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554856', '韩月辉', '沧浪区东环路50号', '1', '1440573910716', '1', '3'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '韩跃虎', '理工楼205', '1', '1440585682482', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '韩语', '雨花台', '1', '1440585953142', '1', '7'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '韩月辉', '三江学院铁心桥主校区号啊', '1', '1440585977651', '1', '3'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '郑志豪', '哈哈哈', '1', '1440586009163', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '郑志豪', '红灯区78号', '1', '1440661184243', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678909', '111', '123', '1', '1440669827863', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '12345678909', '12345', '123456', '1', '1440669865513', '1', '6'); +INSERT INTO `receiver` VALUES ('18260108169', '11234567890', '222', '1234', '1', '1440669897182', '1', '31'); +INSERT INTO `receiver` VALUES ('18860902563', '18896554856', '韩月辉', '是变态', '0', '1440740539936', '1', '1'); +INSERT INTO `receiver` VALUES ('18860902563', '12345678901', '12', 'sfsadfsaf', '1', '1440740576667', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '12345678909', 'test', '123456', '1', '1440816994650', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18762885079', 'ft', 'aa', '1', '1441003001522', '1', '1'); +INSERT INTO `receiver` VALUES ('18860902563', '18860904119', '灵车漂移', '你妈挂树', '1', '1441004201', '1', '1'); +INSERT INTO `receiver` VALUES ('18860902563', '18860904119', '灵车漂移', '你妈挂树', '1', '1441004238', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554883', '18896554883', '韩月辉', '东吴620', '0', '1441012852268', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554883', '18896554880', '韩月辉', '东吴620', '0', '1441014994756', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554889', '18896554880', '韩月辉', '东吴620', '1', '1441086301', '0', '2'); +INSERT INTO `receiver` VALUES ('18896554889', '18896554880', '郑志豪', '东吴620', '0', '1441086427', '0', '1'); +INSERT INTO `receiver` VALUES ('18860902563', '18896554856', '韩月辉', '呵呵', '1', '1441088465', '0', '1'); +INSERT INTO `receiver` VALUES ('18051299999', '18860902563', '就', '那那那', '1', '1441088653128', '1', '1'); +INSERT INTO `receiver` VALUES ('18051299999', '18860902563', '就', '那那那', '0', '1441088653380', '0', '1'); +INSERT INTO `receiver` VALUES ('18051299999', '18860902563', '就', '那那那', '1', '1441088654476', '1', '1'); +INSERT INTO `receiver` VALUES ('18012344321', '18860902563', '123', '12333', '0', '1441099142804', '0', '1'); +INSERT INTO `receiver` VALUES ('18051294119', '12312341234', '222', '343期', '0', '1441100974771', '1', '1'); +INSERT INTO `receiver` VALUES ('18051294119', '18860902563', '韩月辉', '收拾收拾', '0', '1441101402470', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554889', '18896584856', '叶帆', '河东河西', '1', '1441159340', '0', '1'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '叶帆', '620', '1', '1441434950038', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '韩han', '(null)凌云路103', '1', '1441889996', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '啊', '1', '1', '1441947148966', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', 'for优', '一期东门', '1', '1441960279820', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554881', 'for优123<script>alert(\'hehe\')</script>', '一期东门<script>alert(\'hehe\')</script>', '1', '1441960367519', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '韩', '东五', '1', '1442279650', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554924', '12345678901', 'lcc', 'wwww', '0', '1442296113', '0', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '噢', '苏州大学独墅湖校区牛严', '1', '1442296451', '1', '1'); +INSERT INTO `receiver` VALUES ('18013116680', '12345678900', '123', 'hgfyhhgg', '1', '1442297077', '1', '1'); +INSERT INTO `receiver` VALUES ('18013116680', '25184894612', 'hshshh', '54454884', '1', '1442297694', '1', '1'); +INSERT INTO `receiver` VALUES ('18013116680', '12345678900', 'hdhdbsvsv', '5188484', '1', '1442297715', '0', '1'); +INSERT INTO `receiver` VALUES ('18013116680', '00987654321', '316848484', 'gdgvdgsh', '1', '1442297746', '0', '6'); +INSERT INTO `receiver` VALUES ('18013646790', '18013646790', 'ming', 'suzhoudaxuedushuhuxiaoquchuangyichanyeyuan', '1', '1442297749', '0', '44'); +INSERT INTO `receiver` VALUES ('18013116680', '25184894612', 'hshshh', '54454884sjshbsvdhhshsbsbvdvdhbsbxhduhevwgdhhebwfsgehheveshwvsgshheve', '0', '1442297784', '0', '1'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '兰兰', '苏州大学独墅湖校区620', '1', '1442298144', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛严', '浙江大学北区你', '1', '1442302329254', '0', '44'); +INSERT INTO `receiver` VALUES ('18013646790', '18013646790', '庙宇请', '大干一场果皇果后舅舅家', '1', '1442302581211', '0', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', '123456', 'test', '1', '1442302967560', '1', '45'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '叶', '777', '1', '1442303355038', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554924', '12345678901', 'ljk', 'gg', '1', '1442303727451', '0', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', '施博文', '123213124234234', '0', '1442303847049', '0', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '18260108169', '施博文', '123456', '1', '1442305438516', '1', '1'); +INSERT INTO `receiver` VALUES ('18260108169', '18013646790', '鸟语请123', '赶紧评论里来咯', '1', '1442305646090', '0', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '12345678901', 'wode', '苏州大学独墅湖校区aa', '1', '1442309741880', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554856', '11', '(null)dafafdassd', '1', '1442323060', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', '牛严', '苏州大学独墅湖校区牛严', '1', '1442328833920', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18260108169', 'test', '苏州大学本部1234', '1', '1442370014802', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '18642657268', '叶帆', '星湖街328号', '1', '1442384680528', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '叶帆', '二期五栋', '1', '1442384951119', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '15636987453', '苏宇', '一期六栋', '1', '1442393800251', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '12345', '1234', '1', '1442480770379', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '12345678901', 'wode', '苏州大学独墅湖校区aa', '1', '1443083813', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛严', '牛严', '1', '1444228883', '1', '2'); +INSERT INTO `receiver` VALUES ('13739165168', '13739165168', '蔡凌锋', '104', '0', '1444292165833', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035734949', 'niuyan', '1234', '0', '1444295231450', '0', '1'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '叶帆', '苏州大学独墅湖校区620', '1', '1444296270665', '1', '1'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '叶帆', '620', '1', '1444296667084', '1', '1'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '叶帆', '苏州大学本部620', '1', '1444296742397', '0', '2'); +INSERT INTO `receiver` VALUES ('18762885079', '18260108169', '夜班', '', '1', '1444296765660', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18035735959', 'sl', 'aaa', '1', '1444296791030', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', 'a', '苏州大学本部1', '1', '1444296923502', '1', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', 'a', '1', '1', '1444297075660', '1', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', 'a', '1', '1', '1444297166766', '1', '1'); +INSERT INTO `receiver` VALUES ('18762885079', '18762885079', '。', '?', '0', '1444297304362', '0', '2'); +INSERT INTO `receiver` VALUES ('18896554880', '11111111111', '1', '1', '1', '1444297397044', '0', '1'); +INSERT INTO `receiver` VALUES ('15506218219', '15506218219', '张涛', '111', '0', '1444304326643', '0', '1'); +INSERT INTO `receiver` VALUES ('18896554880', '18896554880', '韩月辉', '东吴620', '0', '1444364904671', '0', '1'); +INSERT INTO `receiver` VALUES ('18896558935', '18896558935', '朱丽叶', '一期107-406', '0', '1444373814939', '0', '1'); +INSERT INTO `receiver` VALUES ('18896558935', '18896558935', '朱丽叶', '', '1', '1444374388644', '1', '1'); +INSERT INTO `receiver` VALUES ('18896559011', '18896559011', '刘松宾', '103-623', '0', '1444374404097', '0', '1'); +INSERT INTO `receiver` VALUES ('13739165168', '11088888888', 'fhahs', '苏州大学独墅湖校区dhaga', '1', '1444374581409', '1', '1'); +INSERT INTO `receiver` VALUES ('18896558935', '18896558935', '朱丽叶', '', '1', '1444374673505', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛宴', '吖吖', '1', '1444378357146', '0', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '', '牛', '牛', '1', '1444478349574', '1', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '', '', '', '1', '1444478593979', '1', '1'); +INSERT INTO `receiver` VALUES ('18862342354', '18862342354', '杜佳雯', 'A03', '0', '1444973391648', '0', '1'); +INSERT INTO `receiver` VALUES ('18136075773', '15655125886', '同', '统一战线', '0', '1445615822649', '0', '1'); +INSERT INTO `receiver` VALUES ('18035735959', '18035735959', '牛严', '创意产业园101', '1', '18035735959', '0', '0'); + +-- ---------------------------- +-- Table structure for users +-- ---------------------------- +DROP TABLE IF EXISTS `users`; +CREATE TABLE `users` ( + `phone` varchar(11) NOT NULL, + `password` varchar(50) NOT NULL, + `type` smallint(6) DEFAULT NULL, + `create_time` date NOT NULL COMMENT '注册时间', + `nickname` varchar(255) DEFAULT NULL, + `img_url` varchar(255) DEFAULT NULL, + `last_login_date` date DEFAULT NULL, + `token` varchar(256) DEFAULT NULL, + `sex` smallint(1) DEFAULT NULL, + `academy` varchar(50) DEFAULT NULL, + `qq` varchar(50) DEFAULT NULL, + `weixin` varchar(50) DEFAULT NULL, + `mail` varchar(255) DEFAULT NULL, + `campus_id` int(11) DEFAULT NULL, + `last_campus` int(11) NOT NULL DEFAULT '1', + PRIMARY KEY (`phone`), + UNIQUE KEY `mail` (`mail`), + UNIQUE KEY `mail_2` (`mail`), + KEY `campus_index` (`campus_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of users +-- ---------------------------- +INSERT INTO `users` VALUES ('admin', 'e10adc3949ba59abbe56e057f20f883e', '0', '2017-07-21', 'test', null, null, null, null, null, null, null, null, '1', '1'); + +-- ---------------------------- +-- Table structure for users_type +-- ---------------------------- +DROP TABLE IF EXISTS `users_type`; +CREATE TABLE `users_type` ( + `user_type` smallint(6) NOT NULL, + `category` varchar(50) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of users_type +-- ---------------------------- +INSERT INTO `users_type` VALUES ('0', '超级管理员'); +INSERT INTO `users_type` VALUES ('1', '管理员'); +INSERT INTO `users_type` VALUES ('2', '普通用户'); + +-- ---------------------------- +-- View structure for detail_order +-- ---------------------------- +DROP VIEW IF EXISTS `detail_order`; +CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `detail_order` AS select `orders`.`together_id` AS `together_id`,`orders`.`campus_id` AS `campus_id`,`food`.`name` AS `food_name`,`food`.`price` AS `price`,`food`.`discount_price` AS `discount_price`,`food`.`is_discount` AS `is_discount`,`orders`.`order_count` AS `order_count`,`orders`.`status` AS `status` from (`orders` join `food`) where ((`orders`.`food_id` = `food`.`food_id`) and (`orders`.`status` <> 0) and (`food`.`campus_id` = `orders`.`campus_id`) and (`orders`.`tag` = 1)) ; + +-- ---------------------------- +-- View structure for order_food_receiver +-- ---------------------------- +DROP VIEW IF EXISTS `order_food_receiver`; +CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `order_food_receiver` AS select `orders`.`phone` AS `phone`,`orders`.`campus_id` AS `campus_id`,`orders`.`together_id` AS `together_id`,`orders`.`order_count` AS `order_count`,`orders`.`food_id` AS `food_id`,`orders`.`rank` AS `rank`,`orders`.`together_date` AS `together_date`,`orders`.`admin_phone` AS `admin_phone`,`orders`.`reserve_time` AS `reserve_time`,`orders`.`tag` AS `tag`,`food`.`name` AS `foodName`,`food`.`price` AS `price`,`food`.`discount_price` AS `discount_price`,`food`.`img_url` AS `img_url`,`food`.`status` AS `status`,`food`.`is_discount` AS `is_discount`,`food`.`message` AS `message`,`receiver`.`phone_id` AS `customer_phone`,`receiver`.`name` AS `receiverName`,`receiver`.`address` AS `address`,`receiver`.`is_out` AS `is_out` from ((`orders` join `food`) join `receiver`) where ((`orders`.`food_id` = `food`.`food_id`) and (`orders`.`phone` = `receiver`.`phone`)) ; + +-- ---------------------------- +-- View structure for together_order +-- ---------------------------- +DROP VIEW IF EXISTS `together_order`; +CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `together_order` AS select `orders`.`phone` AS `phone`,`orders`.`together_id` AS `together_id`,`orders`.`campus_id` AS `campus_id`,`receiver`.`name` AS `nickname`,`receiver`.`phone` AS `custome_phone`,`orders`.`together_date` AS `together_date`,`users`.`nickname` AS `admin_name`,`orders`.`reserve_time` AS `reserve_time`,`orders`.`message` AS `message`,`orders`.`status` AS `STATUS`,`orders`.`tag` AS `tag`,`orders`.`admin_phone` AS `admin_phone`,`orders`.`total_price` AS `total_price`,`receiver`.`address` AS `address`,`orders`.`charge_id` AS `charge_id`,`orders`.`pay_way` AS `pay_way` from ((`orders` left join `receiver` on(((`orders`.`phone` = `receiver`.`phone_id`) and (`orders`.`rank` = `receiver`.`rank`)))) left join `users` on((`users`.`phone` = `orders`.`admin_phone`))) group by `orders`.`together_id` having (`orders`.`status` <> 0) ; diff --git a/pom.xml b/pom.xml index 3e8e6be..69f6c3d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,25 +4,73 @@ com.changyu foryou war - 0.0.1-SNAPSHOT + 1.0.1 foryou http://maven.apache.org + + + 1.3.2 + 3.4.0 + 5.1.36 + + + + + + false + + central + bintray + http://jcenter.bintray.com + + + + + + org.springframework.boot + spring-boot-starter-parent + 1.5.2.RELEASE + + + + + + org.springframework.boot + spring-boot-starter-web + + + + + + + + + + org.springframework.boot + spring-boot-starter-actuator + + - org.springframework - spring-test - 3.2.0.RELEASE + org.springframework.boot + spring-boot-starter-test + test + - org.springframework - spring-webmvc - 3.2.0.RELEASE + junit + junit + 4.12 + test + - org.springframework - spring-core - 3.2.0.RELEASE + Pingplusplus + pingpp-java + 2.0.10 + jar + org.mybatis mybatis-spring @@ -33,44 +81,23 @@ mybatis 3.3.0 + com.alibaba druid - 1.0.9 + 1.0.23 mysql mysql-connector-java - 5.1.21 + ${mysql.version} - - junit - junit - 4.11 - test - - - org.aspectj - aspectjweaver - 1.7.1 - - - - com.fasterxml.jackson.core - jackson-databind - 2.5.0 - - - org.codehaus.jackson - jackson-mapper-asl - 1.9.11 - commons-fileupload commons-fileupload - 1.2.2 + 1.3.3 commons-io @@ -78,60 +105,45 @@ 2.3 - - javax.servlet - servlet-api - 3.0-alpha-1 - cn.jpush.api jpush-client 3.2.3 - - log4j - log4j - 1.2.16 - + + + + + - - com.google.code.gson - gson - 2.2.3 - + + + + + - - com.github.fernandospr - javapns-jdk16 - 2.2.1 - - - - org.bouncycastle - bcprov-jdk16 - 1.45 - - - commons-lang - commons-lang - 2.6 - - - - - org.slf4j - slf4j-log4j12 - 1.7.5 - com.alibaba fastjson - 1.1.26 + 1.2.61 - + foryou + + + org.springframework.boot + spring-boot-maven-plugin + + + maven-compiler-plugin + + 1.8 + 1.8 + + + diff --git a/src/main/java/com/changyu/foryou/Application.java b/src/main/java/com/changyu/foryou/Application.java new file mode 100644 index 0000000..39b8292 --- /dev/null +++ b/src/main/java/com/changyu/foryou/Application.java @@ -0,0 +1,38 @@ +package com.changyu.foryou; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.builder.SpringApplicationBuilder; +import org.springframework.boot.web.servlet.MultipartConfigFactory; +import org.springframework.boot.web.support.SpringBootServletInitializer; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.PropertySource; + +import javax.servlet.MultipartConfigElement; + +@SpringBootApplication +@PropertySource("application.properties") +public class Application extends SpringBootServletInitializer { + + @Bean + public MultipartConfigElement multipartConfigElement() { + MultipartConfigFactory factory = new MultipartConfigFactory(); + // 设置文件大小限制 ,超出设置页面会抛出异常信息, + // 这样在文件上传的地方就需要进行异常信息的处理了; + factory.setMaxFileSize("100MB"); // KB,MB + /// 设置总上传数据总大小 + factory.setMaxRequestSize("100MB"); + // Sets the directory location where files will be stored. + // factory.setLocation("路径地址"); + return factory.createMultipartConfig(); + } + + @Override + protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { + return application.sources(Application.class); + } + + public static void main(String[] args) { + SpringApplication.run(Application.class, args); + } +} diff --git a/src/main/java/com/changyu/foryou/config/MybatisConfig.java b/src/main/java/com/changyu/foryou/config/MybatisConfig.java new file mode 100644 index 0000000..52a9e2d --- /dev/null +++ b/src/main/java/com/changyu/foryou/config/MybatisConfig.java @@ -0,0 +1,92 @@ +package com.changyu.foryou.config; + +import com.alibaba.druid.pool.DruidDataSource; +import org.mybatis.spring.SqlSessionFactoryBean; +import org.mybatis.spring.mapper.MapperScannerConfigurer; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.core.env.Environment; +import org.springframework.core.io.DefaultResourceLoader; +import org.springframework.core.io.ResourceLoader; +import org.springframework.core.io.support.PathMatchingResourcePatternResolver; +import org.springframework.core.io.support.ResourcePatternResolver; +import org.springframework.jdbc.datasource.DataSourceTransactionManager; +import org.springframework.transaction.annotation.EnableTransactionManagement; + +import com.mysql.jdbc.Driver; + +/** + * Created by zhengzh on 2016/8/17. + */ +@Configuration +@EnableTransactionManagement +public class MybatisConfig { + @Bean(name = "resourceLoader") + public ResourceLoader resourceLoader() { + return new DefaultResourceLoader(); + } + + @Bean(name = "resourcePatternResolver") + public ResourcePatternResolver resourcePatternResolver() { + return new PathMatchingResourcePatternResolver(); + } + + @Bean(name = "dataSource", initMethod = "init", destroyMethod = "close") + public DruidDataSource dataSource(Environment environment) throws Exception { + DruidDataSource druidDataSource = new DruidDataSource(); + druidDataSource.setUsername(environment.getProperty("spring.datasource.username")); + druidDataSource.setPassword(environment.getProperty("spring.datasource.password")); + druidDataSource.setUrl(environment.getProperty("spring.datasource.url")); + druidDataSource.setValidationQuery(environment.getProperty("jdbc.validationQuery")); + druidSettings(druidDataSource); + return druidDataSource; + } + + @Bean(name = "transactionManager") + public DataSourceTransactionManager dataSourceTransactionManager(DruidDataSource dataSource) { + DataSourceTransactionManager dataSourceTransactionManager = new DataSourceTransactionManager(); + dataSourceTransactionManager.setDataSource(dataSource); + return dataSourceTransactionManager; + } + + @Bean + public MapperScannerConfigurer mapperScannerConfigurer(Environment environment) { + MapperScannerConfigurer mapperScannerConfigurer = new MapperScannerConfigurer(); + mapperScannerConfigurer.setBasePackage(environment.getProperty("mybatis.mapper.base.package")); + mapperScannerConfigurer.setSqlSessionFactoryBeanName("sqlSessionFactory"); + return mapperScannerConfigurer; + } + + @Bean(name = "sqlSessionFactory") + public SqlSessionFactoryBean sqlSessionFactoryBean(Environment environment, DruidDataSource dataSource, ResourceLoader resourceLoader, ResourcePatternResolver resourcePatternResolver) throws Exception { + SqlSessionFactoryBean sqlSessionFactoryBean = new SqlSessionFactoryBean(); + sqlSessionFactoryBean.setDataSource(dataSource); + sqlSessionFactoryBean.setMapperLocations(resourcePatternResolver.getResources(environment.getProperty("mybatis.mapper-locations"))); + if (environment.getProperty("mybatis.config-location") != null) { + sqlSessionFactoryBean.setConfigLocation(resourceLoader.getResource(environment.getProperty("mybatis.config-location"))); + } + + sqlSessionFactoryBean.setTypeAliasesPackage(environment.getProperty("mybatis.type-aliases-package")); + return sqlSessionFactoryBean; + } + + private void druidSettings(DruidDataSource druidDataSource) throws Exception { + druidDataSource.setMaxActive(1000); + druidDataSource.setInitialSize(0); + druidDataSource.setMinIdle(0); + druidDataSource.setMaxWait(60000); + druidDataSource.setPoolPreparedStatements(true); + druidDataSource.setMaxPoolPreparedStatementPerConnectionSize(100); + druidDataSource.setTestOnBorrow(false); + druidDataSource.setTestOnReturn(false); + druidDataSource.setTestWhileIdle(true); + druidDataSource.setTimeBetweenEvictionRunsMillis(6000); + druidDataSource.setMinEvictableIdleTimeMillis(2520000); + druidDataSource.setRemoveAbandoned(true); + druidDataSource.setRemoveAbandonedTimeout(18000); + druidDataSource.setLogAbandoned(true); + druidDataSource.setFilters("mergeStat"); + druidDataSource.setDriver(new Driver()); + } + +} diff --git a/src/main/java/com/changyu/foryou/config/SpringConfiguration.java b/src/main/java/com/changyu/foryou/config/SpringConfiguration.java new file mode 100644 index 0000000..7c7794b --- /dev/null +++ b/src/main/java/com/changyu/foryou/config/SpringConfiguration.java @@ -0,0 +1,23 @@ +package com.changyu.foryou.config; + +import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Import; +import org.springframework.context.annotation.PropertySource; +import org.springframework.scheduling.annotation.EnableAsync; +import org.springframework.scheduling.annotation.EnableScheduling; + +/** + * Created by twist on 2017-06-08. + */ +@Configuration +@ComponentScan("com.changyu.foryou") +@PropertySource("application.properties") +@EnableAsync +@EnableScheduling +@Import( + MybatisConfig.class +) +public class SpringConfiguration { + +} diff --git a/src/main/java/com/changyu/foryou/config/WebConfigure.java b/src/main/java/com/changyu/foryou/config/WebConfigure.java new file mode 100644 index 0000000..491c9ca --- /dev/null +++ b/src/main/java/com/changyu/foryou/config/WebConfigure.java @@ -0,0 +1,19 @@ +package com.changyu.foryou.config; + +import com.changyu.foryou.interceptor.LoginInterceptor; +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.config.annotation.InterceptorRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; + +/** + * Created by zhengzhihao on 2017/6/29. + */ +@Configuration +public class WebConfigure extends WebMvcConfigurerAdapter { + + @Override + public void addInterceptors(InterceptorRegistry registry) { + registry.addInterceptor(new LoginInterceptor()).addPathPatterns("/**"); + super.addInterceptors(registry); + } +} diff --git a/src/main/java/com/changyu/foryou/controller/CampusController.java b/src/main/java/com/changyu/foryou/controller/CampusController.java new file mode 100644 index 0000000..0e06c29 --- /dev/null +++ b/src/main/java/com/changyu/foryou/controller/CampusController.java @@ -0,0 +1,425 @@ +package com.changyu.foryou.controller; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.changyu.foryou.model.Campus; +import com.changyu.foryou.model.CampusAdmin; +import com.changyu.foryou.model.City; +import com.changyu.foryou.model.CityWithCampus; +import com.changyu.foryou.service.CampusService; +import com.changyu.foryou.tools.Constants; +import com.changyu.foryou.tools.Md5; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Controller +@RequestMapping("/campus") +public class CampusController { + private CampusService campusService; + + @Autowired + public void setCampusService(CampusService campusService) { + this.campusService = campusService; + } + + /** + * 获取校区 + * + * @return + */ + @RequestMapping("getAllCampus") + public @ResponseBody + JSONArray getAllCampus() { + Map paramMap = new HashMap(); + List campus = campusService.getAllCampus(paramMap); + JSONArray array = JSON.parseArray(JSON.toJSONStringWithDateFormat( + campus, "HH:mm:ss"));//yyyy-MM-dd HH:mm:ss + return array; + } + + /** + * 获取相应的校区和城市 + * + * @return + */ + @RequestMapping("/getCampusAndCity") + public @ResponseBody + Map getCampusByCity() { + Map resultMap = new HashMap(); + + try { + Map paramMap = new HashMap(); + + List campus = campusService.getCampusWithCity(paramMap); + + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "获取校区成功"); + resultMap.put("campus", campus); + + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "获取校区失败!"); + } + return resultMap; + } + + /** + * @param campusName 根据校区名获取校区Id + */ + + @RequestMapping("/getIdByName") + public @ResponseBody + Map getIdByName(@RequestParam String campusName) { + Map map = new HashMap(); + try { + Map paramMap = new HashMap(); + paramMap.put("campusName", campusName.trim()); + Integer campusId = campusService.getIdByName(paramMap); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取校区Id成功!"); + map.put("campusId", campusId); + + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取校区Id失败!"); + } + + return map; + } + + //一键关店、开店 + + /** + * @param campusId + * @param closeReason 关店原因 + * @param status 关店传0,开店传1。 + * @return + */ + @RequestMapping("/closeCampus") + public @ResponseBody + Map closeCampus(@RequestParam Integer campusId, String closeReason, @RequestParam Short status) { + Map requestMap = new HashMap(); + Map responseMap = new HashMap(); + try { + requestMap.put("campusId", campusId); + requestMap.put("closeReason", closeReason); + requestMap.put("status", status); + Integer flag = campusService.closeCampus(requestMap); + + if (status == 1) { + responseMap.put("isOpened", flag); + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "开店成功!"); + } else if (status == 0) { + responseMap.put("isClosed", flag); + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "关店成功!"); + } + } catch (Exception e) { + e.getStackTrace(); + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "操作失败!"); + } + + return responseMap; + } + + + /** + * @param campusId 校区id + */ + @RequestMapping("/getCampusById") + public @ResponseBody + Map getCampusById(@RequestParam Integer campusId) { + Map map = new HashMap(); + try { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + Campus campus = campusService.getCampusById(paramMap); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取校区成功!"); + map.put("campus", JSON.toJSON(campus)); + + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取校区失败!"); + } + + return map; + } + + @RequestMapping("getCampusIdByAdmin") + public @ResponseBody + Map getCampusIdByAdmin(@RequestParam String campusAdminName) { + Map responseMap = new HashMap(); + Map requestMap = new HashMap(); + + requestMap.put("campusAdmin", campusAdminName); + + CampusAdmin campusAdminInfo = campusService.getCampusIdByAdmin(requestMap); + + responseMap.put("CampusAdmin", campusAdminInfo); + + return responseMap; + } + + /** + * 返回校区管理员 + * + * @return + */ + @RequestMapping("getAllCampusAdmin") + public @ResponseBody + JSONArray getAllCampusAdmin() { + Map paramMap = new HashMap(); + paramMap.put("type", 0); + + List campusAdmins = campusService.getAllCampusAdmin(paramMap); + JSONArray array = JSON.parseArray(JSON.toJSONStringWithDateFormat(campusAdmins, "yyyy-MM-dd")); + + return array; + } + + /** + * 修改校区管理员 + * + * @param campusId + * @param campusAdminName + * @return + */ + @RequestMapping("/updateCampusAdmin") + public @ResponseBody + Map updateCampusAdmin(@RequestParam String campusName, @RequestParam String campusAdminName) { + Map responseMap = new HashMap(); + Map paramMap = new HashMap(); + + Map tempMap = new HashMap(); + tempMap.put("campusName", campusName); + + paramMap.put("campusId", campusService.getIdByName(tempMap)); + paramMap.put("campusAdmin", campusAdminName); + + Integer result = campusService.updateCampusAdmin(paramMap); + + if (result == 0 || result == -1) { + //没更新成功 + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "修改校区的管理员失败!"); + } else { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "修改校区的管理员成功!"); + } + + return responseMap; + } + + + /** + * 删除校区的某校区管理员 + * + * @param campusId + * @param campusAdminName + * @return + */ + @RequestMapping("/deleteCampusAdmin") + public @ResponseBody + Map deleteCampusAdmin(@RequestParam Integer campusId, @RequestParam String campusAdminName) { + Map responseMap = new HashMap(); + Map paramMap = new HashMap(); + + paramMap.put("campusId", campusId); + paramMap.put("campusAdmin", campusAdminName); + + Integer result = campusService.deleteCampusAdmin(paramMap); + if (result > 0) { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "删除成功"); + } else { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "删除失败"); + } + return responseMap; + } + + /** + * 添加校区,默认添加8个分类 + * + * @param campusName + * @param status + * @param customService + * @param openTime + * @param closeTime + * @return + * @throws ParseException + */ + @RequestMapping("addCampus") + public @ResponseBody + Map addCampus(@RequestParam String campusName, @RequestParam String cityName, @RequestParam String openTime, @RequestParam String closeTime, @RequestParam Short status, @RequestParam String customService) throws ParseException { + Map responseMap; + Map paramMap = new HashMap(); + + SimpleDateFormat sdf = new SimpleDateFormat("HH:mm"); + Date openTimeDate = sdf.parse(openTime); + Date closeTimeDate = sdf.parse(closeTime); + + paramMap.put("campusId", null); + paramMap.put("campusName", campusName); + paramMap.put("cityId", campusService.getCityByName(cityName).getCityId()); + paramMap.put("openTime", openTimeDate); + paramMap.put("closeTime", closeTimeDate); + paramMap.put("status", status); //默认开启校区 + paramMap.put("customService", customService); + + responseMap = campusService.addCampus(paramMap); + return responseMap; + } + + /** + * 添加校区管理员 + * + * @param campusName + * @param campusName + * @param campusAdminName + * @return + */ + @RequestMapping("addCampusAdmin") + public @ResponseBody + Map addCampusAdmin(@RequestParam String campusName, @RequestParam String campusAdminName, @RequestParam String password) { + Map responseMap = new HashMap<>(); + Map paramMap = new HashMap<>(); + + Map tempMap = new HashMap<>(); + tempMap.put("campusName", campusName); + + paramMap.put("campusId", campusService.getIdByName(tempMap)); + paramMap.put("campusName", campusName); + paramMap.put("campusAdmin", campusAdminName); + paramMap.put("password", Md5.GetMD5Code(password)); + paramMap.put("type", 0); //只能添加校区管理员,总校区管理员只能从数据库添加,更符合逻辑 + + Integer result = campusService.addCampusAdmin(paramMap); + + if (result != 0 && result != -1) { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "添加校区管理员成功,请及时将账户分派给相应人员并提醒他/她修改密码"); + } else { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "添加校区管理员失败"); + } + return responseMap; + } + + /** + * 获取全部城市 + * + * @return + */ + @RequestMapping("getAllCity") + @ResponseBody + public List getAllCity() { + + return campusService.getAllCity(); + } + + @RequestMapping("addCity") + @ResponseBody + public Map addCity(@RequestParam String cityName) { + Map responseMap = new HashMap(); + Map paramMap = new HashMap(); + + paramMap.put("cityName", cityName); + + if (campusService.getCityByName(cityName) == null) { + Integer result = campusService.addCity(paramMap); + if (result != -1 && result != 0) { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "添加城市成功!"); + } else { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "添加城市失败!"); + } + } else { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "该城市已存在"); + } + + return responseMap; + } + + @RequestMapping("updateCampus") + @ResponseBody + public Map updateCampus(@RequestParam String campusId, @RequestParam String campusName, @RequestParam String cityName, @RequestParam String openTime, @RequestParam String closeTime, @RequestParam Short status, @RequestParam String customService) { + //管理端这些值都要传过来,传之前判空 + Map responseMap = new HashMap(); + Map paramMap = new HashMap(); + + paramMap.put("campusId", campusId); + paramMap.put("campusName", campusName); + paramMap.put("cityId", campusService.getCityByName(cityName).getCityId()); + paramMap.put("openTime", openTime); + paramMap.put("closeTime", closeTime); + paramMap.put("status", status); + paramMap.put("customService", customService); + + Integer result = campusService.updateCampus(paramMap); + + if (result != 0 && result != -1) { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "更新校区成功!"); + } else { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "更新校区失败!"); + } + + return responseMap; + } + + + @RequestMapping("/updateCampusAdminPassword") + public @ResponseBody + Map updateCampusAdminPassword(String campusAdmin, String oldPassword, String newPassword) { + Map resultMap = new HashMap<>(); + + try { + Map paramMap = new HashMap<>(); + paramMap.put("campusAdmin", campusAdmin); //campusAdmin唯一 + + String password = campusService.getOldPassword(paramMap); + + if (password.equals(Md5.GetMD5Code(oldPassword))) { + paramMap.put("newPassword", Md5.GetMD5Code(newPassword)); + + int flag = campusService.updateCampusAdminPassword(paramMap); + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "修改密码成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改密码失败"); + } + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "原密码输入错误请重新输入"); + } + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改密码失败"); + } + + return resultMap; + } +} diff --git a/src/main/java/com/changyu/foryou/controller/FoodController.java b/src/main/java/com/changyu/foryou/controller/FoodController.java index e9d1353..a2e0d32 100644 --- a/src/main/java/com/changyu/foryou/controller/FoodController.java +++ b/src/main/java/com/changyu/foryou/controller/FoodController.java @@ -1,1003 +1,1481 @@ -package com.changyu.foryou.controller; - -import java.io.File; -import java.io.IOException; -import java.text.DecimalFormat; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Random; - -import javax.servlet.http.HttpServletRequest; - -import org.apache.commons.io.FileUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.ResponseBody; -import org.springframework.web.multipart.MultipartFile; - -import com.alibaba.fastjson.JSON; -import com.alibaba.fastjson.JSONArray; -import com.changyu.foryou.model.Food; -import com.changyu.foryou.model.FoodCategory; -import com.changyu.foryou.model.FoodComment; -import com.changyu.foryou.model.FoodSpecial; -import com.changyu.foryou.model.Order; -import com.changyu.foryou.model.ShortFood; -import com.changyu.foryou.service.FoodService; -import com.changyu.foryou.service.OrderService; -import com.changyu.foryou.tools.Constants; - -/** - * 食品控制类 - * @author 殿下 - *2014/12/16 - */ -@Controller -@RequestMapping("/service") -public class FoodController { - private FoodService foodService; - private OrderService orderService; - - protected static final Logger LOG = LoggerFactory.getLogger(FoodController.class); - - public FoodService getFoodService() { - return foodService; - } - - public OrderService getOrderService() { - return orderService; - } - - @Autowired - public void setOrderService(OrderService orderService) { - this.orderService = orderService; - } - - @Autowired - public void setFoodService(FoodService foodService) { - this.foodService = foodService; - } - - - /** - * 获取食品的分类,给手机移动端(一级分类) - * @param campusId 校区id - * @return - */ - @RequestMapping("/getCategory") - public @ResponseBody Map getFoodFirstCategory(@RequestParam Integer campusId,Integer page,Integer limit){ - Map map=new HashMap(); - try { - Map paramMap=new HashMap(); - paramMap.put("campusId", campusId); - if(limit!=null&&page!=null){ - paramMap.put("limit",limit); - paramMap.put("offset",limit*(page-1)); - } - - List foodCategories=foodService.getFirstCategory(paramMap); - if(foodCategories!=null){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取一级分类成功"); - map.put("foodCategory", foodCategories); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "还没有一级分类哦"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取一级分类失败"); - } - return map; - } - - /** - * 返回食品模糊查询 - * @param categoryId 参数可选 - * @param foodTag 参数可选 - * @param sortId 排序根据 0 综合排序,1,销量排序,2价格排序 - * @param page 显示第几页的数据 - * @return - */ - @RequestMapping("/selectFoods") - public @ResponseBody MapselectFoods(@RequestParam Integer campusId,String categoryId,String foodTag,Integer page,Integer limit,Integer sortId){ - Map map=new HashMap(); - try{ - List foodFlags=new ArrayList(); - List foods=new ArrayList(); - Map paramMap=new HashMap<>(); - paramMap.put("campusId",campusId); - - if(categoryId!=null&&categoryId.trim().equals("")){ - categoryId=null; - } - - if(page!=null&&limit!=null){ - paramMap.put("offset",(page-1)*limit); - paramMap.put("limit",limit); - } - - if(sortId==null){ - sortId=0; - } - paramMap.put("categoryId",categoryId); - paramMap.put("sortId",sortId); - if(foodTag!=null&&foodTag.trim().equals("")||foodTag==null){ - foodTag=null; //foodTag为空 - paramMap.put("foodTag", foodTag); - foods= foodService.selectFoods(paramMap); - } - else{ - - foodTag=foodTag.replace(","," ").replace(".", " ").replace(">", " ").replace("'", " ").trim(); - String[] Flags=foodTag.split(" "); - for (int i = 0; i < Flags.length; i++) { - if(!Flags[i].equals("")){ - foodFlags.add(Flags[i]); - } - } - - if(foodFlags.size()==1){ - paramMap.put("foodTag", foodFlags.get(0)); - foods= foodService.selectFoods(paramMap); - }else{ - paramMap.put("oneFlag",foodFlags.get(0)); - paramMap.put("twoFlag",foodFlags.get(1)); - foods= foodService.selectFoodsByTwoTags(paramMap); - } - } - - if(foods.size()!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取食品成功"); - map.put("foods", foods); - System.out.println(JSON.toJSONString(foods)); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "没有其他零食喽,亲"); - map.put("foods", foods); - } - }catch(Exception e){ - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "查询零食失败"); - } - return map; - } - - /** - * 根据食品id和校区获取某个零食 - * @param foodId - * @param campusId - * @return - */ - @RequestMapping("/getFoodById") - public @ResponseBody MapselectFoods(@RequestParam Long foodId,@RequestParam Integer campusId){ - Map map=new HashMap(); - try{ - DecimalFormat df = new DecimalFormat("#.0"); - - Map paramMap=new HashMap<>(); - paramMap.put("foodId", foodId); - paramMap.put("campusId",campusId); - - Food food= foodService.selectFoodByPrimaryKey(paramMap); - List foodSpecials=foodService.getFoodSpecial(paramMap); - - if(food!=null){ - Float gradeFloat=foodService.getAvageGrade(paramMap); - if(gradeFloat==null){ - food.setGrade(0f); - }else{ - food.setGrade(Float.parseFloat(df.format(gradeFloat))); - } - - food.setCommentNumber(foodService.getCommentCountsById(paramMap)); - food.setFoodSpecial(foodSpecials); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取食品成功"); - map.put("food", food); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "没有该零食"); - } - }catch(Exception e){ - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取零食失败"); - } - return map; - } - - - - /** - * 删除食品 - * @param foodId,campusId - * @return - */ - @RequestMapping("deleteFood") - public @ResponseBody Map deleteFood(@RequestParam String foodId,@RequestParam Integer campusId){ - Map map=new HashMap(); - - try { - Map paramMap =new HashMap<>(); - paramMap.put("campusId",campusId); - - int status=0; - String[] foodIdString=foodId.split(","); - //一次删除多个零食 - for(String foodsString:foodIdString){ - paramMap.put("foodId",Long.valueOf(foodsString)); - status=foodService.deleteFoodByPrimaryKey(paramMap); - if(status==0||status==-1){ - break; - } - } - - if(status!=-1){ - if(status!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "删除零食成功!"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "有不存在零食,无法删除!"); - } - }else { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除零食失败!"); - } - - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除零食失败!"); - } - - return map; - } - - /** - * 获取某一食品的评论 - * @param foodId - * @param page ,显示第几页 - * @param limit,当页显示数目 - * @return - */ - @RequestMapping("/getCommentsByFoodId") - public @ResponseBody Map getCommentsByFoodId(@RequestParam Integer campusId,@RequestParam Long foodId,Integer limit,Integer page){ - Map map=new HashMap(); - - try { - Map paramMap=new HashMap<>(); - paramMap.put("foodId", foodId); - paramMap.put("campusId",campusId); - - if(page!=null&limit!=null){ - paramMap.put("offset",(page-1)*limit); - paramMap.put("limit",limit); - } - - ListfoodComments=foodService.getCommentInfoById(paramMap); - JSONArray jsonArray=JSON.parseArray(JSON.toJSONStringWithDateFormat(foodComments, "yyyy-MM-dd")); - if(foodComments.size()!=0){ - map.put("foodComments",jsonArray); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取评论成功!"); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "暂时还没有评论哦,亲!"); - } - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取评论失败!"); - } - return map; - } - - /** - * 获取所有的评论 - * @param campusId - * @param limit - * @param offset - * @param sort - * @param order - * @param search - * @return - */ - @RequestMapping("/getAllComments") - public @ResponseBody Map getAllComments(@RequestParam Integer campusId,Integer limit,Integer offset,String sort,String order,String search){ - Map map = new HashMap(); - - Map paramMap=new HashMap<>(); - if(sort!=null&&sort.equals("foodId")){ - sort="food_id"; - } - paramMap.put("limit", limit); - paramMap.put("offset",offset); - paramMap.put("sort", sort); - paramMap.put("order",order); - paramMap.put("search",search); - paramMap.put("campusId",campusId); - - JSONArray json=JSONArray.parseArray(JSON.toJSONStringWithDateFormat(foodService.getAllComments(paramMap), "yyyy-MM-dd")); - map.put("total", foodService.getFoodCommentCount(paramMap)); - map.put("rows", json); - return map; - } - /** - * 获取所有的食品 - * @return - */ - @RequestMapping("/getAllFoods") - public @ResponseBody List getAllFoods(@RequestParam Integer campusId){ - List foods =new ArrayList(); - - try { - Map paramMap=new HashMap(); - paramMap.put("campusId",campusId); - foods=foodService.getAllFoods(paramMap); - } catch (Exception e) { - e.getStackTrace(); - } - - return foods; - } - - /** - * 获取食品 的一级分类 - * @return - */ - /*@RequestMapping("/getAllFoodFristCategorys") - public @ResponseBody List getAllFoodFirstCategorys(){ - List foodCategories =new ArrayList(); - - try { - foodCategories=foodService.getAllFoodFirstCategories(); - } catch (Exception e) { - e.getStackTrace(); - } - - return foodCategories; - }*/ - - /** - * 获取食品的二级分类 - * @return - */ - /*@RequestMapping("/getAllFoodSecondCategorys") - public @ResponseBody List getAllFoodSecondCategorys(){ - List foodCategories =new ArrayList(); - - try { - foodCategories=foodService.getAllFoodSecondCategories(); - } catch (Exception e) { - e.getStackTrace(); - } - - return foodCategories; - }*/ - - /** - * 添加食品口味 - * @param campusId - * @param foodId - * @param specialName - * @param campusId - * @param specialCount - * @return - */ - @RequestMapping("/addFoodSpecial") - public @ResponseBody Map addFoodSpecial(@RequestParam Long foodId,@RequestParam Integer campusId,@RequestParam String specialName,@RequestParam Integer specialCount){ - Map map=new HashMap(); - FoodSpecial foodSpecial=null; - int flag=0; - - try { - Map paramMap=new HashMap(); - paramMap.put("campusId",campusId); - paramMap.put("foodId",foodId); - - if(foodService.getSpecialCount(paramMap)>=3){ - map.put(Constants.STATUS,Constants.FAILURE); - map.put(Constants.MESSAGE, "食品口味种类已饱和,不可再添加!"); - return map; - } - - foodSpecial=new FoodSpecial(campusId,foodId,specialName,specialCount); - Integer max=foodService.getSpecialMax(paramMap); - - if(max!=null){ - foodSpecial.setSpecialId(max+1); - }else{ - foodSpecial.setSpecialId(0); - } - flag=foodService.addFoodSpecial(foodSpecial); - - if(flag!=0&&flag!=-1){ - map.put(Constants.STATUS,Constants.SUCCESS); - map.put(Constants.MESSAGE, "添加食品口味成功!"); - }else{ - map.put(Constants.STATUS,Constants.FAILURE); - map.put(Constants.MESSAGE, "添加食品口味失败!"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS,Constants.FAILURE); - map.put(Constants.MESSAGE, "添加食品口味失败!"); - } - - return map; - } - - /** - * 生成订单评论 - * @param campusId - * @param phoneId - * @param grade - * @param comment - * @param foodId - * @return - */ - @RequestMapping(value="/creatOrderComment") - public @ResponseBody Map createOrderComment(@RequestParam Integer campusId,@RequestParam String phoneId,@RequestParam Long orderId,@RequestParam Short grade,String comment,@RequestParam Long foodId){ - Map map=new HashMap(); - - try { - Order order=orderService.selectPersonOrder(phoneId,orderId); //查询数据库看是否有订单存在,下了单才可以评论 - if(order==null){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "没有评论权限!"); - }else{ - FoodComment foodComment=new FoodComment(); - foodComment.setComment(comment); - foodComment.setFoodId(foodId); - foodComment.setDate(Calendar.getInstance().getTime()); - foodComment.setGrade(grade); - foodComment.setPhone(phoneId); - foodComment.setTag((short)1); - foodComment.setCampusId(campusId); - - Integer flag=foodService.insertFoodComment(foodComment); - if(flag==1){ - orderService.updateOrderRemarked(phoneId,orderId); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "添加评论成功!"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "添加评论失败!"); - } - } - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "添加评论失败!"); - } - - return map; - } - - /** - * 删除食品评价 - * @param foodId - * @param campusId - * @param date - * @param grade - * @return - */ - @RequestMapping(value="deleteFoodCommentById") - public @ResponseBody Integer deleteFoodComment(@RequestParam Long foodId,@RequestParam Integer campusId,@RequestParam String date,@RequestParam Integer grade){ - try { - Map paramMap=new HashMap(); - paramMap.put("foodId", foodId); - paramMap.put("campusId",campusId); - paramMap.put("date",date); - paramMap.put("grade",grade); - int flag=foodService.deleteFoodCommentById(paramMap); - if (flag==-1) { - return 0; - } - } catch (Exception e) { - e.printStackTrace(); - return 0; - } - return 1; - } - - /** - * 获取打折商品 - * @param page,campusId - * @return - */ - @RequestMapping(value="/getFoodListDiscount") - public @ResponseBody Map getFoodListDiscount(@RequestParam Integer campusId,Integer limit,Integer page){ - Map map=new HashMap(); - - try { - Map paramMap=new HashMap<>(); - paramMap.put("campusId", campusId); - - if(limit!=null&&page!=null){ - paramMap.put("offset", (page-1)*limit); - paramMap.put("limit",limit); - } - Listfoodlist=foodService.getFoodListDiscount(paramMap); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取数据成功!"); - map.put("foods", foodlist); - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取食物列表失败!"); - } - - return map; - } - - /** - * 获取销量好的食品 - * @param page,limit,campusId - * @return - */ - @RequestMapping(value="/getFoodListWelcome") - public @ResponseBody Map getFoodListWelcome(@RequestParam Integer campusId,Integer limit,Integer page){ - Map map=new HashMap(); - - try { - Map paramMap=new HashMap<>(); - paramMap.put("campusId", campusId); - - if(limit!=null&&page!=null){ - paramMap.put("offset", (page-1)*limit); - paramMap.put("limit",limit); - } - - Listfoodlist=foodService.getFoodListWelcome(paramMap); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取数据成功!"); - map.put("foods", foodlist); - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取食物列表失败!"); - } - - return map; - } - - /** - * 获取新品 - * @param limit,page,campusId - * @return - */ - @RequestMapping(value="/getFoodListFresh") - public @ResponseBody Map getFoodListFresh(Integer limit,@RequestParam Integer campusId,Integer page){ - Map map=new HashMap(); - - try { - Map paramMap=new HashMap<>(); - paramMap.put("campusId", campusId); - - if(limit!=null&&page!=null){ - paramMap.put("offset", (page-1)*limit); - paramMap.put("limit",limit); - } - - Listfoodlist=foodService.getFoodListFresh(paramMap); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取数据成功!"); - map.put("foods", foodlist); - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取食物列表失败!"); - } - - return map; - } - - /** - * 添加分类 - * @param categoryId - * @param categoryName - * @param status 0添加,1更新 - * @param campusId 校区id - * @return - */ - @RequestMapping(value="updateFoodCategory") - public @ResponseBody Map updateFoodFristCategory(@RequestParam Integer campusId,Integer categoryId,@RequestParam String categoryName,Integer status){ - Map map=new HashMap(); - - try { - FoodCategory foodCategory=new FoodCategory(); - foodCategory.setCategoryId(categoryId); - foodCategory.setCategory(categoryName); - foodCategory.setTag((short)1); - foodCategory.setParentId(0); - foodCategory.setCampusId(campusId); - - Map paramMap=new HashMap(); - paramMap.put("categoryId",categoryId); - paramMap.put("campusId",campusId); - int flag=0; - if(categoryId!=null){ - //查询是否已存在该分类 - FoodCategory foodCategory2=foodService.selectCategoryByPrimaryKey(paramMap); - if(foodCategory2==null){ - flag=foodService.insertCategorySelective(foodCategory); - }else{ - //id已存在 - if(status==0){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE,"id已存在,不能添加"); - return map; - }else{ - flag=foodService.updateCategoryByPrimaryKeySelective(foodCategory); //更新该分类 - } - } - }else{ //新增商品 - flag=foodService.insertCategorySelective(foodCategory); - } - if(flag==0||flag==-1){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "提交失败"); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "提交成功"); - } - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "提交失败"); - } - - return map; - } - - //弃用 - /* - @RequestMapping("/updateFoodSecondCategory") - public String updateFoodSecondCategory(@RequestParam MultipartFile myfile, HttpServletRequest request)throws IOException{ - FoodCategory foodCategory=new FoodCategory(); - int flag=0; - String categoryId=request.getParameter("categoryId"); - String categoryName=request.getParameter("categoryName"); - String parentId=request.getParameter("parentId"); - - try { - if(myfile.isEmpty()){ - System.out.println("文件未上传"); - foodCategory.setCategoryId(Integer.valueOf(categoryId)); - foodCategory.setParentId(Integer.valueOf(parentId)); - foodCategory.setCategory(categoryName); - - flag=foodService.updateCategoryByPrimaryKeySelective(foodCategory); - return "redirect:/pages/food_second_category.html"; - }else{ - String contentType=myfile.getContentType(); - - if(contentType.startsWith("image")){ - String realPath = request.getSession().getServletContext().getRealPath("/"); - - realPath=realPath.replace("SJFood", "MickeyImage"); - realPath=realPath.concat("\\foodcategory\\"); //获取服务器图片路径 - - System.out.println(realPath); - String newFileName=new Date().getTime()+""+new Random().nextInt()+".jpg"; //重新设置图片名字 - FileUtils.copyInputStreamToFile(myfile.getInputStream(), new File(realPath, newFileName)); //将文件上传到服务器 - - String imageUrl=Constants.localIp+"/foodcategory/"+newFileName; - foodCategory.setImgUrl(imageUrl); - foodCategory.setCategoryId(Integer.valueOf(categoryId)); - foodCategory.setParentId(Integer.valueOf(parentId)); - foodCategory.setCategory(categoryName); - foodCategory.setTag((short)1); - - FoodCategory foodCategory2=foodService.selectCategoryByPrimaryKey(foodCategory.getCategoryId()); - if(foodCategory2==null){ - flag=foodService.insertCategorySelective(foodCategory); //不存在即添加 - } - else { - flag=foodService.updateCategoryByPrimaryKeySelective(foodCategory); //存在即更新 - - //删除原来的食品分类的图片 - if(foodCategory2.getImgUrl()!=null&&foodCategory.getImgUrl()!=null){ - String[] temp=foodCategory2.getImgUrl().split("/"); - - String imageName=temp[(temp.length-1)]; - String name=realPath+imageName; - - System.out.println(name);; - File file=new File(name); - if(file.isFile()){ - file.delete();//删除 - } - } - } - - if(flag!=0&&flag!=-1){ - return "redirect:/pages/food_second_category.html"; - } - } - } - } catch (Exception e) { - e.printStackTrace(); - return "redirect:/pages/uploadError.html"; - } - - return "redirect:/pages/uploadError.html"; - - }*/ - - /** - * - * @param categoryIds - * @return - */ - @RequestMapping("/deleteFoodCategory.do") - public @ResponseBody MapdeleteFoodCategory(@RequestParam Integer campusId,@RequestParam String categoryIds){ - Map map=new HashMap<>(); - - String[] categoryidsString=categoryIds.split(","); - - try { - Map paramMap=new HashMap(); - paramMap.put("campusId",campusId); - int flag=0; - - //渐次删除分类 - for (String categoryId:categoryidsString) { - if(categoryId!=null&&!categoryId.trim().equals("")){ - paramMap.put("categoryId",Integer.valueOf(categoryId)); - flag=foodService.deleteCategoryByPrimaryKey(paramMap); - } - } - - if (flag==-1||flag==0) { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除失败"); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "删除成功"); - - } - - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除失败"); - } - return map; - } - - /** - * 在pc端添加食品 - * @param myfile - * @param request - * @return - */ - @RequestMapping(value="/updateFoods.do") - public String updateFoods(@RequestParam MultipartFile[] myfile,HttpServletRequest request){ - try { - Long foodId=Long.valueOf(request.getParameter("foodId")); //获取食品id - Float price=Float.valueOf(request.getParameter("price")); //获取价格 - String name=request.getParameter("foodName"); //获取食品名称 - Float discountPrice=Float.valueOf(request.getParameter("discountPrice")); //获取折扣价 - Short status=Short.valueOf(request.getParameter("status")); //获取食品上架下架状态 - Short isDiscount=Short.valueOf(request.getParameter("is_discount")); //是否打折 - String foodFlag=request.getParameter("foodTag"); //食品标签 - Integer categoryId=Integer.valueOf(request.getParameter("categoyId")); //获取分类Id - Float primeCost=null; - - String temp1=request.getParameter("primeCost"); //获取成本价 - String temp2=request.getParameter("foodCount"); //获取食品数量 - Integer campusId=Integer.valueOf(request.getParameter("campusId")); //获取校区 - if(temp1!=null&&!temp1.trim().equals("")){ - primeCost=Float.valueOf(request.getParameter("primeCost")); - } - Integer foodCount=null; - if(temp2!=null&&!temp2.trim().equals("")){ - foodCount=Integer.valueOf(request.getParameter("foodCount")); - } - - Short isDefault=Short.valueOf(request.getParameter("default_special")); - String realPath = request.getSession().getServletContext().getRealPath("/"); - realPath=realPath.replace("SJFood", "MickeyImage"); - realPath=realPath.concat("\\food\\"); - System.out.println(realPath); //打印出服务器路径 - - List imageUrl=new ArrayList(); - for(MultipartFile file:myfile){ - if(file.isEmpty()){ - System.out.println("文件未上传"); - imageUrl.add(null); - }else{ - String contentType=file.getContentType(); - - if(contentType.startsWith("image")){ - String newFileName=new Date().getTime()+""+new Random().nextInt()+".jpg"; - FileUtils.copyInputStreamToFile(file.getInputStream(), new File(realPath, newFileName)); //写文件 - imageUrl.add(Constants.localIp+"/food/"+newFileName); - } - } - } - Food food=new Food(campusId,foodId, name, price, discountPrice, imageUrl.get(0), imageUrl.get(1), status,foodFlag, isDiscount, categoryId, primeCost); - - Map paramMap=new HashMap(); - paramMap.put("campusId",campusId); - paramMap.put("foodId", foodId); - Food orignFood=foodService.selectFoodByPrimaryKey(paramMap); //查看该食品是否存在 - int flag=0; - if (orignFood==null) { - //不存在即添加 - flag=foodService.insertFoodSelective(food); - //只有在增加食品的时候添加默认口味才有效 - if (flag!=-1&&flag!=0) { - if(isDefault==1&&foodCount!=null){ - //添加默认口味 - FoodSpecial foodSpecial=new FoodSpecial(campusId,foodId, "默认口味", foodCount); - foodSpecial.setSpecialId(1); - flag=foodService.addFoodSpecial(foodSpecial); - if(flag!=-1&&flag!=0){ - return "redirect:/pages/food.html"; - } - } - } - }else{ - //存在即更新 - flag=foodService.updateFoodByPrimaryKeySelective(food); - - //删除原食品主图片 - if(food.getImgUrl()!=null&&orignFood.getImgUrl()!=null){ - String[] temp=orignFood.getImgUrl().split("/"); - String imageName=temp[(temp.length-1)]; - - String name2=realPath+imageName; - - File file=new File(name2); - if(file.isFile()){ - file.delete();//删除 - } - } - - //删除原食品辅助图片 - if(food.getInfo()!=null&&orignFood.getInfo()!=null){ - String[] temp=orignFood.getInfo().split("/"); - String imageName=temp[(temp.length-1)]; - - String name2=realPath+imageName; - - File file=new File(name2); - if(file.isFile()){ - file.delete();//删除 - } - } - - if(flag!=-1&&flag!=0){ - return "redirect:/pages/food.html"; - } - } - - } catch (Exception e) { - e.printStackTrace(); - return "redirect:/pages/uploadError.html"; - } - return "redirect:/pages/uploadError.html"; - } - - /** - * 添加新食品 弃用 - * @param foodId,request - * @param name,request - * @param price,request - * @param discountPrice - * @param grade - * @param imgUrl - * @param info - * @param status - * @param foodCount - * @param foodFlag - * @param tag - * @param isDiscount - * @param categoryId - * @param primeCost - * @return - */ - /*@RequestMapping("/addNewFood") - public @ResponseBody Map addNewFood(@RequestParam Long foodId,@RequestParam String name, @RequestParam String price,String discountPrice,String grade, String imgUrl, String info, String status, - String foodCount, String foodFlag, String tag, String isDiscount, String categoryId, String primeCost){ - Map map=new HashMap(); - - try{ - Food food=new Food(foodId,name,price,discountPrice,grade, - imgUrl,info,status,foodCount,foodFlag,tag,isDiscount,categoryId, - primeCost); - - food.setSaleNumber(Long.valueOf("0")); - if((foodService.selectFoodByPrimaryKey(foodId))!=null){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "食品id重复,请更换食品id并做好记录"); - return map; - }else{ - if(foodService.insertFoodSelective(food)!=-1){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "添加食品成功"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "添加食品失败"); - } - } - }catch(Exception exception){ - exception.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "添加食品失败"); - } - return map; - }*/ - - /*@RequestMapping(value="/getSpecial",method=RequestMethod.POST) - public @ResponseBody Map getFoodSpecialById(@RequestParam Long foodId){ - Map map=new HashMap(); - - try { - List foodSpecials=foodService.getFoodSpecial(foodId); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取成功!"); - map.put("specialList", foodSpecials); - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取失败"); - } - - return map; - }*/ - - @RequestMapping(value="/updateSpecialById") - public @ResponseBody Map updateSpecialById(@RequestParam Integer campusId,@RequestParam Long foodId,String speicalId1,String speicalId2,String - specialId3,String specialName1,String specialName2,String specialName3,Integer specialCount1,Integer specialCount2,Integer specialCount3, - boolean isDelete1,boolean isDelete2,boolean isDelete3){ - Map map=new HashMap(); - - //一次性更新多个食品口味的数量或者名字 - String[] specialIds={speicalId1,speicalId2,specialId3}; - String[] specialNames={specialName1,specialName2,specialName3}; - Integer[] specialCounts={specialCount1,specialCount2,specialCount3}; - boolean[] isDeletes={isDelete1,isDelete2,isDelete3}; - - try { - for(int i=0;i<3;i++){ - if(specialIds[i]!=null&&!specialIds[i].equals("")){ - FoodSpecial foodSpecial=new FoodSpecial(campusId,foodId, specialNames[i], specialCounts[i]); - foodSpecial.setSpecialId(Integer.valueOf(specialIds[i])); - if(isDeletes[i]){ - //删除口味 - foodService.deleteFoodSpecial(foodSpecial); - }else{ - //更新口味数量 - foodService.updateFoodSpecial(foodSpecial); - } - } - } - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "更新口味成功"); - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "更新口味失败"); - } - - return map; - } -} +package com.changyu.foryou.controller; + +import java.io.File; +import java.io.IOException; +import java.text.DecimalFormat; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Calendar; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Random; + +import javax.servlet.http.HttpServletRequest; + +import org.apache.commons.io.FileUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.multipart.MultipartFile; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.changyu.foryou.model.Food; +import com.changyu.foryou.model.FoodCategory; +import com.changyu.foryou.model.FoodComment; +import com.changyu.foryou.model.FoodSpecial; +import com.changyu.foryou.model.HomeCategory; +import com.changyu.foryou.model.Order; +import com.changyu.foryou.model.ShortFood; +import com.changyu.foryou.model.ShortFoodWithIm; +import com.changyu.foryou.model.VeryShortFood; +import com.changyu.foryou.service.CampusService; +import com.changyu.foryou.service.FoodService; +import com.changyu.foryou.service.OrderService; +import com.changyu.foryou.tools.Constants; + +/** + * 食品控制类 + * + * @author 殿下 2014/12/16 + */ +@Controller +@RequestMapping("/service") +public class FoodController { + private FoodService foodService; + private OrderService orderService; + private CampusService campusService; + + protected static final Logger LOG = LoggerFactory + .getLogger(FoodController.class); + + @Autowired + public void setOrderService(OrderService orderService) { + this.orderService = orderService; + } + + @Autowired + public void setFoodService(FoodService foodService) { + this.foodService = foodService; + } + + @Autowired + public void setCampusService(CampusService campusService) { + this.campusService = campusService; + } + + /** + * 获取食品的分类,给手机移动端(一级分类) + * + * @param campusId 校区id + * @return + */ + @RequestMapping("/getCategory") + public @ResponseBody + Map getFoodFirstCategory(@RequestParam Integer campusId, + Integer page, Integer limit) { + Map map = new HashMap(); + try { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + if (limit != null && page != null) { + paramMap.put("limit", limit); + paramMap.put("offset", limit * (page - 1)); + } + + List foodCategories = foodService + .getFirstCategory(paramMap); + if (foodCategories != null) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取一级分类成功"); + map.put("foodCategory", foodCategories); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "还没有一级分类哦"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取一级分类失败"); + } + return map; + } + + /** + * 返回食品模糊查询 + * + * @param categoryId 参数可选 + * @param foodTag 参数可选 + * @param sortId 排序根据 0 综合排序,1,销量排序,2价格排序 + * @param page 显示第几页的数据 + * @return + */ + @RequestMapping("/selectFoods") + public @ResponseBody + Map selectFoods(@RequestParam Integer campusId, + String categoryId, String foodTag, Integer page, Integer limit, + Integer sortId) { + Map map = new HashMap(); + DecimalFormat df = new DecimalFormat("#.0"); + try { + List foodFlags = new ArrayList(); + List foods; + Map paramMap = new HashMap<>(); + paramMap.put("campusId", campusId); + + if (categoryId != null && categoryId.trim().equals("")) { + categoryId = null; + } + + if (page != null && limit != null) { + paramMap.put("offset", (page - 1) * limit); + paramMap.put("limit", limit); + } + + if (sortId == null) { + sortId = 0; + } + + paramMap.put("categoryId", categoryId); + paramMap.put("sortId", sortId); + if (foodTag != null && foodTag.trim().equals("") || foodTag == null) { + foodTag = null; // foodTag为空 + paramMap.put("foodTag", foodTag); + foods = foodService.selectFoods(paramMap); + if (foods.size() > 0) { + for (ShortFoodWithIm i : foods) { + paramMap.put("foodId", i.getFoodId()); + Integer commentNumber = foodService + .calCommentCount(paramMap); + i.setCommentNumber(commentNumber); + } + } + } else { + foodTag = foodTag.replace(",", " ").replace(".", " ") + .replace(">", " ").replace("'", " ").replace(",", " ") + .trim(); + String[] Flags = foodTag.split(" "); + for (int i = 0; i < Flags.length; i++) { + if (!Flags[i].equals("")) { + foodFlags.add(Flags[i]); + } + } + + if (foodFlags.size() == 1) { + paramMap.put("foodTag", foodFlags.get(0)); + foods = foodService.selectFoods(paramMap); + if (foods.size() > 0) { + for (ShortFoodWithIm i : foods) { + paramMap.put("foodId", i.getFoodId()); + Integer commentNumber = foodService + .calCommentCount(paramMap); + i.setCommentNumber(commentNumber); + } + } + } else { + paramMap.put("oneFlag", foodFlags.get(0)); + paramMap.put("twoFlag", foodFlags.get(1)); + foods = foodService.selectFoodsByTwoTags(paramMap); + if (foods.size() > 0) { + for (ShortFoodWithIm i : foods) { + paramMap.put("foodId", i.getFoodId()); + Integer commentNumber = foodService + .calCommentCount(paramMap); + i.setCommentNumber(commentNumber); + } + } + } + } + if (foods.size() != 0) { + // 评星级 + for (ShortFoodWithIm food : foods) { + paramMap.put("foodId", food.getFoodId()); + Float gradeFloat = foodService.getAvageGrade(paramMap); + if (gradeFloat == null) { + food.setGrade(0f); + } else { + food.setGrade(Float.parseFloat(df.format(gradeFloat))); + } + } + } + + if (foods.size() != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取食品成功"); + map.put("foods", foods); + System.out.println(JSON.toJSONString(foods)); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "没有其他零食喽,亲"); + map.put("foods", foods); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "查询零食失败"); + } + return map; + } + + /** + * 根据食品id和校区获取某个零食 + * + * @param foodId + * @param campusId + * @return + */ + @RequestMapping("/getFoodById") + public @ResponseBody + Map selectFoods(@RequestParam Long foodId, + @RequestParam Integer campusId) { + Map map = new HashMap(); + try { + DecimalFormat df = new DecimalFormat("#.0"); + + Map paramMap = new HashMap<>(); + paramMap.put("foodId", foodId); + paramMap.put("campusId", campusId); + + Food food = foodService.selectFoodByPrimaryKey(paramMap); + // List + // foodSpecials=foodService.getFoodSpecial(paramMap); + + if (food != null) { + Float gradeFloat = foodService.getAvageGrade(paramMap); + if (gradeFloat == null) { + food.setGrade(0f); + } else { + food.setGrade(Float.parseFloat(df.format(gradeFloat))); + } + + food.setCommentNumber(foodService + .getCommentCountsById(paramMap)); + // food.setFoodSpecial(foodSpecials); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取食品成功"); + map.put("food", food); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "没有该零食"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取零食失败"); + } + return map; + } + + /** + * 删除食品 + * + * @param foodId ,campusId + * @return + */ + @RequestMapping("deleteFood") + public @ResponseBody + Map deleteFood(@RequestParam String foodId, + @RequestParam Integer campusId) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap<>(); + paramMap.put("campusId", campusId); + + int status = 0; + String[] foodIdString = foodId.split(","); + // 一次删除多个零食 + for (String foodsString : foodIdString) { + paramMap.put("foodId", Long.valueOf(foodsString)); + status = foodService.deleteFoodByPrimaryKey(paramMap); + if (status == 0 || status == -1) { + break; + } + } + + if (status != -1) { + if (status != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "删除零食成功!"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "有不存在零食,无法删除!"); + } + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除零食失败!"); + } + + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除零食失败!"); + } + + return map; + } + + /** + * 获取某一食品的评论 + * + * @param foodId + * @param page ,显示第几页 + * @param limit ,当页显示数目 + * @return + */ + @RequestMapping("/getCommentsByFoodId") + public @ResponseBody + Map getCommentsByFoodId(@RequestParam Integer campusId, + @RequestParam Long foodId, Integer limit, Integer page) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap<>(); + paramMap.put("foodId", foodId); + paramMap.put("campusId", campusId); + + if (page != null & limit != null) { + paramMap.put("offset", (page - 1) * limit); + paramMap.put("limit", limit); + } + + List foodComments = foodService + .getCommentInfoById(paramMap); + JSONArray jsonArray = JSON.parseArray(JSON + .toJSONStringWithDateFormat(foodComments, "yyyy-MM-dd")); + if (foodComments.size() != 0) { + map.put("foodComments", jsonArray); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取评论成功!"); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "暂时还没有评论哦,亲!"); + } + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取评论失败!"); + } + return map; + } + + /** + * 获取所有的评论 + * + * @param campusId + * @param limit + * @param offset + * @param sort + * @param order + * @param search + * @return + */ + @RequestMapping("/getAllComments") + public @ResponseBody + Map getAllComments(@RequestParam Integer campusId, + Integer limit, Integer offset, String sort, String order, + String search) { + Map map = new HashMap(); + + Map paramMap = new HashMap<>(); + if (sort != null && sort.equals("foodId")) { + sort = "food_id"; + } + paramMap.put("limit", limit); + paramMap.put("offset", offset); + paramMap.put("sort", sort); + paramMap.put("order", order); + paramMap.put("search", search); + paramMap.put("campusId", campusId); + + JSONArray json = JSONArray.parseArray(JSON.toJSONStringWithDateFormat( + foodService.getAllComments(paramMap), "yyyy-MM-dd")); + map.put("total", foodService.getFoodCommentCount(paramMap)); + map.put("rows", json); + return map; + } + + /** + * 获取所有的食品 + * + * @return + */ + @RequestMapping("/getAllFoods") + public @ResponseBody + List getAllFoods(@RequestParam Integer campusId) { + List foods = new ArrayList(); + + try { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + foods = foodService.getAllFoods(paramMap); + } catch (Exception e) { + e.getStackTrace(); + } + + return foods; + } + + /** + * 添加食品口味 弃用 + * + * @param campusId + * @param foodId + * @param specialName + * @param campusId + * @param specialCount + * @return + */ + @RequestMapping("/addFoodSpecial") + public @ResponseBody + Map addFoodSpecial(@RequestParam Long foodId, + @RequestParam Integer campusId, @RequestParam String specialName, + @RequestParam Integer specialCount) { + Map map = new HashMap(); + FoodSpecial foodSpecial = null; + int flag = 0; + + try { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + paramMap.put("foodId", foodId); + + if (foodService.getSpecialCount(paramMap) >= 3) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "食品口味种类已饱和,不可再添加!"); + return map; + } + + foodSpecial = new FoodSpecial(campusId, foodId, specialName, + specialCount); + Integer max = foodService.getSpecialMax(paramMap); + + if (max != null) { + foodSpecial.setSpecialId(max + 1); + } else { + foodSpecial.setSpecialId(0); + } + flag = foodService.addFoodSpecial(foodSpecial); + + if (flag != 0 && flag != -1) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "添加食品口味成功!"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "添加食品口味失败!"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "添加食品口味失败!"); + } + + return map; + } + + /** + * 生成订单评论 + * + * @param campusId + * @param phoneId + * @param grade + * @param comment + * @param foodId + * @param isHidden + * @return + */ + @RequestMapping(value = "/creatOrderComment") + public @ResponseBody + Map createOrderComment(@RequestParam Integer campusId, + @RequestParam String phoneId, @RequestParam Long orderId, + @RequestParam Short grade, String comment, + @RequestParam Long foodId, @RequestParam Short isHidden) { + Map map = new HashMap(); + + try { + Order order = orderService.selectPersonOrder(phoneId, orderId); // 查询数据库看是否有订单存在,下了单才可以评论 + if (order == null) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "没有评论权限!"); + } else { + FoodComment foodComment = new FoodComment(); + foodComment.setComment(comment); + foodComment.setFoodId(foodId); + foodComment.setDate(Calendar.getInstance().getTime()); + foodComment.setGrade(grade); + foodComment.setPhone(phoneId); + foodComment.setTag((short) 1); + foodComment.setCampusId(campusId); + foodComment.setIsHidden(isHidden); + foodComment.setOrderId(orderId); + + Integer flag = foodService.insertFoodComment(foodComment); + if (flag == 1) { + orderService.updateOrderRemarked(phoneId, orderId); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "添加评论成功!"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "添加评论失败!"); + } + } + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "添加评论失败!"); + } + + return map; + } + + /** + * 删除食品评价 + * + * @param foodId + * @param campusId + * @param date + * @param grade + * @return + */ + @RequestMapping(value = "deleteFoodCommentById") + public @ResponseBody + Integer deleteFoodComment(@RequestParam Long foodId, + @RequestParam Integer campusId, @RequestParam String date, + @RequestParam Integer grade) { + try { + Map paramMap = new HashMap(); + paramMap.put("foodId", foodId); + paramMap.put("campusId", campusId); + paramMap.put("date", date); + paramMap.put("grade", grade); + int flag = foodService.deleteFoodCommentById(paramMap); + if (flag == -1) { + return 0; + } + } catch (Exception e) { + e.printStackTrace(); + return 0; + } + return 1; + } + + /** + * 获取打折商品 + * + * @param page ,campusId + * @return + */ + @RequestMapping(value = "/getFoodListDiscount") + public @ResponseBody + Map getFoodListDiscount(@RequestParam Integer campusId, + Integer limit, Integer page) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap<>(); + paramMap.put("campusId", campusId); + + if (limit != null && page != null) { + paramMap.put("offset", (page - 1) * limit); + paramMap.put("limit", limit); + } + List foodlist = foodService + .getFoodListDiscount(paramMap); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取数据成功!"); + map.put("foods", foodlist); + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取食物列表失败!"); + } + + return map; + } + + /** + * 获取销量好的食品 + * + * @param page ,limit,campusId + * @return + */ + @RequestMapping(value = "/getFoodListWelcome") + public @ResponseBody + Map getFoodListWelcome(@RequestParam Integer campusId, + Integer limit, Integer page) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap<>(); + paramMap.put("campusId", campusId); + + if (limit != null && page != null) { + paramMap.put("offset", (page - 1) * limit); + paramMap.put("limit", limit); + } + + List foodlist = foodService.getFoodListWelcome(paramMap); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取数据成功!"); + map.put("foods", foodlist); + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取食物列表失败!"); + } + + return map; + } + + /** + * 获取新品 + * + * @param limit ,page,campusId + * @return + */ + @RequestMapping(value = "/getFoodListFresh") + public @ResponseBody + Map getFoodListFresh(Integer limit, + @RequestParam Integer campusId, Integer page) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap<>(); + paramMap.put("campusId", campusId); + + if (limit != null && page != null) { + paramMap.put("offset", (page - 1) * limit); + paramMap.put("limit", limit); + } + + List foodlist = foodService.getFoodListFresh(paramMap); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取数据成功!"); + map.put("foods", foodlist); + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取食物列表失败!"); + } + + return map; + } + + /** + * 添加分类 + * + * @param categoryId + * @param categoryName + * @param isOpen 是否开通 + * @param status 0添加,1更新 + * @param campusId 校区id + * @return + */ + @RequestMapping(value = "updateFoodCategory") + public @ResponseBody + Map updateFoodFristCategory(@RequestParam Integer campusId, + Integer categoryId, @RequestParam String categoryName, + @RequestParam Short isOpen, Integer status) { + Map map = new HashMap(); + + try { + FoodCategory foodCategory = new FoodCategory(); + foodCategory.setCategoryId(categoryId); + foodCategory.setCategory(categoryName); + foodCategory.setTag((short) 1); + foodCategory.setParentId(0); + foodCategory.setCampusId(campusId); + foodCategory.setIsOpen((short) isOpen); + + Map paramMap = new HashMap(); + paramMap.put("categoryId", categoryId); + paramMap.put("campusId", campusId); + int flag = 0; + if (categoryId != null) { + // 查询是否已存在该分类 + FoodCategory foodCategory2 = foodService + .selectCategoryByPrimaryKey(paramMap); + if (foodCategory2 == null) { + flag = foodService.insertCategorySelective(foodCategory); + } else { + // id已存在 + if (status == 0) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "id已存在,不能添加"); + return map; + } else { + flag = foodService + .updateCategoryByPrimaryKeySelective(foodCategory); // 更新该分类 + } + } + } else { // 新增商品 + flag = foodService.insertCategorySelective(foodCategory); + } + if (flag == 0 || flag == -1) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "提交失败"); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "提交成功"); + } + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "提交失败"); + } + + return map; + } + + // 弃用 + /* + * @RequestMapping("/updateFoodSecondCategory") public String + * updateFoodSecondCategory(@RequestParam MultipartFile myfile, + * HttpServletRequest request)throws IOException{ FoodCategory + * foodCategory=new FoodCategory(); int flag=0; String + * categoryId=request.getParameter("categoryId"); String + * categoryName=request.getParameter("categoryName"); String + * parentId=request.getParameter("parentId"); + * + * try { if(myfile.isEmpty()){ System.out.println("文件未上传"); + * foodCategory.setCategoryId(Integer.valueOf(categoryId)); + * foodCategory.setParentId(Integer.valueOf(parentId)); + * foodCategory.setCategory(categoryName); + * + * flag=foodService.updateCategoryByPrimaryKeySelective(foodCategory); + * return "redirect:/pages/food_second_category.html"; }else{ String + * contentType=myfile.getContentType(); + * + * if(contentType.startsWith("image")){ String realPath = + * request.getSession().getServletContext().getRealPath("/"); + * + * realPath=realPath.replace("SJFood", "MickeyImage"); + * realPath=realPath.concat("\\foodcategory\\"); //获取服务器图片路径 + * + * System.out.println(realPath); String newFileName=new + * Date().getTime()+""+new Random().nextInt()+".jpg"; //重新设置图片名字 + * FileUtils.copyInputStreamToFile(myfile.getInputStream(), new + * File(realPath, newFileName)); //将文件上传到服务器 + * + * String imageUrl=Constants.localIp+"/foodcategory/"+newFileName; + * foodCategory.setImgUrl(imageUrl); + * foodCategory.setCategoryId(Integer.valueOf(categoryId)); + * foodCategory.setParentId(Integer.valueOf(parentId)); + * foodCategory.setCategory(categoryName); foodCategory.setTag((short)1); + * + * FoodCategory + * foodCategory2=foodService.selectCategoryByPrimaryKey(foodCategory + * .getCategoryId()); if(foodCategory2==null){ + * flag=foodService.insertCategorySelective(foodCategory); //不存在即添加 } else { + * flag=foodService.updateCategoryByPrimaryKeySelective(foodCategory); + * //存在即更新 + * + * //删除原来的食品分类的图片 + * if(foodCategory2.getImgUrl()!=null&&foodCategory.getImgUrl()!=null){ + * String[] temp=foodCategory2.getImgUrl().split("/"); + * + * String imageName=temp[(temp.length-1)]; String name=realPath+imageName; + * + * System.out.println(name);; File file=new File(name); if(file.isFile()){ + * file.delete();//删除 } } } + * + * if(flag!=0&&flag!=-1){ return + * "redirect:/pages/food_second_category.html"; } } } } catch (Exception e) + * { e.printStackTrace(); return "redirect:/pages/uploadError.html"; } + * + * return "redirect:/pages/uploadError.html"; + * + * } + */ + + /** + * 删除食品分类 + * + * @param categoryIds + * @return + */ + @RequestMapping("/deleteFoodCategory.do") + public @ResponseBody + Map deleteFoodCategory(@RequestParam Integer campusId, + @RequestParam String categoryIds) { + Map map = new HashMap<>(); + + String[] categoryidsString = categoryIds.split(","); + + try { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + int flag = 0; + + // 渐次删除分类 + for (String categoryId : categoryidsString) { + if (categoryId != null && !categoryId.trim().equals("")) { + paramMap.put("categoryId", Integer.valueOf(categoryId)); + flag = foodService.deleteCategoryByPrimaryKey(paramMap); + } + } + + if (flag == -1 || flag == 0) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除失败"); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "删除成功"); + + } + + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除失败"); + } + return map; + } + + /** + * 在pc端添加食品 + * + * @param myfile + * @param request + * @return + */ + @RequestMapping(value = "/updateFoods") + public String updateFoods(@RequestParam MultipartFile[] myfile, + HttpServletRequest request) { + try { + Long foodId = Long.valueOf(request.getParameter("foodId")); // 获取食品id + Float price = Float.valueOf(request.getParameter("price")); // 获取价格 + String name = request.getParameter("foodName"); // 获取食品名称 + Float discountPrice = Float.valueOf(request + .getParameter("discountPrice")); // 获取折扣价 + Short status = Short.valueOf(request.getParameter("status")); // 获取食品上架下架状态 + Short isDiscount = Short.valueOf(request + .getParameter("is_discount")); // 是否打折 + Short isFullDiscount = Short.valueOf(request + .getParameter("isFullDiscount")); // 是否参加满减 + String foodFlag = request.getParameter("foodTag"); // 食品标签 + Integer categoryId = Integer.valueOf(request + .getParameter("parentId")); // 获取分类Id + Float primeCost = null; + + String message = request.getParameter("message"); + System.out.println(message); + String temp1 = request.getParameter("primeCost"); // 获取成本价 + String temp2 = request.getParameter("foodCount"); // 获取食品数量 + Integer campusId = Integer + .valueOf(request.getParameter("campusId")); // 获取校区 + if (temp1 != null && !temp1.trim().equals("")) { + primeCost = Float.valueOf(request.getParameter("primeCost")); + } + Integer foodCount = null; + if (temp2 != null && !temp2.trim().equals("")) { + foodCount = Integer.valueOf(request.getParameter("foodCount")); + } + + String realPath = request.getSession().getServletContext() + .getRealPath("/"); + realPath = realPath.replace("foryou", "ForyouImage"); + realPath = realPath.concat("food/"); + System.out.println(realPath); // 打印出服务器路径 + + List imageUrl = new ArrayList(); + for (MultipartFile file : myfile) { + if (file.isEmpty()) { + System.out.println("文件未上传"); + imageUrl.add(null); + } else { + String contentType = file.getContentType(); + + if (contentType.startsWith("image")) { + String newFileName = new Date().getTime() + "" + + new Random().nextInt() + ".jpg"; + FileUtils.copyInputStreamToFile(file.getInputStream(), + new File(realPath, newFileName)); // 写文件 + imageUrl.add(Constants.localIp + "/food/" + newFileName); + } + } + } + Food food = new Food(campusId, foodId, name, price, discountPrice, + imageUrl.get(0), null, status, foodFlag, isDiscount, + categoryId, primeCost); + food.setMessage(message); + food.setFoodCount(foodCount); + food.setIsFullDiscount(isFullDiscount); + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + paramMap.put("foodId", foodId); + Food orignFood = foodService.selectFoodByPrimaryKey(paramMap); // 查看该食品是否存在 + int flag = 0; + if (orignFood == null) { + // 不存在即添加 + flag = foodService.insertFoodSelective(food); + + } else { + // 存在即更新 + flag = foodService.updateFoodByPrimaryKeySelective(food); + + // 删除原食品主图片 + if (food.getImgUrl() != null && orignFood.getImgUrl() != null) { + String[] temp = orignFood.getImgUrl().split("/"); + String imageName = temp[(temp.length - 1)]; + + String name2 = realPath + imageName; + + File file = new File(name2); + if (file.isFile()) { + file.delete();// 删除 + } + } + + if (flag != -1 && flag != 0) { + return "redirect:/pages/food.html"; + } + } + + } catch (Exception e) { + e.printStackTrace(); + return "redirect:/pages/uploadError.html"; + } + return "redirect:/pages/food.html"; + } + + /** + * 添加新食品 弃用 + * + * @param foodId + * ,request + * @param name + * ,request + * @param price + * ,request + * @param discountPrice + * @param grade + * @param imgUrl + * @param info + * @param status + * @param foodCount + * @param foodFlag + * @param tag + * @param isDiscount + * @param categoryId + * @param primeCost + * @return + */ + /* + * @RequestMapping("/addNewFood") public @ResponseBody Map + * addNewFood(@RequestParam Long foodId,@RequestParam String name, + * + * @RequestParam String price,String discountPrice,String grade, String + * imgUrl, String info, String status, String foodCount, String foodFlag, + * String tag, String isDiscount, String categoryId, String primeCost){ + * Map map=new HashMap(); + * + * try{ Food food=new Food(foodId,name,price,discountPrice,grade, + * imgUrl,info,status,foodCount,foodFlag,tag,isDiscount,categoryId, + * primeCost); + * + * food.setSaleNumber(Long.valueOf("0")); + * if((foodService.selectFoodByPrimaryKey(foodId))!=null){ + * map.put(Constants.STATUS, Constants.FAILURE); map.put(Constants.MESSAGE, + * "食品id重复,请更换食品id并做好记录"); return map; }else{ + * if(foodService.insertFoodSelective(food)!=-1){ map.put(Constants.STATUS, + * Constants.SUCCESS); map.put(Constants.MESSAGE, "添加食品成功"); }else{ + * map.put(Constants.STATUS, Constants.FAILURE); map.put(Constants.MESSAGE, + * "添加食品失败"); } } }catch(Exception exception){ exception.getStackTrace(); + * map.put(Constants.STATUS, Constants.FAILURE); map.put(Constants.MESSAGE, + * "添加食品失败"); } return map; } + */ + + /* + * @RequestMapping(value="/getSpecial",method=RequestMethod.POST) public + * + * @ResponseBody Map getFoodSpecialById(@RequestParam Long + * foodId){ Map map=new HashMap(); + * + * try { List foodSpecials=foodService.getFoodSpecial(foodId); + * map.put(Constants.STATUS, Constants.SUCCESS); map.put(Constants.MESSAGE, + * "获取成功!"); map.put("specialList", foodSpecials); } catch (Exception e) { + * e.printStackTrace(); map.put(Constants.STATUS, Constants.FAILURE); + * map.put(Constants.MESSAGE, "获取失败"); } + * + * return map; } + */ + + /** + * 弃用,不再有口味 + * + * @param campusId + * @param foodId + * @param speicalId1 + * @param speicalId2 + * @param specialId3 + * @param specialName1 + * @param specialName2 + * @param specialName3 + * @param specialCount1 + * @param specialCount2 + * @param specialCount3 + * @param isDelete1 + * @param isDelete2 + * @param isDelete3 + * @return + */ + @RequestMapping(value = "/updateSpecialById") + public @ResponseBody + Map updateSpecialById(@RequestParam Integer campusId, + @RequestParam Long foodId, String speicalId1, String speicalId2, + String specialId3, String specialName1, String specialName2, + String specialName3, Integer specialCount1, Integer specialCount2, + Integer specialCount3, boolean isDelete1, boolean isDelete2, + boolean isDelete3) { + Map map = new HashMap(); + + // 一次性更新多个食品口味的数量或者名字 + String[] specialIds = {speicalId1, speicalId2, specialId3}; + String[] specialNames = {specialName1, specialName2, specialName3}; + Integer[] specialCounts = {specialCount1, specialCount2, specialCount3}; + boolean[] isDeletes = {isDelete1, isDelete2, isDelete3}; + + try { + for (int i = 0; i < 3; i++) { + if (specialIds[i] != null && !specialIds[i].equals("")) { + FoodSpecial foodSpecial = new FoodSpecial(campusId, foodId, + specialNames[i], specialCounts[i]); + foodSpecial.setSpecialId(Integer.valueOf(specialIds[i])); + if (isDeletes[i]) { + // 删除口味 + foodService.deleteFoodSpecial(foodSpecial); + } else { + // 更新口味数量 + foodService.updateFoodSpecial(foodSpecial); + } + } + } + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "更新口味成功"); + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "更新口味失败"); + } + + return map; + } + + /** + * 查询要推到主页的商品 + * + * @param campusId + * @return + */ + @RequestMapping("/getHomeFood") + public @ResponseBody + Map getHomeFood(@RequestParam Integer campusId, + Integer limit, Integer page) { + Map map = new HashMap(); + try { + Map paramMap = new HashMap(); + if (limit != null & page != null) { + paramMap.put("limit", limit); + paramMap.put("offset", (page - 1) * limit); + } + paramMap.put("campusId", campusId); + List shortFood = foodService + .selectHomeFood(paramMap); + + map.put("food", shortFood); + if (shortFood.size() == 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "查找成功,没有要推到主页的图片"); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "查找成功"); + } + + } catch (Exception e) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "查找失败"); + } + + return map; + } + + /** + * 获取主页的八个模块信息 + * + * @param campusId + * @return + */ + @RequestMapping("/getHomeCategoryInfo") + public @ResponseBody + Map getHomeCategoryInfo(Integer campusId) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + List homeCategory = foodService + .getHomeCategoryInfo(paramMap); + map.put("homeCategory", homeCategory); + map.put("campus", campusService.getCampusById(paramMap)); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取主页分类成功"); + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取主页分类失败"); + } + return map; + } + + /** + * 获取所有的分类 + * + * @return + */ + @RequestMapping("/getAllFoodCategories") + public @ResponseBody + Map getAllFoodCategories(String campusId, Integer limit, + Integer page, Integer offset) { + Map map = new HashMap(); + try { + Map paramMap = new HashMap<>(); + if (limit != null & offset != null) { + paramMap.put("limit", limit); + paramMap.put("offset", offset); + } + if (limit != null & page != null) { + paramMap.put("limit", limit); + paramMap.put("offset", (page - 1) * limit); + } + paramMap.put("campusId", campusId); + List foodCategories = new ArrayList(); + foodCategories = foodService.getAllFoodCategories(paramMap); + map.put("total", foodService.getAllCategoryCount()); + map.put("rows", foodCategories); + } catch (Exception e) { + e.printStackTrace(); + } + + return map; + } + + /** + * 上传首页推荐食品图片(大图) + * + * @param homeImageFile + * @return + * @throws IOException + */ + @RequestMapping("/uploadHomeImage") + public String updateHomeImageByFoodId( + @RequestParam MultipartFile homeImageFile, + HttpServletRequest request) throws IOException { + String foodId = request.getParameter("foodId"); + Integer campusId = Integer.valueOf(request.getParameter("campusId")); + System.out.println(campusId); + String imageUrl = null; + Map paramMap = new HashMap(); + paramMap.put("foodId", foodId); + // 这个toHome值在后台修改 + paramMap.put("toHome", 1); + paramMap.put("campusId", campusId); // 校区号 + + if (homeImageFile.isEmpty()) { // 不更新主页图片 + System.out.println("文件未上传"); + + int flag = foodService.uploadHomeFoodByFoodId(paramMap); + if (flag != 0 && flag != -1) { + return "redirect:/pages/food.html"; + } + } else { // 更新主页图片 + String contentType = homeImageFile.getContentType(); + if (contentType.startsWith("image")) { + String realPath = request.getSession().getServletContext() + .getRealPath("/"); + realPath = realPath.replace("foryou", "ForyouImage"); + realPath = realPath.concat("food/"); + String newFileName = new Date().getTime() + "" + + new Random().nextInt() + ".jpg"; + FileUtils.copyInputStreamToFile(homeImageFile.getInputStream(), + new File(realPath, newFileName)); + imageUrl = Constants.localIp + "/food/" + newFileName; + // 获取原来的图片 + String oldImgUrl = foodService.getFoodHomeImage(paramMap); + + paramMap.put("homeImage", imageUrl); + int flag = foodService.uploadHomeFoodByFoodId(paramMap); + + if (imageUrl != null && oldImgUrl != null) { + String[] temp = oldImgUrl.split("/"); + String imageName = temp[(temp.length - 1)]; + + String name2 = realPath + imageName; + + File file = new File(name2); + if (file.isFile()) { + file.delete();// 删除 + } + } + + if (flag != 0 && flag != -1) { + return "redirect:/pages/food.html"; + } + } + } + return "redirect:/pages/food.html"; + } + + /** + * 更新食品详情图片 + * + * @param detailImageFiles + * @param request + * @return + * @throws IOException + */ + @RequestMapping("/uploadDetailImage") + public String uploadDetailImageByFoodId( + @RequestParam MultipartFile[] detailImageFiles, + HttpServletRequest request) throws IOException { + StringBuffer bufferInfo = new StringBuffer(); + + String foodId = request.getParameter("foodId"); + String campusId = request.getParameter("campusId"); + + int i = 0; + for (MultipartFile detailImageFile : detailImageFiles) { + i++; + String is_delete = request.getParameter("is_delete" + i); + if (is_delete != null + && request.getParameter("is_delete" + i).equals("on")) { + bufferInfo.append(""); + break; + } + if (detailImageFile.isEmpty()) { + System.out.println("文件未上传"); + bufferInfo.append("," + request.getParameter("img" + i)); + } else { + String contentType = detailImageFile.getContentType(); + if (contentType.startsWith("image")) { + String realPath = request.getSession().getServletContext() + .getRealPath("/"); + realPath = realPath.replace("foryou", "ForyouImage"); + realPath = realPath.concat("food/"); + // System.out.println(realPath); + String newFileName = new Date().getTime() + "" + + new Random().nextInt() + ".jpg"; + FileUtils.copyInputStreamToFile(detailImageFile + .getInputStream(), new File(realPath, newFileName)); + String imageUrl = Constants.localIp + "/food/" + + newFileName; + bufferInfo.append("," + imageUrl); + + String oldImgUrl = request.getParameter("img" + i); + if (oldImgUrl != null) { + String[] temp = oldImgUrl.split("/"); + String imageName = temp[(temp.length - 1)]; + + String name2 = realPath + imageName; + + File file = new File(name2); + if (file.isFile()) { + file.delete();// 删除 + } + } + } + + } + } + + Map paramMap = new HashMap(); + paramMap.put("foodId", foodId); + paramMap.put("info", bufferInfo.toString()); + paramMap.put("campusId", campusId); + int flag = foodService.updateInfoByFoodId(paramMap); + if (flag != 0 && flag != -1) { + return "redirect:/pages/food.html"; + } + + return "redirect:/pages/uploadError.html"; + } + + /** + * 返回JSON数组类型的食品分类,用于客户端分页 + * + * @param campusId + * @return + */ + @RequestMapping("getAllFoodCategories4Client") + public @ResponseBody + JSONArray getAllFoodCategories4Client(@RequestParam Long campusId) { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + + List foodCategories = foodService + .getAllFoodCategories(paramMap); + + return (JSONArray) JSON.toJSON(foodCategories); + } + + /** + * 对应校区 + * + * @param foodId + * @return + */ + @RequestMapping("cancelRecommend") + public @ResponseBody + Map cancelRecommend(@RequestParam Long foodId, + @RequestParam Integer campusId) { + Map responseMap = new HashMap(); + Map paramMap = new HashMap(); + + paramMap.put("foodId", foodId); + paramMap.put("toHome", 0); + paramMap.put("campusId", campusId); + Integer cancel = foodService.cancelRecommend(paramMap); + if (cancel == -1 || cancel == 0) { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "取消推荐失败!"); + } else { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "取消推荐成功!"); + } + return responseMap; + } + + /** + * @param dateStart + * @param dateEnd + * @param page + * @param limit + * @return + */ + @RequestMapping("getTopFive") + public @ResponseBody + Map getTopFive(@RequestParam String dateStart, + @RequestParam Integer campusId, @RequestParam String dateEnd, + Integer page, Integer limit) { + Map requestMap = new HashMap(); + Map responseMap = new HashMap(); + + if (dateStart != null && dateEnd != null) { + try { + requestMap.put("dateStart", + new SimpleDateFormat("yyyy-MM-dd").parse(dateStart)); + requestMap.put("dateEnd", + new SimpleDateFormat("yyyy-MM-dd").parse(dateEnd)); + requestMap.put("limit", limit); + requestMap.put("offset", (page - 1) * limit); + requestMap.put("campusId", campusId); + JSONArray hotFive = (JSONArray) JSONArray.toJSON(foodService + .getTopFive(requestMap)); + responseMap.put("hotFive", hotFive); + } catch (ParseException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + /* + * JSONArray hotFive = (JSONArray) + * JSONArray.toJSON(foodService.getTopFive(requestMap)); + * responseMap.put("hotFive", hotFive); + */ + return responseMap; + } + + /* + * 添加商品库存 + */ + @RequestMapping("addFoodCountById") + @ResponseBody + public Map addFoodCountById(@RequestParam Integer campusId, + @RequestParam Integer foodId, @RequestParam Integer addCount) { + Map requestMap = new HashMap(); + Map responseMap = new HashMap(); + + requestMap.put("campusId", campusId); + requestMap.put("foodId", foodId); + Food thisFood = foodService.selectFoodByPrimaryKey(requestMap); + requestMap.put("foodCount", thisFood.getFoodCount() + addCount); + Integer result = foodService.addFoodCountById(requestMap); + if (result > 0) { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "添加库存成功"); + } else { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "添加库存失败"); + } + + return responseMap; + } + + /* + * 添加库存 + */ + @RequestMapping("addFoodCount") + @ResponseBody + public Map addFoodCount(@RequestParam Integer campusId, + @RequestParam Integer addCount) { + Map requestMap = new HashMap(); + Map responseMap = new HashMap(); + + requestMap.put("campusId", campusId); + requestMap.put("addCount", addCount); + Integer result = foodService.addFoodCount(requestMap); + if (result > 0) { + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "添加库存成功"); + } else { + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "添加库存失败"); + } + return responseMap; + } + + /* + * 获取商品详情 + */ + @RequestMapping("/getDetailImg") + @ResponseBody + public Map getDetailImg(@RequestParam Integer campusId, + @RequestParam Long foodId) { + Map resultMap = new HashMap(); + + try { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + paramMap.put("foodId", foodId); + + String imgs = foodService.getDetailImg(paramMap); + String[] detailImgs = imgs.split(","); + List detailImgsWithoutNull = new ArrayList(); + + for (String img : detailImgs) { + if (!img.trim().equals("")) { + detailImgsWithoutNull.add(img); + } + } + + resultMap.put("imgs", detailImgsWithoutNull); + + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "获取成功"); + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "获取失败"); + } + + return resultMap; + } +} diff --git a/src/main/java/com/changyu/foryou/controller/HotSearchController.java b/src/main/java/com/changyu/foryou/controller/HotSearchController.java new file mode 100644 index 0000000..4fbbb4a --- /dev/null +++ b/src/main/java/com/changyu/foryou/controller/HotSearchController.java @@ -0,0 +1,172 @@ +package com.changyu.foryou.controller; + +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; + +import org.springframework.stereotype.Controller; +import org.springframework.validation.BindingResult; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import com.changyu.foryou.model.HotSearch; +import com.changyu.foryou.service.HotSearchService; +import com.changyu.foryou.tools.Constants; + +@Controller +@RequestMapping("/hotSearch") +public class HotSearchController { + @Resource + private HotSearchService hotSearchService; + + /** + * 获取所有的热门搜索标签 + * + * @param campusId 校区id + * @return + */ + @RequestMapping("/getHotSearchs") + public @ResponseBody + List getHotSearchs(@RequestParam Integer campusId) { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + List searchs = hotSearchService.getHotSearchs(paramMap); + + return searchs; + } + + /** + * 将标签设为不显示 + * + * @param hotId 搜索标签id + * @return + */ + @RequestMapping("/setNot2Display") + public @ResponseBody + Map setNot2Display(@RequestParam Integer hotId) { + Map resultMap = new HashMap<>(); + + try { + Map paramMap = new HashMap(); + paramMap.put("hotId", hotId); + int flag = hotSearchService.setNot2Display(paramMap); + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "修改成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + } catch (Exception e) { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + + return resultMap; + } + + /** + * 将标签设为显示 + * + * @param hotId + * @return + */ + @RequestMapping("/set2Display") + public @ResponseBody + Map set2Display(@RequestParam Integer hotId) { + Map resultMap = new HashMap<>(); + try { + Map paramMap = new HashMap(); + //paramMap.put("campusId",campusId); + paramMap.put("hotId", hotId); + int flag = hotSearchService.set2Display(paramMap); + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "修改成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + } catch (Exception e) { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + + + return resultMap; + } + + /** + * 删除标签 + * + * @param hotIds + * @return + */ + @RequestMapping("/deleteHotSearchs") + public @ResponseBody + Map deleteHotSearches(@RequestParam String hotIds) { + Map resultMap = new HashMap<>(); + + try { + Map paramMap = new HashMap<>(); + + String[] hotIdsStrings = hotIds.split(","); + paramMap.put("hotIds", hotIdsStrings); + int flag = hotSearchService.deleteHotSearchs(paramMap); + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "修改成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + + return resultMap; + } + + @RequestMapping("/updateHotSearch") + public @ResponseBody + Map updateHotSearch(Integer hotId, String displayName, Integer campusId, String searchTag) { + Map resultMap = new HashMap(); + + try { + HotSearch hotSearch = new HotSearch(); + hotSearch.setSearchTag(searchTag); + hotSearch.setDisplayName(displayName); + + int flag = -1; + if (hotId == 0 || hotId == null) { + //新增 + hotSearch.setCampusId(campusId); + hotSearch.setCreateTime(new Date().getTime()); + flag = hotSearchService.insert(hotSearch); //添加 + } else { + hotSearch.setHotId(hotId); + flag = hotSearchService.update(hotSearch); //更新 + } + + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "修改成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + + return resultMap; + } +} diff --git a/src/main/java/com/changyu/foryou/controller/NewsController.java b/src/main/java/com/changyu/foryou/controller/NewsController.java index 8ccdeaa..c84e56b 100644 --- a/src/main/java/com/changyu/foryou/controller/NewsController.java +++ b/src/main/java/com/changyu/foryou/controller/NewsController.java @@ -29,178 +29,181 @@ /** * 处理新闻控制器 - * @author 殿下 * + * @author 殿下 */ @Controller @RequestMapping("/news") public class NewsController { - private NewsService newsService; - - public NewsService getNewsService() { - return newsService; - } - - @Autowired - public void setNewsService(NewsService newsService) { - this.newsService = newsService; - } - - /** - * 获取主界面图片 - * @return - */ - @RequestMapping("/getMainImage") - public @ResponseBody Map getMainImage(@RequestParam Integer campusId,Integer page,Integer limit){ - Map map=new HashMap(); - Map requestMap = new HashMap(); - requestMap.put("campusId", campusId); - if(page!=null&&limit!=null){ - requestMap.put("offset", (page-1)*limit); - requestMap.put("limit", limit); - } - try { - List news=newsService.getSmallNews(requestMap); - if(news.size()<=0){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取图片失败!"); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取图片成功!"); - map.put("newsList", news); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取图片失败"); - } - - return map; - } - - /** - * 根据id获取新闻 - * @param newsId - * @return - */ - @RequestMapping("/getNewsById") - public @ResponseBody Map getNewsById(@RequestParam Long newsId){ - Map map=new HashMap(); - - try { - News news=newsService.getNewsById(newsId); - if(news==null){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE,"获取新闻失败"); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE,"获取新闻成功"); - map.put("news", news); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE,"获取新闻失败"); - } - return map; - } - - @RequestMapping("/getPCAllNews") - public @ResponseBody JSONArray getPcAllNews(@RequestParam Integer campusId){ - List news=null; - Map requestMap = new HashMap(); - requestMap.put("campusId",campusId); - try { - news=newsService.getPcAllNews(requestMap); - System.out.println(news.size()); - for(News newsMessage:news){ - if(newsMessage.getContent().length()>27){ - String contentString=newsMessage.getContent().substring(0,26); - newsMessage.setContent(contentString+"....."); - } - } - JSONArray json=JSON.parseArray(JSON.toJSONStringWithDateFormat(news, "yyyy-MM-dd")); - return json; - } catch (Exception e) { - e.getStackTrace(); - e.getMessage(); - } - - return null; - } - - /** - * 更新新闻图片 - * @param myfile - * @param request - * @return - * @throws IOException - */ - @RequestMapping("/uploadNewsImage") - public String uploadNewsImage(@RequestParam MultipartFile myfile, HttpServletRequest request)throws IOException{ - News news=new News(); - - String title=request.getParameter("title"); - String content=request.getParameter("content"); - Integer campusId = Integer.parseInt(request.getParameter("campusId")); - - if(myfile.isEmpty()){ - System.out.println("文件未上传"); - }else{ - String contentType=myfile.getContentType(); - - if(contentType.startsWith("image")){ - String realPath = request.getSession().getServletContext().getRealPath("/"); - - realPath=realPath.replace("foryou", "foryouImage"); - realPath=realPath.concat("/news"); - - System.out.println(realPath); - String newFileName=new Date().getTime()+""+new Random().nextInt()+".jpg"; - FileUtils.copyInputStreamToFile(myfile.getInputStream(), new File(realPath, newFileName)); - - String imageUrl=Constants.localIp+"/news/"+newFileName; - news.setImgUrl(imageUrl); - news.setTitle(title); - news.setCreateTime(new Date()); - news.setContent(content); - news.setNewsId(new Date().getTime()); - news.setCampusId(campusId); - int flag= newsService.addNews(news); - if(flag!=0&&flag!=-1){ - return "redirect:/pages/news.html"; - } - } - } - - return "redirect:/pages/uploadError.html"; - } - - @RequestMapping(value="/deleteNews",method=RequestMethod.POST) - public @ResponseBody Map deleteNewsById(String newsId){ - Map map=new HashMap<>(); - String ids[]=newsId.split(","); - try { - int flag=0; - - for (String id:ids) { - if(id!=null&&!id.equals("")){ - flag=newsService.deleteById(id); - } - } - if(flag!=-1){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "删除新闻成功!"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除新闻失败!"); + private NewsService newsService; + + @Autowired + public void setNewsService(NewsService newsService) { + this.newsService = newsService; + } + + /** + * 获取主界面图片 + * + * @return + */ + @RequestMapping("/getMainImage") + public @ResponseBody + Map getMainImage(@RequestParam Integer campusId, Integer page, Integer limit) { + Map map = new HashMap(); + Map requestMap = new HashMap(); + requestMap.put("campusId", campusId); + if (page != null && limit != null) { + requestMap.put("offset", (page - 1) * limit); + requestMap.put("limit", limit); + } + try { + List news = newsService.getSmallNews(requestMap); + if (news.size() == 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "没有图片!"); + map.put("newsList", news); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取图片成功!"); + map.put("newsList", news); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取图片失败"); + } + + return map; + } + + /** + * 根据id获取新闻 + * + * @param newsId + * @return + */ + @RequestMapping("/getNewsById") + public @ResponseBody + Map getNewsById(@RequestParam Long newsId) { + Map map = new HashMap(); + + try { + News news = newsService.getNewsById(newsId); + if (news == null) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取新闻失败"); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取新闻成功"); + map.put("news", news); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取新闻失败"); + } + return map; + } + + @RequestMapping("/getPCAllNews") + public @ResponseBody + JSONArray getPcAllNews(@RequestParam Integer campusId) { + List news = null; + Map requestMap = new HashMap(); + requestMap.put("campusId", campusId); + try { + news = newsService.getPcAllNews(requestMap); + System.out.println(news.size()); + for (News newsMessage : news) { + if (newsMessage.getContent().length() > 27) { + String contentString = newsMessage.getContent().substring(0, 26); + newsMessage.setContent(contentString + "....."); + } + } + JSONArray json = JSON.parseArray(JSON.toJSONStringWithDateFormat(news, "yyyy-MM-dd")); + return json; + } catch (Exception e) { + e.getStackTrace(); + e.getMessage(); + } + + return null; + } + + /** + * 更新新闻图片 + * + * @param myfile + * @param request + * @return + * @throws IOException + */ + @RequestMapping("/uploadNewsImage") + public String uploadNewsImage(@RequestParam MultipartFile myfile, HttpServletRequest request) throws IOException { + News news = new News(); + + String title = request.getParameter("title"); + String content = request.getParameter("content"); + Integer campusId = Integer.parseInt(request.getParameter("campusId")); + if (myfile.isEmpty()) { + System.out.println("文件未上传"); + } else { + String contentType = myfile.getContentType(); + + if (contentType.startsWith("image")) { + String realPath = request.getSession().getServletContext().getRealPath("/"); + + realPath = realPath.replace("foryou", "ForyouImage"); + realPath = realPath.concat("/news"); + + System.out.println(realPath); + String newFileName = new Date().getTime() + "" + new Random().nextInt() + ".jpg"; + FileUtils.copyInputStreamToFile(myfile.getInputStream(), new File(realPath, newFileName)); + + String imageUrl = Constants.localIp + "/news/" + newFileName; + news.setImgUrl(imageUrl); + news.setTitle(title); + news.setCreateTime(new Date()); + news.setContent(content); + news.setNewsId(new Date().getTime()); + news.setCampusId(campusId); + int flag = newsService.addNews(news); + if (flag != 0 && flag != -1) { + return "redirect:/pages/news.html"; + } + } + } + + return "redirect:/pages/uploadError.html"; + } + + @RequestMapping(value = "/deleteNews", method = RequestMethod.POST) + public @ResponseBody + Map deleteNewsById(String newsId) { + Map map = new HashMap<>(); + String ids[] = newsId.split(","); + try { + int flag = 0; + + for (String id : ids) { + if (id != null && !id.equals("")) { + flag = newsService.deleteById(id); + } + } + if (flag != -1) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "删除新闻成功!"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除新闻失败!"); } - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除新闻失败!"); - } - - return map; - } + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除新闻失败!"); + } + + return map; + } } diff --git a/src/main/java/com/changyu/foryou/controller/OrderController.java b/src/main/java/com/changyu/foryou/controller/OrderController.java index ebe9b58..5d8b7da 100644 --- a/src/main/java/com/changyu/foryou/controller/OrderController.java +++ b/src/main/java/com/changyu/foryou/controller/OrderController.java @@ -1,833 +1,1616 @@ -package com.changyu.foryou.controller; - -import java.text.DecimalFormat; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.ResponseBody; - -import com.alibaba.fastjson.JSON; -import com.alibaba.fastjson.JSONArray; -import com.changyu.foryou.model.CartGood; -import com.changyu.foryou.model.DeliverChildOrder; -import com.changyu.foryou.model.DeliverOrder; -import com.changyu.foryou.model.Order; -import com.changyu.foryou.model.PCOrder; -import com.changyu.foryou.model.SmallOrder; -import com.changyu.foryou.model.SuperAdminOrder; -import com.changyu.foryou.model.TogetherOrder; -import com.changyu.foryou.service.FoodService; -import com.changyu.foryou.service.OrderService; -import com.changyu.foryou.service.PushService; -import com.changyu.foryou.service.UserService; -import com.changyu.foryou.tools.Constants; - - -/** - * 处理订单控制器 - * @author 殿下 - * - */ -@Controller -@RequestMapping("/order") -public class OrderController { - private OrderService orderService; - private UserService userService; - private FoodService foodService; - - private PushService pushService; - - public PushService getPushService() { - return pushService; - } - - @Autowired - public void setPushService(PushService pushService) { - this.pushService = pushService; - } - - public UserService getUserServce() { - return userService; - } - - @Autowired - public void setUserServce(UserService userService) { - this.userService = userService; - } - - public FoodService getFoodService() { - return foodService; - } - - @Autowired - public void setFoodService(FoodService foodService) { - this.foodService = foodService; - } - - protected static final Logger LOG = LoggerFactory.getLogger(OrderController.class); - - public OrderService getOrderService() { - return orderService; - } - - @Autowired - public void setOrderService(OrderService orderService) { - this.orderService = orderService; - } - - - /** - * 生成购物车订单 - * @param phoneId - * @param foodId - * @param foodCount - * @param foodSpecial - * @return - */ - @RequestMapping("/createOrder") - public @ResponseBody Map createOrder(@RequestParam Integer campusId,@RequestParam String phoneId,@RequestParam Long foodId, @RequestParam Integer foodCount,Integer foodSpecial){ - Map map=new HashMap(); - - try { - Order order=new Order(campusId,phoneId,foodId,foodCount,foodSpecial); - List oldOrders= orderService.selectOrder(order); - - //待优化。。。。。。。将delete和insert改为一次操作 - if(oldOrders.size()!=0){ - order.setOrderCount(foodCount+oldOrders.get(0).getOrderCount()); - orderService.deleteCartGood(order); - } - int flag=orderService.insertSelectiveOrder(order); - - if(flag!=-1&&flag!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "生成订单成功"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "生成订单失败"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "生成订单失败"); - } - - return map; - } - - - /** - * 获取下达的所有订单 - * @param phoneId,status - * @return - */ - @RequestMapping("/getOrderInMine") - public @ResponseBody Map getOrderInMine(@RequestParam String phoneId,Short status,Integer page,Integer limit){ - Map map=new HashMap(); - List togetherOrdersList=new ArrayList(); - - try { - Map paramMap=new HashMap(); - paramMap.put("phoneId",phoneId); - paramMap.put("status", status); - - if(limit!=null&&page!=null){ - paramMap.put("limit",limit); - paramMap.put("offset",(page-1)*limit); - } - List togetherIds=orderService.getTogetherId(paramMap); - - System.out.println(JSON.toJSONString(togetherIds)); - - if(togetherIds.size()!=0){ - for(String togetherId:togetherIds){ - TogetherOrder togetherOrder=new TogetherOrder(); //一单 - togetherOrder.setTogetherId(togetherId); - - paramMap.put("togetherId", togetherId); - List orderList=orderService.getOrderListInMine(paramMap); //一单里面的小订单 - togetherOrder.setSmallOrders(orderList); - togetherOrder.setStatus(orderList.get(0).getStatus()); - togetherOrder.setTogetherDate(orderList.get(0).getTogetherDate()); - togetherOrdersList.add(togetherOrder); - } - - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取订单成功"); - map.put("orderList", JSON.parse(JSON.toJSONStringWithDateFormat(togetherOrdersList, "yyyy-MM-dd"))); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "暂无订单"); - } - - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取订单失败"); - } - return map; - } - - /** - * 弃用 - * 获取下达的代发货订单 - * @param phoneId - * @return - */ - @RequestMapping("/getOrderInMineWait2Deliver") - public @ResponseBody Map getOrderInMineWait2Deliver(@RequestParam String phoneId){ - Map map=new HashMap(); - - try { - List orderList=orderService.getOrderListInMineWait2Deliver(phoneId); - if(orderList.size()!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取代发货订单成功"); - map.put("orderList", orderList); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "暂无代发货订单"); - } - - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取代发货订单失败"); - } - return map; - } - - /** - * 弃用 - * 获取下达的正在配送订单 - * @param phoneId - * @return - */ - @RequestMapping("/getOrderInMineDeliver") - public @ResponseBody Map getOrderInMineDeliver(@RequestParam String phoneId){ - Map map=new HashMap(); - - try { - List orderList=orderService.getOrderListInMineDeliver(phoneId); - if(orderList.size()!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取正在配送订单成功"); - map.put("orderList", orderList); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "暂无订单配送中"); - } - - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取配送订单失败"); - } - return map; - } - - /** - * 弃用 - * 获取完成订单 - * @param phoneId - * @return - */ - @RequestMapping("/getOrderInMineFinish") - public @ResponseBody Map getOrderInMineFinish(@RequestParam String phoneId){ - Map map=new HashMap(); - - try { - List orderList=orderService.getOrderListInMineFinish(phoneId); - if(orderList.size()!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取完成订单成功"); - map.put("orderList", orderList); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "暂无完成订单"); - } - - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取完成订单失败"); - } - return map; - } - - - /** - * 获取购物车里面的收藏订单(未完成订单) - * @param phoneId 手机号 - * @return - */ - @RequestMapping("/getUserOrder") - public @ResponseBody Map getUserOrder(@RequestParam String phoneId,@RequestParam Integer campusId,Integer limit ,Integer page){ - Map map=new HashMap(); - - try { - Map paramMap=new HashMap(); - paramMap.put("phoneId",phoneId); - paramMap.put("campusId", campusId); - - if(limit != null && page != null){ - paramMap.put("limit",limit); - paramMap.put("page", page); - } - List orderList=orderService.getOrderList(paramMap); - if(orderList!=null&&orderList.size()!=0){ - for(CartGood cartGood:orderList){ - if(cartGood.getIsDiscount()!=0){ - cartGood.setDiscountPrice(cartGood.getDiscountPrice()); //获取折扣价 - } - //Map paramMap=new HashMap(); - paramMap.put("foodId", cartGood.getFoodId()); - paramMap.put("foodSpeical",cartGood.getFoodSpecial()); - paramMap.put("campusId", campusId); - - cartGood.setSpecialName(foodService.getSpecialName(paramMap)); //获取食品口味名称 - cartGood.setFoodCount(foodService.getFoodSpecialCount(paramMap)); //获取该口味的数量 - } - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取购物车订单成功"); - map.put("orderList", orderList); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "购物车里暂时还没有订单哦,亲"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取购物车订单失败"); - } - - return map; - } - - /** - * 删除购物车中的某一订单 - * @param orderId - * @return - */ - @RequestMapping("/deleteUserOrder") - public @ResponseBody Map deleteUserOrder(@RequestParam Long orderId,@RequestParam String phoneId){ - Map map=new HashMap(); - - try { - int flag=orderService.deleteUserOrder(orderId,phoneId); - if(flag!=-1&&flag !=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "删除订单成功"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除订单失败"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除订单失败"); - } - - return map; - } - - - /** - * 删除多条订单,订单号用逗号隔开 - * @param orderId - * @param phoneId - * @return - */ - @RequestMapping("/deleteAllUserOrder") - public @ResponseBody Map deleteAllUserOrder(@RequestParam String orderId,@RequestParam String phoneId){ - Map map=new HashMap(); - - try { - int flag=0; - String[] orderIdStrings=orderId.split(","); - for(String oneOrderId:orderIdStrings){ - if(oneOrderId!=null&&!oneOrderId.trim().equals("")){ - flag=orderService.deleteUserOrder(Long.valueOf(oneOrderId),phoneId); - - if(flag==-1||flag==0){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除订单失败"); - break; - } - } - } - - if(flag!=-1&&flag!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "删除订单成功"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "删除订单失败"); - } - - return map; - } - - /** - * 编辑订单的个数 - * @param orderId 订单号 - * @param orderCount 订单数 - * @return - */ - @RequestMapping("/editUserOrder") - public @ResponseBody Map editUserOrder(@RequestParam Long orderId,@RequestParam String phoneId,@RequestParam Integer orderCount){ - Map map=new HashMap(); - - try { - int flag=orderService.editUserOrder(orderId,phoneId,orderCount); - if(flag!=0&&flag!=-1){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "编辑订单成功"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "编辑订单失败"); - } - - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "编辑订单失败"); - } - return map; - } - - - /** - * 获取成功订单 - * @param phoneId 用户手机号 - * @return - */ - @RequestMapping("/getUserSuccessOrder") - public @ResponseBody Map getUserSuccessOrder(@RequestParam String phoneId){ - Map map=new HashMap(); - - try { - List orderList=orderService.getOrderSuccessList(phoneId); - if(orderList!=null&&orderList.size()!=0){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取订单成功"); - map.put("orderList", orderList); - }else{ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "暂时还没有订单哦,亲"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取订单失败"); - } - - return map; - } - - /** - * 改变订单至下单状态 - * @param phoneId - * @param orderId - * @param message 留言 - * @param reserveTime 预约送达时间 - * @return - */ - @RequestMapping("/orderToBuy") - public @ResponseBody Map changeOrderStatus2Buy(@RequestParam String phoneId,@RequestParam String orderId,@RequestParam String rank,String reserveTime,String message){ - Map map=new HashMap(); - - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "暑期间米奇暂停运营,非常抱歉,亲,下学期再见喽。"); - /*try { - Calendar calendar=Calendar.getInstance(); - //判断是否超出营业时间,营业时间为9:00--21:30 - if(calendar.get(Calendar.HOUR_OF_DAY)>22||(calendar.get(Calendar.HOUR_OF_DAY)>=21&&calendar.get(Calendar.MINUTE)>30)||calendar.get(Calendar.HOUR_OF_DAY)<9){ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "米奇的营业时间为9:00--21:30,欢迎下次光顾。"); - return map; - } - - - String[] orderString=orderId.split(","); - int flag=0; - String togetherId=phoneId+String.valueOf(new Date().getTime()); - - //boolean tag=true; - for(String id:orderString){ - //这里做写入单价操作,还没有写!!! - - flag=orderService.changeOrderStatus2Buy(phoneId,id,togetherId,rank,reserveTime,message); - - //更新库存和销量 - Order order=orderService.selectOneOrder(phoneId,id); //获取该笔订单的消息 - - foodService.changeFoodCount(order.getFoodId(),order.getFoodSpecial(),order.getOrderCount()); //增加销量,减少存货 - - if(flag==0||flag==-1){ - break; - } - } - - if(flag!=-1&&flag!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "下单成功,即将开始配送!"); - - //开启线程去访问极光推送 - new Thread(new Runnable() { - - @Override - public void run() { - //向超级管理员推送,让其分发订单 - - //推送 - //pushService.sendPushByTag("0", "一笔新的订单已经到达,请前往选单中查看,并尽早分派配送员进行配送。米奇零点。", 1); - - Map paramterMap=new HashMap(); - List superPhones=userService.getAllSuperAdminPhone(paramterMap); - for(String phone:superPhones){ - - //推送 - pushService.sendPush(phone, "一笔新的订单已经到达,请前往选单中查看,并尽早分派配送员进行配送。米奇零点。", 1); - } - } - }).start(); - - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "下单失败,请重新开始下单"); - } - - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "下单失败,请重新开始下单"); - }*/ - return map; - } - - /** - * 改变订单至配送状态 - * @param phoneId - * @param orderId - * @return - */ - @RequestMapping("/orderToDeliver") - public @ResponseBody Map changeOrderStatus2Deliver(@RequestParam String phoneId,@RequestParam final String togetherId){ - Map map=new HashMap(); - - try { - int flag=orderService.changeOrderStatus2Deliver(phoneId,togetherId); - - if(flag!=-1&&flag!=0){ - - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "正在配送中!"); - - //开启线程访问服务器进行推送 - new Thread(new Runnable() { - - @Override - public void run() { - //推送 - String userPhone=userService.getUserPhone(togetherId); - System.out.println(userPhone); - pushService.sendPush(userPhone, "您有一笔订单正在配送中,请稍候。感谢您对米奇零点的支持", 1); - - } - }).start(); - - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "点击配送失败,请重试"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "点击配送失败,请重试!"); - } - return map; - } - - /** - * 修改订单状态至完成 - * @param phoneId - * @param togetherId - * @return - */ - @RequestMapping("/orderToFinish") - public @ResponseBody Map changeOrderStatus2Finish(@RequestParam String phoneId,@RequestParam String togetherId){ - Map map=new HashMap(); - try { - int flag=orderService.changeOrderStatus2Finish(phoneId,togetherId); - if(flag!=-1&&flag!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "订单完成,谢谢您的惠顾!"); - - final String userPhone=userService.getUserPhone(togetherId); - - new Thread(new Runnable() { - - @Override - public void run() { - //推送 - pushService.sendPush(userPhone, "您有一笔订单已完成交易,赶快去评价吧!米奇零点欢迎您下次惠顾", 1); - - } - }).start(); - - - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "点击完成订单失败,请重试"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "点击完成订单失败,请重试"); - } - return map; - } - - /** - * 超级管理员获取待发货单信息 - * @param isSelected - * @return - */ - @RequestMapping("/superAdminGetOrder") - public @ResponseBody Map superAdminGetOrder(@RequestParam Integer isSelected){ - Map map=new HashMap(); - try { - List orders=orderService.superAdminGetOrder(isSelected); - - for(SuperAdminOrder superAdminOrder:orders){ - String togetherId=superAdminOrder.getTogetherId(); - - List deliverChildOrders=orderService.getDeliverChildOrders(togetherId); - Float priceFloat=0f; - - //获取该笔订单总价 - for(DeliverChildOrder deliverChildOrder:deliverChildOrders){ - if(deliverChildOrder.getIsDiscount()==0){ - priceFloat+=deliverChildOrder.getPrice()*deliverChildOrder.getOrderCount(); - }else{ - priceFloat+=deliverChildOrder.getDiscountPrice()*deliverChildOrder.getOrderCount(); - } - } - superAdminOrder.setPrice(priceFloat); - } - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取订单成功!"); - map.put("orderList",JSONArray.parse(JSON.toJSONStringWithDateFormat(orders, "yyyy-MM-dd"))); - } catch (Exception e) { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取订单失败!"); - } - - return map; - } - - /** - * 给某一订单设置配送员 - * @param togetherId - * @param adminPhone - * @return - */ - @RequestMapping("/setDeliverAdmin") - public @ResponseBody Map setDeliverAdmin(@RequestParam String togetherId,@RequestParam final String adminPhone){ - Map map=new HashMap(); - try { - int flag=orderService.setDeliverAdmin(togetherId,adminPhone); //设置配送员 - if(flag!=-1&&flag!=0){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "设置配送员成功!"); - - new Thread(new Runnable() { - - public void run() { - //推送 - pushService.sendPush(adminPhone, "米奇零点提醒您,一笔新订单已达到,请及时配送,辛苦您了。", 1); - - } - }).start(); - - - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "设置配送员失败!"); - } - } catch (Exception e) { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "设置配送员失败!"); - } - - return map; - } - - /** - * - * 配送员获取配送订单 - * @param phoneId - * @return - */ - @RequestMapping("/DeliverAdminGetOrder") - public @ResponseBody Map deliverGetOrder(@RequestParam String phoneId){ - Map map=new HashMap(); - try { - //获取一笔订单列表 - List deliverOrders=orderService.deliverGetOrder(phoneId); - - for(DeliverOrder deliverOrder:deliverOrders){ - String togetherId=deliverOrder.getTogetherId(); - //获取订单食品集 - List deliverChildOrders=orderService.getDeliverChildOrders(togetherId); - Float priceFloat=0f; - - //获取该笔订单总价 - for(DeliverChildOrder deliverChildOrder:deliverChildOrders){ - if(deliverChildOrder.getIsDiscount()==0){ - priceFloat+=deliverChildOrder.getPrice()*deliverChildOrder.getOrderCount(); - }else{ - priceFloat+=deliverChildOrder.getDiscountPrice()*deliverChildOrder.getOrderCount(); - } - } - deliverOrder.setTotalPrice(priceFloat); - deliverOrder.setOrderList(deliverChildOrders); - } - - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取订单成功!"); - map.put("orderList",JSONArray.parse(JSON.toJSONStringWithDateFormat(deliverOrders, "yyyy-MM-dd"))); - } catch (Exception e) { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取订单失败!"); - } - - return map; - } - - /** - * pc端获取简单的订单列表 - * @param status - * @param limit - * @param offset - * @param search - * @return - */ - @RequestMapping(value="/getPCSimpleOrder") - public @ResponseBody Map getPcOrders(Short status,Integer limit,Integer offset,String search){ - Map map=new HashMap(); - - List lists=orderService.getPCOrders(status,limit,offset,search); - DecimalFormat df = new DecimalFormat("####.00"); - - for(PCOrder order:lists){ - //如果是完成订单,直接显示交易价格,否则计算应收取的价格 - if(order.getPrice()==null){ - if(order.getIsDiscount()==0){ - order.setPrice(Float.parseFloat(df.format(order.getFoodPrice()*order.getOrderCount()))); - }else{ - order.setPrice(Float.parseFloat(df.format(order.getDiscountPrice()*order.getOrderCount()))); - } - } - } - - JSONArray jsonArray=JSONArray.parseArray(JSON.toJSONStringWithDateFormat(lists, "yyyy-MM-dd")); - - long totalCount=orderService.getPCOrdersCount(status,search); - map.put("rows", jsonArray); - map.put("total", totalCount); - return map; - } - - /** - * 设置无效订单 - * @param togetherId - * @return - */ - @RequestMapping(value="/setOrderInvalid",method=RequestMethod.POST) - public @ResponseBody Map setOrderInvalid(@RequestParam String togetherId) { - Map resultMap=new HashMap(); - - try { - Map parameterMap=new HashMap<>(); - parameterMap.put("togetherId", togetherId); - - int flag = orderService.setOrderInvalid(parameterMap); - if(flag!=-1){ - resultMap.put(Constants.STATUS, Constants.SUCCESS); - resultMap.put(Constants.MESSAGE, "订单已取消"); - }else{ - resultMap.put(Constants.STATUS, Constants.FAILURE); - resultMap.put(Constants.MESSAGE, "订单取消失败,请重试"); - } - } catch (Exception e) { - e.printStackTrace(); - resultMap.put(Constants.STATUS, Constants.FAILURE); - resultMap.put(Constants.MESSAGE, "订单取消失败,请重试"); - } - - return resultMap; - } - - /** - * 获取某日订单所有订单详情 - * @param date - * @return - */ - @RequestMapping(value="getOrdersByDate") - @ResponseBody public Map getOrdersByDate(String date){ - Map resultMap=new HashMap(); - DecimalFormat df = new DecimalFormat("####.00"); - - try { - if(date.equals("")||date.equals("null"))date=null; - else date=date.replace("年", "-").replace("月","-").replace("日",""); - Map paramMap=new HashMap(); - paramMap.put("date", date); - System.out.println(date); - List deliverOrders=orderService.selectOrdersByDate(paramMap); - Float totalPrice=0f; - for(DeliverOrder deliverOrder:deliverOrders){ - String togetherId=deliverOrder.getTogetherId(); - System.out.println(JSON.toJSON(deliverOrder.getTogetherDate())); - //获取订单食品集 - paramMap.put("togetherId",togetherId); - List deliverChildOrders=orderService.getAllChildOrders(paramMap); - Float priceFloat=0f; - - //获取该笔订单总价 - for(DeliverChildOrder deliverChildOrder:deliverChildOrders){ - if(deliverChildOrder.getIsDiscount()==0){ - priceFloat+=deliverChildOrder.getPrice()*deliverChildOrder.getOrderCount(); - }else{ - priceFloat+=deliverChildOrder.getDiscountPrice()*deliverChildOrder.getOrderCount(); - } - } - totalPrice+=priceFloat; - deliverOrder.setTotalPrice(Float.parseFloat(df.format(priceFloat))); - deliverOrder.setOrderList(deliverChildOrders); - } - - resultMap.put("total_price", df.format(totalPrice)); - resultMap.put("counts", deliverOrders.size()); - resultMap.put("orderList",JSONArray.parse(JSON.toJSONStringWithDateFormat(deliverOrders, "yyyy-MM-dd HH:mm:ss"))); - - } catch (Exception e) { - e.printStackTrace(); - } - - return resultMap; - } -} +package com.changyu.foryou.controller; + +import java.text.DecimalFormat; +import java.util.ArrayList; +import java.util.Calendar; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.servlet.http.HttpServletRequest; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.changyu.foryou.model.BigOrder; +import com.changyu.foryou.model.Campus; +import com.changyu.foryou.model.CartGood; +import com.changyu.foryou.model.DeliverChildOrder; +import com.changyu.foryou.model.DeliverOrder; +import com.changyu.foryou.model.Order; +import com.changyu.foryou.model.PCOrder; +import com.changyu.foryou.model.Preferential; +import com.changyu.foryou.model.Receiver; +import com.changyu.foryou.model.SmallOrder; +import com.changyu.foryou.model.SuperAdminOrder; +import com.changyu.foryou.model.TogetherOrder; +import com.changyu.foryou.model.TradeInfo; +import com.changyu.foryou.payment.ChargeInterface; +import com.changyu.foryou.service.CampusService; +import com.changyu.foryou.service.FoodService; +import com.changyu.foryou.service.OrderService; +import com.changyu.foryou.service.PreferentialService; +import com.changyu.foryou.service.PushService; +import com.changyu.foryou.service.ReceiverService; +import com.changyu.foryou.service.UserService; +import com.changyu.foryou.tools.CalendarTool; +import com.changyu.foryou.tools.Constants; +import com.pingplusplus.model.Charge; +import com.pingplusplus.model.Refund; + +/** + * 处理订单控制器 + * + * @author 殿下 + */ +@Controller +@RequestMapping("/order") +public class OrderController { + private OrderService orderService; + private UserService userService; + private FoodService foodService; + private ReceiverService receiverService; + private CampusService campusService; + private PushService pushService; + + @Autowired() + @Qualifier("preferentialService") + private PreferentialService preferentialService; + + @Autowired + public void setReceiverService(ReceiverService receiverService) { + this.receiverService = receiverService; + } + + @Autowired + public void setCampusService(CampusService campusService) { + this.campusService = campusService; + } + + public PushService getPushService() { + return pushService; + } + + @Autowired + public void setPushService(PushService pushService) { + this.pushService = pushService; + } + + @Autowired + public void setUserServce(UserService userService) { + this.userService = userService; + } + + @Autowired + public void setFoodService(FoodService foodService) { + this.foodService = foodService; + } + + protected static final Logger LOG = LoggerFactory + .getLogger(OrderController.class); + + @Autowired + public void setOrderService(OrderService orderService) { + this.orderService = orderService; + } + + /** + * 生成购物车订单 + * + * @param phoneId + * @param foodId + * @param foodCount + * @param foodSpecial + * @return + */ + @RequestMapping("/createOrder") + public @ResponseBody + Map createOrder( + @RequestParam Integer campusId, @RequestParam String phoneId, + @RequestParam Long foodId, @RequestParam Integer foodCount) { + Map map = new HashMap(); + + try { + Order order = new Order(campusId, phoneId, foodId, foodCount); + Long orderId = order.getOrderId(); + List oldOrders = orderService.selectOrder(order); + + // 待优化。。。。。。。将delete和insert改为一次操作 + if (oldOrders.size() != 0) { + order.setOrderCount(foodCount + + oldOrders.get(0).getOrderCount()); + orderService.deleteCartGood(order); + } + + int flag = orderService.insertSelectiveOrder(order); + + if (flag != -1 && flag != 0) { + map.put("orderId", orderId); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "生成订单成功"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "生成订单失败"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "生成订单失败"); + } + + return map; + } + + /** + * 获取下达的所有订单 + * + * @param phoneId ,status + * @return + */ + @RequestMapping("/getOrderInMine") + public @ResponseBody + Map getOrderInMine( + @RequestParam String phoneId, Short status, Integer page, + Integer limit) { + Map map = new HashMap(); + List togetherOrdersList = new ArrayList(); + + try { + Map paramMap = new HashMap(); + paramMap.put("phoneId", phoneId); + paramMap.put("status", status); + + List count = new ArrayList(); + for (int i = 1; i <= 5; i++) { + paramMap.put("status", i); + List togetherId = orderService.getTogetherId(paramMap); + count.add(togetherId.size()); + } + + map.put("waitPay", count.get(0)); + map.put("hasPaid", count.get(1)); + map.put("delivering", count.get(2)); + map.put("waitComment", count.get(3)); + map.put("done", count.get(4)); + + if (limit != null && page != null) { + paramMap.put("limit", limit); + paramMap.put("offset", (page - 1) * limit); + } + paramMap.put("status", status); + List togetherIds = orderService.getTogetherId(paramMap); + + //System.out.println(JSON.toJSONString(togetherIds)); + + if (togetherIds.size() != 0) { + + for (String togetherId : togetherIds) { + TogetherOrder togetherOrder = new TogetherOrder(); // 一单 + togetherOrder.setTogetherId(togetherId); + paramMap.put("togetherId", togetherId); + List orderList = orderService + .getOrderListInMine(paramMap); // 一单里面的小订单 + togetherOrder.setSmallOrders(orderList); + togetherOrder.setPayWay(orderList.get(0).getPayWay()); + togetherOrder.setTotalPrice(orderList.get(0).getTotalPrice()); + Short totalStatus = 0; + if (orderList.get(0).getStatus() != 4) { + totalStatus = orderList.get(0).getStatus(); + } else { + totalStatus = 5; + for (int i = 0; i < orderList.size(); i++) { + if (orderList.get(i).getIsRemarked() == 0) { + totalStatus = 4; + } + } + } + togetherOrder.setStatus(totalStatus); + togetherOrder.setTogetherDate(orderList.get(0) + .getTogetherDate()); + togetherOrdersList.add(togetherOrder); + } + + //根据phoneId获取各个状态订单数量 + + /*for (int i = 1; i <= 5; i++) { + MiniOrder order = new MiniOrder(); + order.setStatus(Short.parseShort(i+"")); + if(i==1||i==2||i==3){ + paramMap.put("status", i); + } + else if(i==4){ + paramMap.put("status", 4); + paramMap.put("isRemarked", 0); + } + else if(i==5){ + paramMap.put("status", 4); + paramMap.put("isRemarked", 1); + } + order.setOrderCount(orderService.getMiniOrderByPhone(paramMap)); + statusList.add(order); + }*/ + /*map.put("statusList", statusList);*/ + + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取订单成功"); + map.put("orderList", JSON.parse(JSON + .toJSONStringWithDateFormat(togetherOrdersList, + "yyyy-MM-dd"))); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "暂无订单"); + } + + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取订单失败"); + } + return map; + } + + /** + * 弃用 获取下达的代发货订单 + * + * @param phoneId + * @return + */ + @RequestMapping("/getOrderInMineWait2Deliver") + public @ResponseBody + Map getOrderInMineWait2Deliver( + @RequestParam String phoneId) { + Map map = new HashMap(); + + try { + List orderList = orderService + .getOrderListInMineWait2Deliver(phoneId); + if (orderList.size() != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取代发货订单成功"); + map.put("orderList", orderList); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "暂无代发货订单"); + } + + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取代发货订单失败"); + } + return map; + } + + /** + * 弃用 获取下达的正在配送订单 + * + * @param phoneId + * @return + */ + @RequestMapping("/getOrderInMineDeliver") + public @ResponseBody + Map getOrderInMineDeliver( + @RequestParam String phoneId) { + Map map = new HashMap(); + + try { + List orderList = orderService + .getOrderListInMineDeliver(phoneId); + if (orderList.size() != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取正在配送订单成功"); + map.put("orderList", orderList); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "暂无订单配送中"); + } + + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取配送订单失败"); + } + return map; + } + + /** + * 弃用 获取完成订单 + * + * @param phoneId + * @return + */ + @RequestMapping("/getOrderInMineFinish") + public @ResponseBody + Map getOrderInMineFinish( + @RequestParam String phoneId) { + Map map = new HashMap(); + + try { + List orderList = orderService + .getOrderListInMineFinish(phoneId); + if (orderList.size() != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取完成订单成功"); + map.put("orderList", orderList); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "暂无完成订单"); + } + + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取完成订单失败"); + } + return map; + } + + /** + * 获取购物车里面的收藏订单(未完成订单) + * + * @param phoneId 手机号 + * @return + */ + @RequestMapping("/getUserOrder") + public @ResponseBody + Map getUserOrder( + @RequestParam String phoneId, @RequestParam Integer campusId, + Integer limit, Integer page) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap(); + paramMap.put("phoneId", phoneId); + paramMap.put("campusId", campusId); + + if (limit != null && page != null) { + paramMap.put("limit", limit); + paramMap.put("offset", (page - 1) * limit); + } + List orderList = orderService.getOrderList(paramMap); + if (orderList != null && orderList.size() != 0) { + for (CartGood cartGood : orderList) { + if (cartGood.getIsDiscount() != 0) { + cartGood.setDiscountPrice(cartGood.getDiscountPrice()); // 获取折扣价 + } + paramMap.put("foodId", cartGood.getFoodId()); + paramMap.put("campusId", campusId); + } + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取购物车订单成功"); + map.put("orderList", orderList); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "购物车里暂时还没有订单哦,亲"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取购物车订单失败"); + } + + return map; + } + + /** + * 删除购物车中的某一订单 + * + * @param orderId + * @return + */ + @RequestMapping("/deleteUserOrder") + public @ResponseBody + Map deleteUserOrder( + @RequestParam Long orderId, @RequestParam String phoneId) { + Map map = new HashMap(); + + try { + int flag = orderService.deleteUserOrder(orderId, phoneId); + if (flag != -1 && flag != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "删除订单成功"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除订单失败"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除订单失败"); + } + + return map; + } + + /** + * 删除多条订单,订单号用逗号隔开 + * + * @param orderId + * @param phoneId + * @return + */ + @RequestMapping("/deleteAllUserOrder") + public @ResponseBody + Map deleteAllUserOrder( + @RequestParam String orderId, @RequestParam String phoneId) { + Map map = new HashMap(); + + try { + int flag = 0; + String[] orderIdStrings = orderId.split(","); + for (String oneOrderId : orderIdStrings) { + if (oneOrderId != null && !oneOrderId.trim().equals("")) { + flag = orderService.deleteUserOrder( + Long.valueOf(oneOrderId), phoneId); + + if (flag == -1 || flag == 0) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除订单失败"); + break; + } + } + } + + if (flag != -1 && flag != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "删除订单成功"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除订单失败"); + } + + return map; + } + + /** + * 编辑订单的个数 + * + * @param orderId 订单号 + * @param orderCount 订单数 + * @return + */ + @RequestMapping("/editUserOrder") + public @ResponseBody + Map editUserOrder( + @RequestParam Long orderId, @RequestParam String phoneId, + @RequestParam Integer orderCount) { + Map map = new HashMap(); + + try { + int flag = orderService.editUserOrder(orderId, phoneId, orderCount); + if (flag != 0 && flag != -1) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "编辑订单成功"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "编辑订单失败"); + } + + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "编辑订单失败"); + } + return map; + } + + /** + * 获取成功订单 + * + * @param phoneId 用户手机号 + * @return + */ + @RequestMapping("/getUserSuccessOrder") + public @ResponseBody + Map getUserSuccessOrder( + @RequestParam String phoneId) { + Map map = new HashMap(); + + try { + List orderList = orderService.getOrderSuccessList(phoneId); + if (orderList != null && orderList.size() != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取订单成功"); + map.put("orderList", orderList); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "暂时还没有订单哦,亲"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取订单失败"); + } + + return map; + } + + /** + * 改变订单至下单状态 + * + * @param phoneId + * @param orderId + * @param message 留言 + * @param reserveTime 预约送达时间 + * @return + */ + @RequestMapping("/orderToBuy") + public @ResponseBody + Map changeOrderStatus2Buy( + @RequestParam String phoneId, @RequestParam String orderId, + @RequestParam String rank, String reserveTime, String message, @RequestParam Short payWay, + @RequestParam Float totalPrice, Integer preferentialsId, HttpServletRequest request) { + Map map = new HashMap(); + Map paramMap = new HashMap(); + + try { + Calendar calendar = Calendar.getInstance(); + + String[] orderString = orderId.split(","); //传过来的orderId是一个以逗号隔开d字符串 + int flag = 0; + String togetherId = phoneId + String.valueOf(new Date().getTime()); + + paramMap.put("orderId", orderString[0]); + paramMap.put("phoneId", phoneId); + Campus campus = campusService.getCampus(paramMap); //根据订单获取该校区的详细情况 + Integer campusId = campus.getCampusId(); + //判断该校区是否正在营业 + if (campus.getStatus() == 0) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, campus.getCloseReason()); + return map; + } + + Calendar runOpenTime = Calendar.getInstance(); + runOpenTime.setTime(campus.getOpenTime()); + Calendar runCloseTime = Calendar.getInstance(); + runCloseTime.setTime(campus.getCloseTime()); + //判断是否超出校区营业时间 + + int openHour = runOpenTime.get(Calendar.HOUR_OF_DAY); + int openMinute = runOpenTime.get(Calendar.MINUTE); + int closeHour = runCloseTime.get(Calendar.HOUR_OF_DAY); + int closeMinute = runCloseTime.get(Calendar.MINUTE); + + if (calendar.get(Calendar.HOUR_OF_DAY) > closeHour + || (calendar.get(Calendar.HOUR_OF_DAY) == closeHour && calendar.get(Calendar.MINUTE) > closeMinute) + || calendar.get(Calendar.HOUR_OF_DAY) < openHour + || (calendar.get(Calendar.HOUR_OF_DAY) == openHour && calendar.get(Calendar.MINUTE) < runOpenTime.get(openMinute)) + ) { + StringBuffer message2 = new StringBuffer(); + message2.append("fou优该校区的营业时间为" + openHour + ":"); + + if (openMinute < 10) { + message2.append("0" + openMinute); + } else { + message2.append(openMinute); + } + message2.append("--" + closeHour + ":"); + if (openMinute < 10) { + message2.append("0" + closeMinute); + } else { + message2.append(closeMinute); + } + + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, message2.toString()); + return map; + } + DecimalFormat df = new DecimalFormat("####.0"); + + Float serverPrice = orderService.getPriceDiscounted(orderString, campusId, phoneId); + if (Math.abs(serverPrice - totalPrice) >= 1) { //判断客户端价格和服务器端价格是否一致 + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "价格有误"); + System.out.println(serverPrice); + return map; + } + //写入单价操作 + for (String id : orderString) { + float price = 0f; + paramMap.put("orderId", id); + SmallOrder smallOrder = orderService.getOrderById(paramMap); + if (smallOrder.getIsDiscount() == 1) { + price = (smallOrder.getDiscountPrice() * smallOrder.getOrderCount()); + } else { + price = smallOrder.getPrice() * smallOrder.getOrderCount(); + } + flag = orderService.changeOrderStatus2Buy(phoneId, id, + togetherId, rank, reserveTime, message, payWay, price, totalPrice); + + Order order = orderService.selectOneOrder(phoneId, id); // 获取该笔订单的消息 + paramMap.put("foodId", order.getFoodId()); + paramMap.put("orderCount", order.getOrderCount()); + paramMap.put("campusId", campus.getCampusId()); + foodService.changeFoodCount(paramMap); // 增加销量,减少存货 + if (flag == 0 || flag == -1) { + break; + } + } + + String channel; + if (payWay == 1) { + channel = "alipay"; + } else { + channel = "wx"; + } + + if (flag != -1 && flag != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "下单成功,即将开始配送!"); + String clientIp = getIpAddr(request); + Charge charge = ChargeInterface.charge(channel, togetherId, (Float.parseFloat(df.format(totalPrice))), clientIp); + map.put("charge", charge); //支付 + map.put("totalPrice", df.format(totalPrice)); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "下单失败,请重新开始下单"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "下单失败,请重新开始下单"); + } + + return map; + } + + /** + * 改变订单至配送状态 + * + * @param adminPhone + * @param togetherId + * @return + */ + @Deprecated + @RequestMapping("/orderToDeliver") + public @ResponseBody + Map changeOrderStatus2Deliver( + @RequestParam String adminPhone, + @RequestParam final String togetherId) { + Map map = new HashMap(); + + try { + int flag = orderService.changeOrderStatus2Deliver(adminPhone, + togetherId); + + if (flag != -1 && flag != 0) { + + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "正在配送中!"); + + // 开启线程访问服务器进行推送 + + new Thread(new Runnable() { + + public void run() { //推送 + String userPhone = userService.getUserPhone(togetherId); + System.out.println(userPhone); + pushService.sendPush(userPhone, + "您有一笔订单正在配送中,请稍候。感谢您对For优的支持", 1); + + } + }).start(); + + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "点击配送失败,请重试"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "点击配送失败,请重试!"); + } + return map; + } + + /** + * 修改订单状态至完成 + * + * @param adminPhone + * @param togetherId + * @return + */ + @Deprecated + @RequestMapping("/orderToFinish") + public @ResponseBody + Map changeOrderStatus2Finish( + @RequestParam String adminPhone, @RequestParam String togetherId) { + Map map = new HashMap(); + try { + int flag = orderService.changeOrderStatus2Finish(adminPhone, + togetherId); + if (flag != -1 && flag != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "订单完成,谢谢您的惠顾!"); + + final String userPhone = userService.getUserPhone(togetherId); + + + new Thread(new Runnable() { + + public void run() { //推送 + pushService.sendPush(userPhone, + "您有一笔订单已完成交易,赶快去评价吧!For优欢迎您下次惠顾", 1); + + } + }).start(); + + + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "点击完成订单失败,请重试"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "点击完成订单失败,请重试"); + } + return map; + } + + /** + * 超级管理员获取待发货单信息 + * + * @param isSelected + * @return + */ + @RequestMapping("/superAdminGetOrder") + public @ResponseBody + Map superAdminGetOrder( + @RequestParam Integer isSelected, @RequestParam Integer campusId, + Integer limit, Integer page) { + Map map = new HashMap(); + + Map requestMap = new HashMap(); + requestMap.put("isSelected", isSelected); + requestMap.put("campusId", campusId); + requestMap.put("tag", 1); //订单有效 + //System.out.println(isSelected); + if (page != null && limit != null) { + requestMap.put("limit", limit); + requestMap.put("offset", (page - 1) * limit); + } + + try { + List orders = orderService + .superAdminGetOrder(requestMap); + + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取订单成功!"); + map.put("orderList", JSONArray.parse(JSON + .toJSONStringWithDateFormat(orders, "yyyy-MM-dd"))); + } catch (Exception e) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取订单失败!"); + } + + return map; + } + + /** + * 给某一订单设置配送员 + * + * @param togetherId + * @param adminPhone + * @return + */ + @RequestMapping("/setDeliverAdmin") + public @ResponseBody + Map setDeliverAdmin( + @RequestParam String togetherId, + @RequestParam final String adminPhone) { + Map map = new HashMap(); + try { + int flag1 = orderService.setDeliverAdmin(togetherId, adminPhone); // 设置配送员 + //修改大订单状态为3(配送中) + Map paramMap = new HashMap(); + paramMap.put("togetherId", togetherId); + paramMap.put("status", 3); + int flag2 = orderService.modifyOrderStatus(paramMap); + if (flag1 != -1 && flag1 != 0 && flag2 != -1 && flag2 != 0) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "设置配送员成功!"); + + new Thread(new Runnable() { + + public void run() { + // 推送 + pushService.sendPush(adminPhone, + "For优提醒您,一笔新订单已达到,请及时配送,辛苦您了。", 1); + + } + }).start(); + + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "设置配送员失败!"); + } + } catch (Exception e) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "设置配送员失败!"); + } + + return map; + } + + /** + * 配送员获取配送订单 + * + * @param phoneId + * @return + */ + @RequestMapping("/DeliverAdminGetOrder") + public @ResponseBody + Map deliverGetOrder( + @RequestParam String phoneId, @RequestParam Integer campusId, + Integer limit, Integer page) { + Map map = new HashMap(); + + Map requestMap = new HashMap(); + requestMap.put("phoneId", phoneId); + requestMap.put("campusId", campusId); + if (page != null && limit != null) { + requestMap.put("offset", (page - 1) * limit); + requestMap.put("limit", limit); + } + try { + // 获取一笔订单列表 + List deliverOrders = orderService + .deliverGetOrder(requestMap); + if (deliverOrders.size() <= 0) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "订单列表为空,请检查phoneId和campusId是否正确。如正确,则当前没有要配送的订单"); + } else { + for (DeliverOrder deliverOrder : deliverOrders) { + String togetherId = deliverOrder.getTogetherId(); + // 获取订单食品集 + List deliverChildOrders = orderService + .getDeliverChildOrders(togetherId); + Float priceFloat = 0f; + priceFloat = orderService.getTotalPriceByTogetherId(togetherId); +// // 获取该笔订单总价 +// for (DeliverChildOrder deliverChildOrder : deliverChildOrders) { +// if (deliverChildOrder.getIsDiscount() == 0) { +// priceFloat += deliverChildOrder.getPrice() +// * deliverChildOrder.getOrderCount(); +// } else { +// priceFloat += deliverChildOrder.getDiscountPrice() +// * deliverChildOrder.getOrderCount(); +// } +// } + deliverOrder.setTotalPrice(priceFloat); + deliverOrder.setOrderList(deliverChildOrders); + } + + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取配送订单成功!"); + map.put("orderList", JSONArray.parse(JSON + .toJSONStringWithDateFormat(deliverOrders, "yyyy-MM-dd"))); + } + } catch (Exception e) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取配送订单失败!"); + } + + return map; + } + + /** + * pc端获取简单的订单列表 + * + * @param status + * @param limit + * @param offset + * @param search + * @return + */ + @RequestMapping(value = "/getPCSimpleOrder") + public @ResponseBody + Map getPcOrders(Short status, @RequestParam Integer campusId, + Integer limit, Integer offset, String search) { + Map map = new HashMap(); + + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + paramMap.put("limit", limit); + paramMap.put("offset", offset); + paramMap.put("search", search); + paramMap.put("status", status); + List lists = orderService.getPCSimpleOrders(paramMap); + DecimalFormat df = new DecimalFormat("####.00"); + + for (PCOrder order : lists) { + // 如果是完成订单,直接显示交易价格,否则计算应收取的价格 + if (order.getPrice() == null) { + if (order.getIsDiscount() == 0) { + order.setPrice(Float.parseFloat(df.format(order + .getFoodPrice() * order.getOrderCount()))); + } else { + order.setPrice(Float.parseFloat(df.format(order + .getDiscountPrice() * order.getOrderCount()))); + } + } + } + + JSONArray jsonArray = JSONArray.parseArray(JSON + .toJSONStringWithDateFormat(lists, "yyyy-MM-dd")); + + long totalCount = orderService.getPCSimpleOrdersCount(paramMap); + map.put("rows", jsonArray); + map.put("total", totalCount); + return map; + } + + /** + * 设置无效订单 + * + * @param togetherId + * @return + */ + @RequestMapping(value = "/setOrderInvalid", method = RequestMethod.POST) + public @ResponseBody + Map setOrderInvalid( + @RequestParam String togetherId) { + Map resultMap = new HashMap(); + + try { + Map parameterMap = new HashMap<>(); + parameterMap.put("togetherId", togetherId); + + int flag = orderService.setOrderInvalid(parameterMap); + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "订单已取消"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "订单取消失败,请重试"); + } + } catch (Exception e) { + e.printStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "订单取消失败,请重试"); + } + + return resultMap; + } + + /** + * 获取某日订单所有订单详情 + * + * @param date + * @return + */ + @RequestMapping(value = "getOrdersByDate") + @ResponseBody + public Map getOrdersByDate(String date, + @RequestParam Integer campusId, Integer limit, Integer page) { + Map resultMap = new HashMap(); + DecimalFormat df = new DecimalFormat("####.00"); + + try { + if (date.equals("") || date.equals("null")) + date = null; + else + date = date.replace("年", "-").replace("月", "-") + .replace("日", ""); + Map paramMap = new HashMap(); + paramMap.put("date", date); + paramMap.put("campusId", campusId); + + if (page != null && limit != null) { + paramMap.put("limit", limit); + paramMap.put("offset", (page - 1) * limit); + } + + System.out.println(date); + List deliverOrders = orderService + .selectOrdersByDate(paramMap); + Float totalPrice = 0f; + for (DeliverOrder deliverOrder : deliverOrders) { + String togetherId = deliverOrder.getTogetherId(); + System.out.println(JSON.toJSON(deliverOrder.getTogetherDate())); + // 获取订单食品集 + paramMap.put("togetherId", togetherId); + List deliverChildOrders = orderService + .getAllChildOrders(paramMap); + Float priceFloat = 0f; + + // 获取该笔订单总价 + for (DeliverChildOrder deliverChildOrder : deliverChildOrders) { + /*if (deliverChildOrder.getIsDiscount() == 0) { + priceFloat += deliverChildOrder.getPrice() + * deliverChildOrder.getOrderCount(); + } else { + priceFloat += deliverChildOrder.getDiscountPrice() + * deliverChildOrder.getOrderCount(); + }*/ + priceFloat += deliverChildOrder.getPrice(); + } + totalPrice += priceFloat; + deliverOrder.setTotalPrice(Float.parseFloat(df + .format(priceFloat))); + deliverOrder.setOrderList(deliverChildOrders); + } + + resultMap.put("total_price", df.format(totalPrice)); + resultMap.put("counts", deliverOrders.size()); + resultMap.put("orderList", JSONArray.parse(JSON + .toJSONStringWithDateFormat(deliverOrders, + "yyyy-MM-dd HH:mm:ss"))); + + } catch (Exception e) { + e.printStackTrace(); + } + + return resultMap; + } + + /** + * 根据togetherId获取大订单信息 + * + * @param togetherId + */ + @RequestMapping("getBigOrderById") + @ResponseBody + public Map getBigOrderById(@RequestParam String togetherId) { + Map resultMap = new HashMap(); + Map paramMap = new HashMap(); + + Short status = 0; + paramMap.put("togetherId", togetherId); + BigOrder bigOrder = new BigOrder(); + bigOrder.setTogetherId(togetherId); + List orders = orderService.getOrdersById(paramMap); + + Integer campusId = orders.get(0).getCampusId(); + + String campusName = campusService.getCampusName(campusId); + + if (orders.size() > 0 && orders != null) { + if (orders.get(0).getStatus() != 4) { + status = orders.get(0).getStatus(); + } else { + status = 5; + for (int i = 0; i < orders.size(); i++) { + if (orders.get(i).getIsRemarked() == 0) { + status = 4; + } + } + + } + Receiver receiver = receiverService.getReceiver(paramMap); + receiver.setAddress(campusName + receiver.getAddress()); + Date date = orders.get(0).getTogetherDate(); + bigOrder.setDate(date); + //System.out.println(orders.get(0).getPayWay()); + bigOrder.setPayWay(orders.get(0).getPayWay()); + + Float sum = orders.get(0).getTotalPrice(); + if (sum != null) { + DecimalFormat df = new DecimalFormat("0.0"); + bigOrder.setTotalPrice(df.format(sum)); + } + bigOrder.setOrders(orders); + bigOrder.setReceiver(receiver); + bigOrder.setStatus(status); + resultMap.put("BigOrder", + JSONArray.parse(JSON.toJSONStringWithDateFormat(bigOrder, + "yyyy-MM-dd HH:mm:ss"))); + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "获取大订单信息成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "没有这个大订单"); + } + + return resultMap; + } + + /** + * 修改订单状态 + * + * @param orderId + * @param status + * @param togetherId + * @return + */ + @RequestMapping("modifyOrderStatus") + public @ResponseBody + Map modifyOrderStatus(@RequestParam final String togetherId, @RequestParam Short status, Long orderId) { + Map resultMap = new HashMap(); + Map requestMap = new HashMap(); + + try { + requestMap.put("togetherId", togetherId); + requestMap.put("status", status); + final String userPhone = orderService.getUserPhone(requestMap); //获取用户手机号 + //final String adminPhone=orderService.getAdminPhone(requestMap); //获取配送员手机号 + Integer flag = null; + switch (status) { + case 0: + //购物车 + //flag = orderService.modifyOrderStatus(requestMap); + break; + case 1: + //待付款 + //flag = orderService.modifyOrderStatus(requestMap); + break; + case 2: + //待确认 + flag = orderService.modifyOrderStatus(requestMap); + break; + case 3: + //配送中 + flag = orderService.modifyOrderStatus(requestMap); + new Thread(new Runnable() { + @Override + public void run() { + //推送 + + pushService.sendPush(userPhone, + "您有一笔订单正在配送中,请稍候。感谢您对For优的支持", 1); + + } + }).start(); + + break; + case 4: + //待评价 + flag = orderService.modifyOrderStatus(requestMap); + new Thread(new Runnable() { + @Override + public void run() { + //推送 + pushService.sendPush(userPhone, "您有一笔订单已经完成,赶快去评价吧。感谢您对For优的支持", 1); + } + }).start(); + + break; + case 5: + //小订单已完成 + requestMap.put("orderId", orderId); + requestMap.put("isRemarked", 1); + requestMap.put("status", 4); + flag = orderService.modifyOrderStatus(requestMap); + break; + default: + break; + } + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "更改状态成功"); + resultMap.put("flag", flag); + } catch (Exception e) { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "更改状态失败"); + } + + return resultMap; + } + + + /** + * 删除订单(status=4) + * + * @param togetherId + */ + @RequestMapping("/deleteOrder") + public @ResponseBody + Map deleteOrder(@RequestParam String togetherId) { + Map resultMap = new HashMap(); + Map paramMap = new HashMap(); + paramMap.put("togetherId", togetherId); + List orders = orderService.getOrdersById(paramMap); + if (orders.size() > 0) { + orderService.deleteOrder(paramMap); + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "删除订单成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "订单不存在,删除订单失败"); + } + + return resultMap; + } + + /** + * 商品详情处立即购买 + * + * @param campusId + * @param phoneId + * @param foodId + * @param foodCount + * @return + */ + + @RequestMapping("/purchaseImmediately") + public @ResponseBody + Map purchaseImmediately( + @RequestParam Integer campusId, @RequestParam String phoneId, + @RequestParam Long foodId, @RequestParam Integer foodCount) { + Map resultMap = new HashMap(); + Map paramMap = new HashMap(); + + try { + Order order = new Order(campusId, phoneId, foodId, foodCount); + order.setStatus((short) 7); + paramMap.put("orderId", order.getOrderId()); + int flag = orderService.insertSelectiveOrder(order); + + if (flag == -1 || flag == 0) { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "生成订单失败"); + } + + SmallOrder smallOrder = orderService.getOrderById(paramMap); + resultMap.put("order", smallOrder); + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "订单详情:"); + } catch (Exception e) { + e.printStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "生成订单失败"); + } + return resultMap; + + } + + /** + * 根据id获取满减信息 + * + * @param preferentialId + * @return + */ + @RequestMapping("/getPreferentialById") + public @ResponseBody + Map getPreferentialById(@RequestParam Integer preferentialId) { + Map resultMap = new HashMap(); + Preferential preferential = orderService.getPreferentialById(preferentialId); + resultMap.put("preferential", preferential); + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "获取成功"); + return resultMap; + } + + /** + * 获取满减信息 + * + * @return + */ + @RequestMapping("/getPreferentials") + public @ResponseBody + Map getPreferentialList(@RequestParam Integer campusId) { + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + Map resultMap = new HashMap(); + List preferentials = orderService.getPreferential(paramMap); + resultMap.put("preferential", preferentials); + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "获取成功"); + return resultMap; + } + + //获取客户端ip + public String getIpAddr(HttpServletRequest request) { + String ip = request.getHeader("x-forwarded-for"); + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("WL-Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("HTTP_CLIENT_IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("HTTP_X_FORWARDED_FOR"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getRemoteAddr(); + } + return ip; + } + + /** + * 取消订单并退款 + * + * @param togetherId + * @return + */ + @RequestMapping("/cancelOrderWithRefund") + public @ResponseBody + Map cancelOrderWithRefund(@RequestParam String togetherId) { + Map map = new HashMap(); + + try { + Map paramMap = new HashMap(); + paramMap.put("togetherId", togetherId); + + Integer flag = orderService.cancelOrderWithRefund(paramMap); + if (flag != -1) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "取消订单成功,退款受理中,请耐心等待"); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "取消订单失败,请重试"); + } + } catch (Exception e) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "取消订单失败,请重试"); + } + + return map; + } + + /** + * 获取退款订单 + * + * @param campusId + * @return + */ + @RequestMapping("/getRefundOrder") + public @ResponseBody + JSONArray getRefundOrder(Integer campusId, Integer type) { + Map paramMap = new HashMap(); + + if (type == 1) { + paramMap.put("status", 10); + } else if (type == 0) { + paramMap.put("status", 9); + paramMap.put("campusId", campusId); + } + + List refundOrders = orderService.getPCOrders(paramMap); + System.out.println(refundOrders); + return JSONArray.parseArray(JSON.toJSONStringWithDateFormat(refundOrders, "yyyy-MM-dd")); + } + + /** + * 获取退款订单 + * + * @param campusId + * @return + */ + @RequestMapping("/getInvalideOrder") + public @ResponseBody + JSONArray getInvalidOrder(Integer campusId) { + Map paramMap = new HashMap(); + + paramMap.put("campusId", campusId); + + List refundOrders = orderService.getPCInvalidOrders(paramMap); //PC获取无效订单 + return JSONArray.parseArray(JSON.toJSONStringWithDateFormat(refundOrders, "yyyy-MM-dd")); + } + + /** + * 取消退款 + * + * @return + */ + @RequestMapping("/cancelRefund") + public @ResponseBody + Map cancelRefund(@RequestParam String togetherId) { + Map resultMap = new HashMap<>(); + + try { + Map paramMap = new HashMap<>(); + paramMap.put("togetherId", togetherId); + + int flag = orderService.updateCancelRefund(paramMap); + + if (flag == -1) { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "取消失败"); + } else { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "取消成功"); + } + + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "取消失败"); + } + + return resultMap; + } + + /** + * 总校区管理员确认退款 + * + * @param togetherId + * @param totalPrice + * @return + */ + @RequestMapping("/refund") + public @ResponseBody + Map refund(@RequestParam String togetherId, Float totalPrice) { + Map resultMap = new HashMap<>(); + + try { + Map paramMap = new HashMap(); + paramMap.put("togetherId", togetherId); + + Float price = orderService.getTotalPriceByTogetherId(togetherId); + if (Math.abs(price - totalPrice) > 0.1) { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "退款失败"); + } else { + String chargeId = orderService.getChargeId(paramMap); + if (chargeId != null) { + Refund refund = ChargeInterface.Refund(chargeId, price); + if (refund != null) { + resultMap.put("refund", refund); + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "操作成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "操作失败"); + } + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "操作失败"); + } + } + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "退款失败"); + } + + return resultMap; + } + + /** + * 校区管理员确认退款 + * + * @param togetherId s * @return + */ + @RequestMapping("/confirmRefund") + public @ResponseBody + Map confirmRefund(String togetherId) { + Map resultMap = new HashMap<>(); + + try { + Map paramMap = new HashMap(); + paramMap.put("togetherId", togetherId); + int flag = orderService.updateRefundStatus(paramMap); //将状态置为10 + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "修改成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "修改失败"); + } + + return resultMap; + } + + /** + * 获取销量和销售额 + * + * @param campusId + * @return + */ + @RequestMapping("getSalesInfoByCampusId") + @ResponseBody + public JSONArray getSalesByDate(@RequestParam Integer campusId, String month) { + Map paramMap = new HashMap(); + + Date dateStart; + Date dateEnd; + List tradeList = new ArrayList(); + + paramMap.put("campusId", campusId); + //System.out.println("month="+month); + //如果month不为空,说明切换了月份;但是注意month为本月的时候,此时是下面的情况 + if (month != null && !month.equals(null) && !month.equals("") && !CalendarTool.checkIsThisMonth(month)) { + Map dateMap = CalendarTool.getFirstAndLastDayOfMonth(month); + dateStart = dateMap.get("monthStart"); + dateEnd = dateMap.get("monthEnd"); + paramMap.put("dateStart", dateStart); + paramMap.put("dateEnd", dateEnd); + TradeInfo monthInfo = new TradeInfo(); + monthInfo.setInfoDateType("当月"); + monthInfo.setOrderCount(orderService.getSalesInfoByCampusId(paramMap));//获取指定时间段和指定校区的订单总数 + monthInfo.setTradeVolume(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段和指定校区的订单交易额 + paramMap.put("payWay", 1); //payWay:0,没有; 1,支付宝; 2,微信 + monthInfo.setTradeVolumeAliPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区和指定支付方式的订单交易额 + paramMap.put("payWay", 2); + monthInfo.setTradeVolumeWeChatPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区、指定支付方式的订单交易额 + tradeList.add(monthInfo); + return (JSONArray) JSON.toJSON(tradeList); + } + + //当天订单数、销售额- + dateStart = CalendarTool.getTodayStart(); + dateEnd = CalendarTool.getTodayEnd(); + paramMap.put("dateStart", dateStart); + paramMap.put("dateEnd", dateEnd); + TradeInfo todayInfo = new TradeInfo(); + todayInfo.setInfoDateType("今天"); + todayInfo.setOrderCount(orderService.getSalesInfoByCampusId(paramMap)); //获取指定时间段和指定校区的订单总数 + todayInfo.setTradeVolume(orderService.getTradeVolumeByCampusId(paramMap)); //获取指定时间段和指定校区的订单交易额 + paramMap.put("payWay", 1); //payWay:0,没有; 1,支付宝; 2,微信 + todayInfo.setTradeVolumeAliPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区、指定支付方式的订单交易额 + paramMap.put("payWay", 2); + todayInfo.setTradeVolumeWeChatPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区、指定支付方式的订单交易额 + tradeList.add(todayInfo); + paramMap.remove("payWay"); + + //本周订单数、销售额 + dateStart = CalendarTool.getMondayOfThisWeek(); + dateEnd = CalendarTool.getSundayOfThisWeek(); + paramMap.put("dateStart", dateStart); + paramMap.put("dateEnd", dateEnd); + TradeInfo weekInfo = new TradeInfo(); + weekInfo.setInfoDateType("本周"); + weekInfo.setOrderCount(orderService.getSalesInfoByCampusId(paramMap));//获取指定时间段和指定校区的订单总数 + weekInfo.setTradeVolume(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段和指定校区的订单交易额 + paramMap.put("payWay", 1); //payWay:0,没有; 1,支付宝; 2,微信 + weekInfo.setTradeVolumeAliPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区和指定支付方式的订单交易额 + paramMap.put("payWay", 2); + weekInfo.setTradeVolumeWeChatPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区、指定支付方式的订单交易额 + tradeList.add(weekInfo); + paramMap.remove("payWay"); + + //本月订单数、销售额 + dateStart = CalendarTool.getFirstDayOfThisMonth(); + dateEnd = CalendarTool.getLastDayOfThisMonth(); + paramMap.put("dateStart", dateStart); + paramMap.put("dateEnd", dateEnd); + TradeInfo monthInfo = new TradeInfo(); + monthInfo.setInfoDateType("本月"); + monthInfo.setOrderCount(orderService.getSalesInfoByCampusId(paramMap));//获取指定时间段和指定校区的订单总数 + monthInfo.setTradeVolume(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段和指定校区的订单交易额 + paramMap.put("payWay", 1); //payWay:0,没有; 1,支付宝; 2,微信 + monthInfo.setTradeVolumeAliPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区和指定支付方式的订单交易额 + paramMap.put("payWay", 2); + monthInfo.setTradeVolumeWeChatPay(orderService.getTradeVolumeByCampusId(paramMap));//获取指定时间段、指定校区、指定支付方式的订单交易额 + tradeList.add(monthInfo); + + return (JSONArray) JSON.toJSON(tradeList); + } + + @RequestMapping("/deleteOrderTrue") + @ResponseBody + public Map deleteOrderTrue(@RequestParam String togetherId) { + Map resultMap = new HashMap(); + try { + Map paramMap = new HashMap(); + paramMap.put("togetherId", togetherId); + int flag = orderService.deleteOrderTrue(paramMap); + if (flag != -1) { + resultMap.put(Constants.STATUS, Constants.SUCCESS); + resultMap.put(Constants.MESSAGE, "删除成功"); + } else { + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "删除失败"); + } + } catch (Exception e) { + e.getStackTrace(); + resultMap.put(Constants.STATUS, Constants.FAILURE); + resultMap.put(Constants.MESSAGE, "删除失败"); + } + + return resultMap; + } + +} diff --git a/src/main/java/com/changyu/foryou/controller/PackageOrderController.java b/src/main/java/com/changyu/foryou/controller/PackageOrderController.java index 4c38407..659b401 100644 --- a/src/main/java/com/changyu/foryou/controller/PackageOrderController.java +++ b/src/main/java/com/changyu/foryou/controller/PackageOrderController.java @@ -19,10 +19,6 @@ public class PackageOrderController { private PackageService packageService; - public PackageService getPackageService() { - return packageService; - } - @Autowired public void setPackageService(PackageService packageService) { this.packageService = packageService; diff --git a/src/main/java/com/changyu/foryou/controller/PayController.java b/src/main/java/com/changyu/foryou/controller/PayController.java new file mode 100644 index 0000000..073dcf8 --- /dev/null +++ b/src/main/java/com/changyu/foryou/controller/PayController.java @@ -0,0 +1,151 @@ +package com.changyu.foryou.controller; + +import com.alibaba.fastjson.JSON; +import com.changyu.foryou.model.Order; +import com.changyu.foryou.service.*; +import com.pingplusplus.exception.*; +import com.pingplusplus.model.Charge; +import com.pingplusplus.model.Event; +import com.pingplusplus.model.Refund; +import com.pingplusplus.model.Webhooks; +import org.apache.log4j.Logger; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.BufferedReader; +import java.io.IOException; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Controller +@RequestMapping("/pay") +public class PayController { + @Autowired + private OrderService orderService; + @Autowired + private UserService userService; + @Autowired + private PushService pushService; + @Autowired + private FoodService foodService; + + private static final Logger LOGGER = Logger + .getLogger(PayController.class); + + @RequestMapping("/webHooksForPayAndRefund") + public void webHooksForPaySuccess(HttpServletRequest request, HttpServletResponse response) throws IOException, AuthenticationException, InvalidRequestException, APIConnectionException, APIException, ChannelException { + request.setCharacterEncoding("UTF8"); + + //获取头部所有信息 + Enumeration headerNames = request.getHeaderNames(); + while (headerNames.hasMoreElements()) { + String key = (String) headerNames.nextElement(); + String value = request.getHeader(key); + System.out.println(key + " " + value); + } + // 获得 http body 内容 + BufferedReader reader = request.getReader(); + StringBuffer buffer = new StringBuffer(); + String string; + while ((string = reader.readLine()) != null) { + buffer.append(string); + } + reader.close(); + // 解析异步通知数据 + Event event = Webhooks.eventParse(buffer.toString()); + if ("charge.succeeded".equals(event.getType())) { //支付成功的回调 + doPaySuccess(buffer.toString()); //事务处理 + response.setStatus(200); + } else if ("refund.succeeded".equals(event.getType())) { //退款的回调 + doRefundSuccess(buffer.toString()); //退款事务处理 + response.setStatus(200); + } else { + response.setStatus(500); + } + } + + + /** + * 退款操作 + * + * @param buffer + * @return + */ + private int doRefundSuccess(String buffer) { + Refund refund = (Refund) Webhooks.parseEvnet(buffer); + LOGGER.info(JSON.toJSONString(refund)); + + Map paramMap = new HashMap(); + + String togetherId = refund.getOrderNo(); + paramMap.put("togetherId", togetherId); + final double price = refund.getAmount() * 1.0 / 100; + + Integer flag = orderService.updateOrderStatusRefundSuccess(paramMap); + final String phone = orderService.getUserPhone(paramMap); //根据订单号获取用户手机号 + //开启极光推送,通知用户退款成功 + new Thread(new Runnable() { + @Override + public void run() { + //推送 + pushService.sendPush(phone, "您的一笔金额为" + price + "的订单已经退回到您的账户中,请及时查看。For优。", 5); + } + }).start(); + + return flag; + } + + /** + * 支付成功 + **/ + public int doPaySuccess(String buffer) { + Charge charge = (Charge) Webhooks.parseEvnet(buffer); + + //获得charge对象 + Map paramMap = new HashMap<>(); + + String chargeId = charge.getId(); + paramMap.put("togetherId", charge.getOrderNo()); + paramMap.put("amount", charge.getAmount() * 1.0 / 100); + paramMap.put("chargeId", chargeId); + System.out.println(paramMap); + int flag = orderService.updateOrderStatusAndAmount(paramMap); //支付完成后更新订单状态以及更新价格 ,以及chargeId + + List orders = orderService.getAllOrdersByTogetherId(charge.getOrderNo()); // 获取该笔订单的消息 + for (Order order : orders) { + paramMap.put("foodId", order.getFoodId()); + paramMap.put("orderCount", order.getOrderCount()); + paramMap.put("campusId", order.getCampusId()); + foodService.changeFoodCount(paramMap); // 增加销量,减少存货 + } + + final Integer campusId = orderService.getCampusIdByTogetherId(paramMap); + // 开启线程去访问极光推送 + + new Thread(new Runnable() { + @Override + public void run() { + //向超级管理员推送,让其分发订单 + + //推送 + //pushService.sendPushByTag("0","一笔新的订单已经到达,请前往选单中查看,并尽早分派配送员进行配送。For优。", 1); + + Map parameterMap = new HashMap<>(); + parameterMap.put("campusId", campusId); + List superPhones = userService.getAllSuperAdminPhone(parameterMap); + for (String phone : superPhones) { + //推送 + pushService.sendPush(phone, "一笔新的订单已经到达,请前往选单中查看,并尽早分派配送员进行配送。for优。", 1); + } + } + }).start(); + + return flag; + } + +} diff --git a/src/main/java/com/changyu/foryou/controller/PreferentialController.java b/src/main/java/com/changyu/foryou/controller/PreferentialController.java new file mode 100644 index 0000000..8ab868a --- /dev/null +++ b/src/main/java/com/changyu/foryou/controller/PreferentialController.java @@ -0,0 +1,135 @@ +package com.changyu.foryou.controller; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.changyu.foryou.model.Preferential; +import com.changyu.foryou.service.CampusService; +import com.changyu.foryou.service.PreferentialService; +import com.changyu.foryou.tools.Constants; + +@Controller +@RequestMapping("preferential") +/** + * 满减优惠 + * @author Simon Sun + * + */ +public class PreferentialController { + @Resource(name="preferentialService") + private PreferentialService preferentialService; + + @Resource(name="campusService") + private CampusService campusService; + + /** + * 添加满减优惠 + * @param needNumber + * @param discountNum + * @param campusId + * @return + */ + @RequestMapping("addPref") + @ResponseBody + public Map addPref(@RequestParam Integer needNumber,@RequestParam Integer discountNum,Integer campusId, String campusName){ + Map map = new HashMap(); + + Preferential preferential =new Preferential(); + preferential.setPreferentialId(null); + preferential.setNeedNumber(needNumber); + preferential.setDiscountNum(discountNum); + if(campusId==null){ + Map tempMap = new HashMap(); + tempMap.put("campusName", campusName); + preferential.setCampusId(campusService.getIdByName(tempMap)); + }else{ + preferential.setCampusId(campusId); + } + + int flag = preferentialService.insert(preferential); + if(flag!=0&&flag!=-1){ + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "添加成功"); + }else{ + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "添加失败"); + } + return map; + } + + /** + * 删除满减优惠 + * @param preferentialId + * @return + */ + @RequestMapping("deletePref") + @ResponseBody + public Map deletePref(@RequestParam Integer preferentialId){ + Map map = new HashMap(); + + int flag = preferentialService.deleteByPrimaryKey(preferentialId); + if(flag!=0&&flag!=-1){ + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "删除成功"); + }else{ + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "删除失败"); + } + return map; + } + + /** + * 更新满减优惠 + * @param preferentialId + * @param needNumber + * @param discountNum + * @param campusId + * @return + */ + @RequestMapping("updatePref") + @ResponseBody + public Map updatePref(@RequestParam Integer preferentialId, @RequestParam Integer needNumber, @RequestParam Integer discountNum, @RequestParam Integer campusId){ + Map map = new HashMap(); + + Preferential preferential =new Preferential(); + preferential.setPreferentialId(preferentialId); + preferential.setNeedNumber(needNumber); + preferential.setDiscountNum(discountNum); + preferential.setCampusId(campusId); + int flag = preferentialService.updateByPrimaryKey(preferential); + if(flag!=0&&flag!=-1){ + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "更新成功"); + }else{ + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "更新失败"); + } + return map; + } + + /** + * 获取满减优惠信息(客户端分页) + * @param campusId + * @return + */ + @RequestMapping("getAllPref") + @ResponseBody + public JSONArray getAllPref(Integer campusId){ + Map paramMap = new HashMap(); + paramMap.put("campusId", campusId); + + List list = preferentialService.getPreferential(paramMap); + + return (JSONArray) JSON.toJSON(list); + } +} diff --git a/src/main/java/com/changyu/foryou/controller/PushController.java b/src/main/java/com/changyu/foryou/controller/PushController.java index 1cd7302..06a7461 100644 --- a/src/main/java/com/changyu/foryou/controller/PushController.java +++ b/src/main/java/com/changyu/foryou/controller/PushController.java @@ -1,7 +1,12 @@ package com.changyu.foryou.controller; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @@ -13,6 +18,7 @@ import cn.jpush.api.push.PushResult; import cn.jpush.api.push.model.PushPayload; +import com.changyu.foryou.service.UserService; import com.changyu.foryou.tools.Constants; import com.changyu.foryou.tools.JpushInterface; @@ -20,11 +26,17 @@ @RequestMapping("/push") public class PushController { protected static final Logger log = LoggerFactory.getLogger(PushController.class); - private static final String appKey = "e9e04345a608f9fb23a3b61b"; - private static final String masterSecret = "70a4b68027698fe532d95436"; - + private static final String appKey = "6b618bf4a73419c8e351240e"; + private static final String masterSecret = "a80ba2c3934895be10ae9a75"; + private UserService userService; + + @Autowired + public void setUserService(UserService userService) { + this.userService = userService; + } + @RequestMapping(value="pushPlatForm") - private @ResponseBody String pushPlatForm(@RequestParam String push_data,String pushDeviceAndroid,String pushDeviceIos,String alert, String phone) { + private @ResponseBody String pushPlatForm(@RequestParam String push_data,@RequestParam Integer campusId,String pushDeviceAndroid,String pushDeviceIos,String alert, String phone) { JPushClient jpushClient = new JPushClient(masterSecret, appKey, 1); PushPayload payload=null; @@ -38,9 +50,9 @@ public class PushController { if(alert.equals("1")){ //群推 if(pushDeviceAndroid!=null&&pushDeviceIos!=null){ payload = JpushInterface.buildPushObject_all_all_alert(push_data); - }else if(pushDeviceAndroid==null&&pushDeviceIos!=null){ + }else if(pushDeviceAndroid == null){ payload=JpushInterface.bulidPushObject_ios_alert(push_data); - }else if(pushDeviceAndroid!=null&&pushDeviceIos==null){ + }else { payload=JpushInterface.bulidPushObject_android_alert(push_data); } }else if(alert.equals("4")){ //向个体用户推送,默认向android和ios用户同时推,不管有没有选中android和ios @@ -50,7 +62,18 @@ public class PushController { payload = JpushInterface.buildPushObject_android_and_ios_alias_alert(push_data,phone); } }else{ - payload = JpushInterface.buildPushObject_android_and_ios_tag_alert(push_data,String.valueOf((Integer.valueOf(alert)-2))); + //payload = JpushInterface.buildPushObject_android_and_ios_tag_alert(push_data,String.valueOf((Integer.valueOf(alert)-2))); + Map paramMap=new HashMap<>(); + Integer type=Integer.valueOf(alert)-2; + paramMap.put("type",type); + paramMap.put("campusId", campusId); + List phones=userService.getUserByType(paramMap); + for (String phone1 : phones) { + payload = JpushInterface.buildPushObject_android_and_ios_alias_alert(push_data,phone1); + PushResult result = jpushClient.sendPush(payload); + log.info("Got result - " + result); + } + return Constants.SUCCESS; } PushResult result = jpushClient.sendPush(payload); log.info("Got result - " + result); @@ -138,119 +161,4 @@ public class PushController { } } - /*@RequestMapping("/pushIOS") - public @ResponseBody void IOSPushTest(){ - try { - List tokens=new ArrayList(); - tokens.add("eb9cd021be0ff3e622a3ad9b54d3996724c6f36c7a03bfbb37a7c3e38f2324e3"); - // tokens.add("dc2cf037bd4465c851b1d96a86b0a028307bc7e443435b6fafe93c2957bb415c"); - //String path="D:/push_mickeyfood_developer.p12"; - String path=this.getClass().getResource("").getPath()+"push_mickeyfood_developer.p12"; - path=path.substring(1).replace("%20", " "); - System.out.println(path); - String password="mickeyfood"; - String message="{'aps':{'alert':'iphone推送测试 www.baidu.com'}}"; - Integer count=1; - boolean sendCount=false; - sendpush(tokens, path, password, message, count, sendCount); - } catch (Exception e) { - e.getStackTrace(); - } - - } - - - public void sendpush(List tokens,String path, String password, String message,Integer count,boolean sendCount) { - - try { - //message是一个json的字符串{“aps”:{“alert”:”iphone推送测试”}} - - PushNotificationPayload payLoad = PushNotificationPayload.fromJSON(message); - - payLoad.addAlert("叶帆和博文都是sb!"); // 消息内容 - - payLoad.addBadge(count); // iphone应用图标上小红圈上的数值 - - payLoad.addSound("default"); // 铃音 默认 - - - - PushNotificationManager pushManager = new PushNotificationManager(); - - //true:表示的是产品发布推送服务 false:表示的是产品测试推送服务 - - pushManager.initializeConnection(new AppleNotificationServerBasicImpl(path, password, false)); - - List notifications = new ArrayList(); - - // 发送push消息 - - if (sendCount) { - - log.debug("--------------------------apple 推送 单-------"); - - Device device = new BasicDevice(); - - device.setToken(tokens.get(0)); - - PushedNotification notification = pushManager.sendNotification(device, payLoad, true); - - notifications.add(notification); - - } else { - - log.debug("--------------------------apple 推送 群-------"); - - List device = new ArrayList(); - - for (String token : tokens) { - - device.add(new BasicDevice(token)); - - } - - notifications = pushManager.sendNotifications(payLoad, device); - - } - - List failedNotifications = PushedNotification.findFailedNotifications(notifications); - - List successfulNotifications = PushedNotification.findSuccessfulNotifications(notifications); - - int failed = failedNotifications.size(); - - int successful = successfulNotifications.size(); - - - - if (successful > 0 && failed == 0) { - - log.debug("-----All notifications pushed 成功 (" + successfulNotifications.size() + "):"); - - } else if (successful == 0 && failed > 0) { - - log.debug("-----All notifications 失败 (" + failedNotifications.size() + "):"); - - } else if (successful == 0 && failed == 0) { - - System.out.println("No notifications could be sent, probably because of a critical error"); - - } else { - - log.debug("------Some notifications 失败 (" + failedNotifications.size() + "):"); - - log.debug("------Others 成功 (" + successfulNotifications.size() + "):"); - - } - - // pushManager.stopConnection(); - - } catch (Exception e) { - - e.printStackTrace(); - - } - - } - */ } diff --git a/src/main/java/com/changyu/foryou/controller/ReceiverController.java b/src/main/java/com/changyu/foryou/controller/ReceiverController.java index bae9c46..ec3f540 100644 --- a/src/main/java/com/changyu/foryou/controller/ReceiverController.java +++ b/src/main/java/com/changyu/foryou/controller/ReceiverController.java @@ -14,7 +14,6 @@ import com.alibaba.fastjson.JSON; import com.changyu.foryou.model.Receiver; -import com.changyu.foryou.service.OrderService; import com.changyu.foryou.service.ReceiverService; import com.changyu.foryou.tools.Constants; @@ -27,26 +26,8 @@ @Controller @RequestMapping("/receiver") public class ReceiverController { - private ReceiverService receiverService; - private OrderService orderService; - - public OrderService getOrderService() { - return orderService; - } - - public void setOrderService(OrderService orderService) { - this.orderService = orderService; - } - - public ReceiverService getReceiverService() { - return receiverService; - } - @Autowired - public void setReceiverService(ReceiverService receiverService) { - this.receiverService = receiverService; - } - + private ReceiverService receiverService; /** * 添加收貨人信息 @@ -54,12 +35,14 @@ public void setReceiverService(ReceiverService receiverService) { * @param phone 收货人手机号 * @param name 收货人名字 * @param address 收货人地址 + * @param campusId 校区号 * @return */ @RequestMapping("/addReceiver") - public @ResponseBody MapaddReceiver(@RequestParam String phoneId,@RequestParam String phone,@RequestParam String name,@RequestParam String address){ + public @ResponseBody MapaddReceiver(@RequestParam String phoneId,@RequestParam String phone, + @RequestParam String name,@RequestParam String address,@RequestParam Integer campusId){ Map map=new HashMap(); - Receiver receiver=new Receiver(phoneId,phone,name,address); + Receiver receiver=new Receiver(phoneId,phone,name,address,campusId); try { @@ -121,13 +104,15 @@ public void setReceiverService(ReceiverService receiverService) { * @param address 收货人地址 * @param name 收货人姓名 * @param phone 收货人手机号 + * @param campusId 校区 * @return */ @RequestMapping("/updateReceiver") - public @ResponseBody Map updateReceiver(@RequestParam String phoneId,@RequestParam String rank,String address,String name,String phone){ + public @ResponseBody Map updateReceiver(@RequestParam String phoneId,@RequestParam String rank, + String address,String name,String phone,Integer campusId){ Map map=new HashMap(); try { - Receiver receiver=new Receiver(phoneId,phone,name,address); + Receiver receiver=new Receiver(phoneId,phone,name,address,campusId); receiver.setRank(rank); if(receiverService.updateByPrimaryKeySelective(receiver)!=-1){ map.put(Constants.STATUS, Constants.SUCCESS); @@ -154,7 +139,7 @@ public void setReceiverService(ReceiverService receiverService) { public @ResponseBody Map setDefaultAddress(@RequestParam String phoneId,@RequestParam String rank){ Map map=new HashMap(); try{ - receiverService.setRecevierTag(phoneId); //将原先的默认收货地址改成非默认 + receiverService.setReceiverTag(phoneId); //将原先的默认收货地址改成非默认 if(receiverService.setDefaultAddress(phoneId, rank)!=-1){ map.put(Constants.STATUS, Constants.SUCCESS); map.put(Constants.MESSAGE, "设置默认收货地址成功"); diff --git a/src/main/java/com/changyu/foryou/controller/SellerController.java b/src/main/java/com/changyu/foryou/controller/SellerController.java new file mode 100644 index 0000000..2c2cd34 --- /dev/null +++ b/src/main/java/com/changyu/foryou/controller/SellerController.java @@ -0,0 +1,151 @@ +package com.changyu.foryou.controller; + +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import com.changyu.foryou.model.Sellers; +import com.changyu.foryou.service.SellerService; +import com.changyu.foryou.tools.Constants; +import com.changyu.foryou.tools.Md5; + +@Controller +@RequestMapping("/seller") +public class SellerController { + @Autowired + private SellerService sellerService; + + @Autowired + public void setSellerService(SellerService sellerService) { + this.sellerService = sellerService; + } + + + /** + * 商家登录 + * @param campusAdmin + * @param password + * */ + @RequestMapping("/toLogin") + public @ResponseBody Map toLogin( + @RequestParam String campusAdmin, @RequestParam String password, + HttpServletRequest request) { + Map map = new HashMap<>(); + if (campusAdmin != null && password != null + && !campusAdmin.trim().equals("") + && !password.trim().equals("")) { + Sellers sellers = sellerService.selectByCampusAdmin(campusAdmin); + if (sellers != null) { + if (sellers.getPassword().equals(Md5.GetMD5Code(password))) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "登陆成功"); + map.put("type", sellers.getType()); + HttpSession session = request.getSession(); + session.setAttribute("type", sellers.getType()); + session.setAttribute("campusAdmin", + sellers.getCampusAdmin()); + Date date = new Date(); + sellerService.updateLastLoginTime(date, campusAdmin); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "账号或密码错误,请检查后输入"); + } + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "账号或密码错误,请检查后输入"); + } + } + + return map; + } + + /** + * 根据商家id查找商家数据 + * + * */ + + @RequestMapping("/getSellerById") + public @ResponseBody Map getSellerById(String campusAdmin) + { + Map map = new HashMap(); + Sellers sellers = sellerService.selectByCampusAdmin(campusAdmin); + map.put("seller",sellers); + return map; + } + + /** + * 检查该账号是否注册过 + * @param campusAdmin + * @return + */ + + @RequestMapping("/checkSellerIsExist") + public @ResponseBody Map checkSellerIsExist(String campusAdmin) + { + Map map = new HashMap(); + Sellers sellers = sellerService.selectByCampusAdmin(campusAdmin); + if(sellers==null) + { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "该用户名不存在,可以注册"); + } + else + { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "该用户名已存在,请换一个名字"); + } + + return map; + } + + /** + * 商家注册 + * @param campusAdmin + * @param password + * @param campusId + * @return + */ + + @RequestMapping("/registerIn") + public @ResponseBody Map registerIn( + @RequestParam String campusAdmin, @RequestParam String password,@RequestParam Integer campusId) + { + Map map = new HashMap(); + try { + if (!campusAdmin.equals("") && !password.equals("")) + { + String passwordMd5 = Md5.GetMD5Code(password); + Sellers seller = new Sellers(); + seller.setCampusAdmin(campusAdmin); + seller.setPassword(passwordMd5); + seller.setCampusId(campusId); + sellerService.addASeller(seller); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "注册成功"); + } + else + { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "注册失败2"); + } + } + catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "注册失败"); + + } + + return map; + } + +} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/controller/UserController.java b/src/main/java/com/changyu/foryou/controller/UserController.java index 3a5ac5d..35e1d4e 100644 --- a/src/main/java/com/changyu/foryou/controller/UserController.java +++ b/src/main/java/com/changyu/foryou/controller/UserController.java @@ -1,604 +1,673 @@ -package com.changyu.foryou.controller; - - -import java.io.File; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.OutputStream; -import java.text.DecimalFormat; -import java.util.Calendar; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Random; - -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpSession; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.ResponseBody; - -import sun.misc.BASE64Decoder; - -import com.alibaba.fastjson.JSON; -import com.alibaba.fastjson.JSONArray; -import com.changyu.foryou.model.Feedback; -import com.changyu.foryou.model.Users; -import com.changyu.foryou.service.OrderService; -import com.changyu.foryou.service.UserService; -import com.changyu.foryou.tools.Constants; -import com.changyu.foryou.tools.Md5; - -@Controller -@RequestMapping("/user") -public class UserController { - private UserService userService; - private OrderService orderService; - - public UserService getUserService() { - return userService; - } - - @Autowired - public void setUserService(UserService userService) { - this.userService = userService; - } - - public OrderService getOrderService() { - return orderService; - } - - @Autowired - public void setOrderService(OrderService orderService) { - this.orderService = orderService; - } - - /** - * 取得用户信息 - * @param phone - * @return - */ - @RequestMapping(value="/getUser",method=RequestMethod.POST) - public @ResponseBody - Users selectUserById(String phone) { - return userService.selectByUsername(phone); - } - - /** - * 将某一用户设置为管理员 - * @param phone - * @return - */ - @RequestMapping(value="setUserAdmin") - public @ResponseBody Integer setUserAdmin(@RequestParam String phone){ - return userService.setUserAdmin(phone); - } - - /** - * 将某一用户设为常规用户 - * @param phone - * @return - */ - @RequestMapping(value="setUserCommon") - public @ResponseBody Integer setUserCommon(@RequestParam String phone){ - return userService.setUserCommon(phone); - } - - /** - * 将某一用户设置为超级管理员 - * @param phone - * @return - */ - @RequestMapping(value="setUserSuperAdmin") - public @ResponseBody Integer setUserSuperAdmin(@RequestParam String phone){ - return userService.setUserSuperAdmin(phone); - } - - /** - * 取得所有用戶信息 - * @return - */ - @RequestMapping(value="/getAllUser") - public @ResponseBody - Map getAllUser(Integer limit,Integer offset,String sort,String order,String search) { - Map map = new HashMap(); - - if(sort!=null&&sort.equals("lastLoginDate")){ - sort="last_login_date"; - } - - if(sort!=null&&sort.equals("createTime")){ - sort="create_time"; - } - - if(sort!=null&&sort.equals("defaultAddress")){ - sort="default_address"; - } - - if(search!=null&&!search.trim().equals("")){ - search="%"+search+"%"; - } - - JSONArray json=JSONArray.parseArray(JSON.toJSONStringWithDateFormat(userService.getAllUser(limit,offset,sort,order,search), "yyyy-MM-dd")); - map.put("total", userService.getUserCount(search)); - map.put("rows", json); - return map; - } - - /** - * 用户登陆 - * @param phone - * @param password - * @return - */ - @RequestMapping(value="/toLogin",method=RequestMethod.POST) - public @ResponseBody - Map toLogin(@RequestParam String phone,@RequestParam String password,HttpServletRequest request) { - - Map map = new HashMap(); - - if (phone!=null&&password!=null&&!phone.trim().equals("") && !password.trim().equals("")) { - Users users = userService.selectByUsername(phone); - if (users != null) { - if (users.getPassword().equals(Md5.GetMD5Code(password))) { - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "登陆成功"); - map.put("type", users.getType()); - HttpSession session=request.getSession(); - session.setAttribute("type", users.getType()); - session.setAttribute("phone", users.getPhone()); - Date date=new Date(); - userService.updateLastLoginTime(date,phone); - } else { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "账号或密码错误,请检查后输入"); - } - } else { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "账号或密码错误,请检查后输入"); - } - } - - return map; - } - - /** - * 检查用户是否已经注册 - * @param phone - * @return - */ - @RequestMapping(value="/checkUserIsExist",method=RequestMethod.POST) - public @ResponseBody - Map checkUserIsExist(@RequestParam String phone) { - Map map = new HashMap(); - if (userService.selectByUsername(phone) != null) { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "该账号已经被注册"); - } else { - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "该账号可以注册"); - } - return map; - } - - /** - * 用户注册 - * @param phone - * @param password - * @param nickname - * @return - */ - @RequestMapping(value="/registerIn",method=RequestMethod.POST) - public @ResponseBody - Map registerIn(@RequestParam String phone, - @RequestParam String password, @RequestParam String nickname) { - Map map = new HashMap(); - - try { - if (!phone.equals("") && phone.length() == 11 - && !password.equals("")) { - String passwordMd5=Md5.GetMD5Code(password); - - Users users = new Users(phone, passwordMd5, nickname); - userService.addUsers(users); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "注册成功"); - } else { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "注册失败"); - } - } catch (Exception e) { - map.put(Constants.STATUS, Constants.FAILURE); // 捕捉异常 - map.put(Constants.MESSAGE, "注册失败"); - return map; - } - - return map; - } - - - /** - * 用户更改密码 - * @param phone - * @param newPassword - * @return - */ - @RequestMapping(value = "/resetPassword",method=RequestMethod.POST) - public @ResponseBody - Map resetPassword(@RequestParam String phone, - @RequestParam String newPassword) { - Map map = new HashMap(); - try { - Users users = userService.selectByUsername(phone); - if (users != null) { - userService.updatePassword(phone,Md5.GetMD5Code(newPassword)); //对密码做md5加密 - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "修改密码成功"); - } else { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "修改密码失败"); - } - } catch (Exception e) { - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "修改密码失败"); - } - return map; - } - - /** - * 更新用户个人信息 - * @param phone - * @param password - * @param nickname - * @param type - * @return - */ - @RequestMapping(value="/updateUserInfo") - public @ResponseBody Map updateUserInfo(@RequestParam String phone,String nickname,String type){ - Map map = new HashMap(); - - try { - Users users=new Users(); - users.setPhone(phone); - if(nickname!=null){ - users.setNickname(nickname); - } - - - if(type!=null){ - users.setType((short)Integer.parseInt(type)); - } - - if(userService.updateUserInfo(users)!=-1){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "修改用户信息成功"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "修改用户信息失败"); - } - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "修改用户信息失败"); - } - return map; - } - - - /** - * 获取我的用户总信息 - * @param phoneId 用户id - * @return - */ - @RequestMapping(value="mineInfo") - public @ResponseBody Map getMineInfo(@RequestParam String phone){ - Map map = new HashMap(); - - try { - - Users users=userService.selectByUsername(phone); - Map counts=orderService.getOrderSummaryCount(phone); - - if(users!=null){ - users.setPassword(null); - map.put("userInfo", users); - map.put("waitDeliveryOrder", counts.get("wait")); - map.put("waitReceiveOrder",counts.get("deliver")); - map.put("waitCommentOrder", counts.get("comment")); - map.put(Constants.STATUS,Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取数据成功"); - } - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.MESSAGE, "获取用户信息失败!"); - map.put(Constants.STATUS, Constants.FAILURE); - } - - return map; - } - - /** - * 提交用户反馈信息 - * @param phoneId - * @param suggestion - * @return - */ - @RequestMapping(value="feedbackMessage") - public @ResponseBody Map feedbackMessage(@RequestParam String phoneId,@RequestParam String suggestion){ - Map map = new HashMap(); - try{ - Feedback feedback=new Feedback(); - feedback.setPhoneId(phoneId); - feedback.setSuggestion(suggestion); - Calendar calendar=Calendar.getInstance(); - Date date=calendar.getTime(); //设置反馈时的日期 - feedback.setDate(date); - - if(userService.addFeedbackSuggestion(feedback)!=-1){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "添加意见成功"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "添加意见失败"); - } - }catch(Exception e){ - e.getStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "添加意见失败"); - } - - return map; - } - - - /** - * 更新用户头像 - * @param image - * @param request - * @return - * @throws IOException - */ - @RequestMapping("/uploadUserImage") - public @ResponseBody Map uploadNewsImage(@RequestParam String image, HttpServletRequest request)throws IOException{ - String phone=request.getParameter("phoneId"); - - Map map = new HashMap(); - image=image.replaceAll(" ", "+"); - - String realPath = request.getSession().getServletContext().getRealPath("/"); - realPath=realPath.replace("SJFood", "MickeyImage"); - realPath=realPath.concat("/users/"); - String fileNameString=new Random().nextLong()+""+new Date().getTime()+".jpg"; - - - if (image == null) { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "没有文件"); - } - - @SuppressWarnings("restriction") - BASE64Decoder decoder = new BASE64Decoder(); - try { - - - //Base64解码 - @SuppressWarnings("restriction") - byte[] b = decoder.decodeBuffer(image); - for(int i=0;i< b.length;++i) - { - if(b[i]< 0) - {//调整异常数据 - b[i]+=256; - } - } - //生成jpeg图片 - String imgFilePath = realPath+fileNameString;//新生成的图片 - OutputStream out = new FileOutputStream(imgFilePath); - out.write(b); - out.flush(); - out.close(); - - //删除原头像 - String orignUrl=userService.getImageUrl(phone); - if(orignUrl!=null){ - String[] temp=orignUrl.split("/"); - String imageName=temp[(temp.length-1)]; - - String name=realPath+imageName; - - File file=new File(name); - if(file.isFile()){ - file.delete();//删除 - } - } - - String imageUrl=Constants.localIp+"/users/"+fileNameString; - Integer flag=userService.updateImageUrl(imageUrl, phone); - if(flag==1){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "头像更新成功!"); - }else{ - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "头像更新失败"); - } - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "头像更新失败"); - } - - return map; - } - - - @RequestMapping("/uploadAndroidLog") - public @ResponseBody Map uploadAndroidLog(@RequestParam String log, HttpServletRequest request)throws IOException{ - - Map map = new HashMap(); - - String realPath = request.getSession().getServletContext().getRealPath("/"); - realPath=realPath.replace("SJFood", "MickeyImage"); - realPath=realPath.concat("/android/"); - String fileNameString=new Random().nextInt(100)+""+new Date().getTime()+"log.log"; - - if (log == null) { - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "没有文件"); - return map; - } - - @SuppressWarnings("restriction") - BASE64Decoder decoder = new BASE64Decoder(); - try { - //Base64解码 - @SuppressWarnings("restriction") - byte[] b = decoder.decodeBuffer(log); - for(int i=0;i< b.length;++i) - { - if(b[i]< 0) - {//调整异常数据 - b[i]+=256; - } - } - //生成jpeg图片 - String imgFilePath = realPath+fileNameString;//新生成的图片 - OutputStream out = new FileOutputStream(imgFilePath); - out.write(b); - out.flush(); - out.close(); - - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "log日志上传成功!"); - - } catch (Exception e) { - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "log日志上传失败!"); - } - - return map; - } - - /** - * 获取配送员名单 - * @return - */ - @RequestMapping(value="getDeliverAdmin") - public @ResponseBody Map getDeliverAdmin() { - Map map=new HashMap(); - - try{ - List users=userService.getDeliverAdmin(); - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "获取配送员成功!"); - map.put("deliverAdmins", users); - }catch(Exception e){ - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "获取配送员失败!"); - } - - return map; - } - - /** - * ios post token到数据表 - * @param phoneId - * @param token - * @return - */ - @RequestMapping(value="postIOSToken") - public @ResponseBody Map postIosToken(String phoneId,String token){ - Map map=new HashMap(); - - try{ - userService.clearOldToken(token); //如果该token以前别的用户使用过,就将该 - int flag=userService.setUserToken(phoneId,token); - - if(flag!=0&flag!=-1){ - map.put(Constants.STATUS, Constants.SUCCESS); - map.put(Constants.MESSAGE, "设置用户token成功!"); - } - }catch(Exception e){ - e.printStackTrace(); - map.put(Constants.STATUS, Constants.FAILURE); - map.put(Constants.MESSAGE, "设置用户token失败"); - } - - return map; - } - - /** - * 获取用户反馈 - * @return - */ - @RequestMapping(value="/getFeedbacks") - public @ResponseBody JSONArray getFeedbacks(){ - try { - List feedbacks=userService.getFeedbacks(); - return JSONArray.parseArray(JSON.toJSONStringWithDateFormat(feedbacks, "yyyy-MM-dd")); - } catch (Exception e) { - e.printStackTrace(); - } - - return null; - } - - /** - * 忘记密码的跳转 - * @return - */ - @RequestMapping(value="/forgetPassword") - public String forgetPassword(){ - return "redirect:/kidding.html"; - } - - /** - * 退出登录 - * @param request - * @return - */ - @RequestMapping(value="/logout") - public String logout(HttpServletRequest request){ - request.getSession().removeAttribute("phone"); - return "redirect:/login.html"; - } - - /** - * 获取用户类型 - * @param request - * @return - */ - @RequestMapping(value="/getUserType") - public @ResponseBody Short getUserType(HttpServletRequest request){ - return (Short) request.getSession().getAttribute("type"); - } - - /** - * 获取用户设备占比 - */ - @RequestMapping(value="/getUserDevicePercent") - public @ResponseBody Map getUserDevicePercent(){ - Map resultMap=new HashMap(); - - try { - DecimalFormat df = new DecimalFormat("##.0"); - Map paramMap=new HashMap(); - paramMap.put("device","0"); //设备号0表示ios - Integer iosCount=userService.getCountsByDevice(paramMap); - paramMap.put("device","1"); - Integer androidCount=userService.getCountsByDevice(paramMap); - resultMap.put("android",Float.valueOf(df.format(androidCount*1.0/(androidCount+iosCount)*100))); - resultMap.put("ios",Float.valueOf(df.format(iosCount*1.0/(androidCount+iosCount)*100))); - } catch (Exception e) { - e.getStackTrace(); - } - return resultMap; - } -} +package com.changyu.foryou.controller; + + +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.text.DecimalFormat; +import java.util.Calendar; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Random; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import sun.misc.BASE64Decoder; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.changyu.foryou.model.Feedback; +import com.changyu.foryou.model.Users; +import com.changyu.foryou.service.OrderService; +import com.changyu.foryou.service.UserService; +import com.changyu.foryou.tools.Constants; +import com.changyu.foryou.tools.Md5; + +@Controller +@RequestMapping("/user") +public class UserController { + @Autowired + private UserService userService; + @Autowired + private OrderService orderService; + + /** + * 取得用户信息 + * @param phone + * @return + */ + @RequestMapping(value="/getUser",method=RequestMethod.POST) + public @ResponseBody + Users selectUserById(String phone) { + return userService.selectByUsername(phone); + } + + /** + * 将某一用户设置为管理员 + * @param phone + * @return + */ + @RequestMapping(value="setUserAdmin") + public @ResponseBody Integer setUserAdmin(@RequestParam String phone,@RequestParam Integer campusId){ + return userService.setUserAdmin(phone,campusId); + } + + /** + * 将某一用户设为常规用户 + * @param phone + * @return + */ + @RequestMapping(value="setUserCommon") + public @ResponseBody Integer setUserCommon(@RequestParam String phone,@RequestParam Integer campusId){ + return userService.setUserCommon(phone,campusId); + } + + /** + * 将某一用户设置为超级管理员 + * @param phone + * @return + */ + @RequestMapping(value="setUserSuperAdmin") + public @ResponseBody Integer setUserSuperAdmin(@RequestParam String phone,@RequestParam Integer campusId){ + return userService.setUserSuperAdmin(phone,campusId); + } + + /** + * 取得所有用戶信息 + * @return + */ + @RequestMapping(value="/getAllUser") + public @ResponseBody + Map getAllUser(Integer limit,Integer offset,String sort,String order,String search) { + Map map = new HashMap(); + + if(sort!=null&&sort.equals("lastLoginDate")){ + sort="last_login_date"; + } + + if(sort!=null&&sort.equals("createTime")){ + sort="create_time"; + } + + if(sort!=null&&sort.equals("defaultAddress")){ + sort="default_address"; + } + + if(search!=null&&!search.trim().equals("")){ + search="%"+search+"%"; + } + + List userlist=userService.getAllUser(limit,offset,sort,order,search); + JSONArray json=JSONArray.parseArray(JSON.toJSONStringWithDateFormat(userlist,"yyyy-MM-dd")); + map.put("total", userService.getUserCount(search)); + map.put("rows", json); + return map; + } + + /** + * 用户登陆 + * @param phone + * @param password + * @return + */ + @RequestMapping(value="/toLogin") + public @ResponseBody + Map toLogin(@RequestParam String phone,@RequestParam String password,HttpServletRequest request) { + Map map = new HashMap(); + + if (phone!=null&&password!=null&&!phone.trim().equals("") && !password.trim().equals("")) { + Users users = userService.checkLogin(phone); + if (users != null) { + System.out.println(Md5.GetMD5Code(password)); + if (users.getPassword().equals(Md5.GetMD5Code(password))) { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "登陆成功"); + map.put("type", users.getType()); + HttpSession session=request.getSession(); + session.setAttribute("type", users.getType()); + session.setAttribute("phone", users.getPhone()); + Date date=new Date(); + userService.updateLastLoginTime(date,phone); + orderService.deleteStatus7Order(phone); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "账号或密码错误,请检查后输入"); + } + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "账号或密码错误,请检查后输入"); + } + } + + return map; + } + + /** + * 检查用户是否已经注册 + * @param phone + * @return + */ + @RequestMapping(value="/checkUserIsExist") + public @ResponseBody + Map checkUserIsExist(@RequestParam String phone) { + Map map = new HashMap(); + if (userService.selectByUsername(phone) != null) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "该账号已经被注册"); + } else { + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "该账号可以注册"); + } + return map; + } + + /** + * 用户注册 + * @param phone + * @param password + * @param nickname + * @return + */ + @RequestMapping(value="/registerIn") + public @ResponseBody + Map registerIn(@RequestParam String phone, + @RequestParam String password, @RequestParam String nickname) { + Map map = new HashMap(); + + try { + if (!phone.equals("") && phone.length() == 11 + && !password.equals("")) { + String passwordMd5=Md5.GetMD5Code(password); + + Users users = new Users(phone, passwordMd5, nickname); + userService.addUsers(users); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "注册成功"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "注册失败"); + } + } catch (Exception e) { + map.put(Constants.STATUS, Constants.FAILURE); // 捕捉异常 + map.put(Constants.MESSAGE, "注册失败"); + return map; + } + + return map; + } + + + /** + * 用户更改密码 + * @param phone + * @param newPassword + * @return + */ + @RequestMapping(value = "/resetPassword") + public @ResponseBody + Map resetPassword(@RequestParam String phone, + @RequestParam String newPassword) { + Map map = new HashMap(); + try { + Users users = userService.selectByUsername(phone); + if (users != null) { + userService.updatePassword(phone,Md5.GetMD5Code(newPassword)); //对密码做md5加密 + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "修改密码成功"); + } else { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "修改密码失败"); + } + } catch (Exception e) { + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "修改密码失败"); + } + return map; + } + + /** + * 更新用户个人信息 + * @param phone + * @param password + * @param nickname + * @param type + * @return + */ + @RequestMapping(value="/updateUserInfo") + public @ResponseBody Map updateUserInfo(@RequestParam String phone, + String nickname,String type,String sex,String academy,String qq,String weiXin){ + Map map = new HashMap(); + + try { + Users users=new Users(); + users.setPhone(phone); + if(weiXin!=null) + { + users.setWeiXin(weiXin); + } + + if(qq!=null) + { + users.setQq(qq); + } + + if(academy!=null) + { + users.setAcademy(academy); + } + + if(sex!=null){ + users.setSex((short)Integer.parseInt(sex)); + } + + if(nickname!=null){ + users.setNickname(nickname); + } + + + if(type!=null){ + users.setType((short)Integer.parseInt(type)); + } + + if(userService.updateUserInfo(users)!=-1){ + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "修改用户信息成功"); + }else{ + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "修改用户信息失败"); + } + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "修改用户信息失败"); + } + return map; + } + + + /** + * 获取我的用户总信息 + * @param phone 用户id + * @return + */ + @RequestMapping(value="mineInfo") + public @ResponseBody Map getMineInfo(@RequestParam String phone){ + Map map = new HashMap(); + try { + Map paramMap = new HashMap(); + Users users=userService.selectByUsername(phone); + paramMap.put("phoneId", phone); + paramMap.put("status", 1); + List togetherId1=orderService.getTogetherId(paramMap); + paramMap.put("status", 2); + List togetherId2=orderService.getTogetherId(paramMap); + paramMap.put("status", 3); + List togetherId3=orderService.getTogetherId(paramMap); + paramMap.put("status", 4); + List togetherId4=orderService.getTogetherId(paramMap); + paramMap.put("status", 5); + List togetherId5=orderService.getTogetherId(paramMap); + if(users!=null){ + users.setPassword(null); + map.put("userInfo", users); + //map.put("waitDeliveryOrder", counts.get("wait")); + //map.put("waitReceiveOrder",counts.get("deliver")); + //map.put("waitCommentOrder", counts.get("comment")); + + map.put(Constants.STATUS,Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取数据成功"); + map.put("waitPayOrder", togetherId1.size()); + map.put("waitMakeSureOrder", togetherId2.size()); + map.put("distribution", togetherId3.size()); + map.put("waitCommentOrder", togetherId4.size()); + map.put("doneOrder", togetherId5.size()); + + } + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.MESSAGE, "获取用户信息失败!"); + map.put(Constants.STATUS, Constants.FAILURE); + } + + return map; + } + + /** + * 提交用户反馈信息 + * @param phoneId + * @param suggestion + * @return + */ + @RequestMapping(value="feedbackMessage") + public @ResponseBody Map feedbackMessage(@RequestParam Integer campusId,@RequestParam String phoneId,@RequestParam String suggestion){ + Map map = new HashMap(); + try{ + Feedback feedback=new Feedback(); + feedback.setCampusId(campusId); + feedback.setPhoneId(phoneId); + feedback.setSuggestion(suggestion); + Calendar calendar=Calendar.getInstance(); + Date date=calendar.getTime(); //设置反馈时的日期 + feedback.setDate(date); + System.out.println(suggestion); + if(userService.addFeedbackSuggestion(feedback)!=-1){ + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "添加意见成功"); + }else{ + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "添加意见失败"); + } + }catch(Exception e){ + e.getStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "添加意见失败"); + } + + return map; + } + + + /** + * 更新用户头像 + * @param image + * @param request + * @return + * @throws IOException + */ + @RequestMapping("/uploadUserImage") + public @ResponseBody Map uploadNewsImage(@RequestParam String image, HttpServletRequest request)throws IOException{ + String phone=request.getParameter("phoneId"); + + Map map = new HashMap(); + image=image.replaceAll(" ", "+"); + + String realPath = request.getSession().getServletContext().getRealPath("/"); + realPath=realPath.replace("foryou", "ForyouImage"); + realPath=realPath.concat("users/"); + String fileNameString=new Random().nextLong()+""+new Date().getTime()+".jpg"; + + if (image == null) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "没有文件"); + } + + @SuppressWarnings("restriction") + BASE64Decoder decoder = new BASE64Decoder(); + try { + //Base64解码 + @SuppressWarnings("restriction") + byte[] b = decoder.decodeBuffer(image); + for(int i=0;i< b.length;++i) + { + if(b[i]< 0) + {//调整异常数据 + b[i]+=256; + } + } + //生成jpeg图片 + String imgFilePath = realPath+fileNameString;//新生成的图片 + OutputStream out = new FileOutputStream(imgFilePath); + out.write(b); + out.flush(); + out.close(); + + //删除原头像 + String orignUrl=userService.getImageUrl(phone); + if(orignUrl!=null){ + String[] temp=orignUrl.split("/"); + String imageName=temp[(temp.length-1)]; + + String name=realPath+imageName; + + File file=new File(name); + if(file.isFile()){ + file.delete();//删除 + } + } + + String imageUrl=Constants.localIp+"/users/"+fileNameString; + Integer flag=userService.updateImageUrl(imageUrl, phone); + if(flag==1){ + map.put("imageUrl", imageUrl); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "头像更新成功!"); + }else{ + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "头像更新失败"); + } + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "头像更新失败"); + } + + return map; + } + + + @RequestMapping("/uploadAndroidLog") + public @ResponseBody Map uploadAndroidLog(@RequestParam String log, HttpServletRequest request)throws IOException{ + + Map map = new HashMap(); + + String realPath = request.getSession().getServletContext().getRealPath("/"); + realPath=realPath.replace("foryou", "ForyouImage"); + realPath=realPath.concat("android/"); + String fileNameString=new Random().nextInt(100)+""+new Date().getTime()+"log.log"; + + if (log == null) { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "没有文件"); + return map; + } + + @SuppressWarnings("restriction") + BASE64Decoder decoder = new BASE64Decoder(); + try { + //Base64解码 + @SuppressWarnings("restriction") + byte[] b = decoder.decodeBuffer(log); + for(int i=0;i< b.length;++i) + { + if(b[i]< 0) + {//调整异常数据 + b[i]+=256; + } + } + //生成jpeg图片 + String imgFilePath = realPath+fileNameString;//新生成的图片 + OutputStream out = new FileOutputStream(imgFilePath); + out.write(b); + out.flush(); + out.close(); + + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "log日志上传成功!"); + + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "log日志上传失败!"); + } + + return map; + } + + /** + * 获取配送员名单 + * @return + */ + @RequestMapping(value="getDeliverAdmin") + public @ResponseBody Map getDeliverAdmin(@RequestParam Integer campusId) { + Map map=new HashMap(); + Map paramMap=new HashMap(); + + paramMap.put("campusId", campusId); + + try{ + List users=userService.getDeliverAdmin(paramMap); + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "获取配送员成功!"); + map.put("deliverAdmins", users); + }catch(Exception e){ + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "获取配送员失败!"); + } + + return map; + } + + /** + * ios post token到数据表 + * @param phoneId + * @param token + * @return + */ + @RequestMapping(value="postIOSToken") + public @ResponseBody Map postIosToken(String phoneId,String token){ + Map map=new HashMap(); + + try{ + userService.clearOldToken(token); //如果该token以前别的用户使用过,就将该 + int flag=userService.setUserToken(phoneId,token); + + if(flag!=0&flag!=-1){ + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "设置用户token成功!"); + } + }catch(Exception e){ + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "设置用户token失败"); + } + + return map; + } + + /** + * 获取用户反馈 + * @return + */ + @RequestMapping(value="/getFeedbacks") + public @ResponseBody JSONArray getFeedbacks(Integer campusId,Integer limit,Integer page){ + try { + MapparamMap=new HashMap(); + paramMap.put("campusId", campusId); + if(limit!=null&&page!=null) + { + paramMap.put("limit",limit); + paramMap.put("offset", (page-1)*limit); + } + + List feedbacks=userService.getFeedbacks(paramMap); + return JSONArray.parseArray(JSON.toJSONStringWithDateFormat(feedbacks, "yyyy-MM-dd")); + } catch (Exception e) { + e.printStackTrace(); + } + + return null; + } + + /** + * 忘记密码的跳转 + * @return + */ + @RequestMapping(value="/forgetPassword") + public String forgetPassword(){ + return "redirect:/kidding.html"; + } + + /** + * 退出登录 + * @param request + * @return + */ + @RequestMapping(value="/logout") + public String logout(HttpServletRequest request){ + request.getSession().removeAttribute("phone"); + return "redirect:/login.html"; + } + + /** + * 获取用户类型 + * @param request + * @return + */ + @RequestMapping(value="/getUserType") + public @ResponseBody Short getUserType(HttpServletRequest request){ + return (Short) request.getSession().getAttribute("type"); + } + + /** + * 获取用户设备占比 + */ + @RequestMapping(value="/getUserDevicePercent") + public @ResponseBody Map getUserDevicePercent(){ + Map resultMap=new HashMap(); + + try { + DecimalFormat df = new DecimalFormat("##.0"); + Map paramMap=new HashMap(); + paramMap.put("device","0"); //设备号0表示ios + Integer iosCount=userService.getCountsByDevice(paramMap); + paramMap.put("device","1"); + Integer androidCount=userService.getCountsByDevice(paramMap); + resultMap.put("android",Float.valueOf(df.format(androidCount*1.0/(androidCount+iosCount)*100))); + resultMap.put("ios",Float.valueOf(df.format(iosCount*1.0/(androidCount+iosCount)*100))); + } catch (Exception e) { + e.getStackTrace(); + } + return resultMap; + } + + /** + * 用户更改密码(用老密码更改) + * @param phone + * @param oldPassword + * @param newPassword + * @return + */ + @RequestMapping("/changePassword") + public @ResponseBody Map changePassword(@RequestParam String phone + ,@RequestParam String oldPassword,@RequestParam String newPassword) + { + Map map=new HashMap(); + try { + Map paramMap=new HashMap(); + paramMap.put("phone",phone); + String passwordMd5=Md5.GetMD5Code(oldPassword); + paramMap.put("password",passwordMd5); + List users=userService.selectByPhoneAndPassword(paramMap); + if(users.size()==0) + { + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "更改失败,原密码错误"); + } + else + { + userService.updatePassword(phone,Md5.GetMD5Code(newPassword)); //对密码做md5加密 + map.put(Constants.STATUS, Constants.SUCCESS); + map.put(Constants.MESSAGE, "修改密码成功"); + } + + } catch (Exception e) { + e.printStackTrace(); + map.put(Constants.STATUS, Constants.FAILURE); + map.put(Constants.MESSAGE, "修改密码失败"); + } + return map; + } +} diff --git a/src/main/java/com/changyu/foryou/filter/IsLoginFilter.java b/src/main/java/com/changyu/foryou/filter/IsLoginFilter.java new file mode 100644 index 0000000..89efe2e --- /dev/null +++ b/src/main/java/com/changyu/foryou/filter/IsLoginFilter.java @@ -0,0 +1,57 @@ +//package com.changyu.foryou.filter; +// +//import org.springframework.stereotype.Component; +// +//import javax.servlet.*; +//import javax.servlet.http.HttpServletRequest; +//import javax.servlet.http.HttpServletResponse; +//import javax.servlet.http.HttpServletResponseWrapper; +//import java.io.IOException; +// +//@Component +//public class IsLoginFilter implements Filter { +// public FilterConfig config; +// +// public void destroy() { +// this.config = null; +// } +// +// public static boolean isContains(String container, String[] regx) { +// boolean result = false; +// +// for (int i = 0; i < regx.length; i++) { +// if (container.contains(regx[i])) { +// result = true; +// } +// } +// +// return result; +// } +// +// public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { +// chain.doFilter(request,response); +// HttpServletRequest hrequest = (HttpServletRequest) request; +// HttpServletResponseWrapper wrapper = new HttpServletResponseWrapper((HttpServletResponse) response); +// +// String[] loginList = new String[]{"login","toLogin"}; +// +// if (IsLoginFilter.isContains(hrequest.getRequestURI(), loginList)) { +// chain.doFilter(request, response); +// return; +// } +// +// String user = (String) hrequest.getSession().getAttribute("campusAdmin"); +// if (user == null) { +// wrapper.sendRedirect("/login.html"); +// return; +// } else { +// chain.doFilter(request, response); +// return; +// } +// } +// +// public void init(FilterConfig filterConfig) throws ServletException { +// config = filterConfig; +// } +//} +// diff --git a/src/main/java/com/changyu/foryou/filter/SignFilter.java b/src/main/java/com/changyu/foryou/filter/SignFilter.java new file mode 100644 index 0000000..a7c5381 --- /dev/null +++ b/src/main/java/com/changyu/foryou/filter/SignFilter.java @@ -0,0 +1,118 @@ +package com.changyu.foryou.filter; + +import java.io.IOException; +import java.io.PrintWriter; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +import javax.servlet.Filter; +import javax.servlet.FilterChain; +import javax.servlet.FilterConfig; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.http.HttpServletRequest; + +import org.apache.log4j.Logger; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; +import org.springframework.web.context.WebApplicationContext; +import org.springframework.web.context.support.WebApplicationContextUtils; + +import com.alibaba.fastjson.JSON; +import com.changyu.foryou.service.KeyService; +import com.changyu.foryou.tools.Constants; +import com.changyu.foryou.tools.Sign; + +/** + * 实行对接口进行签名 + * + * @author xiaowei + * @copyght 倡予科技有限公司 + */ +@Component +public class SignFilter implements Filter { + @Autowired + private KeyService keyService; + + @Override + public void destroy() { + + } + + @Override + public void doFilter(ServletRequest request, ServletResponse response, + FilterChain chain) throws IOException, ServletException { + chain.doFilter(request,response); +// HashMap map = (HashMap) request +// .getParameterMap(); +// +// Map resultMap = new HashMap<>(); +// +// if (map.get("server") != null +// && map.get("server")[0] +// .equals("56846a8a2fee49d14901d39cc48b8b2a")) { +// chain.doFilter(request, response); +// return; +// } +// +// if (map.get("timestamp") == null || map.get("secret") == null +// || map.get("sign") == null) { // 签名参数不能为空 +// response.reset(); +// response.setContentType("text/html;charset=UTF-8"); +// response.setCharacterEncoding("utf-8"); +// PrintWriter out = response.getWriter(); +// resultMap.put(Constants.STATUS, Constants.FAILURE); +// resultMap.put(Constants.MESSAGE, "签名必要参数不能为空"); +// out.print(JSON.toJSONString(resultMap)); +// return; +// } +// +// String sign = Sign.getSignature(map); +// String secret = map.get("secret")[0]; +// +// if ((new Date().getTime() - Long.parseLong(map.get("timestamp")[0])) > 10 * 1000 * 6) { +// response.reset(); +// response.setContentType("text/html;charset=UTF-8"); +// response.setCharacterEncoding("utf-8"); +// PrintWriter out = response.getWriter(); +// resultMap.put(Constants.STATUS, Constants.FAILURE); +// resultMap.put(Constants.MESSAGE, "会话已超时"); +// out.print(JSON.toJSONString(resultMap)); +// return; +// } else if (!map.get("sign")[0].equals(sign)) { +// response.reset(); +// response.setContentType("text/html;charset=UTF-8"); +// response.setCharacterEncoding("utf-8"); +// PrintWriter out = response.getWriter(); +// resultMap.put(Constants.STATUS, Constants.FAILURE); +// resultMap.put(Constants.MESSAGE, "接口签名错误"); +// out.print(JSON.toJSONString(resultMap)); +// return; +// } else { +// Map paramMap = new HashMap<>(); +// paramMap.put("secrect", secret); +// +// String flag = keyService.SelectKey(paramMap); +// if (flag == null) { +// response.reset(); +// response.setContentType("text/html;charset=UTF-8"); +// response.setCharacterEncoding("utf-8"); +// PrintWriter out = response.getWriter(); +// +// resultMap.put(Constants.STATUS, Constants.FAILURE); +// resultMap.put(Constants.MESSAGE, "密钥不存在"); +// out.print(JSON.toJSONString(resultMap)); +// return; +// } +// chain.doFilter(request, response); +// } + + } + + @Override + public void init(FilterConfig arg0) throws ServletException { + } + +} diff --git a/src/main/java/com/changyu/foryou/filter/XssFilter.java b/src/main/java/com/changyu/foryou/filter/XssFilter.java new file mode 100644 index 0000000..d5f7c71 --- /dev/null +++ b/src/main/java/com/changyu/foryou/filter/XssFilter.java @@ -0,0 +1,40 @@ +package com.changyu.foryou.filter; + +import com.changyu.foryou.tools.XssHttpServletRequestWrapper; +import org.springframework.stereotype.Component; + +import java.io.IOException; + +import javax.servlet.Filter; +import javax.servlet.FilterChain; +import javax.servlet.FilterConfig; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.http.HttpServletRequest; + +/** + * 防止xss攻击过滤器 + * + * @author xiaowei + */ +@Component +public class XssFilter implements Filter { + + @Override + public void init(FilterConfig filterConfig) throws ServletException { + + } + + @Override + public void doFilter(ServletRequest request, ServletResponse response, + FilterChain chain) throws IOException, ServletException { + chain.doFilter(new XssHttpServletRequestWrapper((HttpServletRequest) request), response); + } + + @Override + public void destroy() { + + } + +} diff --git a/src/main/java/com/changyu/foryou/interceptor/LoginInterceptor.java b/src/main/java/com/changyu/foryou/interceptor/LoginInterceptor.java new file mode 100644 index 0000000..c5a8dc6 --- /dev/null +++ b/src/main/java/com/changyu/foryou/interceptor/LoginInterceptor.java @@ -0,0 +1,51 @@ +package com.changyu.foryou.interceptor; + +import org.springframework.web.servlet.HandlerInterceptor; +import org.springframework.web.servlet.ModelAndView; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * Created by zhengzhihao on 2017/7/21. + */ +public class LoginInterceptor implements HandlerInterceptor { + @Override + public boolean preHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o) throws Exception { + String[] loginList = new String[]{"login", "toLogin"}; + + if (isContains(httpServletRequest.getRequestURI(), loginList)) { + return true; + } + + String user = (String) httpServletRequest.getSession().getAttribute("campusAdmin"); + if (user == null) { + httpServletResponse.sendRedirect("/login.html"); + return false; + } + + return true; + } + + @Override + public void postHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, ModelAndView modelAndView) throws Exception { + + } + + @Override + public void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception { + + } + + private boolean isContains(String container, String[] url) { + boolean result = false; + + for (int i = 0; i < url.length; i++) { + if (container.contains(url[i])) { + result = true; + } + } + + return result; + } +} diff --git a/src/main/java/com/changyu/foryou/mapper/AppKeyMapper.java b/src/main/java/com/changyu/foryou/mapper/AppKeyMapper.java new file mode 100644 index 0000000..9c7bcd2 --- /dev/null +++ b/src/main/java/com/changyu/foryou/mapper/AppKeyMapper.java @@ -0,0 +1,13 @@ +package com.changyu.foryou.mapper; + +import java.util.Map; + +import com.changyu.foryou.model.AppKey; + +public interface AppKeyMapper { + int insert(AppKey record); + + int insertSelective(AppKey record); + + String SelectKey(Map paramMap); //搜索 +} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/CampusMapper.java b/src/main/java/com/changyu/foryou/mapper/CampusMapper.java index 16ce87b..1e1b074 100644 --- a/src/main/java/com/changyu/foryou/mapper/CampusMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/CampusMapper.java @@ -1,6 +1,12 @@ package com.changyu.foryou.mapper; +import java.util.List; +import java.util.Map; + import com.changyu.foryou.model.Campus; +import com.changyu.foryou.model.CampusAdmin; +import com.changyu.foryou.model.City; +import com.changyu.foryou.model.CityWithCampus; public interface CampusMapper { int deleteByPrimaryKey(Integer campusId); @@ -14,4 +20,42 @@ public interface CampusMapper { int updateByPrimaryKeySelective(Campus record); int updateByPrimaryKey(Campus record); + + List selectAllCampus(Map paramMap); + + List getCampusWithCity(Map paramMap); + + Integer getIdByName(Map paramMap); + + Integer closeCampus(Map requestMap); + + Campus selectCampusById(Map paramMap); + + CampusAdmin getCampusIdByAdmin(Map paramMap); + + List getAllCampusAdmin(Map paramMap); + + Integer updateCampusAdmin(Map paramMap); + + Integer addCampus(Map paramMap); + + Campus getCampusByOrder(Map paramMap); + + Integer deleteCampusAdmin(Map paramMap); + + Integer insertCampusAdmin(Map paramMap); + + List selectAllCity(); + + Integer insertCity(Map paramMap); + + City getCityByName(String cityName); + + Integer updateCampus(Map paramMap); + + String getOldPassword(Map paramMap); //获取原密码 + + int updateCampusAdminPassword(Map paramMap); //更新密码 + + String getCampusName(Integer campusId); } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/FeedbackMapper.java b/src/main/java/com/changyu/foryou/mapper/FeedbackMapper.java index 0ea14ae..8f1ea3e 100644 --- a/src/main/java/com/changyu/foryou/mapper/FeedbackMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/FeedbackMapper.java @@ -1,6 +1,7 @@ package com.changyu.foryou.mapper; import java.util.List; +import java.util.Map; import com.changyu.foryou.model.Feedback; @@ -9,5 +10,5 @@ public interface FeedbackMapper { int insertSelective(Feedback record); - List getFeedbacks(); + List getFeedbacks(Map paramMap); } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/FoodCategoryMapper.java b/src/main/java/com/changyu/foryou/mapper/FoodCategoryMapper.java index c04b7df..e0b94a9 100644 --- a/src/main/java/com/changyu/foryou/mapper/FoodCategoryMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/FoodCategoryMapper.java @@ -6,6 +6,7 @@ import org.apache.ibatis.annotations.Param; import com.changyu.foryou.model.FoodCategory; +import com.changyu.foryou.model.HomeCategory; public interface FoodCategoryMapper { int deleteByPrimaryKey(Map paramMap); @@ -27,4 +28,12 @@ public interface FoodCategoryMapper { List getAllFoodSecondCategories(); List getAllFoodFirstCategories(); + + List getHomeCategoryInfo(Map paramMap); + + List getAllFoodCategories(Map paramMap); + + int getAllCategoryCount(); + + Integer addCategoryWhenAddCampus(Map paramMap); } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/FoodCommentMapper.java b/src/main/java/com/changyu/foryou/mapper/FoodCommentMapper.java index 769f029..1836677 100644 --- a/src/main/java/com/changyu/foryou/mapper/FoodCommentMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/FoodCommentMapper.java @@ -21,4 +21,6 @@ public interface FoodCommentMapper { List getAllComments(Map paramMap); Integer deleteFoodComment(Map paramMap); + + Integer calCommentCount(Map paramMap); } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/FoodMapper.java b/src/main/java/com/changyu/foryou/mapper/FoodMapper.java index ddaed90..a1d331e 100644 --- a/src/main/java/com/changyu/foryou/mapper/FoodMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/FoodMapper.java @@ -6,7 +6,10 @@ import org.apache.ibatis.annotations.Param; import com.changyu.foryou.model.Food; +import com.changyu.foryou.model.FoodWithSales; import com.changyu.foryou.model.ShortFood; +import com.changyu.foryou.model.ShortFoodWithIm; +import com.changyu.foryou.model.VeryShortFood; public interface FoodMapper { int deleteByPrimaryKey(Map paramMap); @@ -29,10 +32,28 @@ public interface FoodMapper { List getFoodListWelcome(Map paramMap); //获取受欢迎商品 - int changeFoodSaleNumber(Map paramMap); //更新销量 - List selectFoods(Map paramMap); + List selectFoods(Map paramMap); - List selectFoodsByTwoTags(Map paramMap); + List selectFoodsByTwoTags(Map paramMap); + int changeFoodNumber(Map paramMap); //更新销量和减少库存 + + List selectHomeFood(Map paramMap); + + Integer uploadHomeFoodByFoodId(Map paramMap);//上传推送到首页的食品大图 + + Integer updateInfoByFoodId(Map paramMap);//更新食品详情图片 + + Integer cancelRecommend(Map paramMap);//取消推荐 + + List getTopFive(Map paramMap); + + Integer addFoodCountById(Map paramMap);//添加库存 + + Integer addFoodCount(Map paramMap); + + String getFoodHomeImage(Map paramMap); + + String getDetailImg(Map paramMap); //获取食品详情图片 } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/HotSearchMapper.java b/src/main/java/com/changyu/foryou/mapper/HotSearchMapper.java new file mode 100644 index 0000000..4dd686e --- /dev/null +++ b/src/main/java/com/changyu/foryou/mapper/HotSearchMapper.java @@ -0,0 +1,26 @@ +package com.changyu.foryou.mapper; + +import java.util.List; +import java.util.Map; + +import com.changyu.foryou.model.HotSearch; + +public interface HotSearchMapper { + int deleteByPrimaryKey(Integer hotId); + + int insert(HotSearch record); + + int insertSelective(HotSearch record); + + HotSearch selectByPrimaryKey(Integer hotId); + + int updateByPrimaryKeySelective(HotSearch record); + + int updateByPrimaryKey(HotSearch record); + + List getHotSearchs(Map paramMap); //获取校区的所有热搜标签 + + int setNot2Display(Map paramMap); //将标签拿下来 + + int set2Dispaly(Map paramMap); //显示标签 +} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/OrderMapper.java b/src/main/java/com/changyu/foryou/mapper/OrderMapper.java index d3e10d9..e13b733 100644 --- a/src/main/java/com/changyu/foryou/mapper/OrderMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/OrderMapper.java @@ -9,6 +9,7 @@ import com.changyu.foryou.model.CartGood; import com.changyu.foryou.model.DeliverChildOrder; import com.changyu.foryou.model.DeliverOrder; +import com.changyu.foryou.model.MiniOrder; import com.changyu.foryou.model.Order; import com.changyu.foryou.model.PCOrder; import com.changyu.foryou.model.SmallOrder; @@ -34,16 +35,13 @@ public interface OrderMapper { int updateOrderCount(@Param(value="orderId")Long orderId, @Param(value="phoneId")String phoneId, @Param(value="orderCount")Integer orderCount); - int changeOrderStatus2Buy(@Param(value="orderId")Long orderId, @Param(value="phoneId")String phoneId, @Param(value="togetherId")String togetherId, @Param(value="rank")String rank, @Param(value="reserveTime")String reserveTime, @Param(value="message")String message); + int changeOrderStatus2Buy(@Param(value="orderId")Long orderId, @Param(value="phoneId")String phoneId, @Param(value="togetherId")String togetherId, @Param(value="rank")String rank, @Param(value="reserveTime")String reserveTime, @Param(value="message")String message,@Param(value="payWay")Short payWay,@Param(value="price")Float price,@Param(value="totalPrice")Float totalPrice); int changeOrderStatus2Deliver(@Param(value="togetherId")String togetherId, @Param(value="phoneId")String phoneId); int changeOrderStatus2Finish(@Param(value="togetherId")String togetherId, @Param(value="phoneId")String phoneId); int deleteAllUserOrder(String phoneId); - - - List getOrderListInMineWait2Deliver(String phoneId); List getOrderListInMineDeliver(String phoneId); @@ -58,7 +56,7 @@ public interface OrderMapper { void updateOrderRemarked(@Param(value="phone")String phoneId, @Param(value="orderId")Long orderId); - List superAdminGetOrder(@Param(value="isSelected")Integer isSelected); + List superAdminGetOrder(Map paramMap); int getExitOrderUserRank(@Param(value="phone")String phoneId, @Param(value="rank")String rank); @@ -66,7 +64,7 @@ public interface OrderMapper { Order selectByPrimaryKey(@Param(value="orderId")Long orderId, @Param(value="phoneId")String phoneId); - List deliverGetOrder(@Param(value="phone")String phone); + List deliverGetOrder(Map paramMap); List getDeliverChildOrders(@Param(value="togetherId")String togetherId); @@ -86,4 +84,57 @@ public interface OrderMapper { List getOrderListInMine(Map map); + Date getTogetherDate(Map paramMap); + + List getOrdersById(Map paramMap); + + Integer modifyOrderStatus(Map paramMap); + + void deleteOrder(Map paramMap); + + SmallOrder getOrderById(Map paramMap); + + String getUserPhone(Map requestMap); //获取用户手机号 + + String getAdminPhone(Map requestMap); //获取配送员手机号 + + Integer updateOrderPrice(Map paramMap); + + Float selectTotalPriceByTogetherId(@Param(value="togetherId")String togetherId); + + int updateOrderStatusAndAmount(Map paramMap); //支付成功后更新订单和价格 + + Integer getCampusIdByTogetherId(Map paramMap); //获取某笔订单的校区号 + + CartGood getOrderByOrderId(Map paramMap); //获取某笔小订单 + + Integer cancelOrderWithRefund(Map paramMap); + + List getPCOrdersNew(Map paramMap); + + int updateCancelRefund(Map paramMap); //取消退款 + + String getChargeId(Map paramMap); + + Integer updateRefundStatus(Map paramMap); //更新退款信息状态 + + Integer updateorderStatusRefundSuccess(Map paramMap); //将状态置为11 + + Integer getMiniOrderByPhone(Map paramMap); //获取订单状态对应的数量 + + Integer getSalesInfoByCampusId(Map paramMap); //根据校区和时间段获取销售量 + + Float getTradeVolumeByCampusId(Map paramMap); //获取指定时间段和指定校区的订单交易额 + + List getPCSimpleOrders(Map paramMap); + + long getPCSimpleOrdersCount(Map paramMap); + + List getPCInvalidOrders(Map paramMap); //获取无效订单 + + int deleteOrderTrue(Map paramMap); //删除无效订单 + + int deleteStatus7Order(String phone); //删除无效订单(从商品详情点立即购买,却没有支付的 + + List getAllOrderByTogetherId(String orderNo); // } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/PreferentialMapper.java b/src/main/java/com/changyu/foryou/mapper/PreferentialMapper.java new file mode 100644 index 0000000..39454ae --- /dev/null +++ b/src/main/java/com/changyu/foryou/mapper/PreferentialMapper.java @@ -0,0 +1,23 @@ +package com.changyu.foryou.mapper; + +import java.util.List; +import java.util.Map; + +import com.changyu.foryou.model.Preferential; + +public interface PreferentialMapper { + int deleteByPrimaryKey(Integer preferentialId); + + int insert(Preferential record); + + int insertSelective(Preferential record); + + Preferential selectByPrimaryKey(Integer preferentialId); + + int updateByPrimaryKeySelective(Preferential record); + + int updateByPrimaryKey(Preferential record); + + List getPreferential(Map paramMap); + +} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/ReceiverMapper.java b/src/main/java/com/changyu/foryou/mapper/ReceiverMapper.java index eb9f4bd..36646c3 100644 --- a/src/main/java/com/changyu/foryou/mapper/ReceiverMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/ReceiverMapper.java @@ -1,6 +1,7 @@ package com.changyu.foryou.mapper; import java.util.List; +import java.util.Map; import org.apache.ibatis.annotations.Param; @@ -30,4 +31,6 @@ public interface ReceiverMapper { //将原来默认地址设为非默认 int setReceiverTag(@Param(value="phoneId")String phoneId); + + Receiver getReceiver(Map paramMap); } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapper/SellerMapper.java b/src/main/java/com/changyu/foryou/mapper/SellerMapper.java new file mode 100644 index 0000000..6d4921c --- /dev/null +++ b/src/main/java/com/changyu/foryou/mapper/SellerMapper.java @@ -0,0 +1,17 @@ +package com.changyu.foryou.mapper; + +import java.util.Date; + +import org.apache.ibatis.annotations.Param; + +import com.changyu.foryou.model.Sellers; + +public interface SellerMapper { + + Sellers selectByCampusAdmin(String campusAdmin); + + void updateLastLoginTime(@Param(value = "date") Date date, @Param(value = "campusAdmin") String campusAdmin); + + int insertSellective(Sellers seller); + +} diff --git a/src/main/java/com/changyu/foryou/mapper/UsersMapper.java b/src/main/java/com/changyu/foryou/mapper/UsersMapper.java index 482cda9..88f384f 100644 --- a/src/main/java/com/changyu/foryou/mapper/UsersMapper.java +++ b/src/main/java/com/changyu/foryou/mapper/UsersMapper.java @@ -31,17 +31,17 @@ public interface UsersMapper { Integer getUserCount(@Param(value="search")String search); - Integer setUserAdmin(String phone); + Integer setUserAdmin(@Param(value="phone")String phone, @Param(value="campusId")Integer campusId); - Integer setUserCommon(String phone); + Integer setUserCommon(@Param(value="phone")String phone,@Param(value="campusId")Integer campusId); - Integer setUserSuperAdmin(String phone); + Integer setUserSuperAdmin(@Param(value="phone")String phone, @Param(value="campusId")Integer campusId); int updateUserImage(@Param(value="imageUrl")String imageUrl, @Param(value="phone")String phone); String getImageUrl(@Param(value="phone")String phone); - List getDeliverAdmin(); + List getDeliverAdmin(Map paramMap); int setUserToken(@Param(value="phone")String phoneId, @Param(value="token")String token); @@ -56,4 +56,10 @@ public interface UsersMapper { String getUserTokenByPhone(Map paramterMap); //获取用户token Integer getCountsByDevice(Map paramMap); //获取不同设备用户的个数 + + List selectByPhoneAndPassword(Map paramMap); + + Users checkLogin(String phone); + + List getUserByType(Map paramMap); } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/CampusMapper.xml b/src/main/java/com/changyu/foryou/mapping/CampusMapper.xml deleted file mode 100644 index c5921b5..0000000 --- a/src/main/java/com/changyu/foryou/mapping/CampusMapper.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - campus_id, campus_name, city_id, location_x, location_y - - - - delete from campus - where campus_id = #{campusId,jdbcType=INTEGER} - - - insert into campus (campus_id, campus_name, city_id, - location_x, location_y) - values (#{campusId,jdbcType=INTEGER}, #{campusName,jdbcType=VARCHAR}, #{cityId,jdbcType=INTEGER}, - #{locationX,jdbcType=DOUBLE}, #{locationY,jdbcType=DOUBLE}) - - - insert into campus - - - campus_id, - - - campus_name, - - - city_id, - - - location_x, - - - location_y, - - - - - #{campusId,jdbcType=INTEGER}, - - - #{campusName,jdbcType=VARCHAR}, - - - #{cityId,jdbcType=INTEGER}, - - - #{locationX,jdbcType=DOUBLE}, - - - #{locationY,jdbcType=DOUBLE}, - - - - - update campus - - - campus_name = #{campusName,jdbcType=VARCHAR}, - - - city_id = #{cityId,jdbcType=INTEGER}, - - - location_x = #{locationX,jdbcType=DOUBLE}, - - - location_y = #{locationY,jdbcType=DOUBLE}, - - - where campus_id = #{campusId,jdbcType=INTEGER} - - - update campus - set campus_name = #{campusName,jdbcType=VARCHAR}, - city_id = #{cityId,jdbcType=INTEGER}, - location_x = #{locationX,jdbcType=DOUBLE}, - location_y = #{locationY,jdbcType=DOUBLE} - where campus_id = #{campusId,jdbcType=INTEGER} - - \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/AppKey.java b/src/main/java/com/changyu/foryou/model/AppKey.java new file mode 100644 index 0000000..f1bee39 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/AppKey.java @@ -0,0 +1,23 @@ +package com.changyu.foryou.model; + +public class AppKey { + private String key; + + private String secrect; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key == null ? null : key.trim(); + } + + public String getSecrect() { + return secrect; + } + + public void setSecrect(String secrect) { + this.secrect = secrect == null ? null : secrect.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/BigOrder.java b/src/main/java/com/changyu/foryou/model/BigOrder.java new file mode 100644 index 0000000..1591ad7 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/BigOrder.java @@ -0,0 +1,77 @@ +package com.changyu.foryou.model; + +import java.util.Date; +import java.util.List; + +public class BigOrder { + private String togetherId; + + private String totalPrice; + + private Date date; + + private Receiver receiver; + + private List orders; + + private Short status; + + private Short payWay; + + public String getTotalPrice() { + return totalPrice; + } + + public void setTotalPrice(String totalPrice) { + this.totalPrice = totalPrice; + } + + public Date getDate() { + return date; + } + + public void setDate(Date date) { + this.date = date; + } + + public Receiver getReceiver() { + return receiver; + } + + public void setReceiver(Receiver receiver) { + this.receiver = receiver; + } + + public List getOrders() { + return orders; + } + + public void setOrders(List orders) { + this.orders = orders; + } + + public String getTogetherId() { + return togetherId; + } + + public void setTogetherId(String togetherId) { + this.togetherId = togetherId; + } + + public Short getStatus() { + return status; + } + + public void setStatus(Short status) { + this.status = status; + } + + public Short getPayWay() { + return payWay; + } + + public void setPayWay(Short payWay) { + this.payWay = payWay; + } + +} diff --git a/src/main/java/com/changyu/foryou/model/Campus.java b/src/main/java/com/changyu/foryou/model/Campus.java index 82f0c7a..f8b010f 100644 --- a/src/main/java/com/changyu/foryou/model/Campus.java +++ b/src/main/java/com/changyu/foryou/model/Campus.java @@ -1,37 +1,103 @@ package com.changyu.foryou.model; +import java.sql.Time; + + public class Campus { - private Integer campusId; + private Integer campusId; - private String campusName; + private String campusName; - private Integer cityId; + private Integer cityId; + + private String cityName; - private Double locationX; + private Time openTime; - private Double locationY; + private Time closeTime; - public Integer getCampusId() { - return campusId; - } + private Short status; - public void setCampusId(Integer campusId) { - this.campusId = campusId; - } + private String closeReason; - public String getCampusName() { - return campusName; - } + private String customService; + /* private Double locationX; - public void setCampusName(String campusName) { - this.campusName = campusName == null ? null : campusName.trim(); - } + private Double locationY;*/ - public Integer getCityId() { - return cityId; - } + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + + public String getCampusName() { + return campusName; + } + + public void setCampusName(String campusName) { + this.campusName = campusName == null ? null : campusName.trim(); + } + + public Integer getCityId() { + return cityId; + } + + public Time getOpenTime() { + return openTime; + } + + public String getCustomService() { + return customService; + } - public void setCityId(Integer cityId) { + public void setCustomService(String customService) { + this.customService = customService; + } + + public void setOpenTime(Time openTime) { + this.openTime = openTime; + } + + public Time getCloseTime() { + return closeTime; + } + + public void setCloseTime(Time closeTime) { + this.closeTime = closeTime; + } + + public Short getStatus() { + return status; + } + + public void setStatus(Short status) { + this.status = status; + } + + public String getCloseReason() { + return closeReason; + } + + public void setCloseReason(String closeReason) { + this.closeReason = closeReason; + } + + public void setCityId(Integer cityId) { + this.cityId = cityId; + } + + public String getCityName() { + return cityName; + } + + public void setCityName(String cityName) { + this.cityName = cityName; + } + + /* public void setCityId(Integer cityId) { this.cityId = cityId; } @@ -49,5 +115,5 @@ public Double getLocationY() { public void setLocationY(Double locationY) { this.locationY = locationY; - } + }*/ } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/CampusAdmin.java b/src/main/java/com/changyu/foryou/model/CampusAdmin.java new file mode 100644 index 0000000..3f9620c --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/CampusAdmin.java @@ -0,0 +1,49 @@ +package com.changyu.foryou.model; + +import java.util.Date; + +public class CampusAdmin { + private String campusAdmin; + private String password; + private Short type; + private Integer campusId; + private String campusName; + private Date lastLoginDate; + public String getCampusAdmin() { + return campusAdmin; + } + public void setCampusAdmin(String campusAdmin) { + this.campusAdmin = campusAdmin; + } + public String getPassword() { + return password; + } + public void setPassword(String password) { + this.password = password; + } + public Short getType() { + return type; + } + public void setType(Short type) { + this.type = type; + } + public Integer getCampusId() { + return campusId; + } + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + public Date getLastLoginDate() { + return lastLoginDate; + } + public void setLastLoginDate(Date lastLoginDate) { + this.lastLoginDate = lastLoginDate; + } + public String getCampusName() { + return campusName; + } + public void setCampusName(String campusName) { + this.campusName = campusName; + } + +} diff --git a/src/main/java/com/changyu/foryou/model/CartGood.java b/src/main/java/com/changyu/foryou/model/CartGood.java index 9644e58..7961e40 100644 --- a/src/main/java/com/changyu/foryou/model/CartGood.java +++ b/src/main/java/com/changyu/foryou/model/CartGood.java @@ -18,17 +18,18 @@ public class CartGood { private Integer orderCount; private Short tag; + + private Short isFullDiscount; - private Integer foodSpecial; private Long foodId; private String imageUrl; - private String specialName; private Integer foodCount; + private String message; public Long getOrderId() { @@ -72,13 +73,13 @@ public void setOrderCount(Integer orderCount) { } - public Integer getFoodSpecial() { + /*public Integer getFoodSpecial() { return foodSpecial; } public void setFoodSpecial(Integer foodSpecial) { this.foodSpecial = foodSpecial; - } + }*/ public Long getFoodId() { return foodId; @@ -128,14 +129,14 @@ public void setName(String name) { this.name = name; } - public String getSpecialName() { + /*public String getSpecialName() { return specialName; } public void setSpecialName(String specialName) { this.specialName = specialName; } - +*/ public Integer getFoodCount() { return foodCount; } @@ -144,6 +145,22 @@ public void setFoodCount(Integer foodCount) { this.foodCount = foodCount; } + public Short getIsFullDiscount() { + return isFullDiscount; + } + + public void setIsFullDiscount(Short isFullDiscount) { + this.isFullDiscount = isFullDiscount; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + diff --git a/src/main/java/com/changyu/foryou/model/City.java b/src/main/java/com/changyu/foryou/model/City.java index fced980..da56a80 100644 --- a/src/main/java/com/changyu/foryou/model/City.java +++ b/src/main/java/com/changyu/foryou/model/City.java @@ -1,23 +1,23 @@ -package com.changyu.foryou.model; - -public class City { - private Integer cityId; - - private String cityName; - - public Integer getCityId() { - return cityId; - } - - public void setCityId(Integer cityId) { - this.cityId = cityId; - } - - public String getCityName() { - return cityName; - } - - public void setCityName(String cityName) { - this.cityName = cityName == null ? null : cityName.trim(); - } +package com.changyu.foryou.model; + +public class City { + protected Integer cityId; + + protected String cityName; + + public Integer getCityId() { + return cityId; + } + + public void setCityId(Integer cityId) { + this.cityId = cityId; + } + + public String getCityName() { + return cityName; + } + + public void setCityName(String cityName) { + this.cityName = cityName == null ? null : cityName.trim(); + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/CityWithCampus.java b/src/main/java/com/changyu/foryou/model/CityWithCampus.java new file mode 100644 index 0000000..2d09de5 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/CityWithCampus.java @@ -0,0 +1,18 @@ +package com.changyu.foryou.model; + +import java.util.ArrayList; +import java.util.Set; + +public class CityWithCampus extends City{ + private ArrayList campuses; + + public ArrayList getCampuses() { + return campuses; + } + + public void setCampuses(ArrayList campuses) { + this.campuses = campuses; + } + + +} diff --git a/src/main/java/com/changyu/foryou/model/DeliverChildOrder.java b/src/main/java/com/changyu/foryou/model/DeliverChildOrder.java index 70144e2..2edd447 100644 --- a/src/main/java/com/changyu/foryou/model/DeliverChildOrder.java +++ b/src/main/java/com/changyu/foryou/model/DeliverChildOrder.java @@ -1,80 +1,80 @@ -package com.changyu.foryou.model; - - -public class DeliverChildOrder { - - private String foodName; - - private Short status; - - private Float price; - - private Float discountPrice; - - private Short isDiscount; - - private Integer orderCount; - - //private String imageUrl; - - private String specialName; - - - public String getFoodName() { - return foodName; - } - - public void setFoodName(String foodName) { - this.foodName = foodName; - } - - public Short getStatus() { - return status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public Float getPrice() { - return price; - } - - public void setPrice(Float price) { - this.price = price; - } - - public Float getDiscountPrice() { - return discountPrice; - } - - public void setDiscountPrice(Float discountPrice) { - this.discountPrice = discountPrice; - } - - public Short getIsDiscount() { - return isDiscount; - } - - public void setIsDiscount(Short isDiscount) { - this.isDiscount = isDiscount; - } - - public Integer getOrderCount() { - return orderCount; - } - - public void setOrderCount(Integer orderCount) { - this.orderCount = orderCount; - } - - public String getSpecialName() { - return specialName; - } - - public void setSpecialName(String specialName) { - this.specialName = specialName; - } - - +package com.changyu.foryou.model; + + +public class DeliverChildOrder { + + private String foodName; + + private Short status; + + private Float price; + + private Float discountPrice; + + private Short isDiscount; + + private Integer orderCount; + + //private String imageUrl; + +// private String specialName; + + + public String getFoodName() { + return foodName; + } + + public void setFoodName(String foodName) { + this.foodName = foodName; + } + + public Short getStatus() { + return status; + } + + public void setStatus(Short status) { + this.status = status; + } + + public Float getPrice() { + return price; + } + + public void setPrice(Float price) { + this.price = price; + } + + public Float getDiscountPrice() { + return discountPrice; + } + + public void setDiscountPrice(Float discountPrice) { + this.discountPrice = discountPrice; + } + + public Short getIsDiscount() { + return isDiscount; + } + + public void setIsDiscount(Short isDiscount) { + this.isDiscount = isDiscount; + } + + public Integer getOrderCount() { + return orderCount; + } + + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } + + /*public String getSpecialName() { + return specialName; + } + + public void setSpecialName(String specialName) { + this.specialName = specialName; + }*/ + + } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/Feedback.java b/src/main/java/com/changyu/foryou/model/Feedback.java index 09caed6..f522bf8 100644 --- a/src/main/java/com/changyu/foryou/model/Feedback.java +++ b/src/main/java/com/changyu/foryou/model/Feedback.java @@ -11,6 +11,8 @@ public class Feedback { private String phoneId; private String suggestion; + + private Integer campusId; @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8") private Date date; @@ -42,4 +44,12 @@ public Date getDate() { public void setDate(Date date) { this.date = date; } + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/Food.java b/src/main/java/com/changyu/foryou/model/Food.java index 38a42a5..18054b5 100644 --- a/src/main/java/com/changyu/foryou/model/Food.java +++ b/src/main/java/com/changyu/foryou/model/Food.java @@ -38,10 +38,24 @@ public class Food { private Long commentNumber; - private List foodSpecial; + //private List foodSpecial; private Integer campusId; + private Short toHome; + + private String homeImage; + + private String message; + + private Short isFullDiscount; + + public Short getIsFullDiscount() { + return isFullDiscount; + } + public void setIsFullDiscount(Short isFullDiscount) { + this.isFullDiscount = isFullDiscount; + } public Food(){ } @@ -239,7 +253,7 @@ public Long getSaleNumber() { public void setSaleNumber(Long saleNumber) { this.saleNumber = saleNumber; } - public List getFoodSpecial() { + /*public List getFoodSpecial() { return foodSpecial; } public void setFoodSpecial(List foodSpecial) { @@ -248,7 +262,7 @@ public void setFoodSpecial(List foodSpecial) { for (int i = 0; i < foodSpecial.size(); i++) { this.foodCount+=foodSpecial.get(i).getFoodCount(); } - } + }*/ public Integer getFoodCount() { return foodCount; } @@ -267,4 +281,22 @@ public Integer getCampusId() { public void setCampusId(Integer campusId) { this.campusId = campusId; } + public Short getToHome() { + return toHome; + } + public void setToHome(Short toHome) { + this.toHome = toHome; + } + public String getHomeImage() { + return homeImage; + } + public void setHomeImage(String homeImage) { + this.homeImage = homeImage; + } + public String getMessage() { + return message; + } + public void setMessage(String message) { + this.message = message; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/FoodCategory.java b/src/main/java/com/changyu/foryou/model/FoodCategory.java index ef2669d..4daf84f 100644 --- a/src/main/java/com/changyu/foryou/model/FoodCategory.java +++ b/src/main/java/com/changyu/foryou/model/FoodCategory.java @@ -2,8 +2,6 @@ import java.util.List; - - public class FoodCategory { private Integer categoryId; private Integer campusId; @@ -15,6 +13,10 @@ public class FoodCategory { private Integer parentId; private Short tag; + + private Short serial; + + private Short isOpen; private List child; @@ -73,4 +75,20 @@ public Integer getCampusId() { public void setCampusId(Integer campusId) { this.campusId = campusId; } + + public Short getSerial() { + return serial; + } + + public void setSerial(Short serial) { + this.serial = serial; + } + + public Short getIsOpen() { + return isOpen; + } + + public void setIsOpen(Short isOpen) { + this.isOpen = isOpen; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/FoodComment.java b/src/main/java/com/changyu/foryou/model/FoodComment.java index 2d30530..e78b602 100644 --- a/src/main/java/com/changyu/foryou/model/FoodComment.java +++ b/src/main/java/com/changyu/foryou/model/FoodComment.java @@ -21,6 +21,12 @@ public class FoodComment { private String phone; private Short tag; + + private Short isHidden; + + private Integer orderCount; + + private Long orderId; public Long getFoodId() { return foodId; @@ -101,4 +107,28 @@ public Integer getCampusId() { public void setCampusId(Integer campusId) { this.campusId = campusId; } + + public Short getIsHidden() { + return isHidden; + } + + public void setIsHidden(Short isHidden) { + this.isHidden = isHidden; + } + + public Integer getOrderCount() { + return orderCount; + } + + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/FoodWithSales.java b/src/main/java/com/changyu/foryou/model/FoodWithSales.java new file mode 100644 index 0000000..e544a98 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/FoodWithSales.java @@ -0,0 +1,27 @@ +package com.changyu.foryou.model; + +public class FoodWithSales { + private Long foodId; + private String foodName; + private Integer sales; + public Long getFoodId() { + return foodId; + } + public void setFoodId(Long foodId) { + this.foodId = foodId; + } + public String getFoodName() { + return foodName; + } + public void setFoodName(String foodName) { + this.foodName = foodName; + } + public Integer getSales() { + return sales; + } + public void setSales(Integer sales) { + this.sales = sales; + } + + +} diff --git a/src/main/java/com/changyu/foryou/model/HomeCategory.java b/src/main/java/com/changyu/foryou/model/HomeCategory.java new file mode 100644 index 0000000..460ce0f --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/HomeCategory.java @@ -0,0 +1,33 @@ +package com.changyu.foryou.model; + +/** + * 主页八个模块,并标志其是否开通 + * @author xiaowei + * + */ +public class HomeCategory { + private Integer categoryId; + private Short serial; + private Short isOpen; + + public Short getIsOpen() { + return isOpen; + } + public void setIsOpen(Short isOpen) { + this.isOpen = isOpen; + } + public Short getSerial() { + return serial; + } + public void setSerial(Short serial) { + this.serial = serial; + } + public Integer getCategoryId() { + return categoryId; + } + public void setCategoryId(Integer categoryId) { + this.categoryId = categoryId; + } + + +} diff --git a/src/main/java/com/changyu/foryou/model/HotSearch.java b/src/main/java/com/changyu/foryou/model/HotSearch.java new file mode 100644 index 0000000..7de239f --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/HotSearch.java @@ -0,0 +1,65 @@ +package com.changyu.foryou.model; + +public class HotSearch { + private Integer hotId; + + private String displayName; + + private String searchTag; + + private Long createTime; + + private Byte isDisplay; + + private Integer campusId; + + + + public String getDisplayName() { + return displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName == null ? null : displayName.trim(); + } + + public String getSearchTag() { + return searchTag; + } + + public void setSearchTag(String searchTag) { + this.searchTag = searchTag == null ? null : searchTag.trim(); + } + + public Long getCreateTime() { + return createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public Byte getIsDisplay() { + return isDisplay; + } + + public void setIsDisplay(Byte isDisplay) { + this.isDisplay = isDisplay; + } + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + + public Integer getHotId() { + return hotId; + } + + public void setHotId(Integer hotId) { + this.hotId = hotId; + } +} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/MiniOrder.java b/src/main/java/com/changyu/foryou/model/MiniOrder.java new file mode 100644 index 0000000..3ab1879 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/MiniOrder.java @@ -0,0 +1,18 @@ +package com.changyu.foryou.model; + +public class MiniOrder { + private Short status; + private Integer orderCount; + public Short getStatus() { + return status; + } + public void setStatus(Short status) { + this.status = status; + } + public Integer getOrderCount() { + return orderCount; + } + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } +} diff --git a/src/main/java/com/changyu/foryou/model/Order.java b/src/main/java/com/changyu/foryou/model/Order.java index 556a508..9ec1239 100644 --- a/src/main/java/com/changyu/foryou/model/Order.java +++ b/src/main/java/com/changyu/foryou/model/Order.java @@ -1,153 +1,164 @@ -package com.changyu.foryou.model; - -import java.util.Date; - -public class Order { - private Long orderId; - - private Integer campusId; - - private String phone; - - private Date createTime; - - private Short status; - - private Float price; - - private Integer orderCount; - - private Short isRemarked; - - private Short tag; - - private Integer foodSpecial; - - private Long foodId; - - private String togetherId; - - private String rank; - - public Order(){ - - } - - public Order(Integer campusId,String phoneId, Long foodId2, Integer foodCount, - Integer foodSpecial2) { - this.setCampusId(campusId); - this.phone=phoneId; - foodId=foodId2; - orderCount=foodCount; - foodSpecial=foodSpecial2; - tag=1; - createTime=new Date(); - status=0; - isRemarked=0; - orderId=createTime.getTime(); - } - - public Long getOrderId() { - return orderId; - } - - public void setOrderId(Long orderId) { - this.orderId = orderId; - } - - public String getPhone() { - return phone; - } - - public void setPhone(String phone) { - this.phone = phone == null ? null : phone.trim(); - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Short getStatus() { - return status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public Float getPrice() { - return price; - } - - public void setPrice(Float price) { - this.price = price; - } - - public Integer getOrderCount() { - return orderCount; - } - - public void setOrderCount(Integer orderCount) { - this.orderCount = orderCount; - } - - public Short getIsRemarked() { - return isRemarked; - } - - public void setIsRemarked(Short isRemarked) { - this.isRemarked = isRemarked; - } - - public Short getTag() { - return tag; - } - - public void setTag(Short tag) { - this.tag = tag; - } - - public Integer getFoodSpecial() { - return foodSpecial; - } - - public void setFoodSpecial(Integer foodSpecial) { - this.foodSpecial = foodSpecial; - } - - public Long getFoodId() { - return foodId; - } - - public void setFoodId(Long foodId) { - this.foodId = foodId; - } - - public String getTogetherId() { - return togetherId; - } - - public void setTogetherId(String togetherId) { - this.togetherId = togetherId; - } - - public String getRank() { - return rank; - } - - public void setRank(String rank) { - this.rank = rank; - } - - public Integer getCampusId() { - return campusId; - } - - public void setCampusId(Integer campusId) { - this.campusId = campusId; - } +package com.changyu.foryou.model; + +import java.util.Date; + +public class Order { + private Long orderId; + + private Integer campusId; + + private String phone; + + private Date createTime; + + private Short status; + + private Float price; + + private Integer orderCount; + + private Short isRemarked; + + private Short tag; + + // private Integer foodSpecial; + + private Long foodId; + + private String togetherId; + + private String rank; + + private Short payWay; + + private Float totalPrice; + + + public Order(){ + + } + + public Order(Integer campusId,String phoneId, Long foodId2, Integer foodCount) { + this.setCampusId(campusId); + this.phone=phoneId; + foodId=foodId2; + orderCount=foodCount; + tag=1; + createTime=new Date(); + status=0; + isRemarked=0; + orderId=createTime.getTime(); + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone == null ? null : phone.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Short getStatus() { + return status; + } + + public void setStatus(Short status) { + this.status = status; + } + + public Float getPrice() { + return price; + } + + public void setPrice(Float price) { + this.price = price; + } + + public Integer getOrderCount() { + return orderCount; + } + + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } + + public Short getIsRemarked() { + return isRemarked; + } + + public void setIsRemarked(Short isRemarked) { + this.isRemarked = isRemarked; + } + + public Short getTag() { + return tag; + } + + public void setTag(Short tag) { + this.tag = tag; + } + + public Long getFoodId() { + return foodId; + } + + public void setFoodId(Long foodId) { + this.foodId = foodId; + } + + public String getTogetherId() { + return togetherId; + } + + public void setTogetherId(String togetherId) { + this.togetherId = togetherId; + } + + public String getRank() { + return rank; + } + + public void setRank(String rank) { + this.rank = rank; + } + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + + public Short getPayWay() { + return payWay; + } + + public void setPayWay(Short payWay) { + this.payWay = payWay; + } + + public Float getTotalPrice() { + return totalPrice; + } + + public void setTotalPrice(Float totalPrice) { + this.totalPrice = totalPrice; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/Preferential.java b/src/main/java/com/changyu/foryou/model/Preferential.java new file mode 100644 index 0000000..6b22e42 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/Preferential.java @@ -0,0 +1,44 @@ +package com.changyu.foryou.model; + +public class Preferential { + private Integer preferentialId; + + private Integer needNumber; + + private Integer discountNum; + + private Integer campusId; + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + + public Integer getPreferentialId() { + return preferentialId; + } + + public void setPreferentialId(Integer preferentialId) { + this.preferentialId = preferentialId; + } + + public Integer getNeedNumber() { + return needNumber; + } + + public void setNeedNumber(Integer needNumber) { + this.needNumber = needNumber; + } + + public Integer getDiscountNum() { + return discountNum; + } + + public void setDiscountNum(Integer discountNum) { + this.discountNum = discountNum; + } + +} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/Receiver.java b/src/main/java/com/changyu/foryou/model/Receiver.java index b606841..efc9c0e 100644 --- a/src/main/java/com/changyu/foryou/model/Receiver.java +++ b/src/main/java/com/changyu/foryou/model/Receiver.java @@ -8,16 +8,21 @@ public class Receiver extends ReceiverKey { private String address; private Short tag; + + private Integer campusId; + + private String campusName; public Receiver(){ } - public Receiver(String phoneId,String phone, String name, String address) { + public Receiver(String phoneId,String phone, String name, String address,Integer campusId) { super.setPhoneId(phoneId); this.phone = phone; this.name = name; this.address = address; + this.campusId=campusId; } @@ -52,4 +57,20 @@ public Short getTag() { public void setTag(Short tag) { this.tag = tag; } + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + + public String getCampusName() { + return campusName; + } + + public void setCampusName(String campusName) { + this.campusName = campusName; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/Sellers.java b/src/main/java/com/changyu/foryou/model/Sellers.java new file mode 100644 index 0000000..a7f7f22 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/Sellers.java @@ -0,0 +1,55 @@ +package com.changyu.foryou.model; + +import java.util.Date; + +public class Sellers { + private String campusAdmin; + + private String password; + + private Short type; + + private Integer campusId; + + private Date lastLoginDate; + + public String getCampusAdmin() { + return campusAdmin; + } + + public void setCampusAdmin(String campusAdmin) { + this.campusAdmin = campusAdmin; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password == null ? null : password.trim();; + } + + public Short getType() { + return type; + } + + public void setType(Short type) { + this.type = type; + } + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + + public Date getLastLoginDate() { + return lastLoginDate; + } + + public void setLastLoginDate(Date lastLoginDate) { + this.lastLoginDate = lastLoginDate; + } +} diff --git a/src/main/java/com/changyu/foryou/model/ShortFood.java b/src/main/java/com/changyu/foryou/model/ShortFood.java index 8eaacfa..75da2f0 100644 --- a/src/main/java/com/changyu/foryou/model/ShortFood.java +++ b/src/main/java/com/changyu/foryou/model/ShortFood.java @@ -1,82 +1,102 @@ -package com.changyu.foryou.model; - -public class ShortFood { - private Long foodId; - private Integer campusId; - - private String name; - - private Float price; - - public Long getFoodId() { - return foodId; - } - - public void setFoodId(Long foodId) { - this.foodId = foodId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Float getPrice() { - return price; - } - - public void setPrice(Float price) { - this.price = price; - } - - public Float getDiscountPrice() { - return discountPrice; - } - - public void setDiscountPrice(Float discountPrice) { - this.discountPrice = discountPrice; - } - - public String getImgUrl() { - return imgUrl; - } - - public void setImgUrl(String imgUrl) { - this.imgUrl = imgUrl; - } - - public Short getIsDiscount() { - return isDiscount; - } - - public void setIsDiscount(Short isDiscount) { - this.isDiscount = isDiscount; - } - - public Long getSaleNumber() { - return saleNumber; - } - - public void setSaleNumber(Long saleNumber) { - this.saleNumber = saleNumber; - } - - public Integer getCampusId() { - return campusId; - } - - public void setCampusId(Integer campusId) { - this.campusId = campusId; - } - - private Float discountPrice; - - private String imgUrl; - - private Short isDiscount; - - private Long saleNumber; -} +package com.changyu.foryou.model; + +public class ShortFood { + private Long foodId; + private Integer campusId; + + private String name; + + private Float price; + + private Integer foodCount; + + public Integer getFoodCount() { + return foodCount; + } + + public void setFoodCount(Integer foodCount) { + this.foodCount = foodCount; + } + + public Long getFoodId() { + return foodId; + } + + public void setFoodId(Long foodId) { + this.foodId = foodId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Float getPrice() { + return price; + } + + public void setPrice(Float price) { + this.price = price; + } + + public Float getDiscountPrice() { + return discountPrice; + } + + public void setDiscountPrice(Float discountPrice) { + this.discountPrice = discountPrice; + } + + public String getImgUrl() { + return imgUrl; + } + + public void setImgUrl(String imgUrl) { + this.imgUrl = imgUrl; + } + + public Short getIsDiscount() { + return isDiscount; + } + + public void setIsDiscount(Short isDiscount) { + this.isDiscount = isDiscount; + } + + public Long getSaleNumber() { + return saleNumber; + } + + public void setSaleNumber(Long saleNumber) { + this.saleNumber = saleNumber; + } + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } + + public Short getIsFullDiscount() { + return isFullDiscount; + } + + public void setIsFullDiscount(Short isFullDiscount) { + this.isFullDiscount = isFullDiscount; + } + + private Float discountPrice; + + private String imgUrl; + + private Short isDiscount; + + private Long saleNumber; + + private Short isFullDiscount; +} diff --git a/src/main/java/com/changyu/foryou/model/ShortFoodWithIm.java b/src/main/java/com/changyu/foryou/model/ShortFoodWithIm.java new file mode 100644 index 0000000..52e5b1d --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/ShortFoodWithIm.java @@ -0,0 +1,44 @@ +package com.changyu.foryou.model; + +public class ShortFoodWithIm extends ShortFood { + private String info; + + private String message; + + private Float grade; + + private Integer commentNumber; + + public String getInfo() { + return info; + } + + public void setInfo(String info) { + this.info = info; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Integer getCommentNumber() { + return commentNumber; + } + + public void setCommentNumber(Integer commentNumber) { + this.commentNumber = commentNumber; + } + + public Float getGrade() { + return grade; + } + + public void setGrade(Float grade) { + this.grade = grade; + } + +} diff --git a/src/main/java/com/changyu/foryou/model/SmallOrder.java b/src/main/java/com/changyu/foryou/model/SmallOrder.java index 7e17739..4e64d0f 100644 --- a/src/main/java/com/changyu/foryou/model/SmallOrder.java +++ b/src/main/java/com/changyu/foryou/model/SmallOrder.java @@ -37,7 +37,31 @@ public class SmallOrder { private String rank; private Date togetherDate; + + private String message; + + private Short payWay; + + private Float totalPrice; + private Short isFullDiscount; + + public Float getTotalPrice() { + return totalPrice; + } + + public void setTotalPrice(Float totalPrice) { + this.totalPrice = totalPrice; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + public Long getOrderId() { return orderId; } @@ -184,5 +208,20 @@ public Integer getCampusId() { public void setCampusId(Integer campusId) { this.campusId = campusId; } + public Short getPayWay() { + return payWay; + } + + public void setPayWay(Short payWay) { + this.payWay = payWay; + } + + public Short getIsFullDiscount() { + return isFullDiscount; + } + + public void setIsFullDiscount(Short isFullDiscount) { + this.isFullDiscount = isFullDiscount; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/SuperAdminOrder.java b/src/main/java/com/changyu/foryou/model/SuperAdminOrder.java index 97b3cba..e6c0b44 100644 --- a/src/main/java/com/changyu/foryou/model/SuperAdminOrder.java +++ b/src/main/java/com/changyu/foryou/model/SuperAdminOrder.java @@ -12,6 +12,7 @@ public class SuperAdminOrder { private Float price; private String reserveTime; private String message; + private String chargeId; public Date getTogetherDate() { return togetherDate; @@ -68,5 +69,11 @@ public String getMessage() { public void setMessage(String message) { this.message = message; } + public String getChargeId() { + return chargeId; + } + public void setChargeId(String chargeId) { + this.chargeId = chargeId; + } } diff --git a/src/main/java/com/changyu/foryou/model/TogetherOrder.java b/src/main/java/com/changyu/foryou/model/TogetherOrder.java index c7925be..6224535 100644 --- a/src/main/java/com/changyu/foryou/model/TogetherOrder.java +++ b/src/main/java/com/changyu/foryou/model/TogetherOrder.java @@ -1,42 +1,58 @@ -package com.changyu.foryou.model; - -import java.util.Date; -import java.util.List; - - -public class TogetherOrder { - private String togetherId; - - private Short status; - - private Date togetherDate ; - - private List smallOrders; - - public String getTogetherId() { - return togetherId; - } - public void setTogetherId(String togetherId) { - this.togetherId = togetherId; - } - public List getSmallOrders() { - return smallOrders; - } - public void setSmallOrders(List smallOrders) { - this.smallOrders = smallOrders; - } - public Short getStatus() { - return status; - } - public void setStatus(Short status) { - this.status = status; - } - public Date getTogetherDate() { - return togetherDate; - } - public void setTogetherDate(Date togetherDate) { - this.togetherDate = togetherDate; - } - - -} +package com.changyu.foryou.model; + +import java.util.Date; +import java.util.List; + + +public class TogetherOrder { + private String togetherId; + + private Short status; + + private Date togetherDate ; + + private List smallOrders; + + private Short payWay; + + private Float totalPrice; + + public Short getPayWay() { + return payWay; + } + public void setPayWay(Short payWay) { + this.payWay = payWay; + } + public String getTogetherId() { + return togetherId; + } + public void setTogetherId(String togetherId) { + this.togetherId = togetherId; + } + public List getSmallOrders() { + return smallOrders; + } + public void setSmallOrders(List smallOrders) { + this.smallOrders = smallOrders; + } + public Short getStatus() { + return status; + } + public void setStatus(Short status) { + this.status = status; + } + public Date getTogetherDate() { + return togetherDate; + } + public void setTogetherDate(Date togetherDate) { + this.togetherDate = togetherDate; + } + public Float getTotalPrice() { + return totalPrice; + } + public void setTotalPrice(Float totalPrice) { + this.totalPrice = totalPrice; + } + + +} diff --git a/src/main/java/com/changyu/foryou/model/TradeInfo.java b/src/main/java/com/changyu/foryou/model/TradeInfo.java new file mode 100644 index 0000000..a452ae6 --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/TradeInfo.java @@ -0,0 +1,40 @@ +package com.changyu.foryou.model; + +public class TradeInfo { + private Integer orderCount; + private Float tradeVolume; + private Float tradeVolumeAliPay; + private Float tradeVolumeWeChatPay; + private String infoDateType; + + public Integer getOrderCount() { + return orderCount; + } + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } + public Float getTradeVolume() { + return tradeVolume; + } + public void setTradeVolume(Float tradeVolume) { + this.tradeVolume = tradeVolume; + } + public Float getTradeVolumeAliPay() { + return tradeVolumeAliPay; + } + public void setTradeVolumeAliPay(Float tradeVolumeAliPay) { + this.tradeVolumeAliPay = tradeVolumeAliPay; + } + public Float getTradeVolumeWeChatPay() { + return tradeVolumeWeChatPay; + } + public void setTradeVolumeWeChatPay(Float tradeVolumeWeChatPay) { + this.tradeVolumeWeChatPay = tradeVolumeWeChatPay; + } + public String getInfoDateType() { + return infoDateType; + } + public void setInfoDateType(String infoDateType) { + this.infoDateType = infoDateType; + } +} diff --git a/src/main/java/com/changyu/foryou/model/Users.java b/src/main/java/com/changyu/foryou/model/Users.java index 04128d1..62c0333 100644 --- a/src/main/java/com/changyu/foryou/model/Users.java +++ b/src/main/java/com/changyu/foryou/model/Users.java @@ -21,6 +21,16 @@ public class Users { private String token; + private Short sex; + + private String academy; + + private String qq; + + private String weiXin; + + private Integer campusId; + public Users(String phone2, String password2, String nickname2) { phone=phone2; password=password2; @@ -105,4 +115,44 @@ public String getDefaultAddress() { public void setDefaultAddress(String defaultAddress) { this.defaultAddress = defaultAddress; } + + public Short getSex() { + return sex; + } + + public void setSex(Short sex) { + this.sex = sex; + } + + public String getAcademy() { + return academy; + } + + public void setAcademy(String academy) { + this.academy = academy; + } + + public String getQq() { + return qq; + } + + public void setQq(String qq) { + this.qq = qq; + } + + public String getWeiXin() { + return weiXin; + } + + public void setWeiXin(String weiXin) { + this.weiXin = weiXin; + } + + public Integer getCampusId() { + return campusId; + } + + public void setCampusId(Integer campusId) { + this.campusId = campusId; + } } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/model/VeryShortFood.java b/src/main/java/com/changyu/foryou/model/VeryShortFood.java new file mode 100644 index 0000000..db909eb --- /dev/null +++ b/src/main/java/com/changyu/foryou/model/VeryShortFood.java @@ -0,0 +1,26 @@ +package com.changyu.foryou.model; + +public class VeryShortFood { + private Long foodId; + + private String homeImgUrl; + + public Long getFoodId() { + return foodId; + } + + public void setFoodId(Long foodId) { + this.foodId = foodId; + } + + public String getHomeImage() { + return homeImgUrl; + } + + public void setHomeImage(String homeImage) { + this.homeImgUrl = homeImage; + } + + + +} diff --git a/src/main/java/com/changyu/foryou/payment/ChargeInterface.java b/src/main/java/com/changyu/foryou/payment/ChargeInterface.java new file mode 100644 index 0000000..44c63fc --- /dev/null +++ b/src/main/java/com/changyu/foryou/payment/ChargeInterface.java @@ -0,0 +1,69 @@ +package com.changyu.foryou.payment; + +import java.util.HashMap; +import java.util.Map; + +import com.alibaba.fastjson.JSON; +import com.changyu.foryou.tools.Constants; +import com.pingplusplus.Pingpp; +import com.pingplusplus.exception.APIConnectionException; +import com.pingplusplus.exception.APIException; +import com.pingplusplus.exception.AuthenticationException; +import com.pingplusplus.exception.ChannelException; +import com.pingplusplus.exception.InvalidRequestException; +import com.pingplusplus.exception.PingppException; +import com.pingplusplus.model.Charge; +import com.pingplusplus.model.Refund; + +public class ChargeInterface { + /** + * pingpp 管理平台对应的 API key + */ + public static String apiKey = Constants.apiKey; + /** + * pingpp 管理平台对应的应用 ID + */ + public static String appId = Constants.appId; + + public static Charge charge(String channel, String orderId, Float amount, String clientIp) { + Pingpp.apiKey = apiKey; + Charge charge = null; + Map chargeMap = new HashMap<>(); + chargeMap.put("amount", (int) (amount * 100)); //金额,以分为单位 + chargeMap.put("currency", "cny"); + chargeMap.put("subject", "For优商品"); //商品的标题 + chargeMap.put("body", "For优商品值得信赖"); //商品的描述 + chargeMap.put("order_no", orderId); //订单号 唯一 + chargeMap.put("channel", channel); //支付渠道 + chargeMap.put("client_ip", clientIp); //发起支付请求的客户端ip + Map app = new HashMap(); + app.put("id", appId); + chargeMap.put("app", app); + try { + //发起交易请求 + charge = Charge.create(chargeMap); + System.out.println(charge); + } catch (PingppException e) { + e.printStackTrace(); + } + return charge; + } + + public static Refund Refund(String chargeId, Float price) { + Pingpp.apiKey = apiKey; + Charge ch; + try { + ch = Charge.retrieve(chargeId); + Map refundMap = new HashMap<>(); + System.out.println("charge==" + JSON.toJSONString(ch)); + refundMap.put("amount", (int) (price * 100)); + refundMap.put("description", "For优商品正常退款"); + return ch.getRefunds().create(refundMap); + } catch (AuthenticationException | InvalidRequestException | APIException | APIConnectionException | ChannelException e) { + e.printStackTrace(); + } + + return null; + } + +} diff --git a/src/main/java/com/changyu/foryou/service/CampusService.java b/src/main/java/com/changyu/foryou/service/CampusService.java new file mode 100644 index 0000000..896f394 --- /dev/null +++ b/src/main/java/com/changyu/foryou/service/CampusService.java @@ -0,0 +1,50 @@ +package com.changyu.foryou.service; + +import java.util.List; +import java.util.Map; + +import com.changyu.foryou.model.Campus; +import com.changyu.foryou.model.CampusAdmin; +import com.changyu.foryou.model.City; +import com.changyu.foryou.model.CityWithCampus; + +public interface CampusService { + + List getAllCampus(Map paramMap); + + List getCampusWithCity(Map paramMap); + + Integer getIdByName(Map paramMap); + + Integer closeCampus(Map requestMap); + + Campus getCampusById(Map paramMap); + + CampusAdmin getCampusIdByAdmin(Map paramMap); + + List getAllCampusAdmin(Map paramMap); + + Integer updateCampusAdmin(Map paramMap); + + Map addCampus(Map paramMap); + + Campus getCampus(Map paramMap); //从订单信息里面获取校区信息 + + Integer deleteCampusAdmin(Map paramMap); //删除某校区的某管理员 + + Integer addCampusAdmin(Map paramMap); //添加校区管理员 + + List getAllCity(); ///返回所有城市 + + Integer addCity(Map paramMap); //添加城市 + + City getCityByName(String cityName); + + Integer updateCampus(Map paramMap); + + String getOldPassword(Map paramMap); + + int updateCampusAdminPassword(Map paramMap); + + String getCampusName(Integer campusId); //根据校区id获取校区名称 +} diff --git a/src/main/java/com/changyu/foryou/service/FoodService.java b/src/main/java/com/changyu/foryou/service/FoodService.java index 2d82f81..b76072e 100644 --- a/src/main/java/com/changyu/foryou/service/FoodService.java +++ b/src/main/java/com/changyu/foryou/service/FoodService.java @@ -7,7 +7,11 @@ import com.changyu.foryou.model.FoodCategory; import com.changyu.foryou.model.FoodComment; import com.changyu.foryou.model.FoodSpecial; +import com.changyu.foryou.model.FoodWithSales; +import com.changyu.foryou.model.HomeCategory; import com.changyu.foryou.model.ShortFood; +import com.changyu.foryou.model.ShortFoodWithIm; +import com.changyu.foryou.model.VeryShortFood; public interface FoodService { int deleteCategoryByPrimaryKey(Map paramMap); @@ -28,9 +32,6 @@ public interface FoodService { ListgetFirstCategory(Map paramMap); - //List getSecondCategories(Integer id); - - List getFoodSpecial(Map paramMap); int insertSelective(FoodComment record); @@ -43,10 +44,6 @@ public interface FoodService { String getSpecialName(Map paramMap); -// List getAllFoodSecondCategories(); -// -// List getAllFoodFirstCategories(); - int getSpecialCount(Map paramMap); int addFoodSpecial(FoodSpecial foodSpecial); @@ -71,9 +68,9 @@ public interface FoodService { void updateFoodSpecial(FoodSpecial foodSpecial); - List selectFoods(Map paramMap); + List selectFoods(Map paramMap); - List selectFoodsByTwoTags(Map paramMap); + List selectFoodsByTwoTags(Map paramMap); List getCommentInfoById(Map paramMap); @@ -81,5 +78,33 @@ public interface FoodService { Integer deleteFoodCommentById(Map paramMap); + List selectHomeFood(Map paramMap); + + List getAllFoodCategories(Map paramMap); + + List getHomeCategoryInfo(Map paramMap); + //void deleteFoodByParentCategory(String categoryId); + + Integer getAllCategoryCount(); + + Integer uploadHomeFoodByFoodId(Map paramMap); + + Integer updateInfoByFoodId(Map paramMap); + + Integer cancelRecommend(Map paramMap); + + Integer calCommentCount(Map paramMap); + + public Integer addCategoryWhenAddCampus(Map paramMap); + + List getTopFive(Map paramMap); + + Integer addFoodCountById(Map paramMap);//添加库存 + + Integer addFoodCount(Map paramMap);//添加库存 + + String getFoodHomeImage(Map paramMap); //获取原来的首页图片 + + String getDetailImg(Map paramMap); //获取详情图片 } diff --git a/src/main/java/com/changyu/foryou/service/HotSearchService.java b/src/main/java/com/changyu/foryou/service/HotSearchService.java new file mode 100644 index 0000000..17ef650 --- /dev/null +++ b/src/main/java/com/changyu/foryou/service/HotSearchService.java @@ -0,0 +1,22 @@ +package com.changyu.foryou.service; + +import java.util.List; +import java.util.Map; + +import com.changyu.foryou.model.HotSearch; + +public interface HotSearchService { + + List getHotSearchs(Map paramMap); + + int setNot2Display(Map paramMap); + + int set2Display(Map paramMap); + + int deleteHotSearchs(Map paramMap); + + int insert(HotSearch hotSearch); + + int update(HotSearch hotSearch); + +} diff --git a/src/main/java/com/changyu/foryou/service/KeyService.java b/src/main/java/com/changyu/foryou/service/KeyService.java new file mode 100644 index 0000000..6ca3433 --- /dev/null +++ b/src/main/java/com/changyu/foryou/service/KeyService.java @@ -0,0 +1,9 @@ +package com.changyu.foryou.service; + +import java.util.Map; + +public interface KeyService { + + String SelectKey(Map paramMap); + +} diff --git a/src/main/java/com/changyu/foryou/service/OrderService.java b/src/main/java/com/changyu/foryou/service/OrderService.java index 1be4029..dc3c76a 100644 --- a/src/main/java/com/changyu/foryou/service/OrderService.java +++ b/src/main/java/com/changyu/foryou/service/OrderService.java @@ -1,79 +1,129 @@ -package com.changyu.foryou.service; - -import java.util.List; -import java.util.Map; - -import com.changyu.foryou.model.CartGood; -import com.changyu.foryou.model.DeliverChildOrder; -import com.changyu.foryou.model.DeliverOrder; -import com.changyu.foryou.model.Order; -import com.changyu.foryou.model.PCOrder; -import com.changyu.foryou.model.SmallOrder; -import com.changyu.foryou.model.SuperAdminOrder; - -public interface OrderService { - - List getOrderList(Map paramMap); - - List getOrderSuccessList(String phoneId); - - int deleteUserOrder(Long orderId,String phoneId); - - int editUserOrder(Long orderId, String phoneId, Integer orderCount); - - int insertSelectiveOrder(Order order); - - int changeOrderStatus2Buy(String phoneId, String orderId,String togetherId,String rank, String reserveTime, String message); - - int changeOrderStatus2Deliver(String phoneId, String togetherId); - - int changeOrderStatus2Finish(String phoneId, String orderId); - - int deleteAllUserOrder(String phoneId); - - // List getOrderListInMine(String phoneId); - - List getOrderListInMineWait2Deliver(String phoneId); - - List getOrderListInMineDeliver(String phoneId); - - List getOrderListInMineFinish(String phoneId); - - //List getOrderListInMine(String phoneId, String togetherId, Short status); - - Map getOrderSummaryCount(String phone); - - List selectOrder(Order order); - - void deleteCartGood(Order order); - - Order selectPersonOrder(String phoneId, Long orderId); - - void updateOrderRemarked(String phoneId, Long orderId); - - List superAdminGetOrder(Integer isSelected); - - int getExitOrderUserRank(String phoneId, String rank); - - int setDeliverAdmin(String togetherId, String adminPhone); - - Order selectOneOrder(String phoneId, String orderId); - - List deliverGetOrder(String phoneId); - - List getDeliverChildOrders(String togetherId); - - List getPCOrders(Short status,Integer limit, Integer offset, String search); - - Long getPCOrdersCount(Short status,String search); - - int setOrderInvalid(Map parameterMap); - - List selectOrdersByDate(Map paramMap); - - List getAllChildOrders(Map paramMap); - - List getTogetherId(Map paramMap); - - List getOrderListInMine(Map paramMap); -} +package com.changyu.foryou.service; + +import java.util.Date; +import java.util.List; +import java.util.Map; + +import com.changyu.foryou.model.CartGood; +import com.changyu.foryou.model.DeliverChildOrder; +import com.changyu.foryou.model.DeliverOrder; +import com.changyu.foryou.model.Order; +import com.changyu.foryou.model.PCOrder; +import com.changyu.foryou.model.Preferential; +import com.changyu.foryou.model.SmallOrder; +import com.changyu.foryou.model.SuperAdminOrder; + +public interface OrderService { + + List getOrderList(Map paramMap); + + List getOrderSuccessList(String phoneId); + + int deleteUserOrder(Long orderId,String phoneId); + + int editUserOrder(Long orderId, String phoneId, Integer orderCount); + + int insertSelectiveOrder(Order order); + + int changeOrderStatus2Buy(String phoneId, String orderId,String togetherId,String rank, String reserveTime, String message,Short payWay,Float price,Float totalPrice); + + int changeOrderStatus2Deliver(String phoneId, String togetherId); + + int changeOrderStatus2Finish(String phoneId, String orderId); + + List getOrderListInMineWait2Deliver(String phoneId); + + List getOrderListInMineDeliver(String phoneId); + + List getOrderListInMineFinish(String phoneId); + + Map getOrderSummaryCount(String phone); + + List selectOrder(Order order); + + void deleteCartGood(Order order); + + Order selectPersonOrder(String phoneId, Long orderId); + + void updateOrderRemarked(String phoneId, Long orderId); + + List superAdminGetOrder(Map paramMap); + + int setDeliverAdmin(String togetherId, String adminPhone); + + Order selectOneOrder(String phoneId, String orderId); + + List deliverGetOrder(Map paramMap); + + List getDeliverChildOrders(String togetherId); + + int setOrderInvalid(Map parameterMap); + + List selectOrdersByDate(Map paramMap); + + List getAllChildOrders(Map paramMap); + + List getTogetherId(Map paramMap); + + List getOrderListInMine(Map paramMap); + + Date getTogetherDate(Map paramMap); + + List getOrdersById(Map paramMap); + + Integer modifyOrderStatus(Map paramMap); + + void deleteOrder(Map paramMap); + + SmallOrder getOrderById(Map paramMap); + + String getUserPhone(Map requestMap); + + String getAdminPhone(Map requestMap); + + Preferential getPreferentialById(Integer preferentialId); + + List getPreferential(Map paramMap); + + Integer updateOrderPrice(Map paramMap); + + Integer updateOrder(Order order); + + int updateOrderStatusAndAmount(Map paramMap); + + Integer getCampusIdByTogetherId(Map paramMap); + + Float getPriceDiscounted(String[] orderId,int campusId,String phoneId); + + Integer cancelOrderWithRefund(Map paramMap); + + Float getTotalPriceByTogetherId(String togetherId); + + List getPCOrders(Map paramMap); + + int updateCancelRefund(Map paramMap); + + String getChargeId(Map paramMap); //获取支付的chargeId + + Integer updateRefundStatus(Map paramMap); //更新退款状态 + + Integer updateOrderStatusRefundSuccess(Map paramMap); + + Integer getMiniOrderByPhone(Map paramMap); + + Integer getSalesInfoByCampusId(Map paramMap); //根据校区和时间段获取销售量 + + Float getTradeVolumeByCampusId(Map paramMap); //获取指定时间段和指定校区的订单交易额 + + List getPCSimpleOrders(Map paramMap); + + long getPCSimpleOrdersCount(Map paramMap); + + List getPCInvalidOrders(Map paramMap); //获取无效订单 + + int deleteOrderTrue(Map paramMap); //真正删除无效订单 + + void deleteStatus7Order(String phone); //删除无效订单(从商品详情点立即购买,却没有支付的) + + List getAllOrdersByTogetherId(String orderNo); //根据大订单号获取所有的订单 +} diff --git a/src/main/java/com/changyu/foryou/service/PayService.java b/src/main/java/com/changyu/foryou/service/PayService.java new file mode 100644 index 0000000..f7c8a61 --- /dev/null +++ b/src/main/java/com/changyu/foryou/service/PayService.java @@ -0,0 +1,5 @@ +package com.changyu.foryou.service; + +public interface PayService { + +} diff --git a/src/main/java/com/changyu/foryou/service/PreferentialService.java b/src/main/java/com/changyu/foryou/service/PreferentialService.java new file mode 100644 index 0000000..9a1b5a9 --- /dev/null +++ b/src/main/java/com/changyu/foryou/service/PreferentialService.java @@ -0,0 +1,22 @@ +package com.changyu.foryou.service; + +import java.util.List; +import java.util.Map; + +import com.changyu.foryou.model.Preferential; + +public interface PreferentialService { + int deleteByPrimaryKey(Integer preferentialId); + + int insert(Preferential record); + + int insertSelective(Preferential record); + + Preferential selectByPrimaryKey(Integer preferentialId); + + int updateByPrimaryKeySelective(Preferential record); + + int updateByPrimaryKey(Preferential record); + + List getPreferential(Map paramMap); +} diff --git a/src/main/java/com/changyu/foryou/service/PushService.java b/src/main/java/com/changyu/foryou/service/PushService.java index 8d4e2fd..4306fd9 100644 --- a/src/main/java/com/changyu/foryou/service/PushService.java +++ b/src/main/java/com/changyu/foryou/service/PushService.java @@ -1,7 +1,7 @@ package com.changyu.foryou.service; public interface PushService { - public void sendPush(String phone, String message, Integer count); + void sendPush(String phone, String message, Integer count); - public void sendPushByTag(String tag, String string, int j); + void sendPushByTag(String tag, String string, int j); } diff --git a/src/main/java/com/changyu/foryou/service/ReceiverService.java b/src/main/java/com/changyu/foryou/service/ReceiverService.java index d0c774a..544ec89 100644 --- a/src/main/java/com/changyu/foryou/service/ReceiverService.java +++ b/src/main/java/com/changyu/foryou/service/ReceiverService.java @@ -2,10 +2,10 @@ import java.util.List; +import java.util.Map; import com.changyu.foryou.model.Receiver; - public interface ReceiverService { int deleteByPrimaryKey(String phoneId,String rank); @@ -23,5 +23,7 @@ public interface ReceiverService { int insert(Receiver receiver); - int setRecevierTag(String phoneId); + int setReceiverTag(String phoneId); + + Receiver getReceiver(Map paramMap); } diff --git a/src/main/java/com/changyu/foryou/service/SellerService.java b/src/main/java/com/changyu/foryou/service/SellerService.java new file mode 100644 index 0000000..acb91ef --- /dev/null +++ b/src/main/java/com/changyu/foryou/service/SellerService.java @@ -0,0 +1,14 @@ +package com.changyu.foryou.service; + +import java.util.Date; + +import com.changyu.foryou.model.Sellers; + +public interface SellerService { + + Sellers selectByCampusAdmin(String campusAdmin); + + void updateLastLoginTime(Date date, String campusAdmin); + + void addASeller(Sellers seller); +} diff --git a/src/main/java/com/changyu/foryou/service/UserService.java b/src/main/java/com/changyu/foryou/service/UserService.java index c420478..341d511 100644 --- a/src/main/java/com/changyu/foryou/service/UserService.java +++ b/src/main/java/com/changyu/foryou/service/UserService.java @@ -7,9 +7,8 @@ import com.changyu.foryou.model.Feedback; import com.changyu.foryou.model.Users; - public interface UserService { - Users selectByUsername(String id); + Users selectByUsername(String id);//根据用户手机号获取用户信息 void addUsers(Users users); @@ -25,21 +24,21 @@ public interface UserService { Integer getUserCount(String search); - Integer setUserAdmin(String phone); + Integer setUserAdmin(String phone, Integer campusId); - Integer setUserCommon(String phone); + Integer setUserCommon(String phone, Integer campusId); - Integer setUserSuperAdmin(String phone); + Integer setUserSuperAdmin(String phone, Integer campusId); int updateImageUrl(String imageUrl, String phone); String getImageUrl(String phone); - List getDeliverAdmin(); + List getDeliverAdmin(Map paramMap); int setUserToken(String phoneId, String token); - List getFeedbacks(); + List getFeedbacks(Map paramMap); String getUserToken(String togetherId); @@ -52,4 +51,10 @@ public interface UserService { String getUserTokenByPhone(Map paramterMap); Integer getCountsByDevice(Map paramMap); + + List selectByPhoneAndPassword(Map paramMap); + + Users checkLogin(String phone); + + List getUserByType(Map paramMap); } \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/serviceImpl/CampusServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/CampusServiceImpl.java new file mode 100644 index 0000000..d8b01f1 --- /dev/null +++ b/src/main/java/com/changyu/foryou/serviceImpl/CampusServiceImpl.java @@ -0,0 +1,197 @@ +package com.changyu.foryou.serviceImpl; + +import com.changyu.foryou.mapper.CampusMapper; +import com.changyu.foryou.mapper.FoodCategoryMapper; +import com.changyu.foryou.model.Campus; +import com.changyu.foryou.model.CampusAdmin; +import com.changyu.foryou.model.City; +import com.changyu.foryou.model.CityWithCampus; +import com.changyu.foryou.service.CampusService; +import com.changyu.foryou.tools.Constants; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Service("campusService") +public class CampusServiceImpl implements CampusService { + @Autowired + private CampusMapper campusMapper; + + @Autowired + private FoodCategoryMapper foodCategoryMapper; + + + public List getAllCampus(Map paramMap) { + return campusMapper.selectAllCampus(paramMap); + } + + @Override + public List getCampusWithCity(Map paramMap) { + return campusMapper.getCampusWithCity(paramMap); + } + + @Override + public Integer getIdByName(Map paramMap) { + return campusMapper.getIdByName(paramMap); + } + + @Override + public Integer closeCampus(Map requestMap) { + // TODO Auto-generated method stub + return campusMapper.closeCampus(requestMap); + } + + @Override + public Campus getCampusById(Map paramMap) { + // TODO Auto-generated method stub + return campusMapper.selectCampusById(paramMap); + } + + @Override + public CampusAdmin getCampusIdByAdmin(Map paramMap) { + // TODO Auto-generated method stub + return campusMapper.getCampusIdByAdmin(paramMap); + } + + @Override + public List getAllCampusAdmin(Map paramMap) { + // TODO Auto-generated method stub + return campusMapper.getAllCampusAdmin(paramMap); + } + + @Override + + public Integer updateCampusAdmin(Map paramMap) { + // TODO Auto-generated method stub + return campusMapper.updateCampusAdmin(paramMap); + } + + @Override + public Map addCampus(Map paramMap) { + Map responseMap = new HashMap(); + // 只有在添加完校区且添加了8个默认分类之后才算添加校区成功 + Integer addCampus = campusMapper.addCampus(paramMap); + int count = 0; + if (addCampus != -1 && addCampus != 0) { + // 说明添加校区成功 + //现在添加分类 + //#{categoryId},#{campusId},#{category},#{imgUrl},#{parentId},#{tag},#{serial},#{isOpen} + Map categoryMap = new HashMap(); + int campusId = campusMapper.getIdByName(paramMap); + int categoryId = 0; + String category = null; + String imgUrl = null; + Integer parentId = 0; + Short tag = 1; + Integer serial = -1; + Short isOpen = 1; + for(int i=1; i<9; i++){ + //int length = String.valueOf(paramMap.get("campusId")).length(); + categoryId = campusId*100+i; + serial = i; + switch(i){ + case 1: + category = "早餐上门"; + break; + case 2: + category = "家政服务"; + break; + case 3: + category = "水果上门"; + break; + case 4: + category = "快递代取"; + break; + case 5: + category = "小优推荐"; + break; + case 6: + category = "最新体验"; + break; + case 7: + category = "特惠秒杀"; + break; + case 8: + category = "更多分类"; + break; + } + categoryMap.put("categoryId", categoryId); + categoryMap.put("campusId", campusId); + categoryMap.put("category", category); + categoryMap.put("imgUrl", imgUrl); + categoryMap.put("parentId", parentId); + categoryMap.put("tag", tag); + categoryMap.put("serial", serial); + categoryMap.put("isOpen", isOpen); + + count += foodCategoryMapper.addCategoryWhenAddCampus(categoryMap); + } + if(count<8){ + // 说明添加校区失败 + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "添加校区失败"); + }else{ + responseMap.put(Constants.STATUS, Constants.SUCCESS); + responseMap.put(Constants.MESSAGE, "添加校区成功"); + } + //foodCategoryMapper.addCategoryWhenAddCampus(paramMap); + } else { + // 说明添加校区失败 + responseMap.put(Constants.STATUS, Constants.FAILURE); + responseMap.put(Constants.MESSAGE, "添加校区失败"); + } + return responseMap; + } + public Campus getCampus(Map paramMap) { + return campusMapper.getCampusByOrder(paramMap); + } + + @Override + public Integer deleteCampusAdmin(Map paramMap) { + return campusMapper.deleteCampusAdmin(paramMap); + } + + @Override + public Integer addCampusAdmin(Map paramMap) { + return campusMapper.insertCampusAdmin(paramMap); + } + + @Override + public List getAllCity() { + return campusMapper.selectAllCity(); + } + + @Override + public Integer addCity(Map paramMap) { + return campusMapper.insertCity(paramMap); + } + + @Override + public City getCityByName(String cityName) { + return campusMapper.getCityByName(cityName); + } + + @Override + public Integer updateCampus(Map paramMap) { + return campusMapper.updateCampus(paramMap); + } + + @Override + public String getOldPassword(Map paramMap) { + return campusMapper.getOldPassword(paramMap); + } + + @Override + public int updateCampusAdminPassword(Map paramMap) { + return campusMapper.updateCampusAdminPassword(paramMap); + } + + @Override + public String getCampusName(Integer campusId) { + return campusMapper.getCampusName(campusId); + } + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/FoodServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/FoodServiceImpl.java index 5b3eeeb..361badc 100644 --- a/src/main/java/com/changyu/foryou/serviceImpl/FoodServiceImpl.java +++ b/src/main/java/com/changyu/foryou/serviceImpl/FoodServiceImpl.java @@ -15,7 +15,11 @@ import com.changyu.foryou.model.FoodComment; import com.changyu.foryou.model.FoodSpecial; import com.changyu.foryou.model.FoodSpecialKey; +import com.changyu.foryou.model.FoodWithSales; +import com.changyu.foryou.model.HomeCategory; import com.changyu.foryou.model.ShortFood; +import com.changyu.foryou.model.ShortFoodWithIm; +import com.changyu.foryou.model.VeryShortFood; import com.changyu.foryou.service.FoodService; /** @@ -30,37 +34,22 @@ public class FoodServiceImpl implements FoodService{ private FoodSpecialMapper foodSpecialMapper; private FoodCommentMapper foodCommentMapper; - public FoodCommentMapper getFoodCommentMapper() { - return foodCommentMapper; - } - @Autowired public void setFoodCommentMapper(FoodCommentMapper foodCommentMapper) { this.foodCommentMapper = foodCommentMapper; } - public FoodSpecialMapper getFoodSpecialMapper() { - return foodSpecialMapper; - } - @Autowired public void setFoodSpecialMapper(FoodSpecialMapper foodSpecialMapper) { this.foodSpecialMapper = foodSpecialMapper; } - public FoodMapper getFoodMapper() { - return foodMapper; - } @Autowired public void setFoodMapper(FoodMapper foodMapper) { this.foodMapper = foodMapper; } - public FoodCategoryMapper getFoodCategoryMapper() { - return foodCategoryMapper; - } - @Autowired public void setFoodCategoryMapper(FoodCategoryMapper foodCategoryMapper) { this.foodCategoryMapper = foodCategoryMapper; @@ -103,13 +92,9 @@ public List getFirstCategory(Map paramMap) { return foodCategoryMapper.getFirstCategory(paramMap); } -// //获取食品二级分类 -// public List getSecondCategories(Integer id) { -// return foodCategoryMapper.getSecondCategoryes(id); -// } //根据食品分类,和食品标签查询食品 - public List selectFoods(Map paramMap) { + public List selectFoods(Map paramMap) { return foodMapper.selectFoods(paramMap); } @@ -119,7 +104,7 @@ public List getFoodSpecial(Map paramMap) { } //通过两个标签模糊查询(两个标签以空格隔开) - public List selectFoodsByTwoTags(Map paramMap) { + public List selectFoodsByTwoTags(Map paramMap) { return foodMapper.selectFoodsByTwoTags(paramMap); @@ -191,9 +176,8 @@ public List getFoodListDiscount(Map paramMap) { } public Integer changeFoodCount(Map paramMap) { - int flag=0; - flag= foodSpecialMapper.changeFoodCount(paramMap); - flag=foodMapper.changeFoodSaleNumber(paramMap); + int flag; + flag=foodMapper.changeFoodNumber(paramMap); return flag; } @@ -218,7 +202,77 @@ public void updateFoodSpecial(FoodSpecial foodSpecial) { public Integer getFoodCommentCount(Map paramMap) { return foodCommentMapper.getFoodCommentCount(paramMap); } - + public List selectHomeFood(Map paramMap) + { + return foodMapper.selectHomeFood(paramMap); + } + + public List getAllFoodCategories(Map paramMap) + { + return foodCategoryMapper.getAllFoodCategories(paramMap); + } + + @Override + public List getHomeCategoryInfo(Map paramMap) { + return foodCategoryMapper.getHomeCategoryInfo(paramMap); + } + + @Override + public Integer getAllCategoryCount() { + + return foodCategoryMapper.getAllCategoryCount(); + } + + @Override + public Integer uploadHomeFoodByFoodId(Map paramMap) { + return foodMapper.uploadHomeFoodByFoodId(paramMap); + } + + @Override + public Integer updateInfoByFoodId(Map paramMap) { + return foodMapper.updateInfoByFoodId(paramMap); + } + + @Override + public Integer cancelRecommend(Map paramMap) { + return foodMapper.cancelRecommend(paramMap); + } + + @Override + public Integer calCommentCount(Map paramMap) { + return foodCommentMapper.calCommentCount(paramMap); + } + + @Override + public Integer addCategoryWhenAddCampus(Map paramMap) { + return foodCategoryMapper.addCategoryWhenAddCampus(paramMap); + } + + @Override + public List getTopFive(Map paramMap) { + return foodMapper.getTopFive(paramMap); + } + + @Override + public Integer addFoodCountById(Map paramMap) { + return foodMapper.addFoodCountById(paramMap); + } + + @Override + public Integer addFoodCount(Map paramMap) { + return foodMapper.addFoodCount(paramMap); + } + + @Override + public String getFoodHomeImage(Map paramMap) { + return foodMapper.getFoodHomeImage(paramMap); + } + + @Override + public String getDetailImg(Map paramMap) { + return foodMapper.getDetailImg(paramMap); + } } + diff --git a/src/main/java/com/changyu/foryou/serviceImpl/HotSearchServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/HotSearchServiceImpl.java new file mode 100644 index 0000000..b94953a --- /dev/null +++ b/src/main/java/com/changyu/foryou/serviceImpl/HotSearchServiceImpl.java @@ -0,0 +1,56 @@ +package com.changyu.foryou.serviceImpl; + +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; + +import org.springframework.stereotype.Service; + +import com.alibaba.fastjson.JSON; +import com.changyu.foryou.mapper.HotSearchMapper; +import com.changyu.foryou.model.HotSearch; +import com.changyu.foryou.service.HotSearchService; + +@Service("/hotSearchService") +public class HotSearchServiceImpl implements HotSearchService { + @Resource private HotSearchMapper hotSearchMapper; + + @Override + public List getHotSearchs(Map paramMap) { + return hotSearchMapper.getHotSearchs(paramMap); + } + + @Override + public int setNot2Display(Map paramMap) { + return hotSearchMapper.setNot2Display(paramMap); + } + + @Override + public int set2Display(Map paramMap) { + return hotSearchMapper.set2Dispaly(paramMap); + } + + @Override + public int deleteHotSearchs(Map paramMap) { + String[] hotIdsStrings=(String[])paramMap.get("hotIds"); + + int flag=-1; + System.out.println(JSON.toJSONString(hotIdsStrings)); + for (String id : hotIdsStrings) { + flag=hotSearchMapper.deleteByPrimaryKey(Integer.parseInt(id)); + } + return flag; + } + + @Override + public int insert(HotSearch hotSearch) { + return hotSearchMapper.insertSelective(hotSearch); + } + + @Override + public int update(HotSearch hotSearch) { + return hotSearchMapper.updateByPrimaryKeySelective(hotSearch); + } + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/KeyServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/KeyServiceImpl.java new file mode 100644 index 0000000..3177ec5 --- /dev/null +++ b/src/main/java/com/changyu/foryou/serviceImpl/KeyServiceImpl.java @@ -0,0 +1,25 @@ +package com.changyu.foryou.serviceImpl; + +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.changyu.foryou.mapper.AppKeyMapper; +import com.changyu.foryou.service.KeyService; + +@Service("keyService") +public class KeyServiceImpl implements KeyService{ + private AppKeyMapper keyMapper; + + @Autowired + public void setKeyMapper(AppKeyMapper keyMapper) { + this.keyMapper = keyMapper; + } + + @Override + public String SelectKey(Map paramMap) { + return keyMapper.SelectKey(paramMap); + } + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/NewsServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/NewsServiceImpl.java index c3ccca6..8f2a0fa 100644 --- a/src/main/java/com/changyu/foryou/serviceImpl/NewsServiceImpl.java +++ b/src/main/java/com/changyu/foryou/serviceImpl/NewsServiceImpl.java @@ -16,10 +16,6 @@ public class NewsServiceImpl implements NewsService { private NewsMapper newsMapper; - public NewsMapper getNewsMapper() { - return newsMapper; - } - @Autowired public void setNewsMapper(NewsMapper newsMapper) { this.newsMapper = newsMapper; diff --git a/src/main/java/com/changyu/foryou/serviceImpl/OrderServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/OrderServiceImpl.java index 605d39a..b5c5e90 100644 --- a/src/main/java/com/changyu/foryou/serviceImpl/OrderServiceImpl.java +++ b/src/main/java/com/changyu/foryou/serviceImpl/OrderServiceImpl.java @@ -1,203 +1,378 @@ -package com.changyu.foryou.serviceImpl; - -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import com.changyu.foryou.mapper.OrderMapper; -import com.changyu.foryou.model.CartGood; -import com.changyu.foryou.model.DeliverChildOrder; -import com.changyu.foryou.model.DeliverOrder; -import com.changyu.foryou.model.Order; -import com.changyu.foryou.model.PCOrder; -import com.changyu.foryou.model.SmallOrder; -import com.changyu.foryou.model.SuperAdminOrder; -import com.changyu.foryou.service.OrderService; - -@Service("orderService") -public class OrderServiceImpl implements OrderService { - private OrderMapper orderMapper; - - public OrderMapper getOrderMapper() { - return orderMapper; - } - - @Autowired - public void setOrderMapper(OrderMapper orderMapper) { - this.orderMapper = orderMapper; - } - - public List getOrderList(Map paramMap) { - return orderMapper.getOrderListByPhone(paramMap); - } - - public List getOrderSuccessList(String phoneId) { - return orderMapper.getSuccessOrder(phoneId); - } - - public int deleteUserOrder(Long orderId, String phoneId) { - return orderMapper.deleteByPrimaryKey(orderId,phoneId); - } - public int editUserOrder(Long orderId, String phoneId,Integer orderCount) { - return orderMapper.updateOrderCount(orderId,phoneId,orderCount); - } - - public int insertSelectiveOrder(Order order) { - return orderMapper.insertSelective(order); - } - - public int changeOrderStatus2Buy(String phoneId, String orderId,String togetherId,String rank,String reserveTime,String message) { - - return orderMapper.changeOrderStatus2Buy(Long.valueOf(orderId),phoneId,togetherId,rank,reserveTime,message); - } - - public int changeOrderStatus2Deliver(String phoneId, String togetherId) { - return orderMapper.changeOrderStatus2Deliver(togetherId, phoneId); - } - - public int changeOrderStatus2Finish(String phoneId, String orderId) { - return orderMapper.changeOrderStatus2Finish(orderId, phoneId); - } - - public int deleteAllUserOrder(String phoneId) { - return orderMapper.deleteAllUserOrder(phoneId); - } - - public List getOrderListInMine(Map map) { - return orderMapper.getOrderListInMine(map); - } - - public List getOrderListInMineWait2Deliver(String phoneId) { - return orderMapper.getOrderListInMineWait2Deliver(phoneId); - } - - public List getOrderListInMineDeliver(String phoneId) { - return orderMapper.getOrderListInMineDeliver(phoneId); - } - - public List getOrderListInMineFinish(String phoneId) { - return orderMapper.getOrderListInMineFinish(phoneId); - } - - public List getTogetherId(Map map) { - return orderMapper.getTogetherId(map); - } - - public Map getOrderSummaryCount(String phone) { - /* List waitToDeliver=orderMapper.getTogetherId(phone,(short) 1); - List deliver=orderMapper.getTogetherId(phone, (short)2); - List waitComment=orderMapper.getTogetherId(phone, (short)3); - */ - Map map=new HashMap(); - - /*map.put("wait",waitToDeliver.size()); - map.put("deliver", deliver.size()); - map.put("comment", waitComment.size());*/ - return map; - } - - public List selectOrder(Order order) { - return orderMapper.selectOrder(order); - } - - public void deleteCartGood(Order order) { - orderMapper.deleteCartGood(order); - } - - public Order selectPersonOrder(String phoneId, Long orderId) { - return orderMapper.selectPersonOrder(phoneId,orderId); - } - - public void updateOrderRemarked(String phoneId, Long orderId) { - orderMapper.updateOrderRemarked(phoneId,orderId); - } - - public List superAdminGetOrder(Integer isSelected) { - return orderMapper.superAdminGetOrder(isSelected); - } - - //弃用,因为现在删除只是将其置为无效 - //删除收货人地址时,检查该地址是否在订单中已使用,否者不能删除 - public int getExitOrderUserRank(String phoneId, String rank) { - return orderMapper.getExitOrderUserRank(phoneId,rank); - } - - //设置配送员 - public int setDeliverAdmin(String togetherId, String adminPhone) { - return orderMapper.setDeliverAdmin(togetherId,adminPhone); - } - - public Order selectOneOrder(String phoneId, String orderId) { - return orderMapper.selectByPrimaryKey(Long.valueOf(orderId),phoneId); - } - - - //配送员获取配送订单 - public List deliverGetOrder(String phoneId) { - return orderMapper.deliverGetOrder(phoneId); - } - - public List getDeliverChildOrders(String togetherId) { - return orderMapper.getDeliverChildOrders(togetherId); - } - - public List getPCOrders(Short status,Integer limit,Integer offset,String search) { - Calendar calendar=Calendar.getInstance(); - - if(status!=1){ - calendar.add(Calendar.MONTH, -1); - calendar.set(Calendar.DAY_OF_MONTH, 1); //设定默认只显示近两个月的数据 - return orderMapper.getPCOrders(status,calendar.getTime(),limit,offset,search); - }else{ - calendar.add(Calendar.DAY_OF_MONTH, -14); //代发货订单默认显示两周内订单 - return orderMapper.getPCOrdersWithOutAdmin(status, calendar.getTime(),limit,offset,search); - } - } - - public Long getPCOrdersCount(Short status, String search) { - Calendar calendar=Calendar.getInstance(); - - if(status!=1){ - calendar.add(Calendar.MONTH, -1); - calendar.set(Calendar.DAY_OF_MONTH, 1); //设定默认只显示近两个月的数据 - }else{ - calendar.add(Calendar.DAY_OF_MONTH, -14); //代发货订单默认显示两周内订单 - } - - return orderMapper.getPCOrdersCount(status,calendar.getTime(),search); - } - - public int setOrderInvalid(Map parameterMap) { - return orderMapper.setOrderInvalid(parameterMap); - } - - @Override - public List selectOrdersByDate(Map paramMap) { - return orderMapper.selectOrdersByDate(paramMap); - } - - @Override - public List getAllChildOrders( - Map paramMap) { - return orderMapper.getAllChildOrder(paramMap); - } - - - - - - - - - - - - - - - -} +package com.changyu.foryou.serviceImpl; + +import java.util.Calendar; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.alibaba.fastjson.JSON; +import com.changyu.foryou.mapper.OrderMapper; +import com.changyu.foryou.mapper.PreferentialMapper; +import com.changyu.foryou.model.CartGood; +import com.changyu.foryou.model.DeliverChildOrder; +import com.changyu.foryou.model.DeliverOrder; +import com.changyu.foryou.model.Order; +import com.changyu.foryou.model.PCOrder; +import com.changyu.foryou.model.Preferential; +import com.changyu.foryou.model.SmallOrder; +import com.changyu.foryou.model.SuperAdminOrder; +import com.changyu.foryou.service.OrderService; + +@Service("orderService") +public class OrderServiceImpl implements OrderService { + private OrderMapper orderMapper; + + private PreferentialMapper preferentialMapper; + + public OrderMapper getOrderMapper() { + return orderMapper; + } + + @Autowired + public void setOrderMapper(OrderMapper orderMapper) { + this.orderMapper = orderMapper; + } + + @Autowired + public void setPreferentialMapper(PreferentialMapper preferentialMapper) { + this.preferentialMapper = preferentialMapper; + } + + public List getPreferential(Map paramMap) { + return preferentialMapper.getPreferential(paramMap); + } + + public List getOrderList(Map paramMap) { + return orderMapper.getOrderListByPhone(paramMap); + } + + public List getOrderSuccessList(String phoneId) { + return orderMapper.getSuccessOrder(phoneId); + } + + public int deleteUserOrder(Long orderId, String phoneId) { + return orderMapper.deleteByPrimaryKey(orderId,phoneId); + } + public int editUserOrder(Long orderId, String phoneId,Integer orderCount) { + return orderMapper.updateOrderCount(orderId,phoneId,orderCount); + } + + public int insertSelectiveOrder(Order order) { + return orderMapper.insertSelective(order); + } + + public int changeOrderStatus2Buy(String phoneId, String orderId,String togetherId,String rank,String reserveTime,String message,Short payWay,Float price,Float totalPrice) { + + return orderMapper.changeOrderStatus2Buy(Long.valueOf(orderId),phoneId,togetherId,rank,reserveTime,message,payWay,price,totalPrice); + } + + public int changeOrderStatus2Deliver(String phoneId, String togetherId) { + return orderMapper.changeOrderStatus2Deliver(togetherId, phoneId); + } + + public int changeOrderStatus2Finish(String phoneId, String orderId) { + return orderMapper.changeOrderStatus2Finish(orderId, phoneId); + } + + public List getOrderListInMine(Map map) { + return orderMapper.getOrderListInMine(map); + } + + public List getOrderListInMineWait2Deliver(String phoneId) { + return orderMapper.getOrderListInMineWait2Deliver(phoneId); + } + + public List getOrderListInMineDeliver(String phoneId) { + return orderMapper.getOrderListInMineDeliver(phoneId); + } + + public List getOrderListInMineFinish(String phoneId) { + return orderMapper.getOrderListInMineFinish(phoneId); + } + + public List getTogetherId(Map map) { + return orderMapper.getTogetherId(map); + } + + public Map getOrderSummaryCount(String phone) { + /* List waitToDeliver=orderMapper.getTogetherId(phone,(short) 1); + List deliver=orderMapper.getTogetherId(phone, (short)2); + List waitComment=orderMapper.getTogetherId(phone, (short)3); + */ + Map map=new HashMap(); + + /*map.put("wait",waitToDeliver.size()); + map.put("deliver", deliver.size()); + map.put("comment", waitComment.size());*/ + return map; + } + + public List selectOrder(Order order) { + return orderMapper.selectOrder(order); + } + + public void deleteCartGood(Order order) { + orderMapper.deleteCartGood(order); + } + + public Order selectPersonOrder(String phoneId, Long orderId) { + return orderMapper.selectPersonOrder(phoneId,orderId); + } + + public void updateOrderRemarked(String phoneId, Long orderId) { + orderMapper.updateOrderRemarked(phoneId,orderId); + } + + public List superAdminGetOrder(Map paramMap) { + return orderMapper.superAdminGetOrder(paramMap); + } + + //弃用,因为现在删除只是将其置为无效 + //删除收货人地址时,检查该地址是否在订单中已使用,否者不能删除 + public int getExitOrderUserRank(String phoneId, String rank) { + return orderMapper.getExitOrderUserRank(phoneId,rank); + } + + //设置配送员 + public int setDeliverAdmin(String togetherId, String adminPhone) { + return orderMapper.setDeliverAdmin(togetherId,adminPhone); + } + + public Order selectOneOrder(String phoneId, String orderId) { + return orderMapper.selectByPrimaryKey(Long.valueOf(orderId),phoneId); + } + + + //配送员获取配送订单 + public List deliverGetOrder(Map paramMap) { + return orderMapper.deliverGetOrder(paramMap); + } + + public List getDeliverChildOrders(String togetherId) { + return orderMapper.getDeliverChildOrders(togetherId); + } + + public List getPCOrders(Short status,Integer limit,Integer offset,String search) { + Calendar calendar=Calendar.getInstance(); + + if(status!=1){ + calendar.add(Calendar.MONTH, -1); + calendar.set(Calendar.DAY_OF_MONTH, 1); //设定默认只显示近两个月的数据 + return orderMapper.getPCOrders(status,calendar.getTime(),limit,offset,search); + }else{ + calendar.add(Calendar.DAY_OF_MONTH, -14); //代发货订单默认显示两周内订单 + return orderMapper.getPCOrdersWithOutAdmin(status, calendar.getTime(),limit,offset,search); + } + } + + public Long getPCOrdersCount(Short status, String search) { + Calendar calendar=Calendar.getInstance(); + + if(status!=1){ + calendar.add(Calendar.MONTH, -1); + calendar.set(Calendar.DAY_OF_MONTH, 1); //设定默认只显示近两个月的数据 + }else{ + calendar.add(Calendar.DAY_OF_MONTH, -14); //代发货订单默认显示两周内订单 + } + + return orderMapper.getPCOrdersCount(status,calendar.getTime(),search); + } + + public int setOrderInvalid(Map parameterMap) { + return orderMapper.setOrderInvalid(parameterMap); + } + + public List selectOrdersByDate(Map paramMap) { + return orderMapper.selectOrdersByDate(paramMap); + } + + public List getAllChildOrders( + Map paramMap) { + return orderMapper.getAllChildOrder(paramMap); + } + + public Date getTogetherDate(Map paramMap) { + return orderMapper.getTogetherDate(paramMap); + } + + public List getOrdersById(Map paramMap) { + return orderMapper.getOrdersById(paramMap); + } + + + public Integer modifyOrderStatus(Map paramMap) { + return orderMapper.modifyOrderStatus(paramMap); + } + + public void deleteOrder(Map paramMap) { + orderMapper.deleteOrder(paramMap); + } + + public SmallOrder getOrderById(Map paramMap) { + return orderMapper.getOrderById(paramMap); + } + + public String getUserPhone(Map requestMap) { + return orderMapper.getUserPhone(requestMap); + } + + public String getAdminPhone(Map requestMap) { + return orderMapper.getAdminPhone(requestMap); + } + + public Preferential getPreferentialById(Integer preferentialId) { + return preferentialMapper.selectByPrimaryKey(preferentialId); + } + + public PreferentialMapper getPreferentialMapper() { + return preferentialMapper; + } + + + public Integer updateOrderPrice(Map paramMap) { + return orderMapper.updateOrderPrice(paramMap); + } + + public Integer updateOrder(Order order) { + return orderMapper.updateByPrimaryKeySelective(order); + } + + + @Override + public Float getTotalPriceByTogetherId(String togetherId) { + // TODO Auto-generated method stub + return orderMapper.selectTotalPriceByTogetherId(togetherId); + } + + public int updateOrderStatusAndAmount(Map paramMap) { + return orderMapper.updateOrderStatusAndAmount(paramMap); + } + + /** + * 获取某笔订单的校区状态 + * @param paramMap + * @return + */ + public Integer getCampusIdByTogetherId(Map paramMap) { + return orderMapper.getCampusIdByTogetherId(paramMap); + } + + /** + * 计算折扣和优惠后的价格 + */ + public Float getPriceDiscounted(String[] orderId,int campusId,String phoneId){ + //获取满减的信息 + Map paramMap=new HashMap(); + paramMap.put("campusId",campusId); + paramMap.put("phoneId", phoneId); + System.out.println(paramMap); + List prefers = getPreferential(paramMap); + + System.out.println(JSON.toJSONString(prefers)); + Float discountPrice=0f; //折扣之后的总价 + Float fullDiscount=0f; //满减商品之后的总价 + System.out.println(JSON.toJSONString(orderId)); + for (String id : orderId) { + paramMap.put("orderId",Long.parseLong(id)); + Float price = 0f; //temp + CartGood order=orderMapper.getOrderByOrderId(paramMap); + System.out.println("order is"+JSON.toJSONString(order)); + if(order.getIsDiscount()==1){ + System.out.println(order.getDiscountPrice()); + price = order.getOrderCount()*order.getDiscountPrice(); + }else{ + price = order.getOrderCount()*order.getPrice(); + } + + if(order.getIsFullDiscount()==1){ + fullDiscount+=price; + } + + discountPrice+=price; + } + + Integer discount=0; + for (Preferential preferential : prefers) { + if(fullDiscount>=preferential.getNeedNumber()){ + discount=preferential.getDiscountNum(); + break; + } + } + return discountPrice-discount; + } + + @Override + public Integer cancelOrderWithRefund(Map paramMap) { + return orderMapper.cancelOrderWithRefund(paramMap); + } + + @Override + public List getPCOrders(Map paramMap) { + return orderMapper.getPCOrdersNew(paramMap); + } + + @Override + public int updateCancelRefund(Map paramMap) { + return orderMapper.updateCancelRefund(paramMap); + } + + @Override + public String getChargeId(Map paramMap) { + return orderMapper.getChargeId(paramMap); //获取支付的chargeId + } + + @Override + public Integer updateRefundStatus(Map paramMap) { + return orderMapper.updateRefundStatus(paramMap); + } + + //退款完成时将状态置为11 + public Integer updateOrderStatusRefundSuccess(Map paramMap) { + return orderMapper.updateorderStatusRefundSuccess(paramMap); + } + + public Integer getMiniOrderByPhone(Map paramMap) { + return orderMapper.getMiniOrderByPhone(paramMap); + } + + public Integer getSalesInfoByCampusId(Map paramMap) { + return orderMapper.getSalesInfoByCampusId(paramMap); + } + + public Float getTradeVolumeByCampusId(Map paramMap) { + return orderMapper.getTradeVolumeByCampusId(paramMap); + } + + public List getPCSimpleOrders(Map paramMap) { + return orderMapper.getPCSimpleOrders(paramMap); + } + + public long getPCSimpleOrdersCount(Map paramMap) { + return orderMapper.getPCSimpleOrdersCount(paramMap); + } + + public List getPCInvalidOrders(Map paramMap) { + return orderMapper.getPCInvalidOrders(paramMap); + } + + @Override + public int deleteOrderTrue(Map paramMap) { + return orderMapper.deleteOrderTrue(paramMap); + } + + @Override + public void deleteStatus7Order(String phone) { + orderMapper.deleteStatus7Order(phone); + } + + @Override + public List getAllOrdersByTogetherId(String orderNo) { + return orderMapper.getAllOrderByTogetherId(orderNo); + } + + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/PayServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/PayServiceImpl.java new file mode 100644 index 0000000..a6e3fd5 --- /dev/null +++ b/src/main/java/com/changyu/foryou/serviceImpl/PayServiceImpl.java @@ -0,0 +1,10 @@ +package com.changyu.foryou.serviceImpl; + +import org.springframework.stereotype.Service; + +import com.changyu.foryou.service.PayService; + +@Service("payService") +public class PayServiceImpl implements PayService { + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/PreferentialServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/PreferentialServiceImpl.java new file mode 100644 index 0000000..1a3bca3 --- /dev/null +++ b/src/main/java/com/changyu/foryou/serviceImpl/PreferentialServiceImpl.java @@ -0,0 +1,60 @@ +package com.changyu.foryou.serviceImpl; + +import java.util.List; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.changyu.foryou.mapper.PreferentialMapper; +import com.changyu.foryou.model.Preferential; +import com.changyu.foryou.service.PreferentialService; + +@Service("preferentialService") +public class PreferentialServiceImpl implements PreferentialService { + @Autowired + private PreferentialMapper preferentialMapper; + + @Override + public int deleteByPrimaryKey(Integer preferentialId) { + // TODO Auto-generated method stub + return preferentialMapper.deleteByPrimaryKey(preferentialId); + } + + @Override + public int insert(Preferential record) { + // TODO Auto-generated method stub + return preferentialMapper.insert(record); + } + + @Override + public int insertSelective(Preferential record) { + // TODO Auto-generated method stub + return preferentialMapper.insert(record); + } + + @Override + public Preferential selectByPrimaryKey(Integer preferentialId) { + // TODO Auto-generated method stub + return preferentialMapper.selectByPrimaryKey(preferentialId); + } + + @Override + public int updateByPrimaryKeySelective(Preferential record) { + // TODO Auto-generated method stub + return preferentialMapper.updateByPrimaryKeySelective(record); + } + + @Override + public int updateByPrimaryKey(Preferential record) { + // TODO Auto-generated method stub + return preferentialMapper.updateByPrimaryKey(record); + } + + @Override + public List getPreferential(Map paramMap) { + // TODO Auto-generated method stub + return preferentialMapper.getPreferential(paramMap); + } + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/PushServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/PushServiceImpl.java index b858154..6fd54c3 100644 --- a/src/main/java/com/changyu/foryou/serviceImpl/PushServiceImpl.java +++ b/src/main/java/com/changyu/foryou/serviceImpl/PushServiceImpl.java @@ -1,67 +1,67 @@ -package com.changyu.foryou.serviceImpl; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.stereotype.Service; - -import cn.jpush.api.JPushClient; -import cn.jpush.api.common.resp.APIConnectionException; -import cn.jpush.api.common.resp.APIRequestException; -import cn.jpush.api.push.PushResult; -import cn.jpush.api.push.model.PushPayload; - -import com.changyu.foryou.service.PushService; -import com.changyu.foryou.tools.JpushInterface; - -@Service("pushService") -public class PushServiceImpl implements PushService{ - private static final String appKey = "e9e04345a608f9fb23a3b61b"; - private static final String masterSecret = "70a4b68027698fe532d95436"; - - private static final Logger log = LoggerFactory.getLogger(PushServiceImpl.class); - - //通过别名推送 - public void sendPush(String phone, String message, Integer count) { - JPushClient jpushClient = new JPushClient(masterSecret, appKey, count); //count表示离线消息保持时间 - - PushPayload payload = JpushInterface.buildPushObject_android_and_ios_alias_alert(message,phone); - - try { - PushResult result = jpushClient.sendPush(payload); - log.info("Got result - " + result); - - } catch (APIConnectionException e) { - log.error("Connection error. Should retry later. ", e); - - } catch (APIRequestException e) { - log.error("Error response from JPush server. Should review and fix it. ", e); - log.info("HTTP Status: " + e.getStatus()); - log.info("Error Code: " + e.getErrorCode()); - log.info("Error Message: " + e.getErrorMessage()); - log.info("Msg ID: " + e.getMsgId()); - } - } - - //推送通过tag - public void sendPushByTag(String tag, String message, int count) { - JPushClient jpushClient = new JPushClient(masterSecret, appKey, count); //count表示离线消息保持时间 - - PushPayload payload = JpushInterface.buildPushObject_android_and_ios_tag_alert(message,tag); - - try { - PushResult result = jpushClient.sendPush(payload); - log.info("Got result - " + result); - - } catch (APIConnectionException e) { - log.error("Connection error. Should retry later. ", e); - - } catch (APIRequestException e) { - log.error("Error response from JPush server. Should review and fix it. ", e); - log.info("HTTP Status: " + e.getStatus()); - log.info("Error Code: " + e.getErrorCode()); - log.info("Error Message: " + e.getErrorMessage()); - log.info("Msg ID: " + e.getMsgId()); - } - } - -} +package com.changyu.foryou.serviceImpl; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import cn.jpush.api.JPushClient; +import cn.jpush.api.common.resp.APIConnectionException; +import cn.jpush.api.common.resp.APIRequestException; +import cn.jpush.api.push.PushResult; +import cn.jpush.api.push.model.PushPayload; + +import com.changyu.foryou.service.PushService; +import com.changyu.foryou.tools.JpushInterface; + +@Service("pushService") +public class PushServiceImpl implements PushService{ + private static final String appKey = "6b618bf4a73419c8e351240e"; + private static final String masterSecret = "a80ba2c3934895be10ae9a75"; + + private static final Logger log = LoggerFactory.getLogger(PushServiceImpl.class); + + //通过别名推送 + public void sendPush(String phone, String message, Integer count) { + JPushClient jpushClient = new JPushClient(masterSecret, appKey, count); //count表示离线消息保持时间 + + PushPayload payload = JpushInterface.buildPushObject_android_and_ios_alias_alert(message,phone); + + try { + PushResult result = jpushClient.sendPush(payload); + log.info("Got result - " + result); + + } catch (APIConnectionException e) { + log.error("Connection error. Should retry later. ", e); + + } catch (APIRequestException e) { + log.error("Error response from JPush server. Should review and fix it. ", e); + log.info("HTTP Status: " + e.getStatus()); + log.info("Error Code: " + e.getErrorCode()); + log.info("Error Message: " + e.getErrorMessage()); + log.info("Msg ID: " + e.getMsgId()); + } + } + + //推送通过tag + public void sendPushByTag(String tag, String message, int count) { + JPushClient jpushClient = new JPushClient(masterSecret, appKey, count); //count表示离线消息保持时间 + + PushPayload payload = JpushInterface.buildPushObject_android_and_ios_tag_alert(message,tag); + + try { + PushResult result = jpushClient.sendPush(payload); + log.info("Got result - " + result); + + } catch (APIConnectionException e) { + log.error("Connection error. Should retry later. ", e); + + } catch (APIRequestException e) { + log.error("Error response from JPush server. Should review and fix it. ", e); + log.info("HTTP Status: " + e.getStatus()); + log.info("Error Code: " + e.getErrorCode()); + log.info("Error Message: " + e.getErrorMessage()); + log.info("Msg ID: " + e.getMsgId()); + } + } + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/ReceiverServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/ReceiverServiceImpl.java index 9818c92..4f95c81 100644 --- a/src/main/java/com/changyu/foryou/serviceImpl/ReceiverServiceImpl.java +++ b/src/main/java/com/changyu/foryou/serviceImpl/ReceiverServiceImpl.java @@ -1,6 +1,7 @@ package com.changyu.foryou.serviceImpl; import java.util.List; +import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -58,9 +59,15 @@ public int insert(Receiver receiver) { return receiverMapper.insert(receiver); } - public int setRecevierTag(String phoneId) { + public int setReceiverTag(String phoneId) { return receiverMapper.setReceiverTag(phoneId); } + @Override + public Receiver getReceiver(Map paramMap) { + // TODO Auto-generated method stub + return receiverMapper.getReceiver(paramMap); + } + } diff --git a/src/main/java/com/changyu/foryou/serviceImpl/SellerServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/SellerServiceImpl.java new file mode 100644 index 0000000..2dedaab --- /dev/null +++ b/src/main/java/com/changyu/foryou/serviceImpl/SellerServiceImpl.java @@ -0,0 +1,45 @@ +package com.changyu.foryou.serviceImpl; + +import java.util.Date; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.changyu.foryou.mapper.SellerMapper; +import com.changyu.foryou.model.Sellers; +import com.changyu.foryou.service.SellerService; + +/** + * 商家账号管理 + * @author xiaowei + * + */ +@Service("sellerService") +public class SellerServiceImpl implements SellerService { + + private SellerMapper sellerMapper;//操作用户信息 + + @Autowired + public void setSellerMapper(SellerMapper sellerMapper) { + this.sellerMapper = sellerMapper; + } + + + + + public Sellers selectByCampusAdmin(String campusAdmin) { + return sellerMapper.selectByCampusAdmin(campusAdmin); + } + + + public void updateLastLoginTime(Date date, String campusAdmin) { + sellerMapper.updateLastLoginTime(date,campusAdmin); + + } + + public void addASeller(Sellers seller) + { + sellerMapper.insertSellective(seller); + } + +} diff --git a/src/main/java/com/changyu/foryou/serviceImpl/UserServiceImpl.java b/src/main/java/com/changyu/foryou/serviceImpl/UserServiceImpl.java index 3c92c00..6538fc0 100644 --- a/src/main/java/com/changyu/foryou/serviceImpl/UserServiceImpl.java +++ b/src/main/java/com/changyu/foryou/serviceImpl/UserServiceImpl.java @@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; import com.changyu.foryou.mapper.FeedbackMapper; import com.changyu.foryou.mapper.UsersMapper; @@ -19,19 +20,11 @@ public class UserServiceImpl implements UserService { private UsersMapper usersMapper; //操作用户信息 private FeedbackMapper feedbackMapper; //操作用户反馈表 - public FeedbackMapper getFeedbackMapper() { - return feedbackMapper; - } - @Autowired public void setFeedbackMapper(FeedbackMapper feedbackMapper) { this.feedbackMapper = feedbackMapper; } - public UsersMapper getUsersMapper() { - return usersMapper; - } - @Autowired public void setUsersMapper(UsersMapper usersMapper) { this.usersMapper = usersMapper; @@ -55,7 +48,7 @@ public int updateUserInfo(Users users) { } - + @Transactional(rollbackFor=Exception.class) public void updateLastLoginTime(Date date,String phone) { usersMapper.updateLastLoginTime(date,phone); } @@ -75,16 +68,16 @@ public Integer getUserCount(String search) { return usersMapper.getUserCount(search); } - public Integer setUserAdmin(String phone) { - return usersMapper.setUserAdmin(phone); + public Integer setUserAdmin(String phone,Integer campusId) { + return usersMapper.setUserAdmin(phone,campusId); } - public Integer setUserCommon(String phone) { - return usersMapper.setUserCommon(phone); + public Integer setUserCommon(String phone,Integer campusId) { + return usersMapper.setUserCommon(phone,campusId); } - public Integer setUserSuperAdmin(String phone) { - return usersMapper.setUserSuperAdmin(phone); + public Integer setUserSuperAdmin(String phone,Integer campusId) { + return usersMapper.setUserSuperAdmin(phone,campusId); } public int updateImageUrl(String imageUrl, String phone) { @@ -95,16 +88,16 @@ public String getImageUrl(String phone) { return usersMapper.getImageUrl(phone); } - public List getDeliverAdmin() { - return usersMapper.getDeliverAdmin(); + public List getDeliverAdmin(Map paramMap) { + return usersMapper.getDeliverAdmin(paramMap); } public int setUserToken(String phoneId, String token) { return usersMapper.setUserToken(phoneId,token); } - public List getFeedbacks() { - return feedbackMapper.getFeedbacks(); + public List getFeedbacks(Map paramMap) { + return feedbackMapper.getFeedbacks(paramMap); } public String getUserToken(String togetherId) { @@ -133,5 +126,20 @@ public String getUserTokenByPhone(Map paramterMap) { public Integer getCountsByDevice(Map paramMap) { return usersMapper.getCountsByDevice(paramMap); } + + public List selectByPhoneAndPassword(Map paramMap) + { + return usersMapper.selectByPhoneAndPassword(paramMap); + } + + @Override + public Users checkLogin(String phone) { + return usersMapper.checkLogin(phone); + } + + @Override + public List getUserByType(Map paramMap) { + return usersMapper.getUserByType(paramMap); + } } diff --git a/src/main/java/com/changyu/foryou/tools/CalendarTool.java b/src/main/java/com/changyu/foryou/tools/CalendarTool.java new file mode 100644 index 0000000..65ec682 --- /dev/null +++ b/src/main/java/com/changyu/foryou/tools/CalendarTool.java @@ -0,0 +1,99 @@ +package com.changyu.foryou.tools; + +import java.text.ParseException; +import java.text.SimpleDateFormat; + +import java.util.Calendar; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +public class CalendarTool { + public static Date getMondayOfThisWeek() { + Calendar c = Calendar.getInstance(); + int day_of_week = c.get(Calendar.DAY_OF_WEEK) - 1; + if (day_of_week == 0) + day_of_week = 7; + c.add(Calendar.DATE, -day_of_week + 1); + c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DATE), 00, 00, 00); + return c.getTime(); + } + + public static Date getSundayOfThisWeek() { + Calendar c = Calendar.getInstance(); + int day_of_week = c.get(Calendar.DAY_OF_WEEK) - 1; + if (day_of_week == 0) + day_of_week = 7; + c.add(Calendar.DATE, -day_of_week + 7); + c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DATE), 23, 59, 59); + return c.getTime(); + } + + public static Date getTodayStart() { + Calendar c = Calendar.getInstance(); + c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DATE), 00, 00, 00); + return c.getTime(); + } + + public static Date getTodayEnd() { + Calendar c = Calendar.getInstance(); + c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DATE), 23, 59, 59); + return c.getTime(); + } + + public static Date getFirstDayOfThisMonth() { + Calendar c = Calendar.getInstance(); + c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH), 1, 00, 00, 00); + return c.getTime(); + } + + public static Date getFirstDayOfThisMonth(Date date) { + Calendar c = Calendar.getInstance(); + c.setTime(date); + c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH), 1, 00, 00, 00); + return c.getTime(); + } + + public static Date getLastDayOfThisMonth() { + Calendar calendar = Calendar.getInstance(); + calendar.set(Calendar.DATE, calendar.getMaximum(Calendar.DATE)); + return calendar.getTime(); + } + + public static Date getLastDayOfThisMonth(Date date) { + Calendar c = Calendar.getInstance(); + c.setTime(date); + c.set(Calendar.DATE, c.getMaximum(Calendar.DATE)); + return c.getTime(); + } + + public static Map getFirstAndLastDayOfMonth(String month) { + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM"); + Date date = null; + try { + date = sdf.parse(month); + } catch (ParseException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + Map map = new HashMap(); + map.put("monthStart", getFirstDayOfThisMonth(date)); + map.put("monthEnd", getLastDayOfThisMonth(date)); + return map; + } + + public static Boolean checkIsThisMonth(String monthStr) { + Calendar c = Calendar.getInstance(); + int year = c.get(Calendar.YEAR); + int month = c.get(Calendar.MONTH) + 1;//月份从0开始 + + int indexYear = monthStr.indexOf(String.valueOf(year)); + int indexMonth = monthStr.lastIndexOf(String.valueOf(month)); + + if (indexYear == -1 || indexMonth == -1) { + //说明不是当前年月 + return false; + } + return true; + } +} diff --git a/src/main/java/com/changyu/foryou/tools/Constants.java b/src/main/java/com/changyu/foryou/tools/Constants.java index 20e81de..bdd4959 100644 --- a/src/main/java/com/changyu/foryou/tools/Constants.java +++ b/src/main/java/com/changyu/foryou/tools/Constants.java @@ -1,9 +1,12 @@ -package com.changyu.foryou.tools; - -public class Constants { - final static public String STATUS = "status"; - final static public String SUCCESS = "success"; - final static public String FAILURE = "failure"; - public static final String MESSAGE = "message"; - public static final String localIp = "http://120.26.76.252:8080/MickeyImage"; -} +package com.changyu.foryou.tools; + +public class Constants { + final static public String STATUS = "status"; + final static public String SUCCESS = "success"; + final static public String FAILURE = "failure"; + public static final String MESSAGE = "message"; + public static final String localIp = "http://www.enjoyfu.com.cn:7777/ForyouImage"; + public static String appId="app_La1y14yrPa10SeHS"; + public static String apiKey="sk_live_vBNcIdIOKPBJEU9YOq3C02PU"; + +} diff --git a/src/main/java/com/changyu/foryou/tools/CurrentVersion.java b/src/main/java/com/changyu/foryou/tools/CurrentVersion.java index a0ea90f..d748e38 100644 --- a/src/main/java/com/changyu/foryou/tools/CurrentVersion.java +++ b/src/main/java/com/changyu/foryou/tools/CurrentVersion.java @@ -9,27 +9,6 @@ public class CurrentVersion { private String android_version; private String ios_version; - public String getAndroid_version() { - return android_version; - } - - public void setAndroid_version(String android_version) { - this.android_version = android_version; - } - - public String getIos_version() { - return ios_version; - } - - public void setIos_version(String ios_version) { - this.ios_version = ios_version; - } - - public boolean writeAndroidVersion(){ - - return false; - } - private static String getFilePath(){ String path=CurrentVersion.class.getClass().getResource("/").getPath(); //截去一些前面6个无用的字符 diff --git a/src/main/java/com/changyu/foryou/tools/IsLoginFilter.java b/src/main/java/com/changyu/foryou/tools/IsLoginFilter.java deleted file mode 100644 index 890cefc..0000000 --- a/src/main/java/com/changyu/foryou/tools/IsLoginFilter.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.changyu.foryou.tools; - -import java.io.IOException; - -import javax.servlet.FilterChain; -import javax.servlet.FilterConfig; -import javax.servlet.ServletException; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.servlet.http.HttpServletResponseWrapper; -import javax.servlet.Filter; -public class IsLoginFilter implements Filter{ - public FilterConfig config; - - public void destroy() { - this.config = null; - } - - public static boolean isContains(String container, String[] regx) { - boolean result = false; - - for (int i = 0; i < regx.length; i++) { - if (container.indexOf(regx[i]) != -1) { - return true; - } - } - return result; - } - - public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { - HttpServletRequest hrequest = (HttpServletRequest)request; - HttpServletResponseWrapper wrapper = new HttpServletResponseWrapper((HttpServletResponse) response); - - String loginStrings = config.getInitParameter("loginStrings"); - String includeStrings = config.getInitParameter("includeStrings"); - String redirectPath = hrequest.getContextPath() + config.getInitParameter("redirectPath"); - String disabletestfilter = config.getInitParameter("disabletestfilter"); - - if (disabletestfilter.toUpperCase().equals("Y")) { - chain.doFilter(request, response); - return; - } - String[] loginList = loginStrings.split(";"); - String[] includeList = includeStrings.split(";"); - - if (!IsLoginFilter.isContains(hrequest.getRequestURI(), includeList)) { - chain.doFilter(request, response); - return; - } - - if (IsLoginFilter.isContains(hrequest.getRequestURI(), loginList)) {// - chain.doFilter(request, response); - return; - } - - String user = ( String ) hrequest.getSession().getAttribute("phone"); - if (user == null) { - wrapper.sendRedirect(redirectPath); - return; - }else { - chain.doFilter(request, response); - return; - } - } - - public void init(FilterConfig filterConfig) throws ServletException { - config = filterConfig; - } - - -} - diff --git a/src/main/java/com/changyu/foryou/tools/JpushInterface.java b/src/main/java/com/changyu/foryou/tools/JpushInterface.java index a9021c7..b5a7162 100644 --- a/src/main/java/com/changyu/foryou/tools/JpushInterface.java +++ b/src/main/java/com/changyu/foryou/tools/JpushInterface.java @@ -11,74 +11,76 @@ import cn.jpush.api.push.model.notification.Notification; public class JpushInterface { - - //向全体发送推送 - public static PushPayload buildPushObject_all_all_alert(String message) { - return PushPayload.newBuilder() + + //向全体发送推送 + public static PushPayload buildPushObject_all_all_alert(String message) { + return PushPayload.newBuilder() .setPlatform(Platform.android_ios()) .setAudience(Audience.all()) .setNotification(Notification.alert(message)) + .setOptions(Options.newBuilder().setApnsProduction(false).build()) .setMessage(Message.newBuilder() .setMsgContent(message) - .addExtra("from", "mickey") - .build()) + .addExtra("from", "foryou") + .build()) .build(); - } - - //向别名发送推送,android和ios - public static PushPayload buildPushObject_android_and_ios_alias_alert(String alertString,String phone) { - + } + + //向别名发送推送,android和ios + public static PushPayload buildPushObject_android_and_ios_alias_alert(String alertString, String phone) { + return PushPayload.newBuilder() .setPlatform(Platform.android_ios()) .setAudience(Audience.alias(phone)) .setNotification(Notification.alert(alertString)) - .setOptions(Options.newBuilder().setApnsProduction(true).build()) + .setOptions(Options.newBuilder().setApnsProduction(false + ).build()) .setMessage(Message.newBuilder() .setMsgContent(alertString) - .addExtra("from", "mickey") + .addExtra("from", "foryou") .build()) .build(); } - + //通过tag推送 public static PushPayload buildPushObject_android_and_ios_tag_alert( - String message, String tag) { - return PushPayload.newBuilder() - .setPlatform(Platform.android_ios()) - .setAudience(Audience.tag(tag)) - .setNotification(Notification.alert(message)) - .setOptions(Options.newBuilder().setApnsProduction(false).build()) - .setMessage(Message.newBuilder() - .setMsgContent(message) - .addExtra("from", "mickey") - .build()) - .build(); - } - - public static PushPayload buildPushObject_android__alertWithTitle(String message,String title) { + String message, String tag) { + return PushPayload.newBuilder() + .setPlatform(Platform.android_ios()) + .setAudience(Audience.tag(tag)) + .setNotification(Notification.alert(message)) + .setOptions(Options.newBuilder().setApnsProduction(false).build()) + .setMessage(Message.newBuilder() + .setMsgContent(message) + .addExtra("from", "foryou") + .build()) + .build(); + } + + public static PushPayload buildPushObject_android__alertWithTitle(String message, String title) { return PushPayload.newBuilder() .setPlatform(Platform.android()) .setAudience(Audience.tag("tag1")) .setNotification(Notification.android(message, title, null)) .build(); } - + public static PushPayload buildPushObject_android_and_ios() { return PushPayload.newBuilder() .setPlatform(Platform.android_ios()) .setAudience(Audience.tag("tag1")) .setNotification(Notification.newBuilder() - .setAlert("alert content") - .addPlatformNotification(AndroidNotification.newBuilder() - .setTitle("Android Title").build()) - .addPlatformNotification(IosNotification.newBuilder() - .incrBadge(1) - .addExtra("extra_key", "extra_value").build()) - .build()) + .setAlert("alert content") + .addPlatformNotification(AndroidNotification.newBuilder() + .setTitle("Android Title").build()) + .addPlatformNotification(IosNotification.newBuilder() + .incrBadge(1) + .addExtra("extra_key", "extra_value").build()) + .build()) .build(); } - - public static PushPayload buildPushObject_ios_tagAnd_alertWithExtrasAndMessage(String message,String msg_content) { + + public static PushPayload buildPushObject_ios_tagAnd_alertWithExtrasAndMessage(String message, String msg_content) { return PushPayload.newBuilder() .setPlatform(Platform.ios()) .setAudience(Audience.tag_and("tag1", "tag_all")) @@ -90,13 +92,13 @@ public static PushPayload buildPushObject_ios_tagAnd_alertWithExtrasAndMessage(S .addExtra("from", "JPush") .build()) .build()) - .setMessage(Message.content(msg_content)) - .setOptions(Options.newBuilder() - .setApnsProduction(true) - .build()) - .build(); + .setMessage(Message.content(msg_content)) + .setOptions(Options.newBuilder() + .setApnsProduction(true) + .build()) + .build(); } - + public static PushPayload buildPushObject_ios_audienceMore_messageWithExtras(String msg_content) { return PushPayload.newBuilder() .setPlatform(Platform.android_ios()) @@ -111,29 +113,29 @@ public static PushPayload buildPushObject_ios_audienceMore_messageWithExtras(Str .build(); } - public static PushPayload bulidPushObject_ios_alert(String message) { - return PushPayload.newBuilder() - .setPlatform(Platform.ios()) - .setAudience(Audience.all()) - .setNotification(Notification.alert(message)) - .setMessage(Message.newBuilder() - .setMsgContent(message) - .addExtra("from", "mickey") - .build()) - .build(); - } + public static PushPayload bulidPushObject_ios_alert(String message) { + return PushPayload.newBuilder() + .setPlatform(Platform.ios()) + .setAudience(Audience.all()) + .setNotification(Notification.alert(message)) + .setMessage(Message.newBuilder() + .setMsgContent(message) + .addExtra("from", "mickey") + .build()) + .build(); + } + + public static PushPayload bulidPushObject_android_alert(String message) { + return PushPayload.newBuilder() + .setPlatform(Platform.android()) + .setAudience(Audience.all()) + .setNotification(Notification.alert(message)) + .setMessage(Message.newBuilder() + .setMsgContent(message) + .addExtra("from", "mickey") + .build()) + .build(); + } - public static PushPayload bulidPushObject_android_alert(String message) { - return PushPayload.newBuilder() - .setPlatform(Platform.android()) - .setAudience(Audience.all()) - .setNotification(Notification.alert(message)) - .setMessage(Message.newBuilder() - .setMsgContent(message) - .addExtra("from", "mickey") - .build()) - .build(); - } - } diff --git a/src/main/java/com/changyu/foryou/tools/Md5.java b/src/main/java/com/changyu/foryou/tools/Md5.java index 4fc1806..5e1b732 100644 --- a/src/main/java/com/changyu/foryou/tools/Md5.java +++ b/src/main/java/com/changyu/foryou/tools/Md5.java @@ -4,9 +4,9 @@ import java.security.NoSuchAlgorithmException; public class Md5 { - // 全局数组 - private final static String[] strDigits = { "0", "1", "2", "3", "4", "5", - "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" }; + // 全局数组 + private final static String[] strDigits = {"0", "1", "2", "3", "4", "5", + "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"}; public Md5() { } @@ -14,10 +14,10 @@ public Md5() { // 返回形式为数字跟字符串 private static String byteToArrayString(byte bByte) { int iRet = bByte; - // System.out.println("iRet="+iRet); if (iRet < 0) { iRet += 256; } + int iD1 = iRet / 16; int iD2 = iRet % 16; return strDigits[iD1] + strDigits[iD2]; @@ -49,7 +49,7 @@ public static String GetMD5Code(String strObj) { MessageDigest md = MessageDigest.getInstance("MD5"); // md.digest() 该函数返回值为存放哈希值结果的byte数组 resultString = byteToString(md.digest(strObj.getBytes())); - + } catch (NoSuchAlgorithmException ex) { ex.printStackTrace(); } diff --git a/src/main/java/com/changyu/foryou/tools/PageParam.java b/src/main/java/com/changyu/foryou/tools/PageParam.java index 49af3d2..2478a99 100644 --- a/src/main/java/com/changyu/foryou/tools/PageParam.java +++ b/src/main/java/com/changyu/foryou/tools/PageParam.java @@ -11,8 +11,6 @@ public class PageParam { public static int pageSize = 10; // 页大小 - //private List data ; // 数据 - public int getCurrPage() { return currPage; } @@ -38,6 +36,7 @@ public void setRowCount(int rowCount) { if (rowCount % pageSize > 0) { totalPage += 1; } + setTotalPage(totalPage); this.rowCount = rowCount; } @@ -49,14 +48,5 @@ public int getPageSize() { public void setPageSize(int pageSize) { this.pageSize = pageSize; } - - /*public List getData() { - return data; - } - - public void setData(List data) { - this.data = data; - }*/ - } diff --git a/src/main/java/com/changyu/foryou/tools/Sign.java b/src/main/java/com/changyu/foryou/tools/Sign.java index 481ff16..dc2e2c4 100644 --- a/src/main/java/com/changyu/foryou/tools/Sign.java +++ b/src/main/java/com/changyu/foryou/tools/Sign.java @@ -1,87 +1,86 @@ -package com.changyu.foryou.tools; - -import java.io.IOException; -import java.security.GeneralSecurityException; -import java.security.Key; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.util.HashMap; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; -import java.util.TreeMap; - -import javax.crypto.KeyGenerator; - - - -public class Sign { - /** - * 签名生成算法 - * @param HashMap params 请求参数集,所有参数必须已转换为字符串类型 - * @param String secret 签名密钥 - * @return 签名 - * @throws IOException - */ - public static String getSignature(HashMap params) throws IOException - { - String secret=params.get("secrect"); - params.remove("secrect"); - // 先将参数以其参数名的字典序升序进行排序 - Map sortedParams = new TreeMap(params); - Set> entrys = sortedParams.entrySet(); - - // 遍历排序后的字典,将所有参数按"key=value"格式拼接在一起 - StringBuilder basestring = new StringBuilder(); - for (Entry param : entrys) { - basestring.append(param.getKey()).append("=").append(param.getValue()); - } - basestring.append(secret); - - // 使用MD5对待签名串求签 - byte[] bytes = null; - try { - MessageDigest md5 = MessageDigest.getInstance("MD5"); - bytes = md5.digest(basestring.toString().getBytes("UTF-8")); - System.out.println(basestring.toString()); - - } catch (GeneralSecurityException ex) { - throw new IOException(ex); - } - - // 将MD5输出的二进制结果转换为小写的十六进制 - StringBuilder sign = new StringBuilder(); - for (int i = 0; i < bytes.length; i++) { - String hex = Integer.toHexString(bytes[i] & 0xFF); - if (hex.length() == 1) { - sign.append("0"); - } - sign.append(hex); - } - return sign.toString(); - } - - public static byte[] createPrivateKey(){ - byte[] privateKey = null; - try { - KeyGenerator keyGenerator=KeyGenerator.getInstance("DESede"); - keyGenerator.init(168); //选择DESede算法,密钥长度为112位或168位 - Key myKey = keyGenerator.generateKey(); //生成密钥 - // System.out.println("得到单钥加密密钥"+myKey.getEncoded()); - privateKey=myKey.getEncoded(); - } catch (NoSuchAlgorithmException e) { - e.printStackTrace(); - } - - return privateKey; - } - - public static void main(String[] args) { - try { - System.out.println(new String(Sign.createPrivateKey())); - } catch (Exception e) { - e.printStackTrace(); - } - - } -} +package com.changyu.foryou.tools; + +import java.io.IOException; +import java.security.GeneralSecurityException; +import java.security.Key; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.HashMap; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; +import java.util.TreeMap; + +import javax.crypto.KeyGenerator; + +/*** + * + * @author xiaowei + *coryright @ xiaowei + */ + +public class Sign { + /** + * 签名生成算法 + * + * @param params 请求参数集,所有参数必须已转换为字符串类型 + * @param params secret 签名密钥 + * @return 签名 + * @throws IOException + */ + public static String getSignature(HashMap params) throws IOException { + String[] secret = params.get("secret"); + // 先将参数以其参数名的字典序升序进行排序 + Map sortedParams = new TreeMap(params); + Set> entrys = sortedParams.entrySet(); + + // 遍历排序后的字典,将所有参数按"key=value"格式拼接在一起 + StringBuilder basestring = new StringBuilder(); + for (Entry param : entrys) { + if (param.getKey().equals("timestamp") || param.getKey().equals("secret") || param.getKey().equals("sign")) { + continue; + } + String value = ((String[]) param.getValue())[0]; + basestring.append(param.getKey()).append("=").append(value); + } + + basestring.append(secret[0]); + + // 使用MD5对待签名串求签 + byte[] bytes; + try { + MessageDigest md5 = MessageDigest.getInstance("MD5"); + bytes = md5.digest(basestring.toString().getBytes("UTF-8")); + System.out.println(basestring.toString()); //一次 + + } catch (GeneralSecurityException ex) { + throw new IOException(ex); + } + + // 将MD5输出的二进制结果转换为小写的十六进制 + StringBuilder sign = new StringBuilder(); + for (int i = 0; i < bytes.length; i++) { + String hex = Integer.toHexString(bytes[i] & 0xFF); + if (hex.length() == 1) { + sign.append("0"); + } + sign.append(hex); + } + + return sign.toString(); + } + + public static byte[] createPrivateKey() { + byte[] privateKey = null; + try { + KeyGenerator keyGenerator = KeyGenerator.getInstance("DESede"); + keyGenerator.init(168); //选择DESede算法,密钥长度为112位或168位 + Key myKey = keyGenerator.generateKey(); //生成密钥 + privateKey = myKey.getEncoded(); + } catch (NoSuchAlgorithmException e) { + e.printStackTrace(); + } + + return privateKey; + } +} diff --git a/src/main/java/com/changyu/foryou/tools/XssFilter.java b/src/main/java/com/changyu/foryou/tools/XssFilter.java deleted file mode 100644 index 2cb53a5..0000000 --- a/src/main/java/com/changyu/foryou/tools/XssFilter.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.changyu.foryou.tools; - -import java.io.IOException; -import java.util.HashMap; - -import javax.servlet.Filter; -import javax.servlet.FilterChain; -import javax.servlet.FilterConfig; -import javax.servlet.ServletException; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; - -import org.apache.log4j.Logger; - -public class XssFilter implements Filter { - - Logger logger=Logger.getLogger(XssFilter.class); - @Override - public void destroy() { - - } - - @Override - public void doFilter(ServletRequest request, ServletResponse response, - FilterChain chain) throws IOException, ServletException { - /*@SuppressWarnings("unchecked") - HashMap map=(HashMap)request.getParameterMap(); - map.remove("secret"); - - logger.debug(Sign.getSignature(map));*/ - chain.doFilter(request, response); - } - - @Override - public void init(FilterConfig arg0) throws ServletException { - } - -} diff --git a/src/main/java/com/changyu/foryou/tools/XssHttpServletRequestWraper.java b/src/main/java/com/changyu/foryou/tools/XssHttpServletRequestWrapper.java similarity index 70% rename from src/main/java/com/changyu/foryou/tools/XssHttpServletRequestWraper.java rename to src/main/java/com/changyu/foryou/tools/XssHttpServletRequestWrapper.java index 484ffbf..0f3139f 100644 --- a/src/main/java/com/changyu/foryou/tools/XssHttpServletRequestWraper.java +++ b/src/main/java/com/changyu/foryou/tools/XssHttpServletRequestWrapper.java @@ -3,9 +3,14 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; -public class XssHttpServletRequestWraper extends HttpServletRequestWrapper { +/** + * + * @author xiaowei + *copyright @倡予信息科技有限公司 + */ +public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper { - public XssHttpServletRequestWraper(HttpServletRequest request) { + public XssHttpServletRequestWrapper(HttpServletRequest request) { super(request); } @@ -22,14 +27,17 @@ public String getHeader(String name) { @Override public String[] getParameterValues(String name) { String[] values = super.getParameterValues(name); - String[] newValues = new String[values.length]; - - for(int i =0; i< values.length; i++){ - newValues[i] = clearXss(values[i]); - System.out.println(newValues[i]); + if(values!=null){ + String[] newValues = new String[values.length]; + + for(int i =0; i< values.length; i++){ + newValues[i] = clearXss(values[i]).trim(); + } + + values = newValues; } - - return newValues; + + return values; } /** @@ -41,6 +49,7 @@ private String clearXss(String value){ if (value == null || "".equals(value)) { return value; } + value = value.replaceAll("<", "<").replaceAll(">", ">"); value = value.replaceAll("\\(", "(").replace("\\)", ")"); value = value.replaceAll("'", "'"); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..903b73c --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,17 @@ +#mybatis +mybatis.type-aliases-package=com.changyu.foryou.model +mybatis.mapper-locations=classpath:com/changyu/foryou/mapping/*.xml +mybatis.configuration.map-underscore-to-camel-case=false +mybatis.configuration.default-fetch-size=10 +mybatis.configuration.default-statement-timeout=30 +mybatis.mapper.base.package=com.changyu.foryou.mapper +mybatis.config-location=classpath:mybatis.xml + +#mysql +spring.datasource.url=jdbc:mysql://localhost:3306/foryou?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&nullNamePatternMatchesAll=true +spring.datasource.name=foryou +spring.datasource.username=root +spring.datasource.password=****** +validationQuery=SELECT 1 + +server.port=8080 \ No newline at end of file diff --git a/src/main/resources/banner.txt b/src/main/resources/banner.txt new file mode 100644 index 0000000..735ab16 --- /dev/null +++ b/src/main/resources/banner.txt @@ -0,0 +1,8 @@ + _ + (_) + _ __ ___ ____ _ ___ ___ _ ____ _____ _ __ + | |/ _` \ \ / / _` | / __|/ _ \ '__\ \ / / _ \ '__| + | | (_| |\ V / (_| | \__ \ __/ | \ V / __/ | + | |\__,_| \_/ \__,_| |___/\___|_| \_/ \___|_| + _/ | ______ + |__/ |______| \ No newline at end of file diff --git a/src/main/resources/com/changyu/foryou/mapping/CampusMapper.xml b/src/main/resources/com/changyu/foryou/mapping/CampusMapper.xml new file mode 100644 index 0000000..221bbd2 --- /dev/null +++ b/src/main/resources/com/changyu/foryou/mapping/CampusMapper.xml @@ -0,0 +1,301 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + campus_id, campus_name, city_id + + + + delete from campus + where campus_id = #{campusId,jdbcType=INTEGER} + + + insert into campus (campus_id, + campus_name, city_id, + location_x, location_y) + values + (#{campusId,jdbcType=INTEGER}, #{campusName,jdbcType=VARCHAR}, + #{cityId,jdbcType=INTEGER}, + #{locationX,jdbcType=DOUBLE}, + #{locationY,jdbcType=DOUBLE}) + + + insert into campus + + + campus_id, + + + campus_name, + + + city_id, + + + location_x, + + + location_y, + + + + + #{campusId,jdbcType=INTEGER}, + + + #{campusName,jdbcType=VARCHAR}, + + + #{cityId,jdbcType=INTEGER}, + + + #{locationX,jdbcType=DOUBLE}, + + + #{locationY,jdbcType=DOUBLE}, + + + + + update campus + + + campus_name = #{campusName,jdbcType=VARCHAR}, + + + city_id = #{cityId,jdbcType=INTEGER}, + + + location_x = #{locationX,jdbcType=DOUBLE}, + + + location_y = #{locationY,jdbcType=DOUBLE}, + + + where campus_id = #{campusId,jdbcType=INTEGER} + + + update campus + set + campus_name = #{campusName,jdbcType=VARCHAR}, + city_id = + #{cityId,jdbcType=INTEGER}, + location_x = #{locationX,jdbcType=DOUBLE}, + location_y = #{locationY,jdbcType=DOUBLE} + where campus_id = + #{campusId,jdbcType=INTEGER} + + + + + + + + + + update campus set + + status=#{status, jdbcType=SMALLINT} + + + ,close_reason=#{closeReason, jdbcType=VARCHAR} + + + + campus_id=#{campusId, jdbcType=INTEGER} + + + + + + + + + + + + + + UPDATE campus_admin SET campus_id=#{campusId, jdbcType=INTEGER} + WHERE campus_admin=#{campusAdmin, jdbcType=VARCHAR} + + + + + INSERT INTO campus + (campus_id,campus_name,city_id,open_time,close_time,status,custom_service) VALUES + (#{campusId,jdbcType=INTEGER}, + #{campusName, jdbcType=VARCHAR}, + #{cityId,jdbcType=INTEGER}, + #{openTime,jdbcType=TIMESTAMP}, + #{closeTime,jdbcType=TIMESTAMP}, + #{status,jdbcType=SMALLINT}, + #{customService,jdbcType=VARCHAR}) + + + + + + + DELETE FROM campus_admin WHERE campus_id=#{campusId} AND campus_admin=#{campusAdmin} + + + + + INSERT INTO campus_admin (campus_admin, password, type, campus_id) VALUES (#{campusAdmin},#{password}, #{type}, #{campusId}) + + + + + + + + insert into city (city_id,city_name) values (null,#{cityName,jdbcType=VARCHAR}) + + + + + + + + update campus set + campus_name=#{campusName,jdbcType=VARCHAR}, + city_id=#{cityId,jdbcType=INTEGER}, + open_time=#{openTime,jdbcType=TIMESTAMP}, + close_time=#{closeTime,jdbcType=TIMESTAMP}, + status=#{status,jdbcType=SMALLINT}, + custom_service=#{customService,jdbcType=VARCHAR} + where + campus_id=#{campusId,jdbcType=INTEGER} + + + + + + update + campus_admin + set + password=#{newPassword,jdbcType=VARCHAR} + where campus_admin=#{campusAdmin,jdbcType=VARCHAR} + + + + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/CityMapper.xml b/src/main/resources/com/changyu/foryou/mapping/CityMapper.xml similarity index 96% rename from src/main/java/com/changyu/foryou/mapping/CityMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/CityMapper.xml index 7c9bdb7..f93b3d8 100644 --- a/src/main/java/com/changyu/foryou/mapping/CityMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/CityMapper.xml @@ -1,6 +1,7 @@ + diff --git a/src/main/java/com/changyu/foryou/mapping/DeliverComMapper.xml b/src/main/resources/com/changyu/foryou/mapping/DeliverComMapper.xml similarity index 97% rename from src/main/java/com/changyu/foryou/mapping/DeliverComMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/DeliverComMapper.xml index e558415..d718189 100644 --- a/src/main/java/com/changyu/foryou/mapping/DeliverComMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/DeliverComMapper.xml @@ -1,7 +1,7 @@ - + diff --git a/src/main/java/com/changyu/foryou/mapping/FeedbackMapper.xml b/src/main/resources/com/changyu/foryou/mapping/FeedbackMapper.xml similarity index 81% rename from src/main/java/com/changyu/foryou/mapping/FeedbackMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/FeedbackMapper.xml index 5dfd47f..7bada38 100644 --- a/src/main/java/com/changyu/foryou/mapping/FeedbackMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/FeedbackMapper.xml @@ -8,9 +8,9 @@ - insert into feedback (phone_id, suggestion, date + insert into feedback (phone_id, suggestion, date,campus_id ) - values (#{phoneId,jdbcType=VARCHAR}, #{suggestion,jdbcType=VARCHAR}, #{date,jdbcType=DATE} + values (#{phoneId,jdbcType=VARCHAR}, #{suggestion,jdbcType=VARCHAR}, #{date,jdbcType=DATE},#{campusId,jdbcType=INTEGER} ) @@ -43,6 +43,15 @@ select phone_id,suggestion,date from feedback + + + campus_id=#{campusId,jdbcType=INTEGER} + + order by date DESC + + LIMIT #{limit,jdbcType=INTEGER} OFFSET + #{offset,jdbcType=INTEGER} + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/FoodCategoryMapper.xml b/src/main/resources/com/changyu/foryou/mapping/FoodCategoryMapper.xml similarity index 70% rename from src/main/java/com/changyu/foryou/mapping/FoodCategoryMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/FoodCategoryMapper.xml index c6b9663..42b22ae 100644 --- a/src/main/java/com/changyu/foryou/mapping/FoodCategoryMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/FoodCategoryMapper.xml @@ -1,7 +1,7 @@ - + @@ -9,9 +9,18 @@ + + + + + + + + + - category_id, campus_id,category, img_url, parent_id, tag + category_id, campus_id,category, img_url, parent_id, tag, serial, is_open + - select from food_category @@ -137,4 +149,38 @@ from food_category where parent_id!=0 and tag!=0 and campus_id=#{campusId,jdbcType=INTEGER} + + + + + + + + + + insert into food_category (category_id, campus_id, category, img_url, + parent_id, tag, serial,is_open) values (#{categoryId},#{campusId},#{category},#{imgUrl},#{parentId},#{tag},#{serial},#{isOpen}) + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/FoodCommentMapper.xml b/src/main/resources/com/changyu/foryou/mapping/FoodCommentMapper.xml similarity index 53% rename from src/main/java/com/changyu/foryou/mapping/FoodCommentMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/FoodCommentMapper.xml index 8fa6ede..c60522e 100644 --- a/src/main/java/com/changyu/foryou/mapping/FoodCommentMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/FoodCommentMapper.xml @@ -1,10 +1,10 @@ - + - + @@ -13,19 +13,29 @@ + + + - insert into food_comment (food_id, campus_id,comment, date, + insert into food_comment + (food_id, campus_id,comment, date, grade, phone, tag ) - values (#{foodId,jdbcType=BIGINT}, #{campusId,jdbcType=INTEGER},#{comment,jdbcType=VARCHAR}, + values + (#{foodId,jdbcType=BIGINT}, + #{campusId,jdbcType=INTEGER},#{comment,jdbcType=VARCHAR}, #{date,jdbcType=DATE}, - #{grade,jdbcType=SMALLINT}, #{phone,jdbcType=VARCHAR}, #{tag,jdbcType=SMALLINT} + #{grade,jdbcType=SMALLINT}, + #{phone,jdbcType=VARCHAR}, #{tag,jdbcType=SMALLINT} ) insert into food_comment + + is_hidden, + food_id, @@ -47,8 +57,14 @@ tag, + + order_id, + + + #{isHidden,jdbcType=SMALLINT}, + #{foodId,jdbcType=BIGINT}, @@ -70,53 +86,82 @@ #{tag,jdbcType=SMALLINT}, + + #{orderId,jdbcType=BIGINT}, + - SELECT food.food_id,food.campus_id, name, COMMENT, date, food_comment.grade, - nickname + nickname, + is_hidden FROM - food_comment, - users, - food + food_comment + left join users + on food_comment.phone = users.phone + left join food on + food_comment.food_id=food.food_id and + food.campus_id=food_comment.campus_id - food_comment.phone = users.phone and - food_comment.food_id=food.food_id - and food.campus_id=food_comment.campus_id - and comment is not null and comment !="" - and food.campus_id=#{campusId,jdbcType=INTEGER} + comment is not null and comment !="" + and + food.campus_id=#{campusId,jdbcType=INTEGER} - and food_id = - #{search,jdbcType=INTEGER}) + and food.food_id = + #{search,jdbcType=INTEGER} @@ -131,41 +176,57 @@ - SELECT - count(*) + count(*) FROM - food_comment, - users, - food + food_comment - food_comment.phone = users.phone and food.campus_id=food_comment.campus_id and - food_comment.food_id=food.food_id and comment is not null and comment !="" - and food.campus_id=#{campusId,jdbcType=INTEGER} + comment is not null and comment !="" + and + campus_id=#{campusId,jdbcType=INTEGER} - and food_id = - #{search,jdbcType=VARCHAR}) + and food_id = + #{search,jdbcType=VARCHAR} - + - delete - from - food_comment - - food_id=#{foodId,jdbcType=BIGINT} - and date_format(date,'%Y-%m-%d')=#{date,jdbcType=DATE} - and grade=#{grade} and campus_id=#{campusId,jdbcType=INTEGER} - + delete + from + food_comment + + food_id=#{foodId,jdbcType=BIGINT} + and + date_format(date,'%Y-%m-%d')=#{date,jdbcType=DATE} + and grade=#{grade} + and campus_id=#{campusId,jdbcType=INTEGER} + - + - + + + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/FoodMapper.xml b/src/main/resources/com/changyu/foryou/mapping/FoodMapper.xml similarity index 61% rename from src/main/java/com/changyu/foryou/mapping/FoodMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/FoodMapper.xml index e4d5555..82c74bd 100644 --- a/src/main/java/com/changyu/foryou/mapping/FoodMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/FoodMapper.xml @@ -1,8 +1,7 @@ - + @@ -12,7 +11,18 @@ - + + + + + + + + + + + @@ -25,6 +35,19 @@ + + + + + + + + + + + + + @@ -34,18 +57,34 @@ status, food_flag, tag, is_discount, category_id, - prime_cost, sale_number + prime_cost, sale_number,food_count,food.message as message,to_home,home_image,is_full_discount food_id, campus_id,name, price, discount_price, img_url, - is_discount, + is_discount,food_count, sale_number + + + food_id, campus_id,name, price, discount_price, img_url, + is_discount,food_count, + sale_number,info,message,grade + + + + food_id,home_image + - + - - select - - from food + food.food_id, food.campus_id,name, price, discount_price, img_url, + is_discount,food_count, + sale_number,info,message,food.grade + from food,food_comment - tag=1 and campus_id=#{campusId,jdbcType=INTEGER} + food.tag=1 and food.campus_id=#{campusId,jdbcType=INTEGER} + and food.food_id=food_comment.food_id + and food.campus_id=food_comment.campus_id and category_id = #{categoryId,jdbcType=BIGINT} @@ -328,6 +400,7 @@ ) ) + group by food.food_id ORDER BY sale_number DESC @@ -345,15 +418,16 @@ - + update food set sale_number = - sale_number+#{orderCount,jdbcType=INTEGER} + sale_number+#{orderCount,jdbcType=INTEGER}, + food_count=food_count-#{orderCount,jdbcType=INTEGER} where food_id = #{foodId,jdbcType=BIGINT} and campus_id=#{campusId,jdbcType=INTEGER} - select from food @@ -403,6 +477,89 @@ #{offset,jdbcType=INTEGER} + + + + update food set + to_home=#{toHome, jdbcType=SMALLINT} + + , home_image=#{homeImage, jdbcType=VARCHAR} + + where food_id=#{foodId, jdbcType=BIGINT} and campus_id=#{campusId,jdbcType=INTEGER} + + + update food set + + info=#{info, jdbcType=VARCHAR} + + where food_id=#{foodId, jdbcType=BIGINT} and campus_id=#{campusId,jdbcType=INTEGER} + + + + update food set + to_home=#{toHome, jdbcType=SMALLINT} + where food_id=#{foodId, jdbcType=BIGINT} and campus_id=#{campusId,jdbcType=INTEGER} + + + + + + update food set food_count=#{foodCount,jdbcType=INTEGER} where campus_id=#{campusId,jdbcType=INTEGER} and food_id=#{foodId,jdbcType=BIGINT} + + + + UPDATE food + SET food_count = food_count + #{addCount,jdbcType=INTEGER} + + campus_id=#{campusId,jdbcType=INTEGER} + + and food_id=#{foodId,jdbcType=BIGINT} + + + + + + + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/FoodSpecialMapper.xml b/src/main/resources/com/changyu/foryou/mapping/FoodSpecialMapper.xml similarity index 99% rename from src/main/java/com/changyu/foryou/mapping/FoodSpecialMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/FoodSpecialMapper.xml index e7a5800..29dbc06 100644 --- a/src/main/java/com/changyu/foryou/mapping/FoodSpecialMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/FoodSpecialMapper.xml @@ -1,6 +1,7 @@ + diff --git a/src/main/resources/com/changyu/foryou/mapping/HotSearchMapper.xml b/src/main/resources/com/changyu/foryou/mapping/HotSearchMapper.xml new file mode 100644 index 0000000..b227b19 --- /dev/null +++ b/src/main/resources/com/changyu/foryou/mapping/HotSearchMapper.xml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + hot_id, display_name, search_tag, create_time, is_display, campus_id + + + + delete from hot_search + where hot_id = #{hotId,jdbcType=INTEGER} + + + insert into hot_search (hot_id, display_name, search_tag, + create_time, is_display, campus_id + ) + values (#{hotId,jdbcType=INTEGER}, #{displayName,jdbcType=VARCHAR}, #{searchTag,jdbcType=VARCHAR}, + #{createTime,jdbcType=BIGINT}, #{isDisplay,jdbcType=TINYINT}, #{campusId,jdbcType=INTEGER} + ) + + + insert into hot_search + + + hot_id, + + + display_name, + + + search_tag, + + + create_time, + + + is_display, + + + campus_id, + + + + + #{hotId,jdbcType=INTEGER}, + + + #{displayName,jdbcType=VARCHAR}, + + + #{searchTag,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=BIGINT}, + + + #{isDisplay,jdbcType=TINYINT}, + + + #{campusId,jdbcType=INTEGER}, + + + + + update hot_search + + + display_name = #{displayName,jdbcType=VARCHAR}, + + + search_tag = #{searchTag,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=BIGINT}, + + + is_display = #{isDisplay,jdbcType=TINYINT}, + + + campus_id = #{campusId,jdbcType=INTEGER}, + + + where hot_id = #{hotId,jdbcType=INTEGER} + + + update hot_search + set display_name = #{displayName,jdbcType=VARCHAR}, + search_tag = #{searchTag,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=BIGINT}, + is_display = #{isDisplay,jdbcType=TINYINT}, + campus_id = #{campusId,jdbcType=INTEGER} + where hot_id = #{hotId,jdbcType=INTEGER} + + + + + + + update + hot_search + set + is_display=0 + where hot_id=#{hotId,jdbcType=INTEGER} + + + + update + hot_search + set + is_display=1 + where hot_id=#{hotId,jdbcType=INTEGER} + + \ No newline at end of file diff --git a/src/main/resources/com/changyu/foryou/mapping/KeyMapper.xml b/src/main/resources/com/changyu/foryou/mapping/KeyMapper.xml new file mode 100644 index 0000000..17c7f5c --- /dev/null +++ b/src/main/resources/com/changyu/foryou/mapping/KeyMapper.xml @@ -0,0 +1,39 @@ + + + + + + + + + + insert into key (key, secrect) + values (#{key,jdbcType=VARCHAR}, #{secrect,jdbcType=VARCHAR}) + + + insert into key + + + key, + + + secrect, + + + + + #{key,jdbcType=VARCHAR}, + + + #{secrect,jdbcType=VARCHAR}, + + + + + + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/NewsMapper.xml b/src/main/resources/com/changyu/foryou/mapping/NewsMapper.xml similarity index 91% rename from src/main/java/com/changyu/foryou/mapping/NewsMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/NewsMapper.xml index 6cbd13f..5dd02b2 100644 --- a/src/main/java/com/changyu/foryou/mapping/NewsMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/NewsMapper.xml @@ -1,7 +1,7 @@ - + @@ -29,9 +29,9 @@ where news_id = #{newsId,jdbcType=BIGINT} - insert into news (news_id, create_time, title, + insert into news (news_id, campus_id, create_time, title, img_url, content) - values (#{newsId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{title,jdbcType=VARCHAR}, + values (#{newsId,jdbcType=BIGINT}, #{campusId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{title,jdbcType=VARCHAR}, #{imgUrl,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}) @@ -108,10 +108,10 @@ - select - from news where campus_id=#{campusId} + from news where campus_id=#{campusId,jdbcType=INTEGER} \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/OrderMapper.xml b/src/main/resources/com/changyu/foryou/mapping/OrderMapper.xml similarity index 60% rename from src/main/java/com/changyu/foryou/mapping/OrderMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/OrderMapper.xml index e741fac..476b46d 100644 --- a/src/main/java/com/changyu/foryou/mapping/OrderMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/OrderMapper.xml @@ -4,7 +4,7 @@ - + @@ -12,9 +12,9 @@ - + @@ -28,10 +28,11 @@ jdbcType="REAL" /> - + @@ -58,7 +59,6 @@ jdbcType="REAL" /> - @@ -78,15 +78,21 @@ - + + + + + + + - @@ -96,6 +102,8 @@ + + @@ -118,17 +126,17 @@ jdbcType="TIMESTAMP" /> + order_id, phone, create_time, status, price, order_count,together_id, is_remarked, tag, - food_special, food_id,rank - select from orders @@ -158,15 +166,15 @@ status, price, order_count, is_remarked, tag, - food_special, food_id) + food_id) values (#{orderId,jdbcType=BIGINT}, #{phone,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{status,jdbcType=SMALLINT}, #{price,jdbcType=REAL}, + #{status,jdbcType=SMALLINT}, + #{price,jdbcType=REAL}, #{orderCount,jdbcType=INTEGER}, #{isRemarked,jdbcType=SMALLINT}, #{tag,jdbcType=SMALLINT}, - #{foodSpecial,jdbcType=INTEGER}, #{foodId,jdbcType=BIGINT}) @@ -200,9 +208,6 @@ tag, - - food_special, - food_id, @@ -238,9 +243,6 @@ #{tag,jdbcType=SMALLINT}, - - #{foodSpecial,jdbcType=INTEGER}, - #{foodId,jdbcType=BIGINT}, @@ -271,9 +273,6 @@ tag = #{tag,jdbcType=SMALLINT}, - - food_special = #{foodSpecial,jdbcType=INTEGER}, - food_id = #{foodId,jdbcType=BIGINT}, @@ -282,7 +281,7 @@ where order_id = #{orderId,jdbcType=BIGINT} And - phone=#{phoneId,jdbcType=VARCHAR} + phone=#{phone,jdbcType=VARCHAR} update orders @@ -301,9 +300,8 @@ #{isRemarked,jdbcType=SMALLINT}, tag = #{tag,jdbcType=SMALLINT}, - food_special = - #{foodSpecial,jdbcType=INTEGER}, - food_id = + food_id + = #{foodId,jdbcType=BIGINT} where order_id = #{orderId,jdbcType=BIGINT} @@ -315,13 +313,15 @@ order_id,orders.food_id as food_id,food.tag as tag,img_url,food.status as status, orders.order_count as order_count - ,orders.food_special as - food_special,food.is_discount as is_discount, - food.price as price,food.name as name,discount_price + ,food.is_discount as is_discount, + food.price as price,food.name as + name,discount_price,is_full_discount from orders,food where - orders.food_id=food.food_id and orders.campus_id = food.campus_id and phone = - #{phoneId,jdbcType=VARCHAR} and orders.campus_id=#{campusId,jdbcType=INTEGER} + orders.food_id=food.food_id and orders.campus_id = food.campus_id and + phone = + #{phoneId,jdbcType=VARCHAR} and + orders.campus_id=#{campusId,jdbcType=INTEGER} and food.status=1 and orders.tag = 1 and orders.status = 0 @@ -340,7 +340,7 @@ from orders where phone = #{phoneId,jdbcType=VARCHAR} and tag = 1 and - status <3 + status =4 order by create_time DESC @@ -361,12 +361,16 @@ orders set status=1,message=#{message,jdbcType=VARCHAR},reserve_time=#{reserveTime,jdbcType=VARCHAR}, - together_id=#{togetherId,jdbcType=VARCHAR},rank=#{rank,jdbcType=VARCHAR},together_date=Now() + together_id=#{togetherId,jdbcType=VARCHAR},rank=#{rank,jdbcType=VARCHAR},together_date=Now(), + pay_way=#{payWay,jdbcType=SMALLINT}, + price=#{price,jdbcType=REAL} + ,total_price=#{totalPrice,jdbcType=REAL} where order_id=#{orderId,jdbcType=BIGINT} And phone=#{phoneId,jdbcType=VARCHAR} + update @@ -379,6 +383,7 @@ admin_phone=#{phoneId,jdbcType=VARCHAR} + update @@ -391,9 +396,10 @@ admin_phone=#{phoneId,jdbcType=VARCHAR} + delete from orders - where tag =1 And phone=#{phoneId,jdbcType=VARCHAR} and status=0 + where phone=#{phoneId,jdbcType=VARCHAR} and status=0 @@ -401,41 +407,33 @@ - + - + - select distinct - together_id + select together_id from orders phone = #{phoneId,jdbcType=VARCHAR} and together_id is not null and - orders.tag=1 and DATE_SUB(CURDATE(), INTERVAL 10 DAY) <= - date(together_date) - + orders.tag=1 + and status = #{status,jdbcType=SMALLINT} - - and is_remarked = 0 - + + + and status=4 + + + and status=4 - and status !=0 + and status !=0 and status!=9 and status!=10 and + status!=11 and status!=7 + group by together_id + + having count(order_id)!=sum(is_remarked) + + + having count(order_id)=sum(is_remarked) + order by together_date DESC LIMIT #{limit,jdbcType=INTEGER} OFFSET @@ -523,20 +531,18 @@ from orders where phone= #{phone,jdbcType=VARCHAR} And food_id= - #{foodId,jdbcType=BIGINT} And - food_special = - #{foodSpecial,jdbcType=SMALLINT} and status=0 and orders.tag=1 and campus_id=#{campusId,jdbcType=INTEGER} + #{foodId,jdbcType=BIGINT} and status=0 and orders.tag=1 and + campus_id=#{campusId,jdbcType=INTEGER} order by create_time DESC + delete from orders where phone= #{phone,jdbcType=VARCHAR} And food_id= - #{foodId,jdbcType=BIGINT} And - food_special = - #{foodSpecial,jdbcType=SMALLINT} and status=0 + #{foodId,jdbcType=BIGINT} And status=0 @@ -546,7 +552,7 @@ from orders where phone= #{phoneId,jdbcType=VARCHAR} And order_id= - #{orderId,jdbcType=BIGINT} and status=3 and orders.tag=1 + #{orderId,jdbcType=BIGINT} and status=4 and orders.tag=1 @@ -559,37 +565,36 @@ where phone= #{phone,jdbcType=VARCHAR} And order_id= #{orderId,jdbcType=BIGINT} and - status=3 and tag=1 + status=4 and tag=1 + update orders set admin_phone=#{adminPhone,jdbcType=VARCHAR} where together_id= - #{togetherId,jdbcType=VARCHAR} and status = 1 + #{togetherId,jdbcType=VARCHAR} and status IN (2,3) - + + + + + select * - from detail_order - where + from + detail_order + where together_id=#{togetherId,jdbcType=VARCHAR} + + + + + + + + + update orders set + + status=#{status, jdbcType=SMALLINT} + + + ,is_remarked=#{isRemarked, jdbcType=SMALLINT} + + + together_id=#{togetherId, jdbcType=VARCHAR} + and tag=1 + + and order_id=#{orderId, jdbcType=BIGINT} + + + and admin_phone is not null + + + + + + update orders + set tag = 0 + where + together_id=#{togetherId,jdbcType=VARCHAR} + and status=4 + + + + + + + + + + update orders + set total_price=#{totalPrice} + where + order_id=#{orderId} + + + + + + + + update + orders + set total_price=#{amount,jdbcType=REAL}, + status=2 ,charge_id=#{chargeId,jdbcType=VARCHAR} + where + together_id=#{togetherId,jdbcType=VARCHAR} + + + + + + + + + + + update + orders + set + status=9 + where + together_id=#{togetherId,jdbcType=VARCHAR} + + + + + + + + + + update + orders + set + status=4 + where + together_id=#{togetherId,jdbcType=VARCHAR} + + + + + + + + update + orders + set status=10 + where + together_id=#{togetherId,jdbcType=VARCHAR} + + + + + update + orders + set status=11 + where + together_id=#{togetherId,jdbcType=VARCHAR} + + + + + + + + + + + + + + delete + from + orders + where together_id=#{togetherId,jdbcType=VARCHAR} + and status =1 and tag=0 + + + + + delete + from + orders + where phone=#{phone,jdbcType=VARCHAR} and status=7 + + + + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/PackageOrderMapper.xml b/src/main/resources/com/changyu/foryou/mapping/PackageOrderMapper.xml similarity index 99% rename from src/main/java/com/changyu/foryou/mapping/PackageOrderMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/PackageOrderMapper.xml index 3a00058..f45de9a 100644 --- a/src/main/java/com/changyu/foryou/mapping/PackageOrderMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/PackageOrderMapper.xml @@ -1,6 +1,7 @@ + diff --git a/src/main/resources/com/changyu/foryou/mapping/PreferentialMapper.xml b/src/main/resources/com/changyu/foryou/mapping/PreferentialMapper.xml new file mode 100644 index 0000000..5f3aedb --- /dev/null +++ b/src/main/resources/com/changyu/foryou/mapping/PreferentialMapper.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + preferential_id, need_number, discount_num + + + + delete from preferential + where preferential_id = #{preferentialId,jdbcType=INTEGER} + + + insert into preferential ( preferential_id, need_number, discount_num,campus_id + ) + values (null, #{needNumber,jdbcType=INTEGER}, #{discountNum,jdbcType=INTEGER},#{campusId,jdbcType=INTEGER} + ) + + + insert into preferential + + + preferential_id, + + + need_number, + + + discount_num, + + + + + #{preferentialId,jdbcType=INTEGER}, + + + #{needNumber,jdbcType=INTEGER}, + + + #{discountNum,jdbcType=INTEGER}, + + + + + + + update preferential + + + need_number = #{needNumber,jdbcType=INTEGER} + + + ,discount_num = #{discountNum,jdbcType=INTEGER} + + + ,campus_id = #{campusId,jdbcType=INTEGER} + + + where preferential_id = #{preferentialId,jdbcType=INTEGER} + + + + update preferential + set + + need_number = #{needNumber,jdbcType=INTEGER} + + + ,discount_num = #{discountNum,jdbcType=INTEGER} + + + ,campus_id = #{campusId,jdbcType=INTEGER} + + where preferential_id = #{preferentialId,jdbcType=INTEGER} + + + + + \ No newline at end of file diff --git a/src/main/java/com/changyu/foryou/mapping/PushMessageMapper.xml b/src/main/resources/com/changyu/foryou/mapping/PushMessageMapper.xml similarity index 99% rename from src/main/java/com/changyu/foryou/mapping/PushMessageMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/PushMessageMapper.xml index 2ecac94..e7b330f 100644 --- a/src/main/java/com/changyu/foryou/mapping/PushMessageMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/PushMessageMapper.xml @@ -1,6 +1,7 @@ + diff --git a/src/main/java/com/changyu/foryou/mapping/ReceiverMapper.xml b/src/main/resources/com/changyu/foryou/mapping/ReceiverMapper.xml similarity index 76% rename from src/main/java/com/changyu/foryou/mapping/ReceiverMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/ReceiverMapper.xml index 04f9395..8f00cb0 100644 --- a/src/main/java/com/changyu/foryou/mapping/ReceiverMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/ReceiverMapper.xml @@ -8,9 +8,11 @@ + + - rank, phone_id, phone, name, address, tag + rank, phone_id, phone, name, address, tag,campus_id select - - from receiver + rank, phone_id, phone, name, address, tag,campus.campus_id,campus_name + from receiver,campus where phone_id = #{phoneId,jdbcType=VARCHAR} and is_out =0 - order by rank ASC + and receiver.campus_id=campus.campus_id + order by tag ASC,rank ASC @@ -150,5 +157,30 @@ where phone_id = #{phoneId,jdbcType=VARCHAR} + + + + \ No newline at end of file diff --git a/src/main/resources/com/changyu/foryou/mapping/SellerMapper.xml b/src/main/resources/com/changyu/foryou/mapping/SellerMapper.xml new file mode 100644 index 0000000..c4c2726 --- /dev/null +++ b/src/main/resources/com/changyu/foryou/mapping/SellerMapper.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + campus_admin,password,type,campus_id,last_login_date + + + + + + update campus_admin + set last_login_date = + #{date,jdbcType=DATE} + where + campus_admin = #{campusAdmin,jdbcType=VARCHAR} + + + + insert into campus_admin + + + campus_id, + + + type, + + + campus_admin, + + + password, + + + + + #{campusId,jdbcType=INTEGER}, + + + #{type,jdbcType=SMALLINT}, + + + #{campusAdmin,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + + + diff --git a/src/main/java/com/changyu/foryou/mapping/UsersMapper.xml b/src/main/resources/com/changyu/foryou/mapping/UsersMapper.xml similarity index 66% rename from src/main/java/com/changyu/foryou/mapping/UsersMapper.xml rename to src/main/resources/com/changyu/foryou/mapping/UsersMapper.xml index 19744c3..14a0d43 100644 --- a/src/main/java/com/changyu/foryou/mapping/UsersMapper.xml +++ b/src/main/resources/com/changyu/foryou/mapping/UsersMapper.xml @@ -1,7 +1,7 @@ - + @@ -14,17 +14,38 @@ + + + + + phone, password, type, nickname, img_url, - last_login_date,create_time + last_login_date,create_time,sex,academy,qq,weixin delete from users @@ -94,6 +115,18 @@ update users + + sex=#{sex,jdbcType=SMALLINT}, + + + qq=#{qq,jdbcType=VARCHAR}, + + + weixin=#{weiXin,jdbcType=VARCHAR}, + + + academy=#{academy,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, @@ -134,23 +167,29 @@ - + update users - set type=1 - where phone = #{phone,jdbcType=VARCHAR} + set type=1 , + campus_id=#{campusId,jdbcType=INTEGER} + where phone = + #{phone,jdbcType=VARCHAR} - + update users - set type=2 - where phone = #{phone,jdbcType=VARCHAR} + set type=2, + campus_id=#{campusId,jdbcType=INTEGER} + where phone = + #{phone,jdbcType=VARCHAR} - + update users set - type=0 - where phone = #{phone,jdbcType=VARCHAR} + type=0, + campus_id=#{campusId,jdbcType=INTEGER} + where phone = + #{phone,jdbcType=VARCHAR} @@ -160,35 +199,36 @@ where phone = #{phone,jdbcType=VARCHAR} - select users.phone, type, nickname, img_url, last_login_date,create_time,address as default_address,token from users - - left - - join receiver + left join receiver on users.phone = receiver.phone_id and receiver.tag=0 - - and (nickname like #{search,jdbcType=VARCHAR} or users.phone like - #{search,jdbcType=VARCHAR}) - + + 1=1 + + and (nickname like #{search,jdbcType=VARCHAR} or + users.phone like + #{search,jdbcType=VARCHAR}) + + + order by ${sort} + + + ${order} + + + limit #{offset,jdbcType=INTEGER} , + #{limit,jdbcType=INTEGER} + + - - order by ${sort} - - - ${order} - - - limit #{offset,jdbcType=INTEGER} , - #{limit,jdbcType=INTEGER} - - select count("*") from @@ -218,8 +258,9 @@ @@ -233,7 +274,8 @@ select token from users - join orders on users.phone=orders.phone and + join + orders on users.phone=orders.phone and together_id=#{togetherId,jdbcType=VARCHAR} @@ -242,23 +284,27 @@ update users set token=null - where token=#{token,jdbcType=VARCHAR} + where + token=#{token,jdbcType=VARCHAR} - + @@ -267,9 +313,10 @@ select token from users - where phone = #{adminPhone,jdbcType=VARCHAR} + where phone = + #{adminPhone,jdbcType=VARCHAR} - + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/config.properties b/src/main/resources/config.properties deleted file mode 100644 index c586b1c..0000000 --- a/src/main/resources/config.properties +++ /dev/null @@ -1,40 +0,0 @@ -#hibernate.dialect=org.hibernate.dialect.OracleDialect -#driverClassName=oracle.jdbc.driver.OracleDriver -#validationQuery=SELECT 1 FROM DUAL -#jdbc_url=jdbc:oracle:thin:@localhost:1521:orcl -#jdbc_username=sypro -#jdbc_password=sypro - -hibernate.dialect=org.hibernate.dialect.MySQLDialect -driverClassName=com.mysql.jdbc.Driver -validationQuery=SELECT 1 -jdbc_url=jdbc:mysql://localhost:3306/mickeyfood?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull -jdbc_username=root -jdbc_password=zc0829 - -#hibernate.dialect=org.hibernate.dialect.SQLServerDialect -#driverClassName=net.sourceforge.jtds.jdbc.Driver -#validationQuery=SELECT 1 -#jdbc_url=jdbc:jtds:sqlserver://127.0.0.1:1433/sy -#jdbc_username=sa -#jdbc_password=123456 - -#hibernate.dialect=org.hibernate.dialect.DerbyDialect -#driverClassName=org.apache.derby.jdbc.EmbeddedDriver -#validationQuery=SELECT 1 -#jdbc_url=jdbc:derby:sy;create=true -#jdbc_username=sypro -#jdbc_password=sypro - -#jndiName=java:comp/env/dataSourceName - -hibernate.hbm2ddl.auto=update -hibernate.show_sql=false -hibernate.format_sql=true - -sessionInfoName=sessionInfo - -uploadFieldName=filedata -uploadFileMaxSize=20971520 -uploadFileExts=txt,rar,zip,doc,docx,xls,xlsx,jpg,jpeg,gif,png,swf,wmv,avi,wma,mp3,mid -uploadDirectory=attached \ No newline at end of file diff --git a/src/main/resources/config.xml b/src/main/resources/config.xml index 5848baa..0a1d1d7 100644 --- a/src/main/resources/config.xml +++ b/src/main/resources/config.xml @@ -2,9 +2,9 @@ - + diff --git a/src/main/resources/mybatis.xml b/src/main/resources/mybatis.xml new file mode 100644 index 0000000..d99eda6 --- /dev/null +++ b/src/main/resources/mybatis.xml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/spring-mvc.xml b/src/main/resources/spring-mvc.xml deleted file mode 100644 index 1f8f24a..0000000 --- a/src/main/resources/spring-mvc.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - text/html;charset=UTF-8 - - - - - - - - - - - - - - - - - - - - UTF-8 - - - 32505856 - - - 4096 - - - - \ No newline at end of file diff --git a/src/main/resources/spring-mybatis.xml b/src/main/resources/spring-mybatis.xml deleted file mode 100644 index 0a208d0..0000000 --- a/src/main/resources/spring-mybatis.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - java:comp/env/jdbc/foryouDB - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - com.changyu.foryou.serviceImpl.* - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/spring.xml b/src/main/resources/spring.xml deleted file mode 100644 index de73250..0000000 --- a/src/main/resources/spring.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/static/assets/bootstrap-table/bootstrap-editable.css b/src/main/resources/static/assets/bootstrap-table/bootstrap-editable.css new file mode 100644 index 0000000..eaef0de --- /dev/null +++ b/src/main/resources/static/assets/bootstrap-table/bootstrap-editable.css @@ -0,0 +1,663 @@ +/*! X-editable - v1.5.1 +* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery +* http://github.com/vitalets/x-editable +* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ +.editableform { + margin-bottom: 0; /* overwrites bootstrap margin */ +} + +.editableform .control-group { + margin-bottom: 0; /* overwrites bootstrap margin */ + white-space: nowrap; /* prevent wrapping buttons on new line */ + line-height: 20px; /* overwriting bootstrap line-height. See #133 */ +} + +/* + BS3 width:1005 for inputs breaks editable form in popup + See: https://github.com/vitalets/x-editable/issues/393 +*/ +.editableform .form-control { + width: auto; +} + +.editable-buttons { + display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ + vertical-align: top; + margin-left: 7px; + /* inline-block emulation for IE7*/ + zoom: 1; + *display: inline; +} + +.editable-buttons.editable-buttons-bottom { + display: block; + margin-top: 7px; + margin-left: 0; +} + +.editable-input { + vertical-align: top; + display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ + width: auto; /* bootstrap-responsive has width: 100% that breakes layout */ + white-space: normal; /* reset white-space decalred in parent*/ + /* display-inline emulation for IE7*/ + zoom: 1; + *display: inline; +} + +.editable-buttons .editable-cancel { + margin-left: 7px; +} + +/*for jquery-ui buttons need set height to look more pretty*/ +.editable-buttons button.ui-button-icon-only { + height: 24px; + width: 30px; +} + +.editableform-loading { + background: url('../img/loading.gif') center center no-repeat; + height: 25px; + width: auto; + min-width: 25px; +} + +.editable-inline .editableform-loading { + background-position: left 5px; +} + + .editable-error-block { + max-width: 300px; + margin: 5px 0 0 0; + width: auto; + white-space: normal; +} + +/*add padding for jquery ui*/ +.editable-error-block.ui-state-error { + padding: 3px; +} + +.editable-error { + color: red; +} + +/* ---- For specific types ---- */ + +.editableform .editable-date { + padding: 0; + margin: 0; + float: left; +} + +/* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */ +.editable-inline .add-on .icon-th { + margin-top: 3px; + margin-left: 1px; +} + + +/* checklist vertical alignment */ +.editable-checklist label input[type="checkbox"], +.editable-checklist label span { + vertical-align: middle; + margin: 0; +} + +.editable-checklist label { + white-space: nowrap; +} + +/* set exact width of textarea to fit buttons toolbar */ +.editable-wysihtml5 { + width: 566px; + height: 250px; +} + +/* clear button shown as link in date inputs */ +.editable-clear { + clear: both; + font-size: 0.9em; + text-decoration: none; + text-align: right; +} + +/* IOS-style clear button for text inputs */ +.editable-clear-x { + background: url('../img/clear.png') center center no-repeat; + display: block; + width: 13px; + height: 13px; + position: absolute; + opacity: 0.6; + z-index: 100; + + top: 50%; + right: 6px; + margin-top: -6px; + +} + +.editable-clear-x:hover { + opacity: 1; +} + +.editable-pre-wrapped { + white-space: pre-wrap; +} +.editable-container.editable-popup { + max-width: none !important; /* without this rule poshytip/tooltip does not stretch */ +} + +.editable-container.popover { + width: auto; /* without this rule popover does not stretch */ +} + +.editable-container.editable-inline { + display: inline-block; + vertical-align: middle; + width: auto; + /* inline-block emulation for IE7*/ + zoom: 1; + *display: inline; +} + +.editable-container.ui-widget { + font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */ + z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */ +} +.editable-click, +a.editable-click, +a.editable-click:hover { + text-decoration: none; + border-bottom: dashed 1px #0088cc; +} + +.editable-click.editable-disabled, +a.editable-click.editable-disabled, +a.editable-click.editable-disabled:hover { + color: #585858; + cursor: default; + border-bottom: none; +} + +.editable-empty, .editable-empty:hover, .editable-empty:focus{ + font-style: italic; + color: #DD1144; + /* border-bottom: none; */ + text-decoration: none; +} + +.editable-unsaved { + font-weight: bold; +} + +.editable-unsaved:after { +/* content: '*'*/ +} + +.editable-bg-transition { + -webkit-transition: background-color 1400ms ease-out; + -moz-transition: background-color 1400ms ease-out; + -o-transition: background-color 1400ms ease-out; + -ms-transition: background-color 1400ms ease-out; + transition: background-color 1400ms ease-out; +} + +/*see https://github.com/vitalets/x-editable/issues/139 */ +.form-horizontal .editable +{ + padding-top: 5px; + display:inline-block; +} + + +/*! + * Datepicker for Bootstrap + * + * Copyright 2012 Stefan Petre + * Improvements by Andrew Rowls + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + */ +.datepicker { + padding: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + direction: ltr; + /*.dow { + border-top: 1px solid #ddd !important; + }*/ + +} +.datepicker-inline { + width: 220px; +} +.datepicker.datepicker-rtl { + direction: rtl; +} +.datepicker.datepicker-rtl table tr td span { + float: right; +} +.datepicker-dropdown { + top: 0; + left: 0; +} +.datepicker-dropdown:before { + content: ''; + display: inline-block; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-bottom-color: rgba(0, 0, 0, 0.2); + position: absolute; + top: -7px; + left: 6px; +} +.datepicker-dropdown:after { + content: ''; + display: inline-block; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-bottom: 6px solid #ffffff; + position: absolute; + top: -6px; + left: 7px; +} +.datepicker > div { + display: none; +} +.datepicker.days div.datepicker-days { + display: block; +} +.datepicker.months div.datepicker-months { + display: block; +} +.datepicker.years div.datepicker-years { + display: block; +} +.datepicker table { + margin: 0; +} +.datepicker td, +.datepicker th { + text-align: center; + width: 20px; + height: 20px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: none; +} +.table-striped .datepicker table tr td, +.table-striped .datepicker table tr th { + background-color: transparent; +} +.datepicker table tr td.day:hover { + background: #eeeeee; + cursor: pointer; +} +.datepicker table tr td.old, +.datepicker table tr td.new { + color: #999999; +} +.datepicker table tr td.disabled, +.datepicker table tr td.disabled:hover { + background: none; + color: #999999; + cursor: default; +} +.datepicker table tr td.today, +.datepicker table tr td.today:hover, +.datepicker table tr td.today.disabled, +.datepicker table tr td.today.disabled:hover { + background-color: #fde19a; + background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a); + background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a)); + background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a); + background-image: -o-linear-gradient(top, #fdd49a, #fdf59a); + background-image: linear-gradient(top, #fdd49a, #fdf59a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0); + border-color: #fdf59a #fdf59a #fbed50; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #000; +} +.datepicker table tr td.today:hover, +.datepicker table tr td.today:hover:hover, +.datepicker table tr td.today.disabled:hover, +.datepicker table tr td.today.disabled:hover:hover, +.datepicker table tr td.today:active, +.datepicker table tr td.today:hover:active, +.datepicker table tr td.today.disabled:active, +.datepicker table tr td.today.disabled:hover:active, +.datepicker table tr td.today.active, +.datepicker table tr td.today:hover.active, +.datepicker table tr td.today.disabled.active, +.datepicker table tr td.today.disabled:hover.active, +.datepicker table tr td.today.disabled, +.datepicker table tr td.today:hover.disabled, +.datepicker table tr td.today.disabled.disabled, +.datepicker table tr td.today.disabled:hover.disabled, +.datepicker table tr td.today[disabled], +.datepicker table tr td.today:hover[disabled], +.datepicker table tr td.today.disabled[disabled], +.datepicker table tr td.today.disabled:hover[disabled] { + background-color: #fdf59a; +} +.datepicker table tr td.today:active, +.datepicker table tr td.today:hover:active, +.datepicker table tr td.today.disabled:active, +.datepicker table tr td.today.disabled:hover:active, +.datepicker table tr td.today.active, +.datepicker table tr td.today:hover.active, +.datepicker table tr td.today.disabled.active, +.datepicker table tr td.today.disabled:hover.active { + background-color: #fbf069 \9; +} +.datepicker table tr td.today:hover:hover { + color: #000; +} +.datepicker table tr td.today.active:hover { + color: #fff; +} +.datepicker table tr td.range, +.datepicker table tr td.range:hover, +.datepicker table tr td.range.disabled, +.datepicker table tr td.range.disabled:hover { + background: #eeeeee; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.datepicker table tr td.range.today, +.datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today.disabled:hover { + background-color: #f3d17a; + background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a); + background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a)); + background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a); + background-image: -o-linear-gradient(top, #f3c17a, #f3e97a); + background-image: linear-gradient(top, #f3c17a, #f3e97a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0); + border-color: #f3e97a #f3e97a #edde34; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today:hover:hover, +.datepicker table tr td.range.today.disabled:hover, +.datepicker table tr td.range.today.disabled:hover:hover, +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today:hover:active, +.datepicker table tr td.range.today.disabled:active, +.datepicker table tr td.range.today.disabled:hover:active, +.datepicker table tr td.range.today.active, +.datepicker table tr td.range.today:hover.active, +.datepicker table tr td.range.today.disabled.active, +.datepicker table tr td.range.today.disabled:hover.active, +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today:hover.disabled, +.datepicker table tr td.range.today.disabled.disabled, +.datepicker table tr td.range.today.disabled:hover.disabled, +.datepicker table tr td.range.today[disabled], +.datepicker table tr td.range.today:hover[disabled], +.datepicker table tr td.range.today.disabled[disabled], +.datepicker table tr td.range.today.disabled:hover[disabled] { + background-color: #f3e97a; +} +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today:hover:active, +.datepicker table tr td.range.today.disabled:active, +.datepicker table tr td.range.today.disabled:hover:active, +.datepicker table tr td.range.today.active, +.datepicker table tr td.range.today:hover.active, +.datepicker table tr td.range.today.disabled.active, +.datepicker table tr td.range.today.disabled:hover.active { + background-color: #efe24b \9; +} +.datepicker table tr td.selected, +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected.disabled, +.datepicker table tr td.selected.disabled:hover { + background-color: #9e9e9e; + background-image: -moz-linear-gradient(top, #b3b3b3, #808080); + background-image: -ms-linear-gradient(top, #b3b3b3, #808080); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080)); + background-image: -webkit-linear-gradient(top, #b3b3b3, #808080); + background-image: -o-linear-gradient(top, #b3b3b3, #808080); + background-image: linear-gradient(top, #b3b3b3, #808080); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0); + border-color: #808080 #808080 #595959; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected:hover:hover, +.datepicker table tr td.selected.disabled:hover, +.datepicker table tr td.selected.disabled:hover:hover, +.datepicker table tr td.selected:active, +.datepicker table tr td.selected:hover:active, +.datepicker table tr td.selected.disabled:active, +.datepicker table tr td.selected.disabled:hover:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected:hover.active, +.datepicker table tr td.selected.disabled.active, +.datepicker table tr td.selected.disabled:hover.active, +.datepicker table tr td.selected.disabled, +.datepicker table tr td.selected:hover.disabled, +.datepicker table tr td.selected.disabled.disabled, +.datepicker table tr td.selected.disabled:hover.disabled, +.datepicker table tr td.selected[disabled], +.datepicker table tr td.selected:hover[disabled], +.datepicker table tr td.selected.disabled[disabled], +.datepicker table tr td.selected.disabled:hover[disabled] { + background-color: #808080; +} +.datepicker table tr td.selected:active, +.datepicker table tr td.selected:hover:active, +.datepicker table tr td.selected.disabled:active, +.datepicker table tr td.selected.disabled:hover:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected:hover.active, +.datepicker table tr td.selected.disabled.active, +.datepicker table tr td.selected.disabled:hover.active { + background-color: #666666 \9; +} +.datepicker table tr td.active, +.datepicker table tr td.active:hover, +.datepicker table tr td.active.disabled, +.datepicker table tr td.active.disabled:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(top, #0088cc, #0044cc); + background-image: -ms-linear-gradient(top, #0088cc, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); + background-image: -o-linear-gradient(top, #0088cc, #0044cc); + background-image: linear-gradient(top, #0088cc, #0044cc); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td.active:hover, +.datepicker table tr td.active:hover:hover, +.datepicker table tr td.active.disabled:hover, +.datepicker table tr td.active.disabled:hover:hover, +.datepicker table tr td.active:active, +.datepicker table tr td.active:hover:active, +.datepicker table tr td.active.disabled:active, +.datepicker table tr td.active.disabled:hover:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active:hover.active, +.datepicker table tr td.active.disabled.active, +.datepicker table tr td.active.disabled:hover.active, +.datepicker table tr td.active.disabled, +.datepicker table tr td.active:hover.disabled, +.datepicker table tr td.active.disabled.disabled, +.datepicker table tr td.active.disabled:hover.disabled, +.datepicker table tr td.active[disabled], +.datepicker table tr td.active:hover[disabled], +.datepicker table tr td.active.disabled[disabled], +.datepicker table tr td.active.disabled:hover[disabled] { + background-color: #0044cc; +} +.datepicker table tr td.active:active, +.datepicker table tr td.active:hover:active, +.datepicker table tr td.active.disabled:active, +.datepicker table tr td.active.disabled:hover:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active:hover.active, +.datepicker table tr td.active.disabled.active, +.datepicker table tr td.active.disabled:hover.active { + background-color: #003399 \9; +} +.datepicker table tr td span { + display: block; + width: 23%; + height: 54px; + line-height: 54px; + float: left; + margin: 1%; + cursor: pointer; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.datepicker table tr td span:hover { + background: #eeeeee; +} +.datepicker table tr td span.disabled, +.datepicker table tr td span.disabled:hover { + background: none; + color: #999999; + cursor: default; +} +.datepicker table tr td span.active, +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active.disabled:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(top, #0088cc, #0044cc); + background-image: -ms-linear-gradient(top, #0088cc, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); + background-image: -o-linear-gradient(top, #0088cc, #0044cc); + background-image: linear-gradient(top, #0088cc, #0044cc); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active:hover:hover, +.datepicker table tr td span.active.disabled:hover, +.datepicker table tr td span.active.disabled:hover:hover, +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active:hover.disabled, +.datepicker table tr td span.active.disabled.disabled, +.datepicker table tr td span.active.disabled:hover.disabled, +.datepicker table tr td span.active[disabled], +.datepicker table tr td span.active:hover[disabled], +.datepicker table tr td span.active.disabled[disabled], +.datepicker table tr td span.active.disabled:hover[disabled] { + background-color: #0044cc; +} +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active { + background-color: #003399 \9; +} +.datepicker table tr td span.old, +.datepicker table tr td span.new { + color: #999999; +} +.datepicker th.datepicker-switch { + width: 145px; +} +.datepicker thead tr:first-child th, +.datepicker tfoot tr th { + cursor: pointer; +} +.datepicker thead tr:first-child th:hover, +.datepicker tfoot tr th:hover { + background: #eeeeee; +} +.datepicker .cw { + font-size: 10px; + width: 12px; + padding: 0 2px 0 5px; + vertical-align: middle; +} +.datepicker thead tr:first-child th.cw { + cursor: default; + background-color: transparent; +} +.input-append.date .add-on i, +.input-prepend.date .add-on i { + display: block; + cursor: pointer; + width: 16px; + height: 16px; +} +.input-daterange input { + text-align: center; +} +.input-daterange input:first-child { + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.input-daterange input:last-child { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} +.input-daterange .add-on { + display: inline-block; + width: auto; + min-width: 16px; + height: 18px; + padding: 4px 5px; + font-weight: normal; + line-height: 18px; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + vertical-align: middle; + background-color: #eeeeee; + border: 1px solid #ccc; + margin-left: -5px; + margin-right: -5px; +} diff --git a/src/main/resources/static/assets/bootstrap-table/bootstrap-editable.js b/src/main/resources/static/assets/bootstrap-table/bootstrap-editable.js new file mode 100644 index 0000000..dd81385 --- /dev/null +++ b/src/main/resources/static/assets/bootstrap-table/bootstrap-editable.js @@ -0,0 +1,6807 @@ +/*! X-editable - v1.5.1 +* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery +* http://github.com/vitalets/x-editable +* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ +/** +Form with single input element, two buttons and two states: normal/loading. +Applied as jQuery method to DIV tag (not to form tag!). This is because form can be in loading state when spinner shown. +Editableform is linked with one of input types, e.g. 'text', 'select' etc. + +@class editableform +@uses text +@uses textarea +**/ +(function ($) { + "use strict"; + + var EditableForm = function (div, options) { + this.options = $.extend({}, $.fn.editableform.defaults, options); + this.$div = $(div); //div, containing form. Not form tag. Not editable-element. + if(!this.options.scope) { + this.options.scope = this; + } + //nothing shown after init + }; + + EditableForm.prototype = { + constructor: EditableForm, + initInput: function() { //called once + //take input from options (as it is created in editable-element) + this.input = this.options.input; + + //set initial value + //todo: may be add check: typeof str === 'string' ? + this.value = this.input.str2value(this.options.value); + + //prerender: get input.$input + this.input.prerender(); + }, + initTemplate: function() { + this.$form = $($.fn.editableform.template); + }, + initButtons: function() { + var $btn = this.$form.find('.editable-buttons'); + $btn.append($.fn.editableform.buttons); + if(this.options.showbuttons === 'bottom') { + $btn.addClass('editable-buttons-bottom'); + } + }, + /** + Renders editableform + + @method render + **/ + render: function() { + //init loader + this.$loading = $($.fn.editableform.loading); + this.$div.empty().append(this.$loading); + + //init form template and buttons + this.initTemplate(); + if(this.options.showbuttons) { + this.initButtons(); + } else { + this.$form.find('.editable-buttons').remove(); + } + + //show loading state + this.showLoading(); + + //flag showing is form now saving value to server. + //It is needed to wait when closing form. + this.isSaving = false; + + /** + Fired when rendering starts + @event rendering + @param {Object} event event object + **/ + this.$div.triggerHandler('rendering'); + + //init input + this.initInput(); + + //append input to form + this.$form.find('div.editable-input').append(this.input.$tpl); + + //append form to container + this.$div.append(this.$form); + + //render input + $.when(this.input.render()) + .then($.proxy(function () { + //setup input to submit automatically when no buttons shown + if(!this.options.showbuttons) { + this.input.autosubmit(); + } + + //attach 'cancel' handler + this.$form.find('.editable-cancel').click($.proxy(this.cancel, this)); + + if(this.input.error) { + this.error(this.input.error); + this.$form.find('.editable-submit').attr('disabled', true); + this.input.$input.attr('disabled', true); + //prevent form from submitting + this.$form.submit(function(e){ e.preventDefault(); }); + } else { + this.error(false); + this.input.$input.removeAttr('disabled'); + this.$form.find('.editable-submit').removeAttr('disabled'); + var value = (this.value === null || this.value === undefined || this.value === '') ? this.options.defaultValue : this.value; + this.input.value2input(value); + //attach submit handler + this.$form.submit($.proxy(this.submit, this)); + } + + /** + Fired when form is rendered + @event rendered + @param {Object} event event object + **/ + this.$div.triggerHandler('rendered'); + + this.showForm(); + + //call postrender method to perform actions required visibility of form + if(this.input.postrender) { + this.input.postrender(); + } + }, this)); + }, + cancel: function() { + /** + Fired when form was cancelled by user + @event cancel + @param {Object} event event object + **/ + this.$div.triggerHandler('cancel'); + }, + showLoading: function() { + var w, h; + if(this.$form) { + //set loading size equal to form + w = this.$form.outerWidth(); + h = this.$form.outerHeight(); + if(w) { + this.$loading.width(w); + } + if(h) { + this.$loading.height(h); + } + this.$form.hide(); + } else { + //stretch loading to fill container width + w = this.$loading.parent().width(); + if(w) { + this.$loading.width(w); + } + } + this.$loading.show(); + }, + + showForm: function(activate) { + this.$loading.hide(); + this.$form.show(); + if(activate !== false) { + this.input.activate(); + } + /** + Fired when form is shown + @event show + @param {Object} event event object + **/ + this.$div.triggerHandler('show'); + }, + + error: function(msg) { + var $group = this.$form.find('.control-group'), + $block = this.$form.find('.editable-error-block'), + lines; + + if(msg === false) { + $group.removeClass($.fn.editableform.errorGroupClass); + $block.removeClass($.fn.editableform.errorBlockClass).empty().hide(); + } else { + //convert newline to
for more pretty error display + if(msg) { + lines = (''+msg).split('\n'); + for (var i = 0; i < lines.length; i++) { + lines[i] = $('
').text(lines[i]).html(); + } + msg = lines.join('
'); + } + $group.addClass($.fn.editableform.errorGroupClass); + $block.addClass($.fn.editableform.errorBlockClass).html(msg).show(); + } + }, + + submit: function(e) { + e.stopPropagation(); + e.preventDefault(); + + //get new value from input + var newValue = this.input.input2value(); + + //validation: if validate returns string or truthy value - means error + //if returns object like {newValue: '...'} => submitted value is reassigned to it + var error = this.validate(newValue); + if ($.type(error) === 'object' && error.newValue !== undefined) { + newValue = error.newValue; + this.input.value2input(newValue); + if(typeof error.msg === 'string') { + this.error(error.msg); + this.showForm(); + return; + } + } else if (error) { + this.error(error); + this.showForm(); + return; + } + + //if value not changed --> trigger 'nochange' event and return + /*jslint eqeq: true*/ + if (!this.options.savenochange && this.input.value2str(newValue) == this.input.value2str(this.value)) { + /*jslint eqeq: false*/ + /** + Fired when value not changed but form is submitted. Requires savenochange = false. + @event nochange + @param {Object} event event object + **/ + this.$div.triggerHandler('nochange'); + return; + } + + //convert value for submitting to server + var submitValue = this.input.value2submit(newValue); + + this.isSaving = true; + + //sending data to server + $.when(this.save(submitValue)) + .done($.proxy(function(response) { + this.isSaving = false; + + //run success callback + var res = typeof this.options.success === 'function' ? this.options.success.call(this.options.scope, response, newValue) : null; + + //if success callback returns false --> keep form open and do not activate input + if(res === false) { + this.error(false); + this.showForm(false); + return; + } + + //if success callback returns string --> keep form open, show error and activate input + if(typeof res === 'string') { + this.error(res); + this.showForm(); + return; + } + + //if success callback returns object like {newValue: } --> use that value instead of submitted + //it is usefull if you want to chnage value in url-function + if(res && typeof res === 'object' && res.hasOwnProperty('newValue')) { + newValue = res.newValue; + } + + //clear error message + this.error(false); + this.value = newValue; + /** + Fired when form is submitted + @event save + @param {Object} event event object + @param {Object} params additional params + @param {mixed} params.newValue raw new value + @param {mixed} params.submitValue submitted value as string + @param {Object} params.response ajax response + + @example + $('#form-div').on('save'), function(e, params){ + if(params.newValue === 'username') {...} + }); + **/ + this.$div.triggerHandler('save', {newValue: newValue, submitValue: submitValue, response: response}); + }, this)) + .fail($.proxy(function(xhr) { + this.isSaving = false; + + var msg; + if(typeof this.options.error === 'function') { + msg = this.options.error.call(this.options.scope, xhr, newValue); + } else { + msg = typeof xhr === 'string' ? xhr : xhr.responseText || xhr.statusText || 'Unknown error!'; + } + + this.error(msg); + this.showForm(); + }, this)); + }, + + save: function(submitValue) { + //try parse composite pk defined as json string in data-pk + this.options.pk = $.fn.editableutils.tryParseJson(this.options.pk, true); + + var pk = (typeof this.options.pk === 'function') ? this.options.pk.call(this.options.scope) : this.options.pk, + /* + send on server in following cases: + 1. url is function + 2. url is string AND (pk defined OR send option = always) + */ + send = !!(typeof this.options.url === 'function' || (this.options.url && ((this.options.send === 'always') || (this.options.send === 'auto' && pk !== null && pk !== undefined)))), + params; + + if (send) { //send to server + this.showLoading(); + + //standard params + params = { + name: this.options.name || '', + value: submitValue, + pk: pk + }; + + //additional params + if(typeof this.options.params === 'function') { + params = this.options.params.call(this.options.scope, params); + } else { + //try parse json in single quotes (from data-params attribute) + this.options.params = $.fn.editableutils.tryParseJson(this.options.params, true); + $.extend(params, this.options.params); + } + + if(typeof this.options.url === 'function') { //user's function + return this.options.url.call(this.options.scope, params); + } else { + //send ajax to server and return deferred object + return $.ajax($.extend({ + url : this.options.url, + data : params, + type : 'POST' + }, this.options.ajaxOptions)); + } + } + }, + + validate: function (value) { + if (value === undefined) { + value = this.value; + } + if (typeof this.options.validate === 'function') { + return this.options.validate.call(this.options.scope, value); + } + }, + + option: function(key, value) { + if(key in this.options) { + this.options[key] = value; + } + + if(key === 'value') { + this.setValue(value); + } + + //do not pass option to input as it is passed in editable-element + }, + + setValue: function(value, convertStr) { + if(convertStr) { + this.value = this.input.str2value(value); + } else { + this.value = value; + } + + //if form is visible, update input + if(this.$form && this.$form.is(':visible')) { + this.input.value2input(this.value); + } + } + }; + + /* + Initialize editableform. Applied to jQuery object. + + @method $().editableform(options) + @params {Object} options + @example + var $form = $('<div>').editableform({ + type: 'text', + name: 'username', + url: '/post', + value: 'vitaliy' + }); + + //to display form you should call 'render' method + $form.editableform('render'); + */ + $.fn.editableform = function (option) { + var args = arguments; + return this.each(function () { + var $this = $(this), + data = $this.data('editableform'), + options = typeof option === 'object' && option; + if (!data) { + $this.data('editableform', (data = new EditableForm(this, options))); + } + + if (typeof option === 'string') { //call method + data[option].apply(data, Array.prototype.slice.call(args, 1)); + } + }); + }; + + //keep link to constructor to allow inheritance + $.fn.editableform.Constructor = EditableForm; + + //defaults + $.fn.editableform.defaults = { + /* see also defaults for input */ + + /** + Type of input. Can be text|textarea|select|date|checklist + + @property type + @type string + @default 'text' + **/ + type: 'text', + /** + Url for submit, e.g. '/post' + If function - it will be called instead of ajax. Function should return deferred object to run fail/done callbacks. + + @property url + @type string|function + @default null + @example + url: function(params) { + var d = new $.Deferred; + if(params.value === 'abc') { + return d.reject('error message'); //returning error via deferred object + } else { + //async saving data in js model + someModel.asyncSaveMethod({ + ..., + success: function(){ + d.resolve(); + } + }); + return d.promise(); + } + } + **/ + url:null, + /** + Additional params for submit. If defined as object - it is **appended** to original ajax data (pk, name and value). + If defined as function - returned object **overwrites** original ajax data. + @example + params: function(params) { + //originally params contain pk, name and value + params.a = 1; + return params; + } + + @property params + @type object|function + @default null + **/ + params:null, + /** + Name of field. Will be submitted on server. Can be taken from id attribute + + @property name + @type string + @default null + **/ + name: null, + /** + Primary key of editable object (e.g. record id in database). For composite keys use object, e.g. {id: 1, lang: 'en'}. + Can be calculated dynamically via function. + + @property pk + @type string|object|function + @default null + **/ + pk: null, + /** + Initial value. If not defined - will be taken from element's content. + For __select__ type should be defined (as it is ID of shown text). + + @property value + @type string|object + @default null + **/ + value: null, + /** + Value that will be displayed in input if original field value is empty (`null|undefined|''`). + + @property defaultValue + @type string|object + @default null + @since 1.4.6 + **/ + defaultValue: null, + /** + Strategy for sending data on server. Can be `auto|always|never`. + When 'auto' data will be sent on server **only if pk and url defined**, otherwise new value will be stored locally. + + @property send + @type string + @default 'auto' + **/ + send: 'auto', + /** + Function for client-side validation. If returns string - means validation not passed and string showed as error. + Since 1.5.1 you can modify submitted value by returning object from `validate`: + `{newValue: '...'}` or `{newValue: '...', msg: '...'}` + + @property validate + @type function + @default null + @example + validate: function(value) { + if($.trim(value) == '') { + return 'This field is required'; + } + } + **/ + validate: null, + /** + Success callback. Called when value successfully sent on server and **response status = 200**. + Usefull to work with json response. For example, if your backend response can be {success: true} + or {success: false, msg: "server error"} you can check it inside this callback. + If it returns **string** - means error occured and string is shown as error message. + If it returns **object like** {newValue: <something>} - it overwrites value, submitted by user. + Otherwise newValue simply rendered into element. + + @property success + @type function + @default null + @example + success: function(response, newValue) { + if(!response.success) return response.msg; + } + **/ + success: null, + /** + Error callback. Called when request failed (response status != 200). + Usefull when you want to parse error response and display a custom message. + Must return **string** - the message to be displayed in the error block. + + @property error + @type function + @default null + @since 1.4.4 + @example + error: function(response, newValue) { + if(response.status === 500) { + return 'Service unavailable. Please try later.'; + } else { + return response.responseText; + } + } + **/ + error: null, + /** + Additional options for submit ajax request. + List of values: http://api.jquery.com/jQuery.ajax + + @property ajaxOptions + @type object + @default null + @since 1.1.1 + @example + ajaxOptions: { + type: 'put', + dataType: 'json' + } + **/ + ajaxOptions: null, + /** + Where to show buttons: left(true)|bottom|false + Form without buttons is auto-submitted. + + @property showbuttons + @type boolean|string + @default true + @since 1.1.1 + **/ + showbuttons: true, + /** + Scope for callback methods (success, validate). + If null means editableform instance itself. + + @property scope + @type DOMElement|object + @default null + @since 1.2.0 + @private + **/ + scope: null, + /** + Whether to save or cancel value when it was not changed but form was submitted + + @property savenochange + @type boolean + @default false + @since 1.2.0 + **/ + savenochange: false + }; + + /* + Note: following params could redefined in engine: bootstrap or jqueryui: + Classes 'control-group' and 'editable-error-block' must always present! + */ + $.fn.editableform.template = '
'+ + '
' + + '
'+ + '
' + + '
' + + '
'; + + //loading div + $.fn.editableform.loading = '
'; + + //buttons + $.fn.editableform.buttons = ''+ + ''; + + //error class attached to control-group + $.fn.editableform.errorGroupClass = null; + + //error class attached to editable-error-block + $.fn.editableform.errorBlockClass = 'editable-error'; + + //engine + $.fn.editableform.engine = 'jquery'; +}(window.jQuery)); + +/** +* EditableForm utilites +*/ +(function ($) { + "use strict"; + + //utils + $.fn.editableutils = { + /** + * classic JS inheritance function + */ + inherit: function (Child, Parent) { + var F = function() { }; + F.prototype = Parent.prototype; + Child.prototype = new F(); + Child.prototype.constructor = Child; + Child.superclass = Parent.prototype; + }, + + /** + * set caret position in input + * see http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area + */ + setCursorPosition: function(elem, pos) { + if (elem.setSelectionRange) { + elem.setSelectionRange(pos, pos); + } else if (elem.createTextRange) { + var range = elem.createTextRange(); + range.collapse(true); + range.moveEnd('character', pos); + range.moveStart('character', pos); + range.select(); + } + }, + + /** + * function to parse JSON in *single* quotes. (jquery automatically parse only double quotes) + * That allows such code as: + * safe = true --> means no exception will be thrown + * for details see http://stackoverflow.com/questions/7410348/how-to-set-json-format-to-html5-data-attributes-in-the-jquery + */ + tryParseJson: function(s, safe) { + if (typeof s === 'string' && s.length && s.match(/^[\{\[].*[\}\]]$/)) { + if (safe) { + try { + /*jslint evil: true*/ + s = (new Function('return ' + s))(); + /*jslint evil: false*/ + } catch (e) {} finally { + return s; + } + } else { + /*jslint evil: true*/ + s = (new Function('return ' + s))(); + /*jslint evil: false*/ + } + } + return s; + }, + + /** + * slice object by specified keys + */ + sliceObj: function(obj, keys, caseSensitive /* default: false */) { + var key, keyLower, newObj = {}; + + if (!$.isArray(keys) || !keys.length) { + return newObj; + } + + for (var i = 0; i < keys.length; i++) { + key = keys[i]; + if (obj.hasOwnProperty(key)) { + newObj[key] = obj[key]; + } + + if(caseSensitive === true) { + continue; + } + + //when getting data-* attributes via $.data() it's converted to lowercase. + //details: http://stackoverflow.com/questions/7602565/using-data-attributes-with-jquery + //workaround is code below. + keyLower = key.toLowerCase(); + if (obj.hasOwnProperty(keyLower)) { + newObj[key] = obj[keyLower]; + } + } + + return newObj; + }, + + /* + exclude complex objects from $.data() before pass to config + */ + getConfigData: function($element) { + var data = {}; + $.each($element.data(), function(k, v) { + if(typeof v !== 'object' || (v && typeof v === 'object' && (v.constructor === Object || v.constructor === Array))) { + data[k] = v; + } + }); + return data; + }, + + /* + returns keys of object + */ + objectKeys: function(o) { + if (Object.keys) { + return Object.keys(o); + } else { + if (o !== Object(o)) { + throw new TypeError('Object.keys called on a non-object'); + } + var k=[], p; + for (p in o) { + if (Object.prototype.hasOwnProperty.call(o,p)) { + k.push(p); + } + } + return k; + } + + }, + + /** + method to escape html. + **/ + escape: function(str) { + return $('
').text(str).html(); + }, + + /* + returns array items from sourceData having value property equal or inArray of 'value' + */ + itemsByValue: function(value, sourceData, valueProp) { + if(!sourceData || value === null) { + return []; + } + + if (typeof(valueProp) !== "function") { + var idKey = valueProp || 'value'; + valueProp = function (e) { return e[idKey]; }; + } + + var isValArray = $.isArray(value), + result = [], + that = this; + + $.each(sourceData, function(i, o) { + if(o.children) { + result = result.concat(that.itemsByValue(value, o.children, valueProp)); + } else { + /*jslint eqeq: true*/ + if(isValArray) { + if($.grep(value, function(v){ return v == (o && typeof o === 'object' ? valueProp(o) : o); }).length) { + result.push(o); + } + } else { + var itemValue = (o && (typeof o === 'object')) ? valueProp(o) : o; + if(value == itemValue) { + result.push(o); + } + } + /*jslint eqeq: false*/ + } + }); + + return result; + }, + + /* + Returns input by options: type, mode. + */ + createInput: function(options) { + var TypeConstructor, typeOptions, input, + type = options.type; + + //`date` is some kind of virtual type that is transformed to one of exact types + //depending on mode and core lib + if(type === 'date') { + //inline + if(options.mode === 'inline') { + if($.fn.editabletypes.datefield) { + type = 'datefield'; + } else if($.fn.editabletypes.dateuifield) { + type = 'dateuifield'; + } + //popup + } else { + if($.fn.editabletypes.date) { + type = 'date'; + } else if($.fn.editabletypes.dateui) { + type = 'dateui'; + } + } + + //if type still `date` and not exist in types, replace with `combodate` that is base input + if(type === 'date' && !$.fn.editabletypes.date) { + type = 'combodate'; + } + } + + //`datetime` should be datetimefield in 'inline' mode + if(type === 'datetime' && options.mode === 'inline') { + type = 'datetimefield'; + } + + //change wysihtml5 to textarea for jquery UI and plain versions + if(type === 'wysihtml5' && !$.fn.editabletypes[type]) { + type = 'textarea'; + } + + //create input of specified type. Input will be used for converting value, not in form + if(typeof $.fn.editabletypes[type] === 'function') { + TypeConstructor = $.fn.editabletypes[type]; + typeOptions = this.sliceObj(options, this.objectKeys(TypeConstructor.defaults)); + input = new TypeConstructor(typeOptions); + return input; + } else { + $.error('Unknown type: '+ type); + return false; + } + }, + + //see http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr + supportsTransitions: function () { + var b = document.body || document.documentElement, + s = b.style, + p = 'transition', + v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms']; + + if(typeof s[p] === 'string') { + return true; + } + + // Tests for vendor specific prop + p = p.charAt(0).toUpperCase() + p.substr(1); + for(var i=0; i +This method applied internally in $().editable(). You should subscribe on it's events (save / cancel) to get profit of it.
+Final realization can be different: bootstrap-popover, jqueryui-tooltip, poshytip, inline-div. It depends on which js file you include.
+Applied as jQuery method. + +@class editableContainer +@uses editableform +**/ +(function ($) { + "use strict"; + + var Popup = function (element, options) { + this.init(element, options); + }; + + var Inline = function (element, options) { + this.init(element, options); + }; + + //methods + Popup.prototype = { + containerName: null, //method to call container on element + containerDataName: null, //object name in element's .data() + innerCss: null, //tbd in child class + containerClass: 'editable-container editable-popup', //css class applied to container element + defaults: {}, //container itself defaults + + init: function(element, options) { + this.$element = $(element); + //since 1.4.1 container do not use data-* directly as they already merged into options. + this.options = $.extend({}, $.fn.editableContainer.defaults, options); + this.splitOptions(); + + //set scope of form callbacks to element + this.formOptions.scope = this.$element[0]; + + this.initContainer(); + + //flag to hide container, when saving value will finish + this.delayedHide = false; + + //bind 'destroyed' listener to destroy container when element is removed from dom + this.$element.on('destroyed', $.proxy(function(){ + this.destroy(); + }, this)); + + //attach document handler to close containers on click / escape + if(!$(document).data('editable-handlers-attached')) { + //close all on escape + $(document).on('keyup.editable', function (e) { + if (e.which === 27) { + $('.editable-open').editableContainer('hide'); + //todo: return focus on element + } + }); + + //close containers when click outside + //(mousedown could be better than click, it closes everything also on drag drop) + $(document).on('click.editable', function(e) { + var $target = $(e.target), i, + exclude_classes = ['.editable-container', + '.ui-datepicker-header', + '.datepicker', //in inline mode datepicker is rendered into body + '.modal-backdrop', + '.bootstrap-wysihtml5-insert-image-modal', + '.bootstrap-wysihtml5-insert-link-modal' + ]; + + //check if element is detached. It occurs when clicking in bootstrap datepicker + if (!$.contains(document.documentElement, e.target)) { + return; + } + + //for some reason FF 20 generates extra event (click) in select2 widget with e.target = document + //we need to filter it via construction below. See https://github.com/vitalets/x-editable/issues/199 + //Possibly related to http://stackoverflow.com/questions/10119793/why-does-firefox-react-differently-from-webkit-and-ie-to-click-event-on-selec + if($target.is(document)) { + return; + } + + //if click inside one of exclude classes --> no nothing + for(i=0; i container changes size before hide. + */ + + //if form already exist - delete previous data + if(this.$form) { + //todo: destroy prev data! + //this.$form.destroy(); + } + + this.$form = $('
'); + + //insert form into container body + if(this.tip().is(this.innerCss)) { + //for inline container + this.tip().append(this.$form); + } else { + this.tip().find(this.innerCss).append(this.$form); + } + + //render form + this.renderForm(); + }, + + /** + Hides container with form + @method hide() + @param {string} reason Reason caused hiding. Can be save|cancel|onblur|nochange|undefined (=manual) + **/ + hide: function(reason) { + if(!this.tip() || !this.tip().is(':visible') || !this.$element.hasClass('editable-open')) { + return; + } + + //if form is saving value, schedule hide + if(this.$form.data('editableform').isSaving) { + this.delayedHide = {reason: reason}; + return; + } else { + this.delayedHide = false; + } + + this.$element.removeClass('editable-open'); + this.innerHide(); + + /** + Fired when container was hidden. It occurs on both save or cancel. + **Note:** Bootstrap popover has own `hidden` event that now cannot be separated from x-editable's one. + The workaround is to check `arguments.length` that is always `2` for x-editable. + + @event hidden + @param {object} event event object + @param {string} reason Reason caused hiding. Can be save|cancel|onblur|nochange|manual + @example + $('#username').on('hidden', function(e, reason) { + if(reason === 'save' || reason === 'cancel') { + //auto-open next editable + $(this).closest('tr').next().find('.editable').editable('show'); + } + }); + **/ + this.$element.triggerHandler('hidden', reason || 'manual'); + }, + + /* internal show method. To be overwritten in child classes */ + innerShow: function () { + + }, + + /* internal hide method. To be overwritten in child classes */ + innerHide: function () { + + }, + + /** + Toggles container visibility (show / hide) + @method toggle() + @param {boolean} closeAll Whether to close all other editable containers when showing this one. Default true. + **/ + toggle: function(closeAll) { + if(this.container() && this.tip() && this.tip().is(':visible')) { + this.hide(); + } else { + this.show(closeAll); + } + }, + + /* + Updates the position of container when content changed. + @method setPosition() + */ + setPosition: function() { + //tbd in child class + }, + + save: function(e, params) { + /** + Fired when new value was submitted. You can use $(this).data('editableContainer') inside handler to access to editableContainer instance + + @event save + @param {Object} event event object + @param {Object} params additional params + @param {mixed} params.newValue submitted value + @param {Object} params.response ajax response + @example + $('#username').on('save', function(e, params) { + //assuming server response: '{success: true}' + var pk = $(this).data('editableContainer').options.pk; + if(params.response && params.response.success) { + alert('value: ' + params.newValue + ' with pk: ' + pk + ' saved!'); + } else { + alert('error!'); + } + }); + **/ + this.$element.triggerHandler('save', params); + + //hide must be after trigger, as saving value may require methods of plugin, applied to input + this.hide('save'); + }, + + /** + Sets new option + + @method option(key, value) + @param {string} key + @param {mixed} value + **/ + option: function(key, value) { + this.options[key] = value; + if(key in this.containerOptions) { + this.containerOptions[key] = value; + this.setContainerOption(key, value); + } else { + this.formOptions[key] = value; + if(this.$form) { + this.$form.editableform('option', key, value); + } + } + }, + + setContainerOption: function(key, value) { + this.call('option', key, value); + }, + + /** + Destroys the container instance + @method destroy() + **/ + destroy: function() { + this.hide(); + this.innerDestroy(); + this.$element.off('destroyed'); + this.$element.removeData('editableContainer'); + }, + + /* to be overwritten in child classes */ + innerDestroy: function() { + + }, + + /* + Closes other containers except one related to passed element. + Other containers can be cancelled or submitted (depends on onblur option) + */ + closeOthers: function(element) { + $('.editable-open').each(function(i, el){ + //do nothing with passed element and it's children + if(el === element || $(el).find(element).length) { + return; + } + + //otherwise cancel or submit all open containers + var $el = $(el), + ec = $el.data('editableContainer'); + + if(!ec) { + return; + } + + if(ec.options.onblur === 'cancel') { + $el.data('editableContainer').hide('onblur'); + } else if(ec.options.onblur === 'submit') { + $el.data('editableContainer').tip().find('form').submit(); + } + }); + + }, + + /** + Activates input of visible container (e.g. set focus) + @method activate() + **/ + activate: function() { + if(this.tip && this.tip().is(':visible') && this.$form) { + this.$form.data('editableform').input.activate(); + } + } + + }; + + /** + jQuery method to initialize editableContainer. + + @method $().editableContainer(options) + @params {Object} options + @example + $('#edit').editableContainer({ + type: 'text', + url: '/post', + pk: 1, + value: 'hello' + }); + **/ + $.fn.editableContainer = function (option) { + var args = arguments; + return this.each(function () { + var $this = $(this), + dataKey = 'editableContainer', + data = $this.data(dataKey), + options = typeof option === 'object' && option, + Constructor = (options.mode === 'inline') ? Inline : Popup; + + if (!data) { + $this.data(dataKey, (data = new Constructor(this, options))); + } + + if (typeof option === 'string') { //call method + data[option].apply(data, Array.prototype.slice.call(args, 1)); + } + }); + }; + + //store constructors + $.fn.editableContainer.Popup = Popup; + $.fn.editableContainer.Inline = Inline; + + //defaults + $.fn.editableContainer.defaults = { + /** + Initial value of form input + + @property value + @type mixed + @default null + @private + **/ + value: null, + /** + Placement of container relative to element. Can be top|right|bottom|left. Not used for inline container. + + @property placement + @type string + @default 'top' + **/ + placement: 'top', + /** + Whether to hide container on save/cancel. + + @property autohide + @type boolean + @default true + @private + **/ + autohide: true, + /** + Action when user clicks outside the container. Can be cancel|submit|ignore. + Setting ignore allows to have several containers open. + + @property onblur + @type string + @default 'cancel' + @since 1.1.1 + **/ + onblur: 'cancel', + + /** + Animation speed (inline mode only) + @property anim + @type string + @default false + **/ + anim: false, + + /** + Mode of editable, can be `popup` or `inline` + + @property mode + @type string + @default 'popup' + @since 1.4.0 + **/ + mode: 'popup' + }; + + /* + * workaround to have 'destroyed' event to destroy popover when element is destroyed + * see http://stackoverflow.com/questions/2200494/jquery-trigger-event-when-an-element-is-removed-from-the-dom + */ + jQuery.event.special.destroyed = { + remove: function(o) { + if (o.handler) { + o.handler(); + } + } + }; + +}(window.jQuery)); + +/** +* Editable Inline +* --------------------- +*/ +(function ($) { + "use strict"; + + //copy prototype from EditableContainer + //extend methods + $.extend($.fn.editableContainer.Inline.prototype, $.fn.editableContainer.Popup.prototype, { + containerName: 'editableform', + innerCss: '.editable-inline', + containerClass: 'editable-container editable-inline', //css class applied to container element + + initContainer: function(){ + //container is element + this.$tip = $(''); + + //convert anim to miliseconds (int) + if(!this.options.anim) { + this.options.anim = 0; + } + }, + + splitOptions: function() { + //all options are passed to form + this.containerOptions = {}; + this.formOptions = this.options; + }, + + tip: function() { + return this.$tip; + }, + + innerShow: function () { + this.$element.hide(); + this.tip().insertAfter(this.$element).show(); + }, + + innerHide: function () { + this.$tip.hide(this.options.anim, $.proxy(function() { + this.$element.show(); + this.innerDestroy(); + }, this)); + }, + + innerDestroy: function() { + if(this.tip()) { + this.tip().empty().remove(); + } + } + }); + +}(window.jQuery)); +/** +Makes editable any HTML element on the page. Applied as jQuery method. + +@class editable +@uses editableContainer +**/ +(function ($) { + "use strict"; + + var Editable = function (element, options) { + this.$element = $(element); + //data-* has more priority over js options: because dynamically created elements may change data-* + this.options = $.extend({}, $.fn.editable.defaults, options, $.fn.editableutils.getConfigData(this.$element)); + if(this.options.selector) { + this.initLive(); + } else { + this.init(); + } + + //check for transition support + if(this.options.highlight && !$.fn.editableutils.supportsTransitions()) { + this.options.highlight = false; + } + }; + + Editable.prototype = { + constructor: Editable, + init: function () { + var isValueByText = false, + doAutotext, finalize; + + //name + this.options.name = this.options.name || this.$element.attr('id'); + + //create input of specified type. Input needed already here to convert value for initial display (e.g. show text by id for select) + //also we set scope option to have access to element inside input specific callbacks (e. g. source as function) + this.options.scope = this.$element[0]; + this.input = $.fn.editableutils.createInput(this.options); + if(!this.input) { + return; + } + + //set value from settings or by element's text + if (this.options.value === undefined || this.options.value === null) { + this.value = this.input.html2value($.trim(this.$element.html())); + isValueByText = true; + } else { + /* + value can be string when received from 'data-value' attribute + for complext objects value can be set as json string in data-value attribute, + e.g. data-value="{city: 'Moscow', street: 'Lenina'}" + */ + this.options.value = $.fn.editableutils.tryParseJson(this.options.value, true); + if(typeof this.options.value === 'string') { + this.value = this.input.str2value(this.options.value); + } else { + this.value = this.options.value; + } + } + + //add 'editable' class to every editable element + this.$element.addClass('editable'); + + //specifically for "textarea" add class .editable-pre-wrapped to keep linebreaks + if(this.input.type === 'textarea') { + this.$element.addClass('editable-pre-wrapped'); + } + + //attach handler activating editable. In disabled mode it just prevent default action (useful for links) + if(this.options.toggle !== 'manual') { + this.$element.addClass('editable-click'); + this.$element.on(this.options.toggle + '.editable', $.proxy(function(e){ + //prevent following link if editable enabled + if(!this.options.disabled) { + e.preventDefault(); + } + + //stop propagation not required because in document click handler it checks event target + //e.stopPropagation(); + + if(this.options.toggle === 'mouseenter') { + //for hover only show container + this.show(); + } else { + //when toggle='click' we should not close all other containers as they will be closed automatically in document click listener + var closeAll = (this.options.toggle !== 'click'); + this.toggle(closeAll); + } + }, this)); + } else { + this.$element.attr('tabindex', -1); //do not stop focus on element when toggled manually + } + + //if display is function it's far more convinient to have autotext = always to render correctly on init + //see https://github.com/vitalets/x-editable-yii/issues/34 + if(typeof this.options.display === 'function') { + this.options.autotext = 'always'; + } + + //check conditions for autotext: + switch(this.options.autotext) { + case 'always': + doAutotext = true; + break; + case 'auto': + //if element text is empty and value is defined and value not generated by text --> run autotext + doAutotext = !$.trim(this.$element.text()).length && this.value !== null && this.value !== undefined && !isValueByText; + break; + default: + doAutotext = false; + } + + //depending on autotext run render() or just finilize init + $.when(doAutotext ? this.render() : true).then($.proxy(function() { + if(this.options.disabled) { + this.disable(); + } else { + this.enable(); + } + /** + Fired when element was initialized by `$().editable()` method. + Please note that you should setup `init` handler **before** applying `editable`. + + @event init + @param {Object} event event object + @param {Object} editable editable instance (as here it cannot accessed via data('editable')) + @since 1.2.0 + @example + $('#username').on('init', function(e, editable) { + alert('initialized ' + editable.options.name); + }); + $('#username').editable(); + **/ + this.$element.triggerHandler('init', this); + }, this)); + }, + + /* + Initializes parent element for live editables + */ + initLive: function() { + //store selector + var selector = this.options.selector; + //modify options for child elements + this.options.selector = false; + this.options.autotext = 'never'; + //listen toggle events + this.$element.on(this.options.toggle + '.editable', selector, $.proxy(function(e){ + var $target = $(e.target); + if(!$target.data('editable')) { + //if delegated element initially empty, we need to clear it's text (that was manually set to `empty` by user) + //see https://github.com/vitalets/x-editable/issues/137 + if($target.hasClass(this.options.emptyclass)) { + $target.empty(); + } + $target.editable(this.options).trigger(e); + } + }, this)); + }, + + /* + Renders value into element's text. + Can call custom display method from options. + Can return deferred object. + @method render() + @param {mixed} response server response (if exist) to pass into display function + */ + render: function(response) { + //do not display anything + if(this.options.display === false) { + return; + } + + //if input has `value2htmlFinal` method, we pass callback in third param to be called when source is loaded + if(this.input.value2htmlFinal) { + return this.input.value2html(this.value, this.$element[0], this.options.display, response); + //if display method defined --> use it + } else if(typeof this.options.display === 'function') { + return this.options.display.call(this.$element[0], this.value, response); + //else use input's original value2html() method + } else { + return this.input.value2html(this.value, this.$element[0]); + } + }, + + /** + Enables editable + @method enable() + **/ + enable: function() { + this.options.disabled = false; + this.$element.removeClass('editable-disabled'); + this.handleEmpty(this.isEmpty); + if(this.options.toggle !== 'manual') { + if(this.$element.attr('tabindex') === '-1') { + this.$element.removeAttr('tabindex'); + } + } + }, + + /** + Disables editable + @method disable() + **/ + disable: function() { + this.options.disabled = true; + this.hide(); + this.$element.addClass('editable-disabled'); + this.handleEmpty(this.isEmpty); + //do not stop focus on this element + this.$element.attr('tabindex', -1); + }, + + /** + Toggles enabled / disabled state of editable element + @method toggleDisabled() + **/ + toggleDisabled: function() { + if(this.options.disabled) { + this.enable(); + } else { + this.disable(); + } + }, + + /** + Sets new option + + @method option(key, value) + @param {string|object} key option name or object with several options + @param {mixed} value option new value + @example + $('.editable').editable('option', 'pk', 2); + **/ + option: function(key, value) { + //set option(s) by object + if(key && typeof key === 'object') { + $.each(key, $.proxy(function(k, v){ + this.option($.trim(k), v); + }, this)); + return; + } + + //set option by string + this.options[key] = value; + + //disabled + if(key === 'disabled') { + return value ? this.disable() : this.enable(); + } + + //value + if(key === 'value') { + this.setValue(value); + } + + //transfer new option to container! + if(this.container) { + this.container.option(key, value); + } + + //pass option to input directly (as it points to the same in form) + if(this.input.option) { + this.input.option(key, value); + } + + }, + + /* + * set emptytext if element is empty + */ + handleEmpty: function (isEmpty) { + //do not handle empty if we do not display anything + if(this.options.display === false) { + return; + } + + /* + isEmpty may be set directly as param of method. + It is required when we enable/disable field and can't rely on content + as node content is text: "Empty" that is not empty %) + */ + if(isEmpty !== undefined) { + this.isEmpty = isEmpty; + } else { + //detect empty + //for some inputs we need more smart check + //e.g. wysihtml5 may have
,

, + if(typeof(this.input.isEmpty) === 'function') { + this.isEmpty = this.input.isEmpty(this.$element); + } else { + this.isEmpty = $.trim(this.$element.html()) === ''; + } + } + + //emptytext shown only for enabled + if(!this.options.disabled) { + if (this.isEmpty) { + this.$element.html(this.options.emptytext); + if(this.options.emptyclass) { + this.$element.addClass(this.options.emptyclass); + } + } else if(this.options.emptyclass) { + this.$element.removeClass(this.options.emptyclass); + } + } else { + //below required if element disable property was changed + if(this.isEmpty) { + this.$element.empty(); + if(this.options.emptyclass) { + this.$element.removeClass(this.options.emptyclass); + } + } + } + }, + + /** + Shows container with form + @method show() + @param {boolean} closeAll Whether to close all other editable containers when showing this one. Default true. + **/ + show: function (closeAll) { + if(this.options.disabled) { + return; + } + + //init editableContainer: popover, tooltip, inline, etc.. + if(!this.container) { + var containerOptions = $.extend({}, this.options, { + value: this.value, + input: this.input //pass input to form (as it is already created) + }); + this.$element.editableContainer(containerOptions); + //listen `save` event + this.$element.on("save.internal", $.proxy(this.save, this)); + this.container = this.$element.data('editableContainer'); + } else if(this.container.tip().is(':visible')) { + return; + } + + //show container + this.container.show(closeAll); + }, + + /** + Hides container with form + @method hide() + **/ + hide: function () { + if(this.container) { + this.container.hide(); + } + }, + + /** + Toggles container visibility (show / hide) + @method toggle() + @param {boolean} closeAll Whether to close all other editable containers when showing this one. Default true. + **/ + toggle: function(closeAll) { + if(this.container && this.container.tip().is(':visible')) { + this.hide(); + } else { + this.show(closeAll); + } + }, + + /* + * called when form was submitted + */ + save: function(e, params) { + //mark element with unsaved class if needed + if(this.options.unsavedclass) { + /* + Add unsaved css to element if: + - url is not user's function + - value was not sent to server + - params.response === undefined, that means data was not sent + - value changed + */ + var sent = false; + sent = sent || typeof this.options.url === 'function'; + sent = sent || this.options.display === false; + sent = sent || params.response !== undefined; + sent = sent || (this.options.savenochange && this.input.value2str(this.value) !== this.input.value2str(params.newValue)); + + if(sent) { + this.$element.removeClass(this.options.unsavedclass); + } else { + this.$element.addClass(this.options.unsavedclass); + } + } + + //highlight when saving + if(this.options.highlight) { + var $e = this.$element, + bgColor = $e.css('background-color'); + + $e.css('background-color', this.options.highlight); + setTimeout(function(){ + if(bgColor === 'transparent') { + bgColor = ''; + } + $e.css('background-color', bgColor); + $e.addClass('editable-bg-transition'); + setTimeout(function(){ + $e.removeClass('editable-bg-transition'); + }, 1700); + }, 10); + } + + //set new value + this.setValue(params.newValue, false, params.response); + + /** + Fired when new value was submitted. You can use $(this).data('editable') to access to editable instance + + @event save + @param {Object} event event object + @param {Object} params additional params + @param {mixed} params.newValue submitted value + @param {Object} params.response ajax response + @example + $('#username').on('save', function(e, params) { + alert('Saved value: ' + params.newValue); + }); + **/ + //event itself is triggered by editableContainer. Description here is only for documentation + }, + + validate: function () { + if (typeof this.options.validate === 'function') { + return this.options.validate.call(this, this.value); + } + }, + + /** + Sets new value of editable + @method setValue(value, convertStr) + @param {mixed} value new value + @param {boolean} convertStr whether to convert value from string to internal format + **/ + setValue: function(value, convertStr, response) { + if(convertStr) { + this.value = this.input.str2value(value); + } else { + this.value = value; + } + if(this.container) { + this.container.option('value', this.value); + } + $.when(this.render(response)) + .then($.proxy(function() { + this.handleEmpty(); + }, this)); + }, + + /** + Activates input of visible container (e.g. set focus) + @method activate() + **/ + activate: function() { + if(this.container) { + this.container.activate(); + } + }, + + /** + Removes editable feature from element + @method destroy() + **/ + destroy: function() { + this.disable(); + + if(this.container) { + this.container.destroy(); + } + + this.input.destroy(); + + if(this.options.toggle !== 'manual') { + this.$element.removeClass('editable-click'); + this.$element.off(this.options.toggle + '.editable'); + } + + this.$element.off("save.internal"); + + this.$element.removeClass('editable editable-open editable-disabled'); + this.$element.removeData('editable'); + } + }; + + /* EDITABLE PLUGIN DEFINITION + * ======================= */ + + /** + jQuery method to initialize editable element. + + @method $().editable(options) + @params {Object} options + @example + $('#username').editable({ + type: 'text', + url: '/post', + pk: 1 + }); + **/ + $.fn.editable = function (option) { + //special API methods returning non-jquery object + var result = {}, args = arguments, datakey = 'editable'; + switch (option) { + /** + Runs client-side validation for all matched editables + + @method validate() + @returns {Object} validation errors map + @example + $('#username, #fullname').editable('validate'); + // possible result: + { + username: "username is required", + fullname: "fullname should be minimum 3 letters length" + } + **/ + case 'validate': + this.each(function () { + var $this = $(this), data = $this.data(datakey), error; + if (data && (error = data.validate())) { + result[data.options.name] = error; + } + }); + return result; + + /** + Returns current values of editable elements. + Note that it returns an **object** with name-value pairs, not a value itself. It allows to get data from several elements. + If value of some editable is `null` or `undefined` it is excluded from result object. + When param `isSingle` is set to **true** - it is supposed you have single element and will return value of editable instead of object. + + @method getValue() + @param {bool} isSingle whether to return just value of single element + @returns {Object} object of element names and values + @example + $('#username, #fullname').editable('getValue'); + //result: + { + username: "superuser", + fullname: "John" + } + //isSingle = true + $('#username').editable('getValue', true); + //result "superuser" + **/ + case 'getValue': + if(arguments.length === 2 && arguments[1] === true) { //isSingle = true + result = this.eq(0).data(datakey).value; + } else { + this.each(function () { + var $this = $(this), data = $this.data(datakey); + if (data && data.value !== undefined && data.value !== null) { + result[data.options.name] = data.input.value2submit(data.value); + } + }); + } + return result; + + /** + This method collects values from several editable elements and submit them all to server. + Internally it runs client-side validation for all fields and submits only in case of success. + See
creating new records for details. + Since 1.5.1 `submit` can be applied to single element to send data programmatically. In that case + `url`, `success` and `error` is taken from initial options and you can just call `$('#username').editable('submit')`. + + @method submit(options) + @param {object} options + @param {object} options.url url to submit data + @param {object} options.data additional data to submit + @param {object} options.ajaxOptions additional ajax options + @param {function} options.error(obj) error handler + @param {function} options.success(obj,config) success handler + @returns {Object} jQuery object + **/ + case 'submit': //collects value, validate and submit to server for creating new record + var config = arguments[1] || {}, + $elems = this, + errors = this.editable('validate'); + + // validation ok + if($.isEmptyObject(errors)) { + var ajaxOptions = {}; + + // for single element use url, success etc from options + if($elems.length === 1) { + var editable = $elems.data('editable'); + //standard params + var params = { + name: editable.options.name || '', + value: editable.input.value2submit(editable.value), + pk: (typeof editable.options.pk === 'function') ? + editable.options.pk.call(editable.options.scope) : + editable.options.pk + }; + + //additional params + if(typeof editable.options.params === 'function') { + params = editable.options.params.call(editable.options.scope, params); + } else { + //try parse json in single quotes (from data-params attribute) + editable.options.params = $.fn.editableutils.tryParseJson(editable.options.params, true); + $.extend(params, editable.options.params); + } + + ajaxOptions = { + url: editable.options.url, + data: params, + type: 'POST' + }; + + // use success / error from options + config.success = config.success || editable.options.success; + config.error = config.error || editable.options.error; + + // multiple elements + } else { + var values = this.editable('getValue'); + + ajaxOptions = { + url: config.url, + data: values, + type: 'POST' + }; + } + + // ajax success callabck (response 200 OK) + ajaxOptions.success = typeof config.success === 'function' ? function(response) { + config.success.call($elems, response, config); + } : $.noop; + + // ajax error callabck + ajaxOptions.error = typeof config.error === 'function' ? function() { + config.error.apply($elems, arguments); + } : $.noop; + + // extend ajaxOptions + if(config.ajaxOptions) { + $.extend(ajaxOptions, config.ajaxOptions); + } + + // extra data + if(config.data) { + $.extend(ajaxOptions.data, config.data); + } + + // perform ajax request + $.ajax(ajaxOptions); + } else { //client-side validation error + if(typeof config.error === 'function') { + config.error.call($elems, errors); + } + } + return this; + } + + //return jquery object + return this.each(function () { + var $this = $(this), + data = $this.data(datakey), + options = typeof option === 'object' && option; + + //for delegated targets do not store `editable` object for element + //it's allows several different selectors. + //see: https://github.com/vitalets/x-editable/issues/312 + if(options && options.selector) { + data = new Editable(this, options); + return; + } + + if (!data) { + $this.data(datakey, (data = new Editable(this, options))); + } + + if (typeof option === 'string') { //call method + data[option].apply(data, Array.prototype.slice.call(args, 1)); + } + }); + }; + + + $.fn.editable.defaults = { + /** + Type of input. Can be text|textarea|select|date|checklist and more + + @property type + @type string + @default 'text' + **/ + type: 'text', + /** + Sets disabled state of editable + + @property disabled + @type boolean + @default false + **/ + disabled: false, + /** + How to toggle editable. Can be click|dblclick|mouseenter|manual. + When set to manual you should manually call show/hide methods of editable. + **Note**: if you call show or toggle inside **click** handler of some DOM element, + you need to apply e.stopPropagation() because containers are being closed on any click on document. + + @example + $('#edit-button').click(function(e) { + e.stopPropagation(); + $('#username').editable('toggle'); + }); + + @property toggle + @type string + @default 'click' + **/ + toggle: 'click', + /** + Text shown when element is empty. + + @property emptytext + @type string + @default 'Empty' + **/ + emptytext: 'Empty', + /** + Allows to automatically set element's text based on it's value. Can be auto|always|never. Useful for select and date. + For example, if dropdown list is {1: 'a', 2: 'b'} and element's value set to 1, it's html will be automatically set to 'a'. + auto - text will be automatically set only if element is empty. + always|never - always(never) try to set element's text. + + @property autotext + @type string + @default 'auto' + **/ + autotext: 'auto', + /** + Initial value of input. If not set, taken from element's text. + Note, that if element's text is empty - text is automatically generated from value and can be customized (see `autotext` option). + For example, to display currency sign: + @example + + + + @property value + @type mixed + @default element's text + **/ + value: null, + /** + Callback to perform custom displaying of value in element's text. + If `null`, default input's display used. + If `false`, no displaying methods will be called, element's text will never change. + Runs under element's scope. + _**Parameters:**_ + + * `value` current value to be displayed + * `response` server response (if display called after ajax submit), since 1.4.0 + + For _inputs with source_ (select, checklist) parameters are different: + + * `value` current value to be displayed + * `sourceData` array of items for current input (e.g. dropdown items) + * `response` server response (if display called after ajax submit), since 1.4.0 + + To get currently selected items use `$.fn.editableutils.itemsByValue(value, sourceData)`. + + @property display + @type function|boolean + @default null + @since 1.2.0 + @example + display: function(value, sourceData) { + //display checklist as comma-separated values + var html = [], + checked = $.fn.editableutils.itemsByValue(value, sourceData); + + if(checked.length) { + $.each(checked, function(i, v) { html.push($.fn.editableutils.escape(v.text)); }); + $(this).html(html.join(', ')); + } else { + $(this).empty(); + } + } + **/ + display: null, + /** + Css class applied when editable text is empty. + + @property emptyclass + @type string + @since 1.4.1 + @default editable-empty + **/ + emptyclass: 'editable-empty', + /** + Css class applied when value was stored but not sent to server (`pk` is empty or `send = 'never'`). + You may set it to `null` if you work with editables locally and submit them together. + + @property unsavedclass + @type string + @since 1.4.1 + @default editable-unsaved + **/ + unsavedclass: 'editable-unsaved', + /** + If selector is provided, editable will be delegated to the specified targets. + Usefull for dynamically generated DOM elements. + **Please note**, that delegated targets can't be initialized with `emptytext` and `autotext` options, + as they actually become editable only after first click. + You should manually set class `editable-click` to these elements. + Also, if element originally empty you should add class `editable-empty`, set `data-value=""` and write emptytext into element: + + @property selector + @type string + @since 1.4.1 + @default null + @example +
+ + Empty + + Operator +
+ + + **/ + selector: null, + /** + Color used to highlight element after update. Implemented via CSS3 transition, works in modern browsers. + + @property highlight + @type string|boolean + @since 1.4.5 + @default #FFFF80 + **/ + highlight: '#FFFF80' + }; + +}(window.jQuery)); + +/** +AbstractInput - base class for all editable inputs. +It defines interface to be implemented by any input type. +To create your own input you can inherit from this class. + +@class abstractinput +**/ +(function ($) { + "use strict"; + + //types + $.fn.editabletypes = {}; + + var AbstractInput = function () { }; + + AbstractInput.prototype = { + /** + Initializes input + + @method init() + **/ + init: function(type, options, defaults) { + this.type = type; + this.options = $.extend({}, defaults, options); + }, + + /* + this method called before render to init $tpl that is inserted in DOM + */ + prerender: function() { + this.$tpl = $(this.options.tpl); //whole tpl as jquery object + this.$input = this.$tpl; //control itself, can be changed in render method + this.$clear = null; //clear button + this.error = null; //error message, if input cannot be rendered + }, + + /** + Renders input from tpl. Can return jQuery deferred object. + Can be overwritten in child objects + + @method render() + **/ + render: function() { + + }, + + /** + Sets element's html by value. + + @method value2html(value, element) + @param {mixed} value + @param {DOMElement} element + **/ + value2html: function(value, element) { + $(element)[this.options.escape ? 'text' : 'html']($.trim(value)); + }, + + /** + Converts element's html to value + + @method html2value(html) + @param {string} html + @returns {mixed} + **/ + html2value: function(html) { + return $('
').html(html).text(); + }, + + /** + Converts value to string (for internal compare). For submitting to server used value2submit(). + + @method value2str(value) + @param {mixed} value + @returns {string} + **/ + value2str: function(value) { + return value; + }, + + /** + Converts string received from server into value. Usually from `data-value` attribute. + + @method str2value(str) + @param {string} str + @returns {mixed} + **/ + str2value: function(str) { + return str; + }, + + /** + Converts value for submitting to server. Result can be string or object. + + @method value2submit(value) + @param {mixed} value + @returns {mixed} + **/ + value2submit: function(value) { + return value; + }, + + /** + Sets value of input. + + @method value2input(value) + @param {mixed} value + **/ + value2input: function(value) { + this.$input.val(value); + }, + + /** + Returns value of input. Value can be object (e.g. datepicker) + + @method input2value() + **/ + input2value: function() { + return this.$input.val(); + }, + + /** + Activates input. For text it sets focus. + + @method activate() + **/ + activate: function() { + if(this.$input.is(':visible')) { + this.$input.focus(); + } + }, + + /** + Creates input. + + @method clear() + **/ + clear: function() { + this.$input.val(null); + }, + + /** + method to escape html. + **/ + escape: function(str) { + return $('
').text(str).html(); + }, + + /** + attach handler to automatically submit form when value changed (useful when buttons not shown) + **/ + autosubmit: function() { + + }, + + /** + Additional actions when destroying element + **/ + destroy: function() { + }, + + // -------- helper functions -------- + setClass: function() { + if(this.options.inputclass) { + this.$input.addClass(this.options.inputclass); + } + }, + + setAttr: function(attr) { + if (this.options[attr] !== undefined && this.options[attr] !== null) { + this.$input.attr(attr, this.options[attr]); + } + }, + + option: function(key, value) { + this.options[key] = value; + } + + }; + + AbstractInput.defaults = { + /** + HTML template of input. Normally you should not change it. + + @property tpl + @type string + @default '' + **/ + tpl: '', + /** + CSS class automatically applied to input + + @property inputclass + @type string + @default null + **/ + inputclass: null, + + /** + If `true` - html will be escaped in content of element via $.text() method. + If `false` - html will not be escaped, $.html() used. + When you use own `display` function, this option obviosly has no effect. + + @property escape + @type boolean + @since 1.5.0 + @default true + **/ + escape: true, + + //scope for external methods (e.g. source defined as function) + //for internal use only + scope: null, + + //need to re-declare showbuttons here to get it's value from common config (passed only options existing in defaults) + showbuttons: true + }; + + $.extend($.fn.editabletypes, {abstractinput: AbstractInput}); + +}(window.jQuery)); + +/** +List - abstract class for inputs that have source option loaded from js array or via ajax + +@class list +@extends abstractinput +**/ +(function ($) { + "use strict"; + + var List = function (options) { + + }; + + $.fn.editableutils.inherit(List, $.fn.editabletypes.abstractinput); + + $.extend(List.prototype, { + render: function () { + var deferred = $.Deferred(); + + this.error = null; + this.onSourceReady(function () { + this.renderList(); + deferred.resolve(); + }, function () { + this.error = this.options.sourceError; + deferred.resolve(); + }); + + return deferred.promise(); + }, + + html2value: function (html) { + return null; //can't set value by text + }, + + value2html: function (value, element, display, response) { + var deferred = $.Deferred(), + success = function () { + if(typeof display === 'function') { + //custom display method + display.call(element, value, this.sourceData, response); + } else { + this.value2htmlFinal(value, element); + } + deferred.resolve(); + }; + + //for null value just call success without loading source + if(value === null) { + success.call(this); + } else { + this.onSourceReady(success, function () { deferred.resolve(); }); + } + + return deferred.promise(); + }, + + // ------------- additional functions ------------ + + onSourceReady: function (success, error) { + //run source if it function + var source; + if ($.isFunction(this.options.source)) { + source = this.options.source.call(this.options.scope); + this.sourceData = null; + //note: if function returns the same source as URL - sourceData will be taken from cahce and no extra request performed + } else { + source = this.options.source; + } + + //if allready loaded just call success + if(this.options.sourceCache && $.isArray(this.sourceData)) { + success.call(this); + return; + } + + //try parse json in single quotes (for double quotes jquery does automatically) + try { + source = $.fn.editableutils.tryParseJson(source, false); + } catch (e) { + error.call(this); + return; + } + + //loading from url + if (typeof source === 'string') { + //try to get sourceData from cache + if(this.options.sourceCache) { + var cacheID = source, + cache; + + if (!$(document).data(cacheID)) { + $(document).data(cacheID, {}); + } + cache = $(document).data(cacheID); + + //check for cached data + if (cache.loading === false && cache.sourceData) { //take source from cache + this.sourceData = cache.sourceData; + this.doPrepend(); + success.call(this); + return; + } else if (cache.loading === true) { //cache is loading, put callback in stack to be called later + cache.callbacks.push($.proxy(function () { + this.sourceData = cache.sourceData; + this.doPrepend(); + success.call(this); + }, this)); + + //also collecting error callbacks + cache.err_callbacks.push($.proxy(error, this)); + return; + } else { //no cache yet, activate it + cache.loading = true; + cache.callbacks = []; + cache.err_callbacks = []; + } + } + + //ajaxOptions for source. Can be overwritten bt options.sourceOptions + var ajaxOptions = $.extend({ + url: source, + type: 'get', + cache: false, + dataType: 'json', + success: $.proxy(function (data) { + if(cache) { + cache.loading = false; + } + this.sourceData = this.makeArray(data); + if($.isArray(this.sourceData)) { + if(cache) { + //store result in cache + cache.sourceData = this.sourceData; + //run success callbacks for other fields waiting for this source + $.each(cache.callbacks, function () { this.call(); }); + } + this.doPrepend(); + success.call(this); + } else { + error.call(this); + if(cache) { + //run error callbacks for other fields waiting for this source + $.each(cache.err_callbacks, function () { this.call(); }); + } + } + }, this), + error: $.proxy(function () { + error.call(this); + if(cache) { + cache.loading = false; + //run error callbacks for other fields + $.each(cache.err_callbacks, function () { this.call(); }); + } + }, this) + }, this.options.sourceOptions); + + //loading sourceData from server + $.ajax(ajaxOptions); + + } else { //options as json/array + this.sourceData = this.makeArray(source); + + if($.isArray(this.sourceData)) { + this.doPrepend(); + success.call(this); + } else { + error.call(this); + } + } + }, + + doPrepend: function () { + if(this.options.prepend === null || this.options.prepend === undefined) { + return; + } + + if(!$.isArray(this.prependData)) { + //run prepend if it is function (once) + if ($.isFunction(this.options.prepend)) { + this.options.prepend = this.options.prepend.call(this.options.scope); + } + + //try parse json in single quotes + this.options.prepend = $.fn.editableutils.tryParseJson(this.options.prepend, true); + + //convert prepend from string to object + if (typeof this.options.prepend === 'string') { + this.options.prepend = {'': this.options.prepend}; + } + + this.prependData = this.makeArray(this.options.prepend); + } + + if($.isArray(this.prependData) && $.isArray(this.sourceData)) { + this.sourceData = this.prependData.concat(this.sourceData); + } + }, + + /* + renders input list + */ + renderList: function() { + // this method should be overwritten in child class + }, + + /* + set element's html by value + */ + value2htmlFinal: function(value, element) { + // this method should be overwritten in child class + }, + + /** + * convert data to array suitable for sourceData, e.g. [{value: 1, text: 'abc'}, {...}] + */ + makeArray: function(data) { + var count, obj, result = [], item, iterateItem; + if(!data || typeof data === 'string') { + return null; + } + + if($.isArray(data)) { //array + /* + function to iterate inside item of array if item is object. + Caclulates count of keys in item and store in obj. + */ + iterateItem = function (k, v) { + obj = {value: k, text: v}; + if(count++ >= 2) { + return false;// exit from `each` if item has more than one key. + } + }; + + for(var i = 0; i < data.length; i++) { + item = data[i]; + if(typeof item === 'object') { + count = 0; //count of keys inside item + $.each(item, iterateItem); + //case: [{val1: 'text1'}, {val2: 'text2} ...] + if(count === 1) { + result.push(obj); + //case: [{value: 1, text: 'text1'}, {value: 2, text: 'text2'}, ...] + } else if(count > 1) { + //removed check of existance: item.hasOwnProperty('value') && item.hasOwnProperty('text') + if(item.children) { + item.children = this.makeArray(item.children); + } + result.push(item); + } + } else { + //case: ['text1', 'text2' ...] + result.push({value: item, text: item}); + } + } + } else { //case: {val1: 'text1', val2: 'text2, ...} + $.each(data, function (k, v) { + result.push({value: k, text: v}); + }); + } + return result; + }, + + option: function(key, value) { + this.options[key] = value; + if(key === 'source') { + this.sourceData = null; + } + if(key === 'prepend') { + this.prependData = null; + } + } + + }); + + List.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { + /** + Source data for list. + If **array** - it should be in format: `[{value: 1, text: "text1"}, {value: 2, text: "text2"}, ...]` + For compability, object format is also supported: `{"1": "text1", "2": "text2" ...}` but it does not guarantee elements order. + + If **string** - considered ajax url to load items. In that case results will be cached for fields with the same source and name. See also `sourceCache` option. + + If **function**, it should return data in format above (since 1.4.0). + + Since 1.4.1 key `children` supported to render OPTGROUP (for **select** input only). + `[{text: "group1", children: [{value: 1, text: "text1"}, {value: 2, text: "text2"}]}, ...]` + + + @property source + @type string | array | object | function + @default null + **/ + source: null, + /** + Data automatically prepended to the beginning of dropdown list. + + @property prepend + @type string | array | object | function + @default false + **/ + prepend: false, + /** + Error message when list cannot be loaded (e.g. ajax error) + + @property sourceError + @type string + @default Error when loading list + **/ + sourceError: 'Error when loading list', + /** + if true and source is **string url** - results will be cached for fields with the same source. + Usefull for editable column in grid to prevent extra requests. + + @property sourceCache + @type boolean + @default true + @since 1.2.0 + **/ + sourceCache: true, + /** + Additional ajax options to be used in $.ajax() when loading list from server. + Useful to send extra parameters (`data` key) or change request method (`type` key). + + @property sourceOptions + @type object|function + @default null + @since 1.5.0 + **/ + sourceOptions: null + }); + + $.fn.editabletypes.list = List; + +}(window.jQuery)); + +/** +Text input + +@class text +@extends abstractinput +@final +@example +awesome + +**/ +(function ($) { + "use strict"; + + var Text = function (options) { + this.init('text', options, Text.defaults); + }; + + $.fn.editableutils.inherit(Text, $.fn.editabletypes.abstractinput); + + $.extend(Text.prototype, { + render: function() { + this.renderClear(); + this.setClass(); + this.setAttr('placeholder'); + }, + + activate: function() { + if(this.$input.is(':visible')) { + this.$input.focus(); + $.fn.editableutils.setCursorPosition(this.$input.get(0), this.$input.val().length); + if(this.toggleClear) { + this.toggleClear(); + } + } + }, + + //render clear button + renderClear: function() { + if (this.options.clear) { + this.$clear = $(''); + this.$input.after(this.$clear) + .css('padding-right', 24) + .keyup($.proxy(function(e) { + //arrows, enter, tab, etc + if(~$.inArray(e.keyCode, [40,38,9,13,27])) { + return; + } + + clearTimeout(this.t); + var that = this; + this.t = setTimeout(function() { + that.toggleClear(e); + }, 100); + + }, this)) + .parent().css('position', 'relative'); + + this.$clear.click($.proxy(this.clear, this)); + } + }, + + postrender: function() { + /* + //now `clear` is positioned via css + if(this.$clear) { + //can position clear button only here, when form is shown and height can be calculated +// var h = this.$input.outerHeight(true) || 20, + var h = this.$clear.parent().height(), + delta = (h - this.$clear.height()) / 2; + + //this.$clear.css({bottom: delta, right: delta}); + } + */ + }, + + //show / hide clear button + toggleClear: function(e) { + if(!this.$clear) { + return; + } + + var len = this.$input.val().length, + visible = this.$clear.is(':visible'); + + if(len && !visible) { + this.$clear.show(); + } + + if(!len && visible) { + this.$clear.hide(); + } + }, + + clear: function() { + this.$clear.hide(); + this.$input.val('').focus(); + } + }); + + Text.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { + /** + @property tpl + @default + **/ + tpl: '', + /** + Placeholder attribute of input. Shown when input is empty. + + @property placeholder + @type string + @default null + **/ + placeholder: null, + + /** + Whether to show `clear` button + + @property clear + @type boolean + @default true + **/ + clear: true + }); + + $.fn.editabletypes.text = Text; + +}(window.jQuery)); + +/** +Textarea input + +@class textarea +@extends abstractinput +@final +@example +awesome comment! + +**/ +(function ($) { + "use strict"; + + var Textarea = function (options) { + this.init('textarea', options, Textarea.defaults); + }; + + $.fn.editableutils.inherit(Textarea, $.fn.editabletypes.abstractinput); + + $.extend(Textarea.prototype, { + render: function () { + this.setClass(); + this.setAttr('placeholder'); + this.setAttr('rows'); + + //ctrl + enter + this.$input.keydown(function (e) { + if (e.ctrlKey && e.which === 13) { + $(this).closest('form').submit(); + } + }); + }, + + //using `white-space: pre-wrap` solves \n <--> BR conversion very elegant! + /* + value2html: function(value, element) { + var html = '', lines; + if(value) { + lines = value.split("\n"); + for (var i = 0; i < lines.length; i++) { + lines[i] = $('
').text(lines[i]).html(); + } + html = lines.join('
'); + } + $(element).html(html); + }, + + html2value: function(html) { + if(!html) { + return ''; + } + + var regex = new RegExp(String.fromCharCode(10), 'g'); + var lines = html.split(//i); + for (var i = 0; i < lines.length; i++) { + var text = $('
').html(lines[i]).text(); + + // Remove newline characters (\n) to avoid them being converted by value2html() method + // thus adding extra
tags + text = text.replace(regex, ''); + + lines[i] = text; + } + return lines.join("\n"); + }, + */ + activate: function() { + $.fn.editabletypes.text.prototype.activate.call(this); + } + }); + + Textarea.defaults = $.extend({}, $.fn.editabletypes.abstractinput.defaults, { + /** + @property tpl + @default + **/ + tpl:'', + /** + @property inputclass + @default input-large + **/ + inputclass: 'input-large', + /** + Placeholder attribute of input. Shown when input is empty. + + @property placeholder + @type string + @default null + **/ + placeholder: null, + /** + Number of rows in textarea + + @property rows + @type integer + @default 7 + **/ + rows: 7 + }); + + $.fn.editabletypes.textarea = Textarea; + +}(window.jQuery)); + +/** +Select (dropdown) + +@class select +@extends list +@final +@example + + +**/ +(function ($) { + "use strict"; + + var Select = function (options) { + this.init('select', options, Select.defaults); + }; + + $.fn.editableutils.inherit(Select, $.fn.editabletypes.list); + + $.extend(Select.prototype, { + renderList: function() { + this.$input.empty(); + + var fillItems = function($el, data) { + var attr; + if($.isArray(data)) { + for(var i=0; i', attr), data[i].children)); + } else { + attr.value = data[i].value; + if(data[i].disabled) { + attr.disabled = true; + } + $el.append($('