liding
2 小时以前 8225b2e184fc1e5555a70f33f3b9ff9fe475c13e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.ruoyi.process.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.process.pojo.ProcessMethodVerifyWorkFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * 标准方法验证上岗证附件表
 *
 * @author zhuo
 * @since 2024-11-12
 */
@Mapper
public interface ProcessMethodVerifyWorkFileMapper extends BaseMapper<ProcessMethodVerifyWorkFile> {
 
    /**
     * 根据用户id查询上岗证
     * @param userId
     * @return
     */
    String selectWorkFile(@Param("userId") Integer userId);
 
    /** 读取人员最新的任职授权记录,供方法验证实时查看证书。 */
    ProcessMethodVerifyWorkFile selectLatestAuthorization(@Param("userId") Integer userId);
}