Atitit.报名模块的管理
1.1. 统计报名数据
select count(*) as nums from wxb_order where good_id='83467583'
http://192.168.1.122:8080/wrmiServlet?iocx=nonex&searchText=&$method=com.attilax.dataService.DataService.exe&$callback=page_load_callback&$mod=userMod&$view_store_path=com/attilax/order&$op=q&$tb=select%20count(*)%20as%20nums%20from%20wxb_order%20where%20good_id%3D%2783467583%27&$tbtype=sq&$trigger000=com.attilax.dataService.meta_data_pars_from_txt_trigger&$trigtime=after&order_id=$uuid&good_id=83467583&user_id=$uid&$fldAppFun=%7B%7D
1.2. 存储
wxb_order
作者:: ★(attilax)>>> 绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 ) 汉字名:艾龙, EMAIL:1466519819@qq.com
转载请注明来源: http://blog.csdn.net/attilax
1.3. 报名
-- ----------------------------
DROP TABLE IF EXISTS `wxb_order`;
CREATE TABLE `wxb_order` (
`oid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`order_id` varchar(100) DEFAULT NULL COMMENT '订单编号',
`buyer_phone` varchar(20) DEFAULT NULL COMMENT '买家电话',
`good_id` varchar(10) DEFAULT NULL COMMENT '商品编号',
`order_time` datetime DEFAULT NULL COMMENT '下单时间',
`channel_id` varchar(10) DEFAULT NULL COMMENT '渠道编号',
`state` int(10) DEFAULT NULL COMMENT '状态',
`buy_num` int(11) DEFAULT NULL COMMENT '购买数量',
`province` varchar(30) DEFAULT NULL COMMENT '省份',
`city` varchar(30) DEFAULT NULL COMMENT '市',
`area` varchar(30) DEFAULT NULL COMMENT '地区',
`buyer_reamrk` varchar(200) DEFAULT NULL COMMENT '留言',
`pay_type` int(11) DEFAULT NULL COMMENT '支付方式',
`buyer_name` varchar(30) DEFAULT NULL COMMENT '买家姓名',
`sku_id` varchar(10) DEFAULT NULL COMMENT '选择的套餐',
`user_id` varchar(10) DEFAULT NULL COMMENT '代理用户',
`address` varchar(400) DEFAULT NULL COMMENT '详细地址',
`courier_id` varchar(40) DEFAULT NULL COMMENT '快递单号',
`order_remark` varchar(300) DEFAULT NULL COMMENT '备注信息',
`sender_type` varchar(20) DEFAULT NULL COMMENT '快递公司',
`order_type` int(11) DEFAULT '0' COMMENT '0 正常下单 1 代客录单 2 异常订单',
`admin_remark` varchar(200) DEFAULT NULL COMMENT '后台备注',
`operator` varchar(10) DEFAULT NULL COMMENT '审核人员',
`check_time` datetime DEFAULT NULL COMMENT '订单审核时间',
`order_ip` varchar(40) DEFAULT NULL COMMENT '下单IP',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
`stat` varchar(255) DEFAULT NULL,
`accept` int(11) DEFAULT NULL,
PRIMARY KEY (`oid`),
UNIQUE KEY `oid` (`oid`)
) ENGINE=InnoDB AUTO_INCREMENT=122 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of wxb_order
-- ----------------------------
INSERT INTO `wxb_order` VALUES ('104', '28605202', '13433223322', '13878976', '2015-06-29 13:00:19', '', '7', '1', '江苏省', '无锡市', '南长区', '', '10', 'fads', '86778459', '14452041', '阿斯顿发动发', '45234524254', '3425', 'shunfeng', '0', '', '', '0000-00-00 00:00:00', '117.21.219.72', '0000-00-00 00:00:00', null, null);
INSERT INTO `wxb_order` VALUES ('105', '59820182', '13824763294', '13878976', '2015-06-29 17:07:08', '', '1', '1', '天津市', '天津', '河北区', '', '10', '解决了', '86778459', '14452041', '了了了了了', '', '', '', '1', '', '', '0000-00-00 00:00:00', '218.65.212.156', '0000-00-00 00:00:00', null, null);
INSERT INTO `wxb_order` VALUES ('106', 'aaa', '', '', '0000-00-00 00:00:00', '', '0', '0', '', '', '', '', '0', '', '', '', '', '', '', '', '0', '', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', null, null);
INSERT INTO `wxb_order` VALUES ('119', '0301_152839_177', null, 'sq', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '0', null, null, null, null, null, null, null);
INSERT INTO `wxb_order` VALUES ('120', '0301_152839_178', null, '83467577', null, null, null, null, null, null, null, null, null, null, null, '63248302', null, null, null, null, '0', null, null, null, null, null, null, '0');
INSERT INTO `wxb_order` VALUES ('121', '0426_130833_046', '63248302', '83467577', null, null, null, null, null, null, null, null, null, null, null, '63248302', null, null, null, null, '0', null, null, null, null, null, null, '1');
1.4. 查看报名数据
xxx