From c17e9978745cfe6c983f3aff75c9182fffef32fd Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期一, 09 六月 2025 17:29:23 +0800 Subject: [PATCH] 1. 修复部分数据统计接口bug --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ProblemlistService.kt | 21 +++++++-------------- 1 files changed, 7 insertions(+), 14 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ProblemlistService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ProblemlistService.kt index a3731a9..dc869c1 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ProblemlistService.kt +++ b/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>?> } \ No newline at end of file -- Gitblit v1.9.3