package cn.flightfeather.supervision.lightshare.web
|
|
import cn.flightfeather.supervision.lightshare.service.DataProdSingleSceneService
|
import cn.flightfeather.supervision.lightshare.vo.dataprod.QueryOptSingle
|
import io.swagger.annotations.Api
|
import io.swagger.annotations.ApiOperation
|
import io.swagger.annotations.ApiParam
|
import org.springframework.web.bind.annotation.PostMapping
|
import org.springframework.web.bind.annotation.RequestBody
|
import org.springframework.web.bind.annotation.RequestMapping
|
import org.springframework.web.bind.annotation.RestController
|
|
/**
|
* 单场景纵向数据统计产品控制器
|
* @date 2025/10/30
|
* @author feiyu02
|
*/
|
@Api(tags = ["单场景纵向数据统计产品相关API接口"], description = "单场景纵向数据统计产品相关API接口")
|
@RestController
|
@RequestMapping("/dataProd/singleScene")
|
class DataProdSingleSceneController(private val dataProdSingleSceneService: DataProdSingleSceneService) {
|
|
@ApiOperation(value = "整改情况")
|
@PostMapping("/changeInfo/get")
|
fun getChangeInfo(@ApiParam("查询条件") @RequestBody queryOpt: QueryOptSingle) =
|
dataProdSingleSceneService.getChangeInfo(queryOpt)
|
|
@ApiOperation(value = "批量查询整改情况")
|
@PostMapping("/changeInfo/get/list")
|
fun getChangeInfoList(@ApiParam("查询条件") @RequestBody queryOpts: List<QueryOptSingle>) =
|
dataProdSingleSceneService.getChangeInfoList(queryOpts)
|
|
@ApiOperation(value = "问题重复情况")
|
@PostMapping("/problemRecurrence/get")
|
fun getProblemRecurrence(@ApiParam("查询条件") @RequestBody queryOpt: QueryOptSingle) =
|
dataProdSingleSceneService.getProblemRecurrence(queryOpt)
|
}
|