jinpengyong
2024-02-02 28923b3d67c58b032bc4ff128aa1d5e62d73dba1
screen-api/src/main/java/com/moral/api/mapper/ResponsibilityUnitMapper.java
@@ -3,6 +3,31 @@
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);
}