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

Api: ๐Ÿ› ์นดํ…Œ๊ณ ๋ฆฌ ๋ณ„ ์†Œ๋น„ ๋‚ด์—ญ ๋ฆฌ์ŠคํŠธ ์กฐํšŒ ์ •๋ ฌ ์กฐ๊ฑด ์ˆ˜์ • #157

Merged
merged 18 commits into from
Aug 22, 2024

Conversation

psychology50
Copy link
Member

์ž‘์—… ์ด์œ 

  • spendAt ๊ธฐ์ค€์œผ๋กœ๋งŒ ์ •๋ ฌ ์กฐ๊ฑด์„ ์ˆ˜ํ–‰ํ•˜์—ฌ, ๊ฐ™์€ ์†Œ๋น„ ๋‚ ์งœ ๋‚ด ๋ฐ์ดํ„ฐ ์ˆœ์„œ๊ฐ€ ๋’ค์„ž์ด๋Š” ๋ฌธ์ œ ๋ฐœ์ƒ

์ž‘์—… ์‚ฌํ•ญ

  • ๋‘ ๋ฒˆ์งธ ์ •๋ ฌ ์กฐ๊ฑด์œผ๋กœ id๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ์˜ค๋ฅ˜ ๊ฐœ์„ 
  • ์š”์ฒญ: ?spending.spendAt,DESC&sort=spending.id,ASC
  • ์‹ค์ œ ์ฟผ๋ฆฌ
    select s1_0.id,s1_0.account_name,s1_0.amount,s1_0.category,s1_0.created_at,s1_0.deleted_at,s1_0.memo,s1_0.spend_at,s1_0.spending_c   
    ustom_category_id,s1_0.updated_at,s1_0.user_id 
    from spending s1_0 
    where (s1_0.deleted_at IS NULL) 
    and s1_0.user_id=? and s1_0.category=? 
    order by s1_0.spend_at desc,s1_0.id 
    limit ?,?

๋ฆฌ๋ทฐ์–ด๊ฐ€ ์ค‘์ ์ ์œผ๋กœ ํ™•์ธํ•ด์•ผ ํ•˜๋Š” ๋ถ€๋ถ„

  • ์—†์Œ

๋ฐœ๊ฒฌํ•œ ์ด์Šˆ

  • iOS ํŒ€์—์„œ ๋‹ค๋ฅธ ํŽ˜์ด์ง€์—์„œ ๊ฐ™์€ pk์˜ ๋ฐ์ดํ„ฐ๊ฐ€ ๋ฐ˜ํ™˜๋˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค๋Š”๋ฐ, ์žฌํ˜„์ด ๋ถˆ๊ฐ€. ์•„๋งˆ๋„ id ์ •๋ ฌ ์กฐ๊ฑด์„ ์ •ํ•˜์ง€ ์•Š์•„์„œ ๋ฐœ์ƒํ•œ ๋ฌธ์ œ๋ผ๊ณ  ์ถ”์ธก

@psychology50 psychology50 added bug ๊ธด๊ธ‰ํ•˜๊ณ , ์ค‘์š”๋„๊ฐ€ ๋†’์€ ์ด์Šˆ fix ๊ธฐ๋Šฅ ์ˆ˜์ • labels Aug 22, 2024
@psychology50 psychology50 self-assigned this Aug 22, 2024
@psychology50
Copy link
Member Author

๋“œ๋””์–ด ๋‚ด๊ฐ€ ๋ฏธ์ณค๋‚˜. ๋ธŒ๋žœ์น˜ ์•ˆ ๋”ฐ๊ณ  ์ž‘์—…ํ–ˆ๋„ค

@psychology50 psychology50 merged commit 96d9bd8 into dev Aug 22, 2024
1 check passed
@psychology50 psychology50 deleted the fix/PW-514-exists-account-oauth-link branch August 22, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ๊ธด๊ธ‰ํ•˜๊ณ , ์ค‘์š”๋„๊ฐ€ ๋†’์€ ์ด์Šˆ fix ๊ธฐ๋Šฅ ์ˆ˜์ •
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant