1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.jeecg.modules.dnc.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.dnc.entity.PartsInfo;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface PartsInfoMapper extends BaseMapper<PartsInfo> {
 
    /**
     * 根据用户id获取授权的零件信息
     * @param userId
     * @return
     */
    List<PartsInfo> getByUserPerms(@Param("userId") String userId);
}