-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SB-235 (refactor) : 출고 요청서 목록 & 상세 보기 응답 형식 변경
SB-235 (refactor) : 출고 요청서 목록 & 상세 보기 응답 형식 변경 1. ShippinResponse 제거 -> ShippingDetailResponse 로 대체 2. ShippingListResponse - List<ShippingDetailResponse> 로 변경 3. ShippingApiController - 요청서 목록 조회 반환 형식 변경 4. ShippingConverter - 사용하지 않는 `toResponse` 메서드 제거 5. ShippingBusiness - 목록 보기 & 상세 보기 로직 및 반환값 변경
- Loading branch information
Showing
6 changed files
with
27 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 1 addition & 13 deletions
14
...c/main/java/warehouse/domain/shipping/controller/model/response/ShippingListResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,18 @@ | ||
package warehouse.domain.shipping.controller.model.response; | ||
|
||
import db.domain.shipping.enums.ShippingStatus; | ||
import java.time.LocalDateTime; | ||
import java.util.List; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import warehouse.domain.goods.controller.model.GoodsResponse; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Builder | ||
public class ShippingListResponse { | ||
|
||
private Long shippingId; | ||
private List<ShippingDetailResponse> shippingList; | ||
|
||
private LocalDateTime deliveryDate; | ||
|
||
private String deliveryAddress; | ||
|
||
private ShippingStatus status; | ||
|
||
private Long deliveryMan; | ||
|
||
private List<GoodsResponse> goods; | ||
} | ||
|
26 changes: 0 additions & 26 deletions
26
...e/src/main/java/warehouse/domain/shipping/controller/model/response/ShippingResponse.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters