|
|
@ -9140,10 +9140,9 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
distributionLoadscanEntity.setSigningUserId(user.getUserId()); |
|
|
|
distributionLoadscanEntity.setSigningUserId(user.getUserId()); |
|
|
|
distributionLoadscanEntity.setSignforType(LoadScanSigningTypeStatusConstant.sijiqianshou.getValue()); |
|
|
|
distributionLoadscanEntity.setSignforType(LoadScanSigningTypeStatusConstant.sijiqianshou.getValue()); |
|
|
|
distributionLoadscanEntity.setSignforState(LoadScanSigningStatusConstant.weiqianshou.getValue()); |
|
|
|
distributionLoadscanEntity.setSignforState(LoadScanSigningStatusConstant.weiqianshou.getValue()); |
|
|
|
if (loadscanEntity.getLoadedNub().equals(distributionLoadscanEntity.getReceivedQuantity())) { |
|
|
|
if (Objects.equals(loadscanEntity.getLoadedNub(),distributionLoadscanEntity.getReceivedQuantity())) { |
|
|
|
distributionLoadscanEntity.setSignforState(LoadScanSigningStatusConstant.yiqianshou.getValue()); |
|
|
|
distributionLoadscanEntity.setSignforState(LoadScanSigningStatusConstant.yiqianshou.getValue()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return distributionLoadscanEntity; |
|
|
|
return distributionLoadscanEntity; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|