fix typo of salary high and scale high in db

This commit is contained in:
geekgeekrun
2024-04-05 17:57:26 +08:00
parent 0f7d0be266
commit f4427d841a
7 changed files with 10 additions and 10 deletions

View File

@@ -100,7 +100,7 @@ export default class SqlitePlugin {
company.stageName = brandComInfo.stageName;
const companyScale = parseCompanyScale(brandComInfo.scaleName)
company.scaleLow = companyScale[0]
company.scaleHeight = companyScale[1]
company.scaleHigh = companyScale[1]
const companyInfoRepository = ds.getRepository(CompanyInfo);
await companyInfoRepository.save(company);
@@ -119,7 +119,7 @@ export default class SqlitePlugin {
jobName: jobInfo.jobName,
positionName: jobInfo.positionName,
experienceName: jobInfo.experienceName,
salaryHeight: jobSalary.heigh,
salaryHigh: jobSalary.high,
salaryLow: jobSalary.low,
salaryMonth: jobSalary.month,
};