| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | @PostMapping("selectAppInfo") |
| | | BasicResult selectAppInfo(@RequestBody Map map){ |
| | | String regionInspectionId = map.get("regionInspectionId").toString(); |
| | | String userId = map.get("userId").toString(); |
| | | return regionInspectionRecordService.selectAppInfo(regionInspectionId,userId); |
| | | return regionInspectionRecordService.selectAppInfo(regionInspectionId,null); |
| | | } |
| | | |
| | | /** |
| | |
| | | return regionInspectionRecordService.selectAppList(map); |
| | | } |
| | | |
| | | /** |
| | | * web导出 |
| | | * @param map |
| | | * @return |
| | | */ |
| | | @PostMapping("export") |
| | | void export(@RequestBody Map map, HttpServletResponse response){ |
| | | regionInspectionRecordService.export(map,response); |
| | | } |
| | | |
| | | } |