Skip to content

Commit da87ed1

Browse files
committed
fix bug RecruitmentRepository insertIgnore func
1 parent 95a59cf commit da87ed1

2 files changed

Lines changed: 14 additions & 16 deletions

File tree

.idea/workspace.xml

Lines changed: 12 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/phantoms/phantomsbackend/repository/primary/RecruitmentRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public interface RecruitmentRepository extends JpaRepository<Recruitment, Long>,
2121
"VALUES (:#{#recruitment.id}, :#{#recruitment.name}, :#{#recruitment.description}, " +
2222
":#{#recruitment.createdWorld}, :#{#recruitment.createdWorldId}, :#{#recruitment.homeWorld}, " +
2323
":#{#recruitment.homeWorldId}, :#{#recruitment.category}, :#{#recruitment.categoryId}, " +
24-
":#{#recruitment.duty}, :{#recruitment.minItemLevel}, :#{#recruitment.slotsFilled}, " +
24+
":#{#recruitment.duty}, :#{#recruitment.minItemLevel}, :#{#recruitment.slotsFilled}, " +
2525
":#{#recruitment.slotsAvailable}, :#{#recruitment.timeLeft}, :#{#recruitment.updatedAt}, " +
26-
":#{#recruitment.crossWorld}, :#{#recruitment.datacenter}) " +
26+
":#{#recruitment.isCrossWorld}, :#{#recruitment.datacenter}) " +
2727
"ON CONFLICT (id) DO NOTHING",
2828
nativeQuery = true)
2929
void insertIgnore(@Param("recruitment") Recruitment recruitment);

0 commit comments

Comments
 (0)