feiyu02
2025-09-30 6904763f0e74d9a9fa4dbc39f635d2aee39416c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
import javax.servlet.http.HttpServletResponse
 
interface CommitmentService {
 
    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>>
}