重庆二级库,配件管理数据库新增字段。
This commit is contained in:
parent
46a2fe9214
commit
8b2c222f10
|
|
@ -0,0 +1,22 @@
|
|||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1567, '我', NULL, '0', NULL, NULL, NULL, '1', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1568, '是', 1567, '0', NULL, NULL, NULL, '2', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1569, 'wcy', 1568, '0', NULL, '吨', '', '3', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1570, '1.0', NULL, '0', NULL, NULL, NULL, '1', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1571, '2.0', 1570, '0', NULL, NULL, NULL, '2', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1572, '3.0', 1571, '0', NULL, '吨', '', '3', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1573, '4.0', NULL, '0', NULL, NULL, NULL, '1', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1574, '5.0', 1573, '0', NULL, NULL, NULL, '2', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1575, '6.0', 1574, '0', NULL, '吨', '', '3', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1576, 'I ', NULL, '0', NULL, NULL, NULL, '1', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1577, 'am', 1576, '0', NULL, NULL, NULL, '2', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1578, 'w', 1577, '0', NULL, '吨', '', '3', NULL, '0', '1', '2024-07-25 15:51:08', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1579, '胡汉三', 1568, '0', '5', '吨', '2000', '3', NULL, '2', 'adminBns', '2024-07-25 15:52:13', 'adminBns', '2024-07-25 15:52:31', '闹麻了', NULL, NULL);
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1580, 'a', NULL, '0', NULL, NULL, NULL, '1', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1581, 's', 1580, '0', NULL, NULL, NULL, '2', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1582, 'd', 1581, '0', NULL, 'f', '', '3', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1583, 'q', NULL, '0', NULL, NULL, NULL, '1', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1584, 'e', 1583, '0', NULL, 'f', '', '3', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1585, 'z', NULL, '0', NULL, NULL, NULL, '1', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1586, 'x', 1585, '0', NULL, NULL, NULL, '2', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1587, 'c', 1586, '0', NULL, 'f', '', '3', NULL, '0', '1', '2024-07-25 16:12:26', '', NULL, NULL, NULL, '2024');
|
||||
INSERT INTO `ma_part_type`(`pa_id`, `pa_name`, `parent_id`, `status`, `num`, `unit_id`, `buy_price`, `level`, `warn_num`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `company_id`, `year`) VALUES (1588, '', NULL, '0', NULL, NULL, NULL, '1', NULL, '2', '1', '2024-07-25 16:15:40', '', NULL, NULL, NULL, '2024');
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
CREATE TABLE `receive_detail` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`type_id` int DEFAULT NULL COMMENT '类型名称',
|
||||
`out_num` int DEFAULT NULL COMMENT '出库数量',
|
||||
`pick_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '领料人员',
|
||||
`out_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '出库人员',
|
||||
`out_time` datetime DEFAULT NULL COMMENT '出库时间',
|
||||
`parent_id` int DEFAULT NULL COMMENT '出库父id',
|
||||
`type` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '1出库 2退库',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
Loading…
Reference in New Issue