|
|
|
|
@ -18,10 +18,10 @@ SET NAMES utf8mb4; |
|
|
|
|
SET FOREIGN_KEY_CHECKS = 0; |
|
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
|
|
-- Table structure for biz_document_history |
|
|
|
|
-- Table structure for biz_do_history |
|
|
|
|
-- ---------------------------- |
|
|
|
|
DROP TABLE IF EXISTS `biz_document_history`; |
|
|
|
|
CREATE TABLE `biz_document_history` ( |
|
|
|
|
DROP TABLE IF EXISTS `biz_do_history`; |
|
|
|
|
CREATE TABLE `biz_do_history` ( |
|
|
|
|
`id` int(20) NOT NULL AUTO_INCREMENT COMMENT '单据状态变更记录表', |
|
|
|
|
`pid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '单据ID', |
|
|
|
|
`type` int(11) NOT NULL COMMENT '变更类型,0撤回,1提交,2通过,3驳回', |
|
|
|
|
@ -37,10 +37,10 @@ CREATE TABLE `biz_document_history` ( |
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 31 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; |
|
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
|
|
-- Records of biz_document_history |
|
|
|
|
-- Records of biz_do_history |
|
|
|
|
-- ---------------------------- |
|
|
|
|
INSERT INTO `biz_document_history` VALUES (29, 'CGDD202006190001', 1, 1, 'admin', 0, 1, 1592537930953, NULL); |
|
|
|
|
INSERT INTO `biz_document_history` VALUES (30, 'CGDD202006190001', 2, 1, 'admin', 1, 2, 1592537934419, NULL); |
|
|
|
|
INSERT INTO `biz_do_history` VALUES (29, 'CGDD202006190001', 1, 1, 'admin', 0, 1, 1592537930953, NULL); |
|
|
|
|
INSERT INTO `biz_do_history` VALUES (30, 'CGDD202006190001', 2, 1, 'admin', 1, 2, 1592537934419, NULL); |
|
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
|
|
-- Table structure for biz_purchase_inbound |
|
|
|
|
|