package com.muyu.enterprise.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.muyu.domain.Middle;
import com.muyu.domain.req.MiddleReq;

import java.util.List;

public interface MiddleService extends IService<Middle> {

    void updateById(MiddleReq req);

    /**
     * 查询围栏组绑定的
     *
     * @param fenceGruopId
     * @return
     */
//    HaveFence showList(@Param("fenceGruopId") Long fenceGruopId);

    /**
     * 查询中间表中id
     */
    List<Middle> selectMiddleList(Long id);

//    /**
//     * 绑定的电子围栏
//     */
//    List<Fence> showFenceList(@Param("fenceGruopId") Long fenceGruopId);
//

}
