| | |
| | | import com.ruoyi.doublePrevention.vo.ResultVO; |
| | | import com.ruoyi.framework.web.controller.BaseController; |
| | | import com.ruoyi.framework.web.page.TableDataInfo; |
| | | import com.ruoyi.project.system.dept.domain.Dept; |
| | | import com.ruoyi.project.tr.hiddenDangerCheckPoint.service.IHiddenDangerCheckPointService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.ModelMap; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @GetMapping("/getCountInfo") |
| | | public String countInfo(RiskAndPeopleInfoReqBO reqBO, ModelMap mmap) |
| | | { |
| | | System.out.println("11111111111111111111111111111111111111111"); |
| | | // ResultVO resultVO = new ResultVO<>(); |
| | | // resultVO.setCode("200"); |
| | | // resultVO.setMsg("查询成功"); |
| | |
| | | // dataTable.setTotal(result.getCount()); |
| | | |
| | | // mmap.put("riskAndPeopleInfo", ((RiskAndPeopleInfoRespDTO) result.getData()).getRiskAndPeopleInfoDTO()); |
| | | mmap.put("count", ((RiskAndPeopleInfoRespDTO) result.getData()).getCount()); |
| | | // mmap.put("count", ((RiskAndPeopleInfoRespDTO) result.getData()).getCount()); |
| | | mmap.put("count", 6); |
| | | mmap.put("complete", ((RiskAndPeopleInfoRespDTO) result.getData()).getComplete()); |
| | | mmap.put("completeRatio", ((RiskAndPeopleInfoRespDTO) result.getData()).getCompleteRatio()); |
| | | mmap.put("countOfHandle", ((RiskAndPeopleInfoRespDTO) result.getData()).getCountOfHandle()); |
| | |
| | | mmap.put("completeOfMain", ((RiskAndPeopleInfoRespDTO) result.getData()).getCompleteOfMain()); |
| | | mmap.put("completeRatioOfMain", ((RiskAndPeopleInfoRespDTO) result.getData()).getCompleteRatioOfMain()); |
| | | |
| | | return prefix + "/getCountInfo"; |
| | | return "riskAndPeopleInfo"; |
| | | } |
| | | |
| | | /** |