package com.junmp.jyzb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.junmp.jyzb.api.bean.dto.EquipmentTypeDto;
import com.junmp.jyzb.api.bean.dto.FetchingDataDto.TypeDto;
import com.junmp.jyzb.api.bean.query.QueryEquipmentTypeReq;
import com.junmp.jyzb.api.bean.req.UpdateEquipmentTypeReq;
import com.junmp.jyzb.entity.EquipmentType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface EquipmentTypeMapper extends BaseMapper<EquipmentType> {




    void setTypeParentIds(@Param("typeId")String typeId);

    List<String> selectByItems(@Param("list1") List<String> list1,
                               @Param("list2") List<String> list2,
                               @Param("list3") List<String> list3,
                               @Param("list4") List<String> list4);

    List<TypeDto> alignTypeInfo(@Param("date") String date);
}