calc_mileage.sql
2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
Navicat MySQL Data Transfer
Source Server : bsth
Source Server Version : 50612
Source Host : localhost:3306
Source Database : control
Target Server Type : MYSQL
Target Server Version : 50612
File Encoding : 65001
Date: 2017-08-22 10:51:38
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for calc_mileage
-- ----------------------------
DROP TABLE IF EXISTS `calc_mileage`;
CREATE TABLE `calc_mileage` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`company_id` int(11) DEFAULT NULL,
`sub_company_id` int(11) DEFAULT NULL,
`company_name` varchar(255) DEFAULT NULL,
`sub_company_name` varchar(255) DEFAULT NULL,
`line_code` varchar(255) DEFAULT NULL,
`line_name` varchar(255) DEFAULT NULL,
`zyygl` double DEFAULT NULL,
`sjyygl` double DEFAULT NULL,
`sjksgl` double DEFAULT NULL,
`sddfgl` double DEFAULT NULL,
`zddfgl` double DEFAULT NULL,
`wqwxhgl` double DEFAULT NULL,
`bfwxhgl` double DEFAULT NULL,
`pygl` double DEFAULT NULL,
`ljgl` double DEFAULT NULL,
`zrwgl` double DEFAULT NULL,
`other` varchar(255) DEFAULT NULL,
`rq` datetime DEFAULT NULL,
`remarks` varchar(255) DEFAULT NULL,
`create_date` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3232 DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `calc_schedule`;
CREATE TABLE `calc_schedule` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`company_id` int(11) DEFAULT NULL,
`sub_company_id` int(11) DEFAULT NULL,
`company_name` varchar(255) DEFAULT NULL,
`sub_company_name` varchar(255) DEFAULT NULL,
`line_code` varchar(255) DEFAULT NULL,
`line_name` varchar(255) DEFAULT NULL,
`zyybc` int(255) DEFAULT NULL,
`sjyybc` int(255) DEFAULT NULL,
`sjksbc` int(255) DEFAULT NULL,
`sddfbc` int(255) DEFAULT NULL,
`zddfbc` int(255) DEFAULT NULL,
`wqwxhbc` int(255) DEFAULT NULL,
`bfwxhbc` int(255) DEFAULT NULL,
`pybc` int(255) DEFAULT NULL,
`ljbc` int(255) DEFAULT NULL,
`zrwbc` int(255) DEFAULT NULL,
`other` varchar(255) DEFAULT NULL,
`rq` varchar(255) DEFAULT NULL,
`remarks` varchar(255) DEFAULT NULL,
`create_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3232 DEFAULT CHARSET=utf8;