Showing
5 changed files
with
30 additions
and
4 deletions
| @@ -126,6 +126,18 @@ public class GetShipmentsOrderInfoBo extends BaseBo<ShipmentsOrderInfo> { | @@ -126,6 +126,18 @@ public class GetShipmentsOrderInfoBo extends BaseBo<ShipmentsOrderInfo> { | ||
| 126 | private String fileName; | 126 | private String fileName; |
| 127 | 127 | ||
| 128 | /** | 128 | /** |
| 129 | + * 是否当日发货 | ||
| 130 | + */ | ||
| 131 | + @ApiModelProperty("是否当日发货") | ||
| 132 | + private Boolean onTimeShipment; | ||
| 133 | + | ||
| 134 | + /** | ||
| 135 | + * 新发货日期 | ||
| 136 | + */ | ||
| 137 | + @ApiModelProperty("新发货日期") | ||
| 138 | + private LocalDate newShipmentDate; | ||
| 139 | + | ||
| 140 | + /** | ||
| 129 | * 发货明细数据 | 141 | * 发货明细数据 |
| 130 | */ | 142 | */ |
| 131 | @ApiModelProperty("发货明细数据") | 143 | @ApiModelProperty("发货明细数据") |
xingyun-sc/src/main/java/com/lframework/xingyun/sc/bo/shipments/order/QueryShipmentsOrderInfoBo.java
| @@ -105,6 +105,18 @@ public class QueryShipmentsOrderInfoBo extends BaseBo<ShipmentsOrderInfo> { | @@ -105,6 +105,18 @@ public class QueryShipmentsOrderInfoBo extends BaseBo<ShipmentsOrderInfo> { | ||
| 105 | private String status; | 105 | private String status; |
| 106 | 106 | ||
| 107 | /** | 107 | /** |
| 108 | + * 是否当日发货 | ||
| 109 | + */ | ||
| 110 | + @ApiModelProperty("是否当日发货") | ||
| 111 | + private Boolean onTimeShipment; | ||
| 112 | + | ||
| 113 | + /** | ||
| 114 | + * 新发货日期 | ||
| 115 | + */ | ||
| 116 | + @ApiModelProperty("新发货日期") | ||
| 117 | + private LocalDate newShipmentDate; | ||
| 118 | + | ||
| 119 | + /** | ||
| 108 | * 创建人ID | 120 | * 创建人ID |
| 109 | */ | 121 | */ |
| 110 | @ApiModelProperty("创建人ID") | 122 | @ApiModelProperty("创建人ID") |
| @@ -50,12 +50,8 @@ import java.math.RoundingMode; | @@ -50,12 +50,8 @@ import java.math.RoundingMode; | ||
| 50 | import java.nio.file.Files; | 50 | import java.nio.file.Files; |
| 51 | import java.nio.file.Path; | 51 | import java.nio.file.Path; |
| 52 | import java.nio.file.Paths; | 52 | import java.nio.file.Paths; |
| 53 | -import java.time.Duration; | ||
| 54 | -import java.time.LocalDate; | ||
| 55 | -import java.time.LocalDateTime; | ||
| 56 | import java.time.format.DateTimeFormatter; | 53 | import java.time.format.DateTimeFormatter; |
| 57 | import java.util.*; | 54 | import java.util.*; |
| 58 | -import java.util.concurrent.TimeUnit; | ||
| 59 | import java.util.stream.Collectors; | 55 | import java.util.stream.Collectors; |
| 60 | import java.util.zip.ZipEntry; | 56 | import java.util.zip.ZipEntry; |
| 61 | import java.util.zip.ZipOutputStream; | 57 | import java.util.zip.ZipOutputStream; |
xingyun-sc/src/main/java/com/lframework/xingyun/sc/impl/shipments/ShipmentsOrderInfoServiceImpl.java
| @@ -874,6 +874,10 @@ public class ShipmentsOrderInfoServiceImpl extends BaseMpServiceImpl<ShipmentsOr | @@ -874,6 +874,10 @@ public class ShipmentsOrderInfoServiceImpl extends BaseMpServiceImpl<ShipmentsOr | ||
| 874 | mqProducerService.createSysSiteMessage(messageDto); | 874 | mqProducerService.createSysSiteMessage(messageDto); |
| 875 | // 更新发货单状态为草稿 | 875 | // 更新发货单状态为草稿 |
| 876 | updateStatus(shipmentsOrderId, "DRAFT"); | 876 | updateStatus(shipmentsOrderId, "DRAFT"); |
| 877 | + continue; | ||
| 878 | + } | ||
| 879 | + if (!"PASS".equals(draftTicket.getStatus())) { | ||
| 880 | + throw new DefaultClientException("请先补充草稿要车单数据!"); | ||
| 877 | } | 881 | } |
| 878 | } | 882 | } |
| 879 | } | 883 | } |
| @@ -36,6 +36,8 @@ | @@ -36,6 +36,8 @@ | ||
| 36 | tb.delivery_type, | 36 | tb.delivery_type, |
| 37 | tb.destination, | 37 | tb.destination, |
| 38 | tb.status, | 38 | tb.status, |
| 39 | + tb.on_time_shipment, | ||
| 40 | + tb.new_shipment_date, | ||
| 39 | u.name as create_by, | 41 | u.name as create_by, |
| 40 | tb.create_by_id, | 42 | tb.create_by_id, |
| 41 | tb.update_by_id, | 43 | tb.update_by_id, |