|
|
|
@ -62,6 +62,7 @@ import org.springblade.common.constant.loading.LoadingStatusConstant;
|
|
|
|
|
import org.springblade.common.constant.orderpackage.*; |
|
|
|
|
import org.springblade.common.constant.reservation.*; |
|
|
|
|
import org.springblade.common.constant.signing.SignforDriverSigningStatusConstant; |
|
|
|
|
import org.springblade.common.constant.signing.SignforStatusConstant; |
|
|
|
|
import org.springblade.common.exception.CustomerException; |
|
|
|
|
import org.springblade.common.serviceConstant.ServiceConstant; |
|
|
|
|
import org.springblade.common.utils.CommonUtil; |
|
|
|
@ -309,6 +310,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
DistributionSignforEntity distributionSignfor = this.getById(id); |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
distributionSignfor.setExamineUserId(user.getUserId()); |
|
|
|
|
distributionSignfor.setSigningStatus(SignforStatusConstant.yiqianshou.getValue()); |
|
|
|
|
distributionSignfor.setExamineUserName(user.getNickName()); |
|
|
|
|
this.updateById(distributionSignfor); |
|
|
|
|
distributionAsyncService.sendReviewFactory(id,myCurrentWarehouse.getId()); |
|
|
|
@ -831,7 +833,8 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
switch (distributionReservationEntity.getDeliveryType()){ |
|
|
|
|
case "1": |
|
|
|
|
//商配
|
|
|
|
|
if (stockArticleEntity.getConsigneeUnit().equals(distributionReservationEntity.getReceivingUnit()) && stockArticleEntity.getConsigneePerson().equals(distributionReservationEntity.getConsignee()) && stockArticleEntity.getMallName().equals(distributionReservationEntity.getMallName())){ |
|
|
|
|
// if (stockArticleEntity.getConsigneeUnit().equals(distributionReservationEntity.getReceivingUnit()) && stockArticleEntity.getConsigneePerson().equals(distributionReservationEntity.getConsignee()) && stockArticleEntity.getMallName().equals(distributionReservationEntity.getMallName())){
|
|
|
|
|
if (stockArticleEntity.getConsigneeUnit().equals(distributionReservationEntity.getReceivingUnit()) && stockArticleEntity.getMallName().equals(distributionReservationEntity.getMallName())){ |
|
|
|
|
return true; |
|
|
|
|
}else { |
|
|
|
|
return false; |
|
|
|
|