Authored by wujiexiang

解决Null

... ... @@ -142,11 +142,11 @@ public abstract class AbsOrderViewService {
.actor(actor).uid(uid).orderCode(orderCode)
.orderStatus(orderStatus).createTime(createTime).oa(oa).build();
TimeoutWrapper tw = orderTimeoutFactory.create(otctx);
if (Objects.nonNull(tw)){
Integer leftTime = null;
if (Objects.nonNull(tw)) {
timeoutBo = tw.calculateLeftTime();
leftTime = timeoutBo.getLeftTime();
}
Integer leftTime = timeoutBo.getLeftTime();
if (leftTime != null && leftTime<0){
timeoutBo.setLeftTime(0);
}
... ...