mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-11 18:09:50 +08:00
fix when choose "应届生" in "工作经验", every job is marked as not suit
This commit is contained in:
@@ -108,7 +108,18 @@ const isSalaryFilterEnabled = expectSalaryLow || expectSalaryHigh
|
||||
const strategyScopeOptionWhenMarkSalaryNotMatch = readConfigFile('boss.json').strategyScopeOptionWhenMarkSalaryNotMatch ?? StrategyScopeOptionWhenMarkJobNotMatch.ONLY_COMPANY_MATCHED_JOB
|
||||
|
||||
// work exp
|
||||
const expectWorkExpList = readConfigFile('boss.json').expectWorkExpList ?? []
|
||||
let expectWorkExpList = readConfigFile('boss.json').expectWorkExpList ?? []
|
||||
const expectWorkExpListSet = new Set(expectWorkExpList)
|
||||
if (
|
||||
expectWorkExpListSet.has('应届生') ||
|
||||
expectWorkExpListSet.has('在校生')
|
||||
) {
|
||||
expectWorkExpListSet.delete('应届生')
|
||||
expectWorkExpListSet.delete('在校生')
|
||||
expectWorkExpListSet.add('在校/应届')
|
||||
}
|
||||
expectWorkExpList = Array.from(expectWorkExpListSet)
|
||||
|
||||
const expectWorkExpNotMatchStrategy = readConfigFile('boss.json').expectWorkExpNotMatchStrategy ?? MarkAsNotSuitOp.NO_OP
|
||||
const strategyScopeOptionWhenMarkJobWorkExpNotMatch = readConfigFile('boss.json').strategyScopeOptionWhenMarkJobWorkExpNotMatch ?? StrategyScopeOptionWhenMarkJobNotMatch.ONLY_COMPANY_MATCHED_JOB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user