Authored by caoyan

寄存

... ... @@ -43,7 +43,7 @@ public class DepositFinishDeliveryDelayMsgConsumer implements YhConsumer {
}
//更新寄存状态为已完成
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_END.getCode());
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_END.getCode(), deposit.getOrderStatus());
}
}
... ...
... ... @@ -264,7 +264,7 @@ public class AppraiseService {
return;
}
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_OUT.getCode());
storageDepositMapper.updateStorageStatus(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_OUT.getCode(), deposit.getOrderStatus());
//发mq,延迟30天设置状态为已完成
yhProducer.send(TopicConstants.DEPOSIT_FINISH_DELIVERY, deposit, null, 60*24*30);
... ...