feiyu02
2025-07-31 6688232eaa889eeb6c58d0d804b587699db55ec2
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ProblemlistService.kt
@@ -1,9 +1,6 @@
package cn.flightfeather.supervision.lightshare.service
import cn.flightfeather.supervision.domain.ds1.entity.Inspection
import cn.flightfeather.supervision.domain.ds1.entity.Problemlist
import cn.flightfeather.supervision.domain.ds1.entity.Scense
import cn.flightfeather.supervision.domain.ds1.entity.Subtask
import cn.flightfeather.supervision.domain.ds1.entity.*
import cn.flightfeather.supervision.lightshare.vo.*
import org.springframework.web.multipart.MultipartFile
@@ -48,20 +45,16 @@
    fun updateProblem(problem: ProblemListVo, deleteImg: List<String>, files: Array<MultipartFile>): String
    /**
     * 保存问题图片
     */
    fun saveProFile(
        problemlist: Problemlist, inspection: Inspection,
        scene: Scense, files: Array<MultipartFile>,
    ): Int
    fun changeProblem(problemId: String, files: Array<MultipartFile>): BaseResponse<String>
    /**
     * 更新整改
     */
    fun updateChange(problemId: String, deleteImg: List<String>, files: Array<MultipartFile>): String
    fun getBySubTask(stGuid: String, all:Boolean?): List<ProblemListVo>
    fun getSceneByProType(areaVo: AreaVo, pType:String):List<Subtask?>
    fun getSceneProSummary(areaVo: AreaVo, sortBy: String, page: Int, per_page: Int): Pair<DataHead?,
            List<SceneProblemSummary>?>
    fun getSceneProSummary(areaVo: AreaVo, page: Int, per_page: Int): Pair<DataHead?, List<SceneProblemSummary>?>
}