From 0516cba27e632f20efac2752787f38f0c87baafa Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期三, 25 九月 2024 09:24:05 +0800 Subject: [PATCH] 1. 新增自动评估添加和更新接口 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ItemevaluationService.kt | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ItemevaluationService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ItemevaluationService.kt index 42e85f1..48c0bf3 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ItemevaluationService.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/ItemevaluationService.kt @@ -1,7 +1,7 @@ package cn.flightfeather.supervision.lightshare.service import cn.flightfeather.supervision.domain.ds1.entity.Itemevaluation -import cn.flightfeather.supervision.lightshare.vo.ItemevaluationVo +import cn.flightfeather.supervision.lightshare.vo.ItemEvaluationVo interface ItemevaluationService { @@ -17,7 +17,16 @@ fun delete(id: String): Int - fun findBySubTaskID(subTaskID: String): List<ItemevaluationVo> + fun findBySubTaskID(subTaskID: String): List<ItemEvaluationVo> fun savelist(itemevaluationlist: List<Itemevaluation>): Int + + /** + * 鏂板涓�涓贰鏌ヤ换鍔$殑瀵瑰簲璇勫垎 + * @param subTaskId 宸℃煡浠诲姟id + * @param ruleId 浣跨敤鐨勮瘎浼拌鍒檌d + */ + fun createItemEvaluation(subTaskId: String, ruleId: String?, itemList: List<String>): Boolean + + fun updateItemEvaluation(subTaskId: String, ruleId: String?, itemList: List<String>): Boolean } \ No newline at end of file -- Gitblit v1.9.3