cjl
2024-06-17 34d9307df9870510f9204659ddf9f5389012cd4d
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
34
35
36
package com.moral.api.mapper;
 
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moral.api.entity.ResponsibilityUnit;
import com.moral.api.pojo.ext.responsibility.ResponsibilityUnitExt;
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);
 
    List<ResponsibilityUnitExt> selectResponsibilityUnitList(@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);
}