Files
online_sys/frontend_财经商贸/safe_update.sh
KQL a7242f0c69 Initial commit: 教务系统在线平台
- 包含4个产业方向的前端项目:智能开发、智能制造、大健康、财经商贸
- 已清理node_modules、.yoyo等大文件,项目大小从2.6GB优化至631MB
- 配置完善的.gitignore文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-12 18:16:55 +08:00

52 lines
2.5 KiB
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 创建备份
cp src/mocks/resumeInterviewMock.js src/mocks/resumeInterviewMock.js.backup_before_final_update
# 会展策划师
sed -i '' '/position: "会展策划师"/,/实习单位:.*$/{
s/### 实习时间XXXX时间/### 实习时间2023.09-2023.11/
s/### (四)实习单位:某某公司/### (四)实习单位:深圳市华奥展览服务有限公司/
}' src/mocks/resumeInterviewMock.js
# 会展讲解员
sed -i '' '/position: "会展讲解员"/,/实习单位:.*$/{
s/### 实习时间XXXX时间/### 实习时间2023.09-2023.11/
s/### (四)实习单位:某某公司/### (四)实习单位:深圳市华奥展览服务有限公司/
}' src/mocks/resumeInterviewMock.js
# 会展执行助理
sed -i '' '/position: "会展执行助理"/,/实习单位:.*$/{
s/### (四)实习单位:某某公司/### (四)实习单位:深圳市华奥展览服务有限公司/
}' src/mocks/resumeInterviewMock.js
# 活动执行
sed -i '' '/position: "活动执行"/,/实习单位:.*$/{
s/### 实习时间XXXX时间/### 实习时间2024.04-2024.06/
s/### (四)实习单位:某某公司/### (四)实习单位:四川西行驿站文化传播有限公司/
}' src/mocks/resumeInterviewMock.js
# 活动策划师
sed -i '' '/position: "活动策划师"/,/实习单位:.*$/{
s/### 实习时间XXXX时间/### 实习时间2024.06-2024.07/
s/### (四)实习单位:某某公司/### (四)实习单位:浙江春风动力股份有限公司/
}' src/mocks/resumeInterviewMock.js
# 漫展策划师
sed -i '' '/position: "漫展策划师"/,/实习单位:.*$/{
s/### 实习时间XXXX时间/### 实习时间2023.10-2023.12/
s/### (四)实习单位:某某公司/### (四)实习单位:盐城东拓国际会展服务有限公司/
}' src/mocks/resumeInterviewMock.js
# 旅游规划师
sed -i '' '/position: "旅游规划师"/,/实习单位:.*$/{
s/### 实习时间XXXX时间/### 实习时间2024.05-2024.07/
s/### (四)实习单位:某某公司/### (四)实习单位:上海好拾光旅游咨询有限公司/
}' src/mocks/resumeInterviewMock.js
# 旅游计调专员
sed -i '' '/position: "旅游计调专员"/,/实习单位:.*$/{
s/### (四)实习单位:某某公司/### (四)实习单位:上海好拾光旅游咨询有限公司/
}' src/mocks/resumeInterviewMock.js
echo "✅ 所有岗位数据更新完成"