From f22c4b9230808fed4fec80c435eccb4c833349a0 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 21 十月 2022 18:36:38 +0800 Subject: [PATCH] 2022.10.21 1.环境守法小程序后台功能首发版本完成 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/CommitmentService.kt | 4 ++++ 1 files changed, 4 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 5f96bcc..ad58d5b 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,8 @@ package cn.flightfeather.supervision.lightshare.service import cn.flightfeather.supervision.domain.entity.Commitment +import cn.flightfeather.supervision.lightshare.vo.BaseResponse +import cn.flightfeather.supervision.lightshare.vo.CommitmentVo import org.springframework.web.multipart.MultipartFile import javax.servlet.http.HttpServletResponse @@ -9,4 +11,6 @@ fun getLetterOfCommitment(userId: String, page: Int, perPage: Int, response: HttpServletResponse): List<Commitment> fun uploadLetterOfCommitment(userId: String, commitmentVoList: String, files: Array<MultipartFile>): Boolean + + fun createLetterOfCommitment(userId: String, info: String, sign: MultipartFile?, seal: MultipartFile?): BaseResponse<List<String>> } \ No newline at end of file -- Gitblit v1.9.3