api-设备新增设备类型字段,是入场还是出场。完善入场逻辑
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.sv.mapper;
|
||||
import com.common.DeviceDTO;
|
||||
import com.enums.DeviceType;
|
||||
import com.sv.entity.Device;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
@@ -76,4 +77,12 @@ public interface DeviceMapper {
|
||||
|
||||
Integer checkDevice(@Param("deviceName") String deviceName,@Param("venueId") Integer venueId);
|
||||
|
||||
/**
|
||||
* 根据记录找设备
|
||||
* @param deviceName
|
||||
* @param venueId
|
||||
* @param deviceType
|
||||
* @return
|
||||
*/
|
||||
Device findByDevice(String deviceName, Integer venueId, DeviceType deviceType);
|
||||
}
|
||||
Reference in New Issue
Block a user