Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

포인트를 저장하는 부분에 적용여부를 확인하지 않는 문제 고침 #2348

Merged
2 commits merged into from
Dec 10, 2018
Merged

Commits on Dec 3, 2018

  1. Configuration menu
    Copy the full SHA
    535e6e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2018

  1. 불필요하게 포인트여부를 한번 더 디비 쿼리 하지않도록 함.

    보통 기존에 기록이 있을 경우 $current_point의 값이 0보다 이상이기 때문에 먼저 가져온 값을 이용하고 $current_point가 0 일 경우에만 insert를 먼저 실행하도록함.
    
    member_srl칼럼이 primary_key 이기 때문에 이미 디비상에서 존재할경우 insert가 되지 않기 때문에 다시 update를 실행하여 확실한 작동을 유도함. (이때 리턴을 시키지 않음)
    bjrambo committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    a915dbc View commit details
    Browse the repository at this point in the history