revised_report.sql 2.24 KB
/*
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;