package com.ruoyi.fuzhou.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.ruoyi.fuzhou.domain.DpEquipment;
|
import com.ruoyi.fuzhou.domain.vo.DpEquipmentVO;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* Mapper 接口
|
* </p>
|
*
|
* @author zhangyy
|
* @since 2025-03-14
|
*/
|
@Mapper
|
public interface EquipmentMapper extends BaseMapper<DpEquipment> {
|
|
List<DpEquipmentVO> getPageList(DpEquipment equipment);
|
|
long getTotal(DpEquipment equipment);
|
|
DpEquipmentVO queryById(Integer id);
|
|
void deleteBy(Integer whId);
|
|
List<DpEquipmentVO> getListByBeId(Integer beId);
|
|
List<DpEquipmentVO> getListByWhId(Integer whId);
|
|
List<DpEquipmentVO> getListByBeIdTypeId(@Param("beId")Integer beId, @Param("typeIds") List<Integer> typeIds);
|
}
|