Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

[#45] 주문기능 제작 #46

Merged
merged 28 commits into from
Jan 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f782b3b
장바구니 기능 구현
Nov 28, 2019
6cb06dd
cart index delete 기능 구현 및 Test code 작성
Nov 29, 2019
54f8112
- Redis tranasaction 적용
Dec 2, 2019
7cafad5
장바구니 로직 추가
Dec 3, 2019
fe79388
- OrderDTO 생성
binaryyoung Dec 3, 2019
454c57c
- 캐싱하기 적합한 DTO를 사용하도록 변경
Dec 3, 2019
82905b6
빈 테스트코드 추가(Test ERROR)
Dec 3, 2019
489e028
OrderDTO에 @JsonFormat 추가
binaryyoung Dec 4, 2019
15d2f50
리뷰 반영
Dec 4, 2019
0989bc5
사용하지 않는 menuService 제거
Dec 9, 2019
9db3122
DTO를 Inner Class로 분리
Dec 9, 2019
e6cbc9b
가상 결제 구현
Dec 9, 2019
691a57e
사용하지 않는 코드 제거
Dec 10, 2019
b9d20d0
주문 로직 개발
Dec 11, 2019
a437709
계산서 발행 로직 작성 및 리뷰 일부 반영
Dec 13, 2019
792dc36
거리 계산로직 추가
Dec 13, 2019
4341748
배달료 계산 로직 추가
Dec 13, 2019
a280675
insert문을 벌크 insert로 진행하도록 변경
Dec 17, 2019
85a5f6e
주문 기능 제작
Dec 17, 2019
0d394c2
계산서 발행 시 메뉴, 메뉴 옵션에 의해 다수의 SELECT 쿼리가 질의되는 문제 해결
Dec 18, 2019
224158e
자신의 주문 정보 조회 기능 추가
Dec 18, 2019
4dc041c
OrderDTO 불변객체로 변경
Dec 19, 2019
1ddf344
유효성 검사 추가 및 변경
Dec 19, 2019
aeea70a
OrderDTO 수정으로 인한 버그 수정
Dec 19, 2019
a2f8bc4
리뷰 반영
Dec 23, 2019
cff527d
가상 결제 시스템 브랜치와 병합
Dec 24, 2019
8e1b0c3
가상 결제 진행 개발
Dec 24, 2019
a1732c1
Merge branch 'develop' into feature/20
yyy9942 Jan 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/java/com/delfood/dto/OrderDTO.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.List;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.Setter;
import lombok.ToString;
Expand All @@ -14,6 +15,7 @@

@Getter
@Alias("order")
@NoArgsConstructor // Mybatis에서 기본 생성자가 없으면 예외처리를 한다
public class OrderDTO {

public enum OrderStatus {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mybatis/mapper/orders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
<collection property="options" ofType="com.delfood.dto.ItemsBillDTO$MenuInfo$OptionInfo">
<id property="id" column="optionId"/>
<result property="name" column="optionName"/>
<result property="price" column="optionPrice"/>
<result property="price" column="opti`onPrice"/>
yyy9942 marked this conversation as resolved.
Show resolved Hide resolved
</collection>
</resultMap>

Expand Down