Commit 0aa7939e by xin.yang

fix bug

parent 4f87d541
......@@ -177,7 +177,7 @@ SET FOREIGN_KEY_CHECKS = 0;
-- 工装类型维护
-- Table structure for siger_automation_fixture_tools_category
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools_category` (
CREATE TABLE IF NOT EXISTS `siger_automation_fixture_tools_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`guid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
......@@ -194,7 +194,7 @@ CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools_category` (
-- 工装台账信息
-- Table structure for siger_automation_fixture_tools
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools` (
CREATE TABLE IF NOT EXISTS `siger_automation_fixture_tools` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`guid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`category` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '工装类别siger_automation_fixture_tools_category.guid',
......@@ -219,7 +219,7 @@ CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools` (
-- 工装装配信息
-- Table structure for siger_automation_fixture_tools_assembly
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools_assembly` (
CREATE TABLE IF NOT EXISTS `siger_automation_fixture_tools_assembly` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`guid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`parent` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '父类工装GUID',
......@@ -238,7 +238,7 @@ CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools_assembly` (
-- 工装类型应产品
-- Table structure for siger_automation_fixture_tools_product
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools_product` (
CREATE TABLE IF NOT EXISTS `siger_automation_fixture_tools_product` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`guid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`fixturetools` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'siger_automation_fixture_tools.guid',
......@@ -258,7 +258,7 @@ CREATE TABLE IF NOT EXSIT `siger_automation_fixture_tools_product` (
-- 托盘台账列表
-- Table structure for siger_automation_tray
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_tray` (
CREATE TABLE IF NOT EXISTS `siger_automation_tray` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`locationid` int(11) NOT NULL DEFAULT 0 COMMENT '储位位置',
`fixturetools` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '工装GUID',
......@@ -277,7 +277,7 @@ CREATE TABLE IF NOT EXSIT `siger_automation_tray` (
-- 工位属性
-- Table structure for siger_automation_section_property
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_section_property` (
CREATE TABLE IF NOT EXISTS `siger_automation_section_property` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`guid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sectionid` int(11) NOT NULL DEFAULT 0 COMMENT '工位ID',
......@@ -296,7 +296,7 @@ CREATE TABLE IF NOT EXSIT `siger_automation_section_property` (
-- 自动线路径
-- Table structure for siger_automation_section_route
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_section_route` (
CREATE TABLE IF NOT EXISTS `siger_automation_section_route` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`guid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`sectionid` int(11) NOT NULL DEFAULT 0 COMMENT '产线',
......@@ -314,7 +314,7 @@ CREATE TABLE IF NOT EXSIT `siger_automation_section_route` (
-- 任务清单管理
-- Table structure for siger_automation_task_list
-- ----------------------------
CREATE TABLE IF NOT EXSIT `siger_automation_task_list` (
CREATE TABLE IF NOT EXISTS `siger_automation_task_list` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`guid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`sectionid` int(11) NOT NULL DEFAULT 0 COMMENT '工位ID',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment