test_work_study_data.sql 5.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. -- =====================================================
  2. -- 勤工俭学测试数据脚本 - 修正版
  3. -- 匹配当前数据库表结构
  4. -- 创建时间: 2025-01-03
  5. -- =====================================================
  6. -- 设置字符集
  7. SET NAMES utf8mb4;
  8. -- =====================================================
  9. -- 1. 插入测试岗位数据
  10. -- =====================================================
  11. -- 1.1 图书馆助理管理员岗位
  12. INSERT INTO `jcbt_work_study_position`
  13. (`id`, `position_name`, `position_scope`, `required_count`, `work_time`, `start_date`, `end_date`,
  14. `position_requirements`, `salary_info`, `contact_teacher`, `contact_phone`,
  15. `college_id`, `college_name`, `status`, `create_by`, `update_by`, `tenant_id`)
  16. VALUES
  17. (1736000000000000001, '图书馆助理管理员', 'UNIVERSITY', 5, '周一至周五 14:00-17:00,每天3小时', '2025-01-03', '2025-06-30',
  18. '1. 大二及以上年级\n2. 学习成绩良好\n3. 责任心强,工作认真\n4. 熟悉图书分类和管理',
  19. '15元/小时', '张老师', '13800138001',
  20. 1001, '文学院', 'RECRUITING', 1, 1, '000000');
  21. -- 1.2 实验室设备维护岗位
  22. INSERT INTO `jcbt_work_study_position`
  23. (`id`, `position_name`, `position_scope`, `required_count`, `work_time`, `start_date`, `end_date`,
  24. `position_requirements`, `salary_info`, `contact_teacher`, `contact_phone`,
  25. `college_id`, `college_name`, `status`, `create_by`, `update_by`, `tenant_id`)
  26. VALUES
  27. (1736000000000000002, '实验室设备维护', 'COLLEGE', 2, '周三、周五 16:00-18:00,每次2小时', '2025-01-03', '2025-05-31',
  28. '1. 理工科专业学生\n2. 有基础的设备维护经验\n3. 动手能力强\n4. 能吃苦耐劳',
  29. '18元/小时', '李老师', '13800138002',
  30. 1002, '理学院', 'RECRUITING', 1, 1, '000000');
  31. -- 1.3 学生宿舍管理助理岗位
  32. INSERT INTO `jcbt_work_study_position`
  33. (`id`, `position_name`, `position_scope`, `required_count`, `work_time`, `start_date`, `end_date`,
  34. `position_requirements`, `salary_info`, `contact_teacher`, `contact_phone`,
  35. `college_id`, `college_name`, `status`, `create_by`, `update_by`, `tenant_id`)
  36. VALUES
  37. (1736000000000000003, '学生宿舍管理助理', 'UNIVERSITY', 3, '周一至周日轮班,每次4小时', '2025-01-03', '2025-07-31',
  38. '1. 品行端正,无违纪记录\n2. 沟通能力强\n3. 能适应轮班工作\n4. 有服务意识',
  39. '12元/小时,夜班补贴3元/小时', '王老师', '13800138003',
  40. 1003, '学生处', 'RECRUITING', 1, 1, '000000');
  41. -- =====================================================
  42. -- 2. 插入测试申请数据
  43. -- =====================================================
  44. -- 2.1 张三的申请
  45. INSERT INTO `jcbt_work_study_application`
  46. (`id`, `position_id`, `position_name`, `position_type`, `work_location`, `planned_work_hours`,
  47. `student_id`, `student_name`, `student_number`, `college_id`, `college_name`, `major_id`, `major_name`,
  48. `grade`, `class_name`, `contact_phone`, `family_financial_status`, `application_reason`,
  49. `personal_ability`, `time_arrangement`, `status`, `application_date`, `create_by`, `update_by`, `tenant_id`)
  50. VALUES
  51. (1736100000000000001, 1736000000000000001, '图书馆助理管理员', 'TEACHING_ASSISTANT', '图书馆', 15,
  52. 2000001, '张三', '2023001001', 1001, '文学院', 2001, '汉语言文学', '2', '汉语言文学2023-1班',
  53. '13900139001', 'DIFFICULT', '家庭经济困难,希望通过勤工俭学减轻家庭负担,同时锻炼自己的工作能力。',
  54. '有图书管理相关经验,熟悉图书分类方法,责任心强,工作细致认真。',
  55. '周一至周五下午14:00-17:00有空,时间安排合理,不会影响学习。',
  56. 'SUBMITTED', '2025-01-03 10:00:00', 1, 1, '000000');
  57. -- 2.2 李四的申请
  58. INSERT INTO `jcbt_work_study_application`
  59. (`id`, `position_id`, `position_name`, `position_type`, `work_location`, `planned_work_hours`,
  60. `student_id`, `student_name`, `student_number`, `college_id`, `college_name`, `major_id`, `major_name`,
  61. `grade`, `class_name`, `contact_phone`, `family_financial_status`, `application_reason`,
  62. `personal_ability`, `time_arrangement`, `status`, `application_date`, `create_by`, `update_by`, `tenant_id`)
  63. VALUES
  64. (1736100000000000002, 1736000000000000002, '实验室设备维护', 'LOGISTICS', '物理实验室', 8,
  65. 2000002, '李四', '2023002001', 1002, '理学院', 2002, '应用物理学', '3', '应用物理学2021-1班',
  66. '13900139002', 'AVERAGE', '希望通过实验室工作积累实践经验,为将来就业做准备。',
  67. '理工科背景,具备基本的物理实验操作能力,对设备维护有浓厚兴趣。',
  68. '周三、周五下午时间充足,能保证工作时间,不影响专业课学习。',
  69. 'COLLEGE_PASSED', '2025-01-03 11:30:00', 1, 1, '000000');
  70. -- 2.3 王五的申请
  71. INSERT INTO `jcbt_work_study_application`
  72. (`id`, `position_id`, `position_name`, `position_type`, `work_location`, `planned_work_hours`,
  73. `student_id`, `student_name`, `student_number`, `college_id`, `college_name`, `major_id`, `major_name`,
  74. `grade`, `class_name`, `contact_phone`, `family_financial_status`, `application_reason`,
  75. `personal_ability`, `time_arrangement`, `status`, `application_date`,
  76. `college_review_status`, `college_review_time`, `college_reviewer_name`, `college_review_comment`,
  77. `create_by`, `update_by`, `tenant_id`)
  78. VALUES
  79. (1736100000000000003, 1736000000000000003, '学生宿舍管理助理', 'SERVICE', '学生宿舍区', 20,
  80. 2000003, '王五', '2023003001', 1003, '管理学院', 2003, '工商管理', '2', '工商管理2023-2班',
  81. '13900139003', 'GOOD', '希望通过宿舍管理工作提升组织协调能力和服务意识。',
  82. '性格开朗,沟通能力强,有学生干部经验,能够胜任宿舍管理工作。',
  83. '时间灵活,能够适应轮班制度,周末和晚上都有时间。',
  84. 'APPROVED', '2025-01-03 09:15:00',
  85. 'APPROVED', '2025-01-03 15:30:00', '赵老师', '学生综合素质优秀,适合宿舍管理工作。',
  86. 1, 1, '000000');