| | |
| | | @ApiOperation(value = "查询集货站供应商配送列表") |
| | | public ResponseEntity<ReturnDataDTO<Page<DeliveryOrderList4CheckDTO>>> selectSupplierDoList4Check(Page page |
| | | , DeliveryOrderStationQueryDTO dto){ |
| | | LocalDate localDate = deliveryOrderService.parseLocalDate(dto.getDate()); |
| | | if(localDate != null){ |
| | | LocalDateTime end = localDate.atTime(17, 0, 0); |
| | | LocalDateTime begin = end.plusDays(-1); |
| | | dto.setStartDate(begin); |
| | | dto.setEndDate(end); |
| | | } |
| | | |
| | | return returnData(R.SUCCESS.getCode(), deliveryOrderService.selectSupplierDoList4Check(page, dto)); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "查询供应商配送单列表") |
| | | public ResponseEntity<ReturnDataDTO<Page<DeliveryOrder4CheckDTO>>> selectSupplierDoInfo4Check(Page page |
| | | , DeliveryOrderInfoSpQueryDTO dto){ |
| | | LocalDate localDate = deliveryOrderService.parseLocalDate(dto.getDate()); |
| | | if(localDate != null){ |
| | | LocalDateTime end = localDate.atTime(17, 0, 0); |
| | | LocalDateTime begin = end.plusDays(-1); |
| | | dto.setStartDate(begin); |
| | | dto.setEndDate(end); |
| | | } |
| | | |
| | | return returnData(R.SUCCESS.getCode(), deliveryOrderService.selectSupplierDoInfo4Check(page, dto)); |
| | | } |
| | | |