|
|
|
@ -551,7 +551,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
loadscanEntity.setOrderId(parcelListEntity.getStockArticleId()); |
|
|
|
|
loadscanEntity.setScanTime(new Date()); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
loadscanEntity.setScanUser(user.getUserName()); |
|
|
|
|
// loadscanEntity.setScanUser(user.getUserName());
|
|
|
|
|
loadscanEntity.setScanUser(user.getNickName()); |
|
|
|
|
loadscanEntity.setLoadingId(distrilbutionloadingscanDTO.getLoadingId()); |
|
|
|
|
loadscanEntity.setIsAbnormalLoading(1); |
|
|
|
|
//出库
|
|
|
|
@ -690,7 +691,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
loadscanEntity.setPackageId(parcelListEntity.getId()); |
|
|
|
|
loadscanEntity.setScanTime(new Date()); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
loadscanEntity.setScanUser(user.getUserName()); |
|
|
|
|
// loadscanEntity.setScanUser(user.getUserName());
|
|
|
|
|
loadscanEntity.setScanUser(user.getNickName()); |
|
|
|
|
loadscanEntity.setLoadingId(distrilbutionloadingscanDTO.getLoadingId()); |
|
|
|
|
loadscanEntity.setOneClick(1); |
|
|
|
|
loadscanEntity.setScanType("2"); |
|
|
|
@ -1443,7 +1445,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
if (Func.isEmpty(packageLoadingScan)){ |
|
|
|
|
DistributionLoadscanEntity loadscanEntity = new DistributionLoadscanEntity(); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
loadscanEntity.setScanUser(user.getUserName()); |
|
|
|
|
// loadscanEntity.setScanUser(user.getUserName());
|
|
|
|
|
loadscanEntity.setScanUser(user.getNickName()); |
|
|
|
|
loadscanEntity.setDriverName(finalDistributionDeliverySelfEntity.getDriverName()); |
|
|
|
|
loadscanEntity.setVehicleName(finalDistributionDeliverySelfEntity.getVehicleNub()); |
|
|
|
|
loadscanEntity.setScanStatus(LoadingStatusConstant.yijianzhuangche.getValue()); |
|
|
|
@ -1514,7 +1517,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
loadscanEntity = loadscanServiceOne; |
|
|
|
|
} |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
loadscanEntity.setScanUser(user.getUserName()); |
|
|
|
|
// loadscanEntity.setScanUser(user.getUserName());
|
|
|
|
|
loadscanEntity.setScanUser(user.getNickName()); |
|
|
|
|
loadscanEntity.setDriverName(finalDistributionDeliverySelfEntity.getDriverName()); |
|
|
|
|
loadscanEntity.setVehicleName(finalDistributionDeliverySelfEntity.getVehicleNub()); |
|
|
|
|
loadscanEntity.setScanStatus(LoadingStatusConstant.yijianzhuangche.getValue()); |
|
|
|
@ -1649,7 +1653,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
if (disStockListDetailEntity.getStockLockingStatus().equals(InventoryLoadingStatusConstant.weizhuangche.getValue())) { |
|
|
|
|
DistributionLoadscaninvnEntity loadscaninvnEntity = new DistributionLoadscaninvnEntity(); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
loadscaninvnEntity.setScanUser(user.getUserName()); |
|
|
|
|
// loadscaninvnEntity.setScanUser(user.getUserName());
|
|
|
|
|
loadscaninvnEntity.setScanUser(user.getNickName()); |
|
|
|
|
loadscaninvnEntity.setDriverName(distributionDeliverySelfEntity.getDriverName()); |
|
|
|
|
loadscaninvnEntity.setVehicleName(distributionDeliverySelfEntity.getVehicleNub()); |
|
|
|
|
loadscaninvnEntity.setScanStatus(LoadingStatusConstant.yijianzhuangche.getValue()); |
|
|
|
@ -4946,7 +4951,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
distributionLoadscanAbnormalEntity.setDeliveryListId(deliveryListEntity.getId()); |
|
|
|
|
distributionLoadscanAbnormalEntity.setReservationId(reservationEntity.getId()); |
|
|
|
|
distributionLoadscanAbnormalEntity.setDeliveryType(deliveryListEntity.getType()); |
|
|
|
|
distributionLoadscanAbnormalEntity.setScanUser(user.getUserName()); |
|
|
|
|
// distributionLoadscanAbnormalEntity.setScanUser(user.getUserName());
|
|
|
|
|
distributionLoadscanAbnormalEntity.setScanUser(user.getNickName()); |
|
|
|
|
distributionLoadscanAbnormalEntity.setScanTime(new Date()); |
|
|
|
|
distributionLoadscanAbnormalEntity.setLoadingQuantity(parcelListEntity.getQuantity()); |
|
|
|
|
distributionLoadscanAbnormalEntity.setPackageCode(parcelListEntity.getOrderPackageCode()); |
|
|
|
@ -5200,7 +5206,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
loadscanEntity.setOrderId(parcelListDTO.getStockArticleId()); |
|
|
|
|
loadscanEntity.setScanTime(new Date()); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
loadscanEntity.setScanUser(user.getUserName()); |
|
|
|
|
// loadscanEntity.setScanUser(user.getUserName());
|
|
|
|
|
loadscanEntity.setScanUser(user.getNickName()); |
|
|
|
|
loadscanEntity.setLoadingId(distrilbutionloadingscanDTO.getLoadingId()); |
|
|
|
|
loadscanEntity.setIsAbnormalLoading(1); |
|
|
|
|
distributionLoadscanService.save(loadscanEntity); |
|
|
|
@ -5250,7 +5257,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
loadscanEntity.setOrderId(parcelListDTO.getStockArticleId()); |
|
|
|
|
loadscanEntity.setScanTime(new Date()); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
loadscanEntity.setScanUser(user.getUserName()); |
|
|
|
|
// loadscanEntity.setScanUser(user.getUserName());
|
|
|
|
|
loadscanEntity.setScanUser(user.getNickName()); |
|
|
|
|
loadscanEntity.setLoadingId(distrilbutionloadingscanDTO.getLoadingId()); |
|
|
|
|
loadscanEntity.setIsAbnormalLoading(1); |
|
|
|
|
distributionLoadscanService.save(loadscanEntity); |
|
|
|
|