| | |
| | | |
| | | |
| | | import cn.hutool.core.convert.Convert; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.github.pagehelper.PageInfo; |
| | |
| | | model.setUserId(user.getId()); |
| | | model.setAgentId(user.getAgentId()); |
| | | model.setAgentName(user.getAgentName()); |
| | | StockSubscribe stockSubscribe = stockSubscribeMapper.selectOne(new QueryWrapper<>(new StockSubscribe()) |
| | | .eq("newlist_id", model.getNewStockId())); |
| | | StockSubscribe stockSubscribe = stockSubscribeMapper.selectOne(new LambdaQueryWrapper<>(StockSubscribe.class).eq(StockSubscribe::getCode,model.getNewCode())); |
| | | if (stockSubscribe == null) { |
| | | return ServerResponse.createByErrorMsg("Failed. Ipo information does not exist"); |
| | | } |