diff --git a/blade-service-api/logpm-business-conversion-api/src/main/java/com/logpm/business/entity/DistributionBusinessPreOrderEntity.java b/blade-service-api/logpm-business-conversion-api/src/main/java/com/logpm/business/entity/DistributionBusinessPreOrderEntity.java index 7e6360ac3..0a329e679 100644 --- a/blade-service-api/logpm-business-conversion-api/src/main/java/com/logpm/business/entity/DistributionBusinessPreOrderEntity.java +++ b/blade-service-api/logpm-business-conversion-api/src/main/java/com/logpm/business/entity/DistributionBusinessPreOrderEntity.java @@ -267,6 +267,9 @@ public class DistributionBusinessPreOrderEntity extends TenantEntity { @ApiModelProperty(value = "配送车次号") private String distrCarNumber; + @ApiModelProperty(value = "预约单号") + private String reservationCode; + @ApiModelProperty(value = "是否入库 0 没有入库 1 已入库") private Integer inWarehouse;// diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.java index c8b75562e..43206cc08 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.java @@ -51,5 +51,12 @@ public interface DistributionBusinessPreOrderMapper extends BaseMapper pageList(IPage page, DistributionBusinessPreOrderDTO param); + /** + * 删除商家端数据 + * @param k + * @param deletedPackageList + * @return + */ + Integer deleteBusinessPreOrder(String reservationCode, List deletedPackageList); List list(@Param("queryrderDTO") BusinessPreListDTO queryrderDTO); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.xml index dfcf3f19a..aacd8ebe1 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionBusinessPreOrderMapper.xml @@ -1,6 +1,14 @@ + + DELETE FROM logpm_business_pre_order WHERE reservation_code = #{reservationCode} + AND order_package_code IN + + #{orderPackageCode} + +