| | |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | |
| | | @GetMapping("findpersonDepartSearch") |
| | | result<List<com.hxzk.deo.TbPerson>> findpersonDepartSearch(Integer page, Integer limit, com.hxzk.deo.TbPerson person){ |
| | | PageInfo<com.hxzk.deo.TbPerson> cz= personService.findpersonSearchDepart(person); |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | |
| | | |
| | | @GetMapping("findpersonSearchState") |
| | | result<List<com.hxzk.deo.TbPerson>> findpersonSearchState(Integer page, Integer limit, com.hxzk.deo.TbPerson person){ |
| | | PageInfo<com.hxzk.deo.TbPerson> cz= personService.findpersonSearchState(page, limit,person); |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | |
| | | |
| | | |
| | | //ID查找人员标签信息 |
| | | @GetMapping("findIdPerson") |
| | |
| | | } |
| | | |
| | | |
| | | @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); |
| | | } |
| | | |
| | | |
| | | //判断标签是否存在 |
| | |
| | | String formattedDate = sdf.format(now); |
| | | return formattedDate; |
| | | } |
| | | @GetMapping("findSanWeiFloorPerson") |
| | | public List<TbPerson> findSanWeiFloorPerson(String baoliu39){ |
| | | return personService.findSanWeiFloorPerson(baoliu39); |
| | | } |
| | | |
| | | |
| | | //人员数据接口 |
| | | @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()); |
| | | } |
| | | } |