zhitong.yu
2024-05-11 b72f8f8d58417eb6fb29672d8ac17cfafa46775c
src/main/java/com/hxzk/controller/PersonController.java
@@ -68,6 +68,8 @@
        return resultutil.returnSuccess(cz.getTotal(), cz.getList());
    }
    //ID查找人员标签信息
    @GetMapping("findIdPerson")
    public TbPerson findIdPerson(Integer id){
@@ -394,7 +396,18 @@
    }
    @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");
@@ -402,6 +415,12 @@
        return realLocationList;
    }
    //根据多个FID获取人员
    @GetMapping("FindFIDPersons")
    public List<TbPerson> FindFidPersons(String FID){
        String[] fids = FID.split(",");
        return personService.FindFidPersons(fids);
    }
    //判断标签是否存在
@@ -423,6 +442,11 @@
        String formattedDate = sdf.format(now);
        return formattedDate;
    }
    @GetMapping("findSanWeiFloorPerson")
    public List<TbPerson> findSanWeiFloorPerson(String baoliu39){
        return personService.findSanWeiFloorPerson(baoliu39);
    }
    //人员数据接口
    @GetMapping("findpersonAPI")
@@ -430,4 +454,10 @@
        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());
    }
}