feiyu02
2024-08-15 196bb14112448857a885e32dc4149e308e00b01a
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/LedgerService.kt
@@ -4,6 +4,7 @@
import cn.flightfeather.supervision.lightshare.vo.*
import org.springframework.http.client.MultipartBodyBuilder
import org.springframework.web.multipart.MultipartFile
import java.io.File
import java.util.*
import javax.servlet.http.HttpServletResponse
import kotlin.collections.ArrayList
@@ -18,8 +19,21 @@
    fun getLedgerDetail2(userId: String, ledgerSubTypeId: Int? = null, sceneType: Int, time: String?): List<LedgerVo>
    /**
     * 上传台账
     */
    fun uploadLedger(userId: String, ledgerVo: LedgerVo, files: List<Pair<ByteArray, String>>): Boolean
    /**
     * 上传台账
     */
    fun uploadLedger(userId: String, ledgerVoList: String, files: Array<MultipartFile>): Boolean
    /**
     * 上传不涉及台账
     */
    fun uploadNoLedger(userId: String, time: String, remark: String?, ledgerIdList: List<Int>): BaseResponse<String>
    fun getLedgerImg(userId: String, ledgerType: Int): List<String>
    fun getLedgerImgs(userId: String, ledgerType: List<Int>): List<LedgerVo>