87 lines
3.9 KiB
SQL
87 lines
3.9 KiB
SQL
-- ==========================================
|
|
-- 班主任考核提交功能必要数据
|
|
-- 功能:插入班主任考核提交功能所需的考核指标数据
|
|
-- 作者:系统开发
|
|
-- 时间:2025-01-27
|
|
-- ==========================================
|
|
|
|
-- 插入必要的考核指标数据
|
|
-- 注意:这些指标是班主任考核提交功能必需的,请确保在数据库中存在
|
|
|
|
-- 1. 班级扣分指标
|
|
INSERT INTO `bmzr_assessment_indicator` (
|
|
`id`, `tenant_id`, `indicator_name`, `indicator_code`, `indicator_type`,
|
|
`parent_id`, `sort_order`, `weight_ratio`, `max_score`, `score`,
|
|
`allow_self_evaluation`, `allow_superior_evaluation`, `status`, `remark`,
|
|
`create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `deleted`
|
|
) VALUES (
|
|
1882452817132150786, '000000', '班级扣分', 'bzrwjkf001', 'routine',
|
|
0, 1, 1.0000, 50.00, 50.00,
|
|
'1', '1', '0', '班级管理实效评分指标',
|
|
103, 1, NOW(), 1, NOW(), 0
|
|
) ON DUPLICATE KEY UPDATE
|
|
indicator_name = VALUES(indicator_name),
|
|
update_time = NOW();
|
|
|
|
-- 2. 及时并妥善处理好学生违纪事件
|
|
INSERT INTO `bmzr_assessment_indicator` (
|
|
`id`, `tenant_id`, `indicator_name`, `indicator_code`, `indicator_type`,
|
|
`parent_id`, `sort_order`, `weight_ratio`, `max_score`, `score`,
|
|
`allow_self_evaluation`, `allow_superior_evaluation`, `status`, `remark`,
|
|
`create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `deleted`
|
|
) VALUES (
|
|
1882452817132150787, '000000', '及时并妥善处理好学生违纪事件', 'bzrtsgz001', 'special',
|
|
0, 1, 1.0000, 20.00, 20.00,
|
|
'1', '1', '0', '特色工作评分指标',
|
|
103, 1, NOW(), 1, NOW(), 0
|
|
) ON DUPLICATE KEY UPDATE
|
|
indicator_name = VALUES(indicator_name),
|
|
update_time = NOW();
|
|
|
|
-- 3. 班级活动获奖情况
|
|
INSERT INTO `bmzr_assessment_indicator` (
|
|
`id`, `tenant_id`, `indicator_name`, `indicator_code`, `indicator_type`,
|
|
`parent_id`, `sort_order`, `weight_ratio`, `max_score`, `score`,
|
|
`allow_self_evaluation`, `allow_superior_evaluation`, `status`, `remark`,
|
|
`create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `deleted`
|
|
) VALUES (
|
|
1882452817132150788, '000000', '班级活动获奖情况', 'bzrtsgz002', 'special',
|
|
0, 2, 1.0000, 20.00, 20.00,
|
|
'1', '1', '0', '特色工作评分指标',
|
|
103, 1, NOW(), 1, NOW(), 0
|
|
) ON DUPLICATE KEY UPDATE
|
|
indicator_name = VALUES(indicator_name),
|
|
update_time = NOW();
|
|
|
|
-- 4. 班级宣传工作有特色
|
|
INSERT INTO `bmzr_assessment_indicator` (
|
|
`id`, `tenant_id`, `indicator_name`, `indicator_code`, `indicator_type`,
|
|
`parent_id`, `sort_order`, `weight_ratio`, `max_score`, `score`,
|
|
`allow_self_evaluation`, `allow_superior_evaluation`, `status`, `remark`,
|
|
`create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `deleted`
|
|
) VALUES (
|
|
1882452817132150789, '000000', '班级宣传工作有特色', 'bzrtsgz003', 'special',
|
|
0, 3, 1.0000, 20.00, 20.00,
|
|
'1', '1', '0', '特色工作评分指标',
|
|
103, 1, NOW(), 1, NOW(), 0
|
|
) ON DUPLICATE KEY UPDATE
|
|
indicator_name = VALUES(indicator_name),
|
|
update_time = NOW();
|
|
|
|
-- 5. 其他特色工作
|
|
INSERT INTO `bmzr_assessment_indicator` (
|
|
`id`, `tenant_id`, `indicator_name`, `indicator_code`, `indicator_type`,
|
|
`parent_id`, `sort_order`, `weight_ratio`, `max_score`, `score`,
|
|
`allow_self_evaluation`, `allow_superior_evaluation`, `status`, `remark`,
|
|
`create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `deleted`
|
|
) VALUES (
|
|
1882452817132150790, '000000', '其他', 'bzrtsgz004', 'special',
|
|
0, 4, 1.0000, 20.00, 20.00,
|
|
'1', '1', '0', '特色工作评分指标',
|
|
103, 1, NOW(), 1, NOW(), 0
|
|
) ON DUPLICATE KEY UPDATE
|
|
indicator_name = VALUES(indicator_name),
|
|
update_time = NOW();
|
|
|
|
-- 创建完成提示
|
|
SELECT '班主任考核提交功能必要数据插入完成!' AS result; |