| | |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | |
| | | |
| | | |
| | | //ID查找人员标签信息 |
| | | @GetMapping("findIdPerson") |
| | | public TbPerson findIdPerson(Integer id){ |
| | |
| | | public TbPerson findtIdPerson(Integer id){ |
| | | return personService.findtagidPerson(id); |
| | | } |
| | | |
| | | // @GetMapping("findtNamePerson") |
| | | // public TbPerson findtNamePerson(Integer id){ |
| | | // return personService.findtNamePerson(id); |
| | | // } |
| | | |
| | | //标签ID查找人员标签信息 |
| | | @GetMapping("findtagIdPerson") |
| | |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value = {"/getRealPosition.do"}, method = {RequestMethod.POST, RequestMethod.GET}) |
| | | @GetMapping("FindShowJianZhuShan") |
| | | public List<TbPerson> FindShowJianZhuShan(){ |
| | | return personService.FindShowJianZhu(); |
| | | } |
| | | |
| | | @GetMapping("FindShowJianZhuShanStop") |
| | | public List<TbPerson> FindShowJianZhuShanStop(){ |
| | | return personService.FindShowJianZhuStop(); |
| | | } |
| | | |
| | | //获取建筑闪烁 |
| | | @RequestMapping(value = {"/FindShowJianZhu"}, method = {RequestMethod.POST, RequestMethod.GET}) |
| | | @ResponseBody |
| | | public List<TbPersonAndDepartment> getRealPosition(HttpServletRequest request) { |
| | | String floor = request.getParameter("floor"); |
| | |
| | | return realLocationList; |
| | | } |
| | | |
| | | //根据多个FID获取人员 |
| | | @GetMapping("FindFIDPersons") |
| | | public List<TbPerson> FindFidPersons(String FID){ |
| | | String[] fids = FID.split(","); |
| | | return personService.FindFidPersons(fids); |
| | | } |
| | | |
| | | |
| | | //判断标签是否存在 |
| | |
| | | return personService.findSanWeiFloorPerson(baoliu39); |
| | | } |
| | | |
| | | @GetMapping("findpersonAll") |
| | | public List<TbPerson> findpersonAll(){ |
| | | return personService.findpersonAll(); |
| | | } |
| | | |
| | | //人员数据接口 |
| | | @GetMapping("findpersonAPI") |
| | |
| | | PageInfo<TbPerson> cz= personService.findAllAPI(); |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | |
| | | @GetMapping("findPowerPerson") |
| | | result<List<PowerPerson>> findPowerPerson(Integer page, Integer limit){ |
| | | PageInfo<PowerPerson> cz= personService.findPowerPerson(page, limit); |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | } |