whyclxw
2024-11-25 4fc7909358cc62231c81b8e871749fc1b3fa69bd
src/main/java/com/whyc/mapper/DevInfMapper.java
@@ -1,5 +1,6 @@
package com.whyc.mapper;
import com.whyc.dto.DevInfDto;
import com.whyc.pojo.db_lithium_ram_db.DevInf;
import lombok.Value;
import org.apache.ibatis.annotations.Param;
@@ -9,7 +10,16 @@
public interface DevInfMapper extends CustomMapper<DevInf>{
    //查询包机人管理的设备id
    List<DevInf> getAllInf(@Param("uid") Integer uid);
    List<DevInf> getAllInf(@Param("dto") DevInfDto dto);
    //查询该类型最大设备编号
    Integer getMaxDevId(Integer devType);
    //获取左侧泪飙
    List<DevInf> getLine(@Param("uid") Integer uid);
    //获取左侧泪飙
    List<DevInf> getDevType(@Param("uid") Integer uid,@Param("devType") Integer devType);
    //设备分类总数统计
    List<DevInf> getDevStaticByType(@Param("uid") Integer userId);
}