| | |
| | | } |
| | | userPendingorderVO.setNowPrice(new BigDecimal(nowPrice)); |
| | | userPendingorderVO.setStockName(stock.getStockName()); |
| | | userPendingorderVO.setStockId(stock.getStockCode()); |
| | | userPendingorderVO.setStockId(stock.getStockGid() != null ? stock.getStockGid() : stock.getStockCode()); |
| | | } |
| | | userPendingorderVO.setBuyNum(userPendingorder.getBuyNum()); |
| | | userPendingorderVO.setBuyType(userPendingorder.getBuyType()); |
| | |
| | | } |
| | | int delCount = this.userPendingorderMapper.deleteById(id); |
| | | if (delCount > 0) { |
| | | return ServerResponse.createByErrorMsg("删除成功"); |
| | | return ServerResponse.createBySuccessMsg("删除成功"); |
| | | } |
| | | return ServerResponse.createByErrorMsg("删除失败"); |
| | | } |