New file |
| | |
| | | package com.example.springboot.mapper.device; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.example.springboot.entity.User; |
| | | import com.example.springboot.entity.device.DeviceEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | @Mapper |
| | | @Repository |
| | | public interface DeviceMapper extends BaseMapper<User> { |
| | | List<DeviceEntity> selectAllDevices(); |
| | | |
| | | void updateDeviceName(DeviceEntity device); |
| | | |
| | | void updateMultipleDevices(List<DeviceEntity> devices); |
| | | List<DeviceEntity> callStoredProc(DeviceEntity device); |
| | | } |