|  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "获取配送单列表") | 
|---|
|  |  |  | public ResponseEntity<ReturnDataDTO<Page<DeliveryOrderListDTO>>> selectOrderList(Page page | 
|---|
|  |  |  | , DeliveryOrderQueryDTO dto){ | 
|---|
|  |  |  | LocalDate localDate = deliveryOrderService.parseLocalDate(dto.getDate()); | 
|---|
|  |  |  | if(localDate != null){ | 
|---|
|  |  |  | LocalDateTime endDate = localDate.atTime(17, 0, 0); | 
|---|
|  |  |  | LocalDateTime startDate = endDate.plusDays(-1); | 
|---|
|  |  |  | dto.setStartDate(startDate); | 
|---|
|  |  |  | dto.setEndDate(endDate); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return returnData(R.SUCCESS.getCode(), deliveryOrderService.selectDeliveryOrderList(page, dto)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | public ResponseEntity<ReturnDataDTO<OrderItemCheckNumDTO>> getReplaceCheck(String orderItemId){ | 
|---|
|  |  |  | return returnData(R.SUCCESS.getCode(), deliveryOrderService.getOtherCheck(orderItemId | 
|---|
|  |  |  | , Constants.CHECK_TYPE.replace.name())); | 
|---|
|  |  |  | , Constants.CHECK_TYPE.replace.name(), true)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @GetMapping("/mine/list/check/info/lack") | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | public ResponseEntity<ReturnDataDTO<OrderItemCheckNumDTO>> getLackCheck(String orderItemId){ | 
|---|
|  |  |  | return returnData(R.SUCCESS.getCode(), deliveryOrderService.getOtherCheck(orderItemId | 
|---|
|  |  |  | , Constants.CHECK_TYPE.lack.name())); | 
|---|
|  |  |  | , Constants.CHECK_TYPE.lack.name(), true)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|