1
zj
6 hours ago d615fc515fc52d6ed970c11d59a017e48de4be32
src/main/java/com/nq/service/impl/UserFuturesPositionServiceImpl.java
@@ -8,6 +8,7 @@
import com.github.pagehelper.PageInfo;
import com.google.common.collect.Lists;
import com.nq.common.ServerResponse;
import com.nq.utils.TradingDayUtil;
import com.nq.utils.DateTimeUtil;
import com.nq.utils.KeyUtils;
import com.nq.utils.stock.BuyAndSellUtils;
@@ -76,7 +77,7 @@
            return ServerResponse.createByErrorMsg("下单失败,请先实名认证");
        }
        if(siteProduct.getHolidayDisplay()){
        if(TradingDayUtil.shouldBlockTradingToday(siteProduct)){
            return ServerResponse.createByErrorMsg("周末或节假日不能交易!");
        }
@@ -286,7 +287,7 @@
        if (siteProduct.getRealNameDisplay() && user.getIsLock().intValue() == 1) {
            return ServerResponse.createByErrorMsg("操作失败,用户已被锁定");
        }
        if(siteProduct.getHolidayDisplay()){
        if(TradingDayUtil.shouldBlockTradingToday(siteProduct)){
            return ServerResponse.createByErrorMsg("周末或节假日不能交易!");
        }