|
|
|
@ -693,7 +693,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
WarehouseConfigEntity warehouseConfig = warehouseConfigClient.getWarehouseConfig(myCurrentWarehouse.getId()); |
|
|
|
|
Integer isAutoRelease = warehouseConfig.getIsAutoRelease(); |
|
|
|
|
Integer isAutoRelease = warehouseConfig!=null ? warehouseConfig.getIsAutoRelease():0; |
|
|
|
|
if (Integer.parseInt(IsOrNoConstant.no.getValue()) == isAutoRelease) { |
|
|
|
|
//进行异常判断拦截
|
|
|
|
|
//查询是否存在异常
|
|
|
|
@ -706,7 +706,6 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
return R.fail("当前客户存在异常未完成"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); |
|
|
|
|
DistributionSignforEntity distributionSignfor = this.getById(distributionSignforDTO.getId()); |
|
|
|
|
Integer loadingNum = distributionSignfor.getLoadedNumber() + distributionSignfor.getLoadedinNumber(); |
|
|
|
|
Integer signNum = distributionSignfor.getReceivedQuantity() + distributionSignfor.getReceivedinQuantity(); |
|
|
|
@ -876,7 +875,8 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
return R.fail(403, "未授权!!!"); |
|
|
|
|
} |
|
|
|
|
WarehouseConfigEntity warehouseConfig = warehouseConfigClient.getWarehouseConfig(myCurrentWarehouse.getId()); |
|
|
|
|
Integer isAutoRelease = warehouseConfig.getIsAutoRelease(); |
|
|
|
|
|
|
|
|
|
Integer isAutoRelease = warehouseConfig!=null ? warehouseConfig.getIsAutoRelease() : 0; |
|
|
|
|
if (Integer.parseInt(IsOrNoConstant.no.getValue()) == isAutoRelease) { |
|
|
|
|
//进行异常判断拦截
|
|
|
|
|
//查询是否存在异常
|
|
|
|
@ -6063,6 +6063,9 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
|
|
|
|
|
// DistributionTaskVO taskVO = buildDistributionTaskVO(distributionDeliveryListEntity, AuthUtil.getUserId());
|
|
|
|
|
org.springblade.common.model.DistributionSignforVO distributionLoadVO = new org.springblade.common.model.DistributionSignforVO(); |
|
|
|
|
if(distributionLoadscanEntityLists.isEmpty()){ |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
DistributionLoadscanEntity distributionLoadscanEntity = distributionLoadscanEntityLists.get(0); |
|
|
|
|
distributionLoadVO.setDriverName(distributionLoadscanEntity.getDriverName()); |
|
|
|
|