feiyu02
2025-07-04 9c797fa0d704ef8ffb65cd1716b8eb694b4c46c3
src/main/kotlin/com/flightfeather/uav/lightshare/web/CompanyController.kt
@@ -2,10 +2,7 @@
import com.flightfeather.uav.lightshare.service.CompanyService
import io.swagger.annotations.Api
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.RestController
import org.springframework.web.bind.annotation.*
@Api(tags = ["工业企业信息API接口"])
@RestController
@@ -27,4 +24,10 @@
        @RequestParam(value = "endTime", required = true) endTime: String,
        @RequestParam(value = "companyIds", required = false) companyIds: List<String>?,
    ) = companyService.getEpwModelResult(deviceCode, startTime, endTime, companyIds)
    @GetMapping("/complaint")
    fun getComplaintInfo() = companyService.getComplaintInfo()
    @GetMapping("/assessment")
    fun getAssessment() = companyService.getAssessment()
}