| | |
| | | @RequestParam(value = "state", required = false) Integer state, |
| | | @RequestParam(value = "stockCode", required = false) String stockCode, |
| | | @RequestParam(value = "stockSpell", required = false) String stockSpell, |
| | | @RequestParam(value = "stockType", required = false) String stockType |
| | | @RequestParam(value = "stockType", required = false) String stockType, |
| | | @RequestParam(value = "pendingStatus", required = false) Integer pendingStatus |
| | | |
| | | ) { |
| | | return this.iUserPositionService.findMyPositionByCodeAndSpell(stockCode, stockSpell, state, request, pageNum, pageSize,stockType); |
| | | return this.iUserPositionService.findMyPositionByCodeAndSpell(stockCode, stockSpell, state, request, pageNum, pageSize,stockType, pendingStatus); |
| | | } |
| | | |
| | | //根据股票代码查询用户最早入仓股票 |
| | |
| | | public ServerResponse findUserPositionByCode(HttpServletRequest request, @RequestParam(value = "stockCode", required = false) String stockCode) { |
| | | return this.iUserPositionService.findUserPositionByCode(request, stockCode); |
| | | } |
| | | |
| | | |
| | | @RequestMapping({"findByPostionSn.do"}) |
| | | @ResponseBody |
| | | public ServerResponse findByPostionSn(HttpServletRequest request, @RequestParam(value = "positionSn", required = false) String stockCode) { |
| | | return ServerResponse.createBySuccess(iUserPositionService.findByPostionSn(stockCode)); |
| | | } |
| | | } |
| | | |