| | |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | |
| | | } |
| | | |
| | | //查询指数持仓统计信息 |
| | | @GetMapping({"getParensAgent.do"}) |
| | | @ResponseBody |
| | | public ServerResponse getParensAgent() { |
| | | return this.iAgentUserService.getParensAgent(); |
| | | } |
| | | |
| | | //查询指数持仓统计信息 |
| | | @RequestMapping({"getIndexIncome.do"}) |
| | | @ResponseBody |
| | | public ServerResponse getIndexIncome(@RequestParam(value = "agentId", required = false) Integer agentId, @RequestParam(value = "positionType", required = false) Integer positionType, @RequestParam(value = "beginTime", required = false) String beginTime, @RequestParam(value = "endTime", required = false) String endTime, HttpServletRequest request) { |