Browse Source

feat(all): 结算单增加品牌id和收货单位id字段

dist.1.3.0
zhaoqiaobo 10 months ago
parent
commit
0cf0087e2f
  1. 12
      blade-service-api/logpm-statisticsdata-api/src/main/java/com/logpm/statistics/entity/StatisticsDistributionPackageEntity.java
  2. 12
      blade-service-api/logpm-statisticsdata-api/src/main/java/com/logpm/statistics/entity/StatisticsTrunklinePackageEntity.java
  3. 12
      blade-service-api/logpm-statisticsdata-api/src/main/java/com/logpm/statistics/entity/StatisticsWarehousePackageEntity.java
  4. 6
      blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/listener/mq/WaybillFanoutListener.java

12
blade-service-api/logpm-statisticsdata-api/src/main/java/com/logpm/statistics/entity/StatisticsDistributionPackageEntity.java

@ -42,6 +42,18 @@ public class StatisticsDistributionPackageEntity extends TenantEntity {
@ApiModelProperty(value = "预留5")
private String reserve5;
/**
* 品牌id
*/
@ApiModelProperty(value = "品牌id")
private Long brandId;
/**
* 收货单位id
*/
@ApiModelProperty(value = "收货单位id")
private Long consigneeId;
/**
* 仓库id
*/

12
blade-service-api/logpm-statisticsdata-api/src/main/java/com/logpm/statistics/entity/StatisticsTrunklinePackageEntity.java

@ -53,6 +53,18 @@ public class StatisticsTrunklinePackageEntity extends TenantEntity {
@ApiModelProperty(value = "仓库名称")
private String warehouseName;
/**
* 品牌id
*/
@ApiModelProperty(value = "品牌id")
private Long brandId;
/**
* 收货单位id
*/
@ApiModelProperty(value = "收货单位id")
private Long consigneeId;
/**
* 运单id
*/

12
blade-service-api/logpm-statisticsdata-api/src/main/java/com/logpm/statistics/entity/StatisticsWarehousePackageEntity.java

@ -42,6 +42,18 @@ public class StatisticsWarehousePackageEntity extends TenantEntity {
@ApiModelProperty(value = "预留5")
private String reserve5;
/**
* 品牌id
*/
@ApiModelProperty(value = "品牌id")
private Long brandId;
/**
* 收货单位id
*/
@ApiModelProperty(value = "收货单位id")
private Long consigneeId;
/**
* 仓库id
*/

6
blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/listener/mq/WaybillFanoutListener.java

@ -72,6 +72,8 @@ public class WaybillFanoutListener {
//干线
StatisticsTrunklinePackageEntity statisticsTrunklinePackageEntity = new StatisticsTrunklinePackageEntity();
statisticsTrunklinePackageEntity.setBrandId(brandId);
statisticsTrunklinePackageEntity.setConsigneeId(consigneeId);
statisticsTrunklinePackageEntity.setWarehouseId(warehouseId);
statisticsTrunklinePackageEntity.setWarehouseName(warehouseName);
statisticsTrunklinePackageEntity.setTypeService(typeService);
@ -120,6 +122,8 @@ public class WaybillFanoutListener {
//仓库
StatisticsWarehousePackageEntity statisticsWarehousePackageEntity = new StatisticsWarehousePackageEntity();
statisticsWarehousePackageEntity.setBrandId(brandId);
statisticsWarehousePackageEntity.setConsigneeId(consigneeId);
statisticsWarehousePackageEntity.setWarehouseId(warehouseId);
statisticsWarehousePackageEntity.setWarehouseName(warehouseName);
statisticsWarehousePackageEntity.setTypeService(typeService);
@ -155,6 +159,8 @@ public class WaybillFanoutListener {
//配送
StatisticsDistributionPackageEntity statisticsDistributionPackageEntity = new StatisticsDistributionPackageEntity();
statisticsDistributionPackageEntity.setBrandId(brandId);
statisticsDistributionPackageEntity.setConsigneeId(consigneeId);
statisticsDistributionPackageEntity.setWarehouseId(warehouseId);
statisticsDistributionPackageEntity.setWarehouseName(warehouseName);
statisticsDistributionPackageEntity.setTypeService(typeService);

Loading…
Cancel
Save