package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.lightshare.vo.LedgerSubTypeVo
|
import cn.flightfeather.supervision.lightshare.vo.LedgerVo
|
import org.springframework.http.client.MultipartBodyBuilder
|
import org.springframework.web.multipart.MultipartFile
|
import java.util.*
|
import javax.servlet.http.HttpServletResponse
|
import kotlin.collections.ArrayList
|
|
interface LedgerService {
|
|
fun getLedgerType(sceneType: Int): ArrayList<LedgerSubTypeVo>
|
|
fun getUserLedgerSummary(userId: String, sceneType: Int, time: String): List<LedgerSubTypeVo>
|
|
fun getLedgerDetail(userId: String, ledgerSubTypeId: Int? = null, sceneType: Int, startTime: String, endTime: String, page: Int? = null, perPage: Int, response: HttpServletResponse): ArrayList<LedgerVo>
|
|
fun getLedgerDetail2(userId: String, ledgerSubTypeId: Int? = null, sceneType: Int, time: String): List<LedgerVo>
|
|
fun uploadLedger(userId: String, ledgerVoList: String, files: Array<MultipartFile>): Boolean
|
|
fun getLedgerImg(userId: String, ledgerType: Int): List<String>
|
|
fun getLedgerImgs(userId: String, ledgerType: List<Int>): List<LedgerVo>
|
|
}
|