1
zj
2024-10-29 229a537a5f8ca42d466f1a0e952b8b256c2418fc
1
1 files modified
8 ■■■■ changed files
src/main/java/com/nq/service/impl/UserPositionServiceImpl.java 8 ●●●● patch | view | raw | blame | history
src/main/java/com/nq/service/impl/UserPositionServiceImpl.java
@@ -1319,10 +1319,10 @@
        userPosition.setAgentId(userStockSubscribe.getAgentId());
        userPosition.setStockName(userStockSubscribe.getNewName());
        StringBuffer gid = new StringBuffer();
        gid.append(stockSubscribe.getStockType()!=null?stockSubscribe.getStockType():"");
        gid.append(userStockSubscribe.getNewCode()!=null?userStockSubscribe.getNewCode():"stock code invaild");
        userPosition.setStockGid(gid.toString());
//        StringBuffer gid = new StringBuffer();
//        gid.append(stockSubscribe.getStockType()!=null?stockSubscribe.getStockType():"");
//        gid.append(userStockSubscribe.getNewCode()!=null?userStockSubscribe.getNewCode():"stock code invaild");
        userPosition.setStockGid(stock.getStockType());
        userPosition.setBuyOrderId(GeneratePosition.getPositionId());
        userPosition.setBuyOrderTime(new Date());
        userPosition.setBuyOrderPrice(userStockSubscribe.getBuyPrice());