Authored by mali

编译

... ... @@ -2,6 +2,7 @@ package com.yohoufo.order.mq.consumer;
import java.util.Objects;
import com.yohobuy.ufo.model.order.common.OrderStatus;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
... ... @@ -43,7 +44,7 @@ public class DepositFinishDeliveryDelayMsgConsumer implements YhConsumer {
}
//更新寄存状态为已完成
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_END.getCode());
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_END.getCode(), , OrderStatus.WAITING_PAY.getCode());
}
}
... ...
... ... @@ -264,7 +264,7 @@ public class AppraiseService {
return;
}
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_OUT.getCode());
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_OUT.getCode(), , OrderStatus.WAITING_PAY.getCode());
//发mq,延迟30天设置状态为已完成
yhProducer.send(TopicConstants.DEPOSIT_FINISH_DELIVERY, deposit, null, 60*24*30);
... ...