<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="jnpf.doclibrary.mapper.CommonConfigMapper" >
  <resultMap id="BaseResultMap" type="jnpf.entity.CommonConfig" >
    <id column="F_Id" property="id" jdbcType="VARCHAR" />
    <result column="F_Name" property="name" jdbcType="VARCHAR" />
    <result column="F_Code" property="code" jdbcType="VARCHAR" />
    <result column="F_DataJson" property="dataJson" jdbcType="OTHER" />
    <result column="F_TenantId" property="tenantId" jdbcType="VARCHAR" />
  </resultMap>
  <sql id="Base_Column_List" >
    F_Id, F_Name, F_Code, F_DataJson, F_TenantId
  </sql>

  <!-- 根据key查询数据报表url配置 -->
  <select id="getDataReportUrlConfig" resultType="java.lang.String">
    select F_DataJson from ftb_common_config where F_Code = #{key}
  </select>
</mapper>