feiyu02
2024-08-02 16b961c2210fe29fd494ac1f9d830dd93503961f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
}