Skip to content

Commit

Permalink
RAC-419 fix : 업데이트 쿼리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Aug 6, 2024
1 parent 6271150 commit daf2780
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class DoneMentoringRepository {
private final NamedParameterJdbcTemplate jdbcTemplate;
private static final int CHARGE = TermUnit.SHORT.getCharge();
private static final String UPDATE_MENTORING = "update mentoring set status = 'DONE', salary_id = :salaryId where mentoring_id = :mentoringId";
private static final String UPDATE_MENTORING = "update mentoring set status = 'DONE', salary_salary_id = :salaryId where mentoring_id = :mentoringId";
private static final String UPDATE_SALARY = "update salary set total_amount = total_amount + :amount where salary_id = :salaryId";

public void updateAllSalary(List<DoneMentoring> mentorings) {
Expand Down

0 comments on commit daf2780

Please sign in to comment.