|
@@ -1,7 +1,6 @@
|
|
|
package com.sckw.transport.service.dubbo;
|
|
package com.sckw.transport.service.dubbo;
|
|
|
|
|
|
|
|
import com.sckw.core.common.enums.NumberConstant;
|
|
import com.sckw.core.common.enums.NumberConstant;
|
|
|
-import com.sckw.core.exception.BusinessException;
|
|
|
|
|
import com.sckw.core.model.enums.CarWaybillEnum;
|
|
import com.sckw.core.model.enums.CarWaybillEnum;
|
|
|
import com.sckw.core.model.enums.LogisticsOrderEnum;
|
|
import com.sckw.core.model.enums.LogisticsOrderEnum;
|
|
|
import com.sckw.transport.api.dubbo.TransportStatisticsService;
|
|
import com.sckw.transport.api.dubbo.TransportStatisticsService;
|
|
@@ -14,7 +13,6 @@ import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
-import java.util.Objects;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* @author lfdc
|
|
* @author lfdc
|
|
@@ -40,9 +38,9 @@ public class TransportStatisticsServiceImpl implements TransportStatisticsServic
|
|
|
@Override
|
|
@Override
|
|
|
public Integer statisticsWaybillSendCar(Long topEntId) {
|
|
public Integer statisticsWaybillSendCar(Long topEntId) {
|
|
|
Integer returnCount = 0;
|
|
Integer returnCount = 0;
|
|
|
- if (Objects.isNull(topEntId)) {
|
|
|
|
|
- throw new BusinessException("请求参数不能为空");
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// if (Objects.isNull(topEntId)) {
|
|
|
|
|
+// throw new BusinessException("请求参数不能为空");
|
|
|
|
|
+// }
|
|
|
List<Long> ids = logisticsOrderMapper.statisticsLogistics(topEntId);
|
|
List<Long> ids = logisticsOrderMapper.statisticsLogistics(topEntId);
|
|
|
if (CollectionUtils.isEmpty(ids)) {
|
|
if (CollectionUtils.isEmpty(ids)) {
|
|
|
return returnCount;
|
|
return returnCount;
|
|
@@ -70,9 +68,9 @@ public class TransportStatisticsServiceImpl implements TransportStatisticsServic
|
|
|
@Override
|
|
@Override
|
|
|
public Integer statisticsPendingVerificationWaybill(Long topEntId) {
|
|
public Integer statisticsPendingVerificationWaybill(Long topEntId) {
|
|
|
Integer returnCount = 0;
|
|
Integer returnCount = 0;
|
|
|
- if (Objects.isNull(topEntId)) {
|
|
|
|
|
- throw new BusinessException("请求参数不能为空");
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// if (Objects.isNull(topEntId)) {
|
|
|
|
|
+// throw new BusinessException("请求参数不能为空");
|
|
|
|
|
+// }
|
|
|
List<Long> ids = logisticsOrderMapper.statisticsLogistics(topEntId);
|
|
List<Long> ids = logisticsOrderMapper.statisticsLogistics(topEntId);
|
|
|
if (CollectionUtils.isEmpty(ids)) {
|
|
if (CollectionUtils.isEmpty(ids)) {
|
|
|
return returnCount;
|
|
return returnCount;
|