Authored by mali

编译

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