Fix all bad SQL Get commands

This commit is contained in:
2025-07-18 19:58:17 -07:00
parent 73ea2ac284
commit 81c30460e0
3 changed files with 12 additions and 12 deletions
@@ -45,7 +45,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Employee
(ID,AccountID,CompanyID)
VALUES
(@ID,@AccountID,@CompanyID);
(@ID,@AccountID,@CompanyID)
ON DUPLICATE KEY UPDATE
AccountID = @AccountID,
CompanyID = @CompanyID;
@@ -127,7 +127,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO JobListing
(ID,CompanyID,Title,PostalCode,Country,StateOrRegion,City,SalaryMin,SalaryMax,JobType,Remote,Description,CreatedTime,ModifiedTime,IsDeleted)
VALUES
(@ID,@CompanyID,@Title,@PostalCode,@Country,@StateOrRegion,@City,@SalaryMin,@SalaryMax,@JobType,@Remote,@Description,@CreatedTime,@ModifiedTime,@IsDeleted);
(@ID,@CompanyID,@Title,@PostalCode,@Country,@StateOrRegion,@City,@SalaryMin,@SalaryMax,@JobType,@Remote,@Description,@CreatedTime,@ModifiedTime,@IsDeleted)
ON DUPLICATE KEY UPDATE
CompanyID = @CompanyID,
Title = @Title,
@@ -9,7 +9,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,AccountID,Name,Field,Email,PhoneNumber,PostalCode,Country,StateOrRegion,City,IsActive)
VALUES
(@ID,@AccountID,@Name,@Field,@Email,@PhoneNumber,@PostalCode,@Country,@StateOrRegion,@City,@IsActive);
(@ID,@AccountID,@Name,@Field,@Email,@PhoneNumber,@PostalCode,@Country,@StateOrRegion,@City,@IsActive)
ON DUPLICATE KEY UPDATE
AccountID = @AccountID,
Name = @Name,
@@ -45,7 +45,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,ResumeExperienceID,JobFunction)
VALUES
(@ID,@ResumeID,@ResumeExperienceID,@JobFunction);
(@ID,@ResumeID,@ResumeExperienceID,@JobFunction)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
ResumeExperienceID = @ResumeExperienceID,
@@ -68,7 +68,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,JobTitle,Company,PostalCode,Country,StateOrRegion,City,DateStarted,StillEmployed,DateEnded)
VALUES
(@ID,@ResumeID,@JobTitle,@Company,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillEmployed,@DateEnded);
(@ID,@ResumeID,@JobTitle,@Company,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillEmployed,@DateEnded)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
JobTitle = @JobTitle,
@@ -102,7 +102,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,ResumeMilitaryID,Achievement)
VALUES
(@ID,@ResumeID,@ResumeMilitaryID,@Achievement);
(@ID,@ResumeID,@ResumeMilitaryID,@Achievement)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
ResumeMilitaryID = @ResumeMilitaryID,
@@ -126,7 +126,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,Country,Rank,DateStarted,StillServing,DateEnded)
VALUES
(@ID,@ResumeID,@Country,@Rank,@DateStarted,@StillServing,@DateEnded);
(@ID,@ResumeID,@Country,@Rank,@DateStarted,@StillServing,@DateEnded)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
Country = @Country,
@@ -154,7 +154,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,DegreeType,DegreeField,School,PostalCode,Country,StateOrRegion,City,DateStarted,StillStudying,DateEnded)
VALUES
(@ID,@ResumeID,@DegreeType,@DegreeField,@School,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillStudying,@DateEnded);
(@ID,@ResumeID,@DegreeType,@DegreeField,@School,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillStudying,@DateEnded)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
DegreeType = @DegreeType,
@@ -193,7 +193,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,Name,Description)
VALUES
(@ID,@ResumeID,@Name,@Description);
(@ID,@ResumeID,@Name,@Description)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
Name = @Name,
@@ -216,7 +216,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,Language,Proficiency)
VALUES
(@ID,@ResumeID,@Language,@Proficiency);
(@ID,@ResumeID,@Language,@Proficiency)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
Language = @Language,
@@ -239,7 +239,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,Name,VerificationURL,Description)
VALUES
(@ID,@ResumeID,@Name,@VerificationURL,@Description);
(@ID,@ResumeID,@Name,@VerificationURL,@Description)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
Name = @DegreeNameType,
@@ -264,7 +264,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Resume
(ID,ResumeID,Name,URL,Description)
VALUES
(@ID,@ResumeID,@Name,@URL,@Description);
(@ID,@ResumeID,@Name,@URL,@Description)
ON DUPLICATE KEY UPDATE
ResumeID = @ResumeID,
Name = @Name,