9oj0e / pathorder_server

3 stars 4 forks source link

issue: 주문 상태 null로 insert됨 #27

Open 9oj0e opened 2 months ago

9oj0e commented 2 months ago

jpa.hibernate.ddl-auto: create-drop 해제하기

9oj0e commented 2 months ago

order/Order.status

Hyeonjeong-JANG commented 1 month ago

this.status = (reqDTO.getStatus() != null) ? reqDTO.getStatus() : OrderStatus.PENDING; 생성자에 추가함. 기존 어노테이션을 삭제하면 주문 카운트가 되지 않는 오류가 발생해서 그냥 남겨둠.