diff --git a/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataStockArticleVO.java b/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataStockArticleVO.java index 2d0795eb9..1bbd1ca7c 100644 --- a/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataStockArticleVO.java +++ b/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataStockArticleVO.java @@ -145,7 +145,10 @@ public class BasicdataStockArticleVO extends BasicdataStockArticleEntity { @ApiModelProperty(value = "完整货位") private String positionCode; - + @ApiModelProperty(name = "数量",notes = "") + private Integer num; + @ApiModelProperty(name = "运单号",notes = "") + private String waybillNo; /** * 是否齐套名称 */ diff --git a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionSignforVO.java b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionSignforVO.java index b6741ba4f..b7ac5adba 100644 --- a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionSignforVO.java +++ b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionSignforVO.java @@ -106,6 +106,38 @@ public class DistributionSignforVO extends DistributionSignforEntity { @ApiModelProperty(value = "仓库ids") private List warehouseIdList; + + /** + * 配送车次 + */ + @ApiModelProperty(value = "配送车次") + private String trainNumber; + + + /** + * 配送车牌号 + */ + @ApiModelProperty(value = "配送车牌号") + private String vehicleName; + + /** + * 配送司机 + */ + @ApiModelProperty(value = "配送司机") + private String driverName; + + /** + * 装车班组 + */ + @ApiModelProperty(value = "装车班组") + private String loadingTeamName; + + /** + * 卸车班组 + */ + @ApiModelProperty(value = "卸车班组") + private String unLoadingTeamName; + /** * 客户订单列表 */ diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataClientClient.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataClientClient.java index def091160..27df74000 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataClientClient.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataClientClient.java @@ -75,7 +75,7 @@ public class BasicdataClientClient implements IBasicdataClientClient { public BasicdataClientEntity getCustomer(String customerName, String customerCode) { return basicdataClientService.getOne(Wrappers.query().lambda() .eq(StringUtils.isNotEmpty(customerName),BasicdataClientEntity::getClientName,customerName) - .eq(StringUtils.isNotEmpty(customerCode),BasicdataClientEntity::getReserve1,customerCode) + .eq(StringUtils.isNotEmpty(customerCode),BasicdataClientEntity::getClientCode,customerCode) ); } diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataTrayMapper.xml b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataTrayMapper.xml index 3a3ec48f7..17a4eba76 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataTrayMapper.xml +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataTrayMapper.xml @@ -206,20 +206,23 @@ SELECT CASE - WHEN lds.driver_signing = '2' THEN '司机签收' WHEN lds.signing_status = '2' THEN - '文员签收' ELSE '待签收' + '文员审核' ELSE '待签收' END signingStatusAll, CASE - WHEN ldr.is_urgent = '1' THEN '否' WHEN ldr.is_urgent = '2' THEN '是' @@ -511,6 +509,12 @@ lds.delivery_sign_pictures deliverySignPictures, ldr.reservation_date reservationDate, lds.positioning_adr positioningAdr, + lddl.train_number trainNumber, + lddl.vehicle_name vehicleName, + lddl.driver_name driverName, + lddl.driver_name driverName, + lddl.loading_team_name loadingTeamName, + lddl.unloading_team_name unLoadingTeamName, CASE WHEN ldr.delivery_type = '1' THEN '商配' diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.java index 1adf5ae3e..25668ae01 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.java @@ -81,7 +81,7 @@ public interface DistributionStockListMapper extends BaseMapper getEntityByMarketIdAndMaterialName(@Param("marketId") Long marketId, @Param("materialName") String materialName, @Param("warehouseId") Long warehouseId); - DistributionStockupStockListInfoVO selectStockListInfoSelf(@Param("reservationId") Long reservationId,@Param("stockListId") Long stockListId); + DistributionStockupStockListInfoVO selectStockListInfoSelf(@Param("reservationId") Long reservationId,@Param("stockListId") Long stockListId,@Param("allocationId") Long allocationId); List getListByMarketIdAndMaterialName(@Param("marketId") Long marketId, @Param("materialName") String materialName, @Param("warehouseId") Long warehouseId); diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.xml index d0f08714c..3df680d2e 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.xml @@ -285,7 +285,9 @@