cjl
2023-11-14 15369bf819ca82896bbcada782e6babf2a7d64c9
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
27
28
29
30
31
32
33
package com.moral.api.mapper;
 
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moral.api.entity.ResponsibilityUnit;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface ResponsibilityUnitMapper extends BaseMapper<ResponsibilityUnit> {
 
    /**
     * 查询责任单位id
     * @param id
     * @return
     */
    List<Integer> selectResultList(@Param("id") Integer id);
 
    String selectAreaCode(@Param("id") Integer id);
 
    /**
     * 查询字典id
     */
    List<Integer> selectCodeList(@Param("code") String code,@Param("id") Integer id);
 
    /**
     * 查询字典类型名字
     * @param code
     * @param id
     * @return
     */
    String selectName(@Param("code") String code,@Param("id") Integer id);
}