-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/#332 - 누락된 최신 차트데이터가 존재하면 API 요청 후 차트데이터 전달 #344
Conversation
이거 혹시 모르니깐 내일 아침에 머지할게요 데이터 서버에서 다 먹음 할게요.. |
@@ -1,6 +1,6 @@ | |||
import { Inject, Injectable } from '@nestjs/common'; | |||
import { Cron } from '@nestjs/schedule'; | |||
import { DataSource } from 'typeorm'; | |||
import { DataSource, QueryFailedError } from 'typeorm'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오? 아니 왜 이런 걸 쿡북에 안 작성해주는거야
isSameDate(dateToCompare: NewDate | Date): boolean { | ||
return ( | ||
this.getFullYear() === dateToCompare.getFullYear() && | ||
this.getMonth() === dateToCompare.getMonth() && | ||
this.getDate() === dateToCompare.getDate() | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 이걸 추가하셨군요!
const queryBuilder = this.createQueryBuilder( | ||
entity, | ||
stockId, | ||
manager, | ||
lastStartTime, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이..이게 뭐고... 상당히 쉽게 할 수 있네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
전반적으로 리팩토링하셔서 이렇게도 할 수 있구나 하면서 코드를 봤네요! 수고하셨습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제가 잘 이해한건지 모르겠지만 기존 구조랑 비슷하게 하려고 하신 것 같아요 수고하셨습니다!!
close #332
✅ 작업 내용
📌 이슈 사항
😎 체크 사항