Checking STRUCTURE phase 2
ALTER TABLE stock_supplier ADD `supplier_note` VARCHAR(100) NULL
ALTER TABLE stock_supplier ADD `supplier_tax` CHAR(1) NULL
ALTER TABLE stock_supplier ADD `supplier_contact_Lasttime` TIME NULL
ALTER TABLE stock_supplier ADD `supplier_contact_LastDate` DATE NULL
ALTER TABLE stock_supplier ADD `supplier_pay_Lastttime` TIME NULL
ALTER TABLE stock_supplier ADD `supplier_pay_LastDate` DATE NULL
ALTER TABLE stock_supplier ADD `supplier_pay_year` DOUBLE(15,3) NULL
ALTER TABLE stock_supplier ADD `supplier_pay_month` DOUBLE(15,3) NULL
ALTER TABLE stock_supplier ADD `supplier_purchase_year` DOUBLE(15,3) NULL
ALTER TABLE stock_supplier ADD `supplier_purchase_month` DOUBLE(15,3) NULL
ALTER TABLE stock_supplier ADD `supplier_remain` DOUBLE(15,3) NULL
ALTER TABLE stock_supplier ADD `supplier_balance` DOUBLE(15,3) NULL
ALTER TABLE stock_supplier ADD `supplier_discount` INT NULL
ALTER TABLE stock_supplier ADD `supplier_credit` INT NULL
ALTER TABLE stock_return_stock_item ADD `return_stock_item_expire` DATE NULL
ALTER TABLE stock_return_stock_item ADD `return_stock_item_lotno` VARCHAR(50) NULL
ALTER TABLE stock_return_stock_item ADD `return_stock_total_price` DOUBLE(15,3) NULL
ALTER TABLE stock_return_stock_item ADD `return_stock_item_unit` VARCHAR(50) NULL
ALTER TABLE stock_return_stock_item ADD `return_stock_unit_price` DOUBLE(15,3) NULL
ALTER TABLE stock_return_stock_item ADD `return_stock_item_qty` INT NULL
ALTER TABLE stock_return_stock_item ADD `item_id` INT NULL
ALTER TABLE stock_return_stock_item ADD `return_stock_id` INT NOT NULL
ALTER TABLE stock_return_stock ADD `depcode` CHAR(3) NULL
ALTER TABLE stock_return_stock ADD `cancel_reason` VARCHAR(100) NULL
ALTER TABLE stock_return_stock ADD `cancel_confirm` CHAR(1) NULL
ALTER TABLE stock_return_stock ADD `warehouse_id` INT NULL
ALTER TABLE stock_return_stock ADD `return_stock_date` DATE NULL
ALTER TABLE stock_return_stock ADD `return_stock_no` VARCHAR(50) NULL
ALTER TABLE stock_request_list ADD `request_date` DATE NULL
ALTER TABLE stock_request_list ADD `department_id` INT NULL
ALTER TABLE stock_po_detail ADD `po_detail_cancel` CHAR(1) NULL
ALTER TABLE stock_po ADD `cancel_reason` VARCHAR(100) NULL
ALTER TABLE stock_po ADD `po_cancel` CHAR(1) NULL
ALTER TABLE stock_po ADD `deliver_cancel` CHAR(1) NULL
ALTER TABLE stock_item_list ADD `item_list_status` CHAR(1) NULL
ALTER TABLE stock_draw_list ADD `stock_draw_unitcost` DOUBLE(15,5) NULL
ALTER TABLE stock_draw_list ADD `stock_draw_price` DOUBLE(15,3) NULL
ALTER TABLE stock_deliver ADD `cancel_confirm` CHAR(1) NULL
ALTER TABLE stock_deliver ADD `cancel_reason` VARCHAR(100) NULL
ALTER TABLE stock_cutpay_item ADD `cutpay_qty` INT NULL
ALTER TABLE stock_cutpay_item ADD `item_list_id` INT NULL
ALTER TABLE stock_cutpay_item ADD `cutpay_id` INT NOT NULL
ALTER TABLE stock_cutpay ADD `warehouse_id` INT NULL
ALTER TABLE stock_cutpay ADD `total_price` DOUBLE(15,3) NULL
ALTER TABLE stock_cutpay ADD `item_count` INT NULL
ALTER TABLE stock_cutpay ADD `cutpay_officer_name` VARCHAR(100) NULL
ALTER TABLE stock_cutpay ADD `department_id` INT NULL
ALTER TABLE stock_cutpay ADD `cutpay_no` VARCHAR(50) NULL
ALTER TABLE stock_cutpay ADD `cutpay_date` DATE NULL
ALTER TABLE stock_borrow_item ADD `borrow_item_expire` DATE NULL
ALTER TABLE stock_borrow_item ADD `borrow_item_lotno` VARCHAR(50) NULL
ALTER TABLE stock_borrow_item ADD `borrow_total_price` DOUBLE(15,3) NULL
ALTER TABLE stock_borrow_item ADD `borrow_item_unit` VARCHAR(50) NULL
ALTER TABLE stock_borrow_item ADD `borrow_unit_price` DOUBLE(15,3) NULL
ALTER TABLE stock_borrow_item ADD `borrow_item_status` CHAR(1) NULL
ALTER TABLE stock_borrow ADD `stock_borrow_status` CHAR(1) NULL
ALTER TABLE operation_specimen_type ADD `price` DOUBLE(15,3) NULL
ALTER TABLE operation_specimen_type ADD `icode` VARCHAR(7) NULL
ALTER TABLE operation_specimen_type ADD `operation_specimen_type_name` VARCHAR(150) NOT NULL
ALTER TABLE operation_specimen ADD `icode` VARCHAR(7) NULL
ALTER TABLE operation_specimen ADD `total_price` DOUBLE(15,3) NULL
ALTER TABLE operation_specimen ADD `opi_guid` VARCHAR(38) NULL
ALTER TABLE operation_specimen ADD `price` DOUBLE(15,3) NULL
ALTER TABLE operation_specimen ADD `qty` INT NOT NULL
ALTER TABLE operation_specimen ADD `operation_specimen_type_id` INT NOT NULL
ALTER TABLE operation_specimen ADD `operation_id` INT NOT NULL
ALTER TABLE operation_detail ADD `icode` VARCHAR(7) NULL
ALTER TABLE operation_detail ADD `patient_position` VARCHAR(50) NULL
ALTER TABLE doctor_fee_list ADD `staff` VARCHAR(25) NULL
CREATE TABLE stock_return_stock_item ( `return_stock_item_id` INT NOT NULL )
CREATE TABLE stock_return_stock ( `return_stock_id` INT NOT NULL )
CREATE TABLE stock_cutpay_item ( `cutpay_item_id` INT NOT NULL )
CREATE TABLE stock_cutpay ( `cutpay_id` INT NOT NULL )
CREATE TABLE operation_specimen_type ( `operation_specimen_type_id` INT NOT NULL )
CREATE TABLE operation_specimen ( `operation_specimen_id` INT NOT NULL )
Checking STRUCTURE phase 1