lyh
2025-06-16 24e0bdd24a10449c98013cdb5bcc5e37735f5a91
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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<ProcessSpecVersion> {
 
    /**
     * 查询工艺规程版本信息
     * @param userId
     * @return
     */
    List<ProcessSpecVersion> getByUserPerms(String userId);
 
    @Select("SELECT * FROM nc_process_spec_version WHERE id = #{id}")
    ProcessSpecVersion selectById(@Param("id") String id);
}