package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.domain.ds1.entity.DeviceInfo
|
import cn.flightfeather.supervision.domain.ds1.entity.DeviceLocation
|
import org.springframework.web.multipart.MultipartFile
|
|
interface DeviceService {
|
|
fun findDevices(sceneId: String): List<DeviceInfo>
|
|
/**
|
* 新增设备信息
|
*/
|
fun insertDevice(deviceInfo: DeviceInfo): Int
|
|
/**
|
* 更新设备信息
|
*/
|
fun updateDevice(deviceInfo: DeviceInfo): Int
|
|
fun findDeviceLocations(deviceId: Int): List<DeviceLocation>
|
|
/**
|
*新增设备位置变更信息
|
*/
|
fun insertDeviceLocation(deviceLocation: String, files: Array<MultipartFile>): Int
|
|
/**
|
*更新设备及图片
|
*/
|
fun updateDeviceLocation(deviceLocation: String, deleteImg: List<String>, files: Array<MultipartFile>): Int
|
}
|