1
zj
5 hours ago d615fc515fc52d6ed970c11d59a017e48de4be32
src/main/java/com/nq/service/impl/UserIndexPositionServiceImpl.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.CurrencyUtils;
import com.nq.utils.DateTimeUtil;
import com.nq.utils.KeyUtils;
@@ -83,7 +84,7 @@
            return ServerResponse.createByErrorMsg("下单失败,请先实名认证");
        }
        if(siteProduct.getHolidayDisplay()){
        if(TradingDayUtil.shouldBlockTradingToday(siteProduct)){
            return ServerResponse.createByErrorMsg("周末或节假日不能交易!");
        }
@@ -267,7 +268,7 @@
            return ServerResponse.createByErrorMsg("下单失败,请先实名认证");
        }
        if(siteProduct.getHolidayDisplay()){
        if(TradingDayUtil.shouldBlockTradingToday(siteProduct)){
            return ServerResponse.createByErrorMsg("周末或节假日不能交易!");
        }
@@ -574,7 +575,7 @@
        if (siteProduct.getRealNameDisplay() && user.getIsLock().intValue() == 1) {
            return ServerResponse.createByErrorMsg("平仓失败,用户已被锁定");
        }
        if(siteProduct.getHolidayDisplay()){
        if(TradingDayUtil.shouldBlockTradingToday(siteProduct)){
            return ServerResponse.createByErrorMsg("周末或节假日不能交易!");
        }
        if (userIndexPosition.getSellOrderPrice() != null) {