wu
2023-12-04 a93a3f1532d33849187dcd1a372c315ec4511e04
springboot-vue3/src/main/java/com/example/springboot/mapper/device/DeviceMapper.java
New file
@@ -0,0 +1,21 @@
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);
}