fix:1.排查优化
This commit is contained in:
@@ -20,46 +20,46 @@ WHERE point_code IN (
|
||||
INSERT INTO lms_shafttubeivt
|
||||
(ivt_id, point_code, point_name, qzz_size, qzz_generation, tube_code, tube_name,
|
||||
container_name, point_type, point_location, have_qzz, is_used, sort_seq,
|
||||
plan, parent_code, lock_status, creator, create_name, updater, update_optname,
|
||||
plan, parent_code, lock_status, creator, updater,
|
||||
create_time, update_time, deleted)
|
||||
VALUES
|
||||
(99090701, 'AS_TC01', '套轴管芯缓存', '6',
|
||||
@test_air_shaft_code, @test_tube_code, '自动套轴测试纸管', NULL, '4',
|
||||
'TEST', '0', '1', 0, @test_plan, NULL, '0',
|
||||
1, '管理员', 1, '管理员', NOW(), NOW(), '0');
|
||||
1, 1, NOW(), NOW(), '0');
|
||||
|
||||
-- 套管管芯目标位:point_type=2,规划区域必须与管芯缓存位一致,库存必须为空。
|
||||
INSERT INTO lms_shafttubeivt
|
||||
(ivt_id, point_code, point_name, qzz_size, qzz_generation, tube_code, tube_name,
|
||||
container_name, point_type, point_location, have_qzz, is_used, sort_seq,
|
||||
plan, parent_code, lock_status, creator, create_name, updater, update_optname,
|
||||
plan, parent_code, lock_status, creator, updater,
|
||||
create_time, update_time, deleted)
|
||||
VALUES
|
||||
(99090702, 'AS_TT01', '套轴管芯位', NULL,
|
||||
NULL, NULL, NULL, NULL, '2', 'TEST', '0', '1', 0,
|
||||
@test_plan, NULL, '0', 1, '管理员', 1, '管理员', NOW(), NOW(), '0');
|
||||
@test_plan, NULL, '0', 1, 1, NOW(), NOW(), '0');
|
||||
|
||||
-- 气涨轴缓存位:point_type=3,气涨轴编码必须与管芯缓存位的 qzz_generation 一致。
|
||||
INSERT INTO lms_shafttubeivt
|
||||
(ivt_id, point_code, point_name, qzz_size, qzz_generation, tube_code, tube_name,
|
||||
container_name, point_type, point_location, have_qzz, is_used, sort_seq,
|
||||
plan, parent_code, lock_status, creator, create_name, updater, update_optname,
|
||||
plan, parent_code, lock_status, creator, updater,
|
||||
create_time, update_time, deleted)
|
||||
VALUES
|
||||
(99090703, 'AS_SC01', '套轴气涨轴缓存', '6',
|
||||
@test_air_shaft_code, NULL, NULL, NULL, '3', 'TEST', '1', '1',
|
||||
0, @test_plan, NULL, '0', 1, '管理员', 1, '管理员', NOW(), NOW(), '0');
|
||||
0, @test_plan, NULL, '0', 1, 1, NOW(), NOW(), '0');
|
||||
|
||||
-- 套管气涨轴目标位:point_type=7,规划区域必须与管芯缓存位一致,库存必须为空。
|
||||
INSERT INTO lms_shafttubeivt
|
||||
(ivt_id, point_code, point_name, qzz_size, qzz_generation, tube_code, tube_name,
|
||||
container_name, point_type, point_location, have_qzz, is_used, sort_seq,
|
||||
plan, parent_code, lock_status, creator, create_name, updater, update_optname,
|
||||
plan, parent_code, lock_status, creator, updater,
|
||||
create_time, update_time, deleted)
|
||||
VALUES
|
||||
(99090704, 'AS_ST01', '套轴气涨轴位', NULL,
|
||||
NULL, NULL, NULL, NULL, '7', 'TEST', '0', '1', 0,
|
||||
@test_plan, NULL, '0', 1, '管理员', 1, '管理员', NOW(), NOW(), '0');
|
||||
@test_plan, NULL, '0', 1, 1, NOW(), NOW(), '0');
|
||||
|
||||
-- 调用接口前检查:四条记录的 lock_status 都应为 0。
|
||||
SELECT ivt_id, point_code, point_type, qzz_size, qzz_generation, tube_code,
|
||||
|
||||
Reference in New Issue
Block a user