From 196bb14112448857a885e32dc4149e308e00b01a Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 15 八月 2024 11:57:15 +0800 Subject: [PATCH] 2024.8.15 各项修正 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/CommitmentService.kt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/CommitmentService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/CommitmentService.kt index ad58d5b..89b9776 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/CommitmentService.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/CommitmentService.kt @@ -1,6 +1,7 @@ package cn.flightfeather.supervision.lightshare.service import cn.flightfeather.supervision.domain.entity.Commitment +import cn.flightfeather.supervision.domain.entity.CommitmentTemplate import cn.flightfeather.supervision.lightshare.vo.BaseResponse import cn.flightfeather.supervision.lightshare.vo.CommitmentVo import org.springframework.web.multipart.MultipartFile @@ -10,6 +11,8 @@ fun getLetterOfCommitment(userId: String, page: Int, perPage: Int, response: HttpServletResponse): List<Commitment> + fun getTemplateOfCommitment(userId: String): BaseResponse<CommitmentTemplate> + fun uploadLetterOfCommitment(userId: String, commitmentVoList: String, files: Array<MultipartFile>): Boolean fun createLetterOfCommitment(userId: String, info: String, sign: MultipartFile?, seal: MultipartFile?): BaseResponse<List<String>> -- Gitblit v1.9.3