|
@ -147,11 +147,12 @@ public class ToiletController { |
|
|
@GetMapping("/export") |
|
|
@GetMapping("/export") |
|
|
@CrossOrigin |
|
|
@CrossOrigin |
|
|
public void exportToilet (HttpServletRequest request,HttpServletResponse response, @RequestParam(value = "toiletName",required = false)String toiletName, |
|
|
public void exportToilet (HttpServletRequest request,HttpServletResponse response, @RequestParam(value = "toiletName",required = false)String toiletName, |
|
|
|
|
|
@RequestParam(value = "areaIds",required = false)String areaIds, |
|
|
@RequestParam(value = "toiletCode",required = false)String toiletCode, |
|
|
@RequestParam(value = "toiletCode",required = false)String toiletCode, |
|
|
@RequestParam(value = "toiletType",required = false)Integer toiletType,@RequestParam(value = "toiletLevel",required = false)Integer toiletLevel, |
|
|
@RequestParam(value = "toiletType",required = false)Integer toiletType,@RequestParam(value = "toiletLevel",required = false)Integer toiletLevel, |
|
|
@RequestParam(value = "thirdBathroom",required = false)Integer thirdBathroom,@RequestParam(value = "monChildRoom",required = false)Integer monChildRoom) { |
|
|
@RequestParam(value = "thirdBathroom",required = false)Integer thirdBathroom,@RequestParam(value = "monChildRoom",required = false)Integer monChildRoom) { |
|
|
String userToken = request.getHeader("token"); |
|
|
String userToken = request.getHeader("token"); |
|
|
toiletService.exportToilet(userToken,response,toiletName,toiletCode,toiletType,toiletLevel,thirdBathroom,monChildRoom); |
|
|
|
|
|
|
|
|
toiletService.exportToilet(userToken,response,toiletName,toiletCode,toiletType,toiletLevel,thirdBathroom,monChildRoom,areaIds); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|