package org.jeecg.modules.dnc.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import io.lettuce.core.dynamic.annotation.Param; import org.apache.ibatis.annotations.Select; import org.jeecg.modules.dnc.entity.ProcessSpecVersion; import java.util.List; public interface ProcessSpecVersionMapper extends BaseMapper { /** * 查询工艺规程版本信息 * @param userId * @return */ List getByUserPerms(String userId); @Select("SELECT * FROM nc_process_spec_version WHERE id = #{id}") ProcessSpecVersion selectById(@Param("id") String id); }