| src/main/java/com/nq/service/impl/UserPositionServiceImpl.java | ●●●●● patch | view | raw | blame | history | |
| src/main/java/com/nq/utils/timeutil/TimeUtil.java | ●●●●● patch | view | raw | blame | history |
src/main/java/com/nq/service/impl/UserPositionServiceImpl.java
@@ -334,7 +334,7 @@ Boolean b = tradingHourService.timeCheck(userPosition.getStockCode()); if (!b) { return ServerResponse.createByErrorMsg("订单失败,不在交易时间之内"); return ServerResponse.createByErrorMsg("订单失败,不在交易时间之内",request); } if (userPosition == null) { src/main/java/com/nq/utils/timeutil/TimeUtil.java
@@ -16,7 +16,7 @@ } if(now.isAfter(pmTime) && now.isBefore(pmTime1)){ if(now.isAfter(pmTime) || now.isBefore(pmTime1)){ return true; } return false;