重庆机具二级库、配件管理页面数据库修改
This commit is contained in:
parent
8b2c222f10
commit
6942e455cc
|
|
@ -1,22 +1,6 @@
|
|||
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');
|
||||
/*
|
||||
任务:重庆配件管理,为数据库添加年份字段方便筛选年份
|
||||
*/
|
||||
|
||||
ALTER TABLE ma_part_type
|
||||
ADD COLUMN year VARCHAR(10) DEFAULT NULL COMMENT '框架年份';
|
||||
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
任务:重庆二级库模块 新增整个数据库
|
||||
*/
|
||||
|
||||
CREATE TABLE `receive_detail` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`type_id` int DEFAULT NULL COMMENT '类型名称',
|
||||
|
|
|
|||
Loading…
Reference in New Issue