|
|
@ -1,30 +1,20 @@ |
|
|
|
package com.ruoyi.code.sctaationinfo.controller; |
|
|
|
package com.ruoyi.code.sctaationinfo.controller; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.ruoyi.code.camera.domain.Camera; |
|
|
|
|
|
|
|
import com.ruoyi.code.sctaationinfo.domain.ScStationInfo; |
|
|
|
import com.ruoyi.code.sctaationinfo.domain.ScStationInfo; |
|
|
|
import com.ruoyi.code.sctaationinfo.service.IScStationInfoService; |
|
|
|
import com.ruoyi.code.sctaationinfo.service.IScStationInfoService; |
|
|
|
import com.ruoyi.common.core.page.R; |
|
|
|
|
|
|
|
import org.springframework.security.access.prepost.PreAuthorize; |
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.PutMapping; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import com.ruoyi.common.annotation.Log; |
|
|
|
import com.ruoyi.common.annotation.Log; |
|
|
|
import com.ruoyi.common.core.controller.BaseController; |
|
|
|
import com.ruoyi.common.core.controller.BaseController; |
|
|
|
|
|
|
|
import com.ruoyi.common.core.page.R; |
|
|
|
import com.ruoyi.common.enums.BusinessType; |
|
|
|
import com.ruoyi.common.enums.BusinessType; |
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil; |
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil; |
|
|
|
|
|
|
|
import org.springframework.security.access.prepost.PreAuthorize; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 水尺-测站信息Controller |
|
|
|
* 水尺-测站信息Controller |
|
|
|
* |
|
|
|
* |
|
|
@ -47,6 +37,11 @@ public class ScStationInfoController extends BaseController |
|
|
|
return scStationInfoService.queryPage(params); |
|
|
|
return scStationInfoService.queryPage(params); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/listAll") |
|
|
|
|
|
|
|
public R listAll(){ |
|
|
|
|
|
|
|
return scStationInfoService.listAll(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 获取详细信息 |
|
|
|
* 获取详细信息 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|