Browse Source

修复BUG

master
梁超 2 days ago
parent
commit
66ea249345

+ 3
- 0
zhywpt-service-inss/src/main/java/cn/com/taiji/inss/manager/inst/InstOnlineActiveMananger.java View File

@@ -232,6 +232,9 @@ public class InstOnlineActiveMananger extends AbstractCallBackManager {
IssueOrderinfo orderInfo = orderInfoRepo.findByOrderNo(vo.getOrderId());
if (IssueOrderStep.ACTIVED == orderInfo.getOrderStep() && IssueOrderStatus.ACTIVE == orderInfo.getOrderStatus())
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("当前订单[" + orderInfo.getOrderNo() + "]已激活成功,请勿重复提交!");
if (IssueOrderStep.WAITING_ACTIVE != orderInfo.getOrderStep()) {
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("订单当前状态不可激活");
}
}
}


Loading…
Cancel
Save