|
|
|
@ -37,6 +37,7 @@ import com.logpm.distribution.wrapper.DistributionParcelListWrapper;
|
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.common.constant.common.IsOrNoConstant; |
|
|
|
|
import org.springblade.common.constant.loading.LoadScanSigningTypeStatusConstant; |
|
|
|
|
import org.springblade.common.constant.loading.LoadingStatusConstant; |
|
|
|
|
import org.springblade.common.constant.order.OrderStatusConstant; |
|
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageLoadingStatusConstant; |
|
|
|
@ -195,7 +196,7 @@ public class DistributionDeliveryInfoServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
log.info("loadscanEntity.getScanStatus() does not meet matching conditions: {}", loadscanEntity.getScanStatus()); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
if (Func.isEmpty(loadscanEntity.getIsSignfor())){ |
|
|
|
|
if (Func.isEmpty(loadscanEntity.getIsSignfor())) { |
|
|
|
|
switch (loadscanEntity.getScanStatus()) { |
|
|
|
|
case "1": |
|
|
|
|
parcel.setScanStatus(LoadingStatusConstant.quxiao.getName()); |
|
|
|
@ -224,6 +225,22 @@ public class DistributionDeliveryInfoServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
if (Func.isNotEmpty(loadscanEntity.getSigningUser())) { |
|
|
|
|
parcel.setSigningUser(loadscanEntity.getSigningUser()); |
|
|
|
|
} |
|
|
|
|
if (Func.isNotEmpty(loadscanEntity.getSignforType())) { |
|
|
|
|
switch (loadscanEntity.getSignforType()) { |
|
|
|
|
case 1: |
|
|
|
|
parcel.setSigningType(LoadScanSigningTypeStatusConstant.sijiqianshou.getName()); |
|
|
|
|
break; |
|
|
|
|
case 2: |
|
|
|
|
parcel.setSigningType(LoadScanSigningTypeStatusConstant.sijipiliangqianshou.getName()); |
|
|
|
|
break; |
|
|
|
|
case 3: |
|
|
|
|
parcel.setSigningType(LoadScanSigningTypeStatusConstant.wenyuanpiliangqianshou.getName()); |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
log.info("loadscanEntity.getSignforType() does not meet matching conditions: {}", loadscanEntity.getSignforType()); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|