|
|
|
@ -32,12 +32,18 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
|
|
|
|
|
javaType="string" jdbcType="VARCHAR" />
|
|
|
|
|
<result property="collectorName" column="collector_name"
|
|
|
|
|
javaType="string" jdbcType="VARCHAR" />
|
|
|
|
|
<result property="extractStatus" column="extract_status" jdbcType="INTEGER" />
|
|
|
|
|
|
|
|
|
|
<result property="year" column="data_year" javaType="string"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
<result property="startYear" column="start_year" javaType="string"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
<result property="endYear" column="end_year" javaType="string"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
<result property="volumeIp" column="volume_ip" javaType="string"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
<result property="volumePath" column="volume_path" javaType="string"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="conditionsFilters">
|
|
|
|
|
<if test="PagerOptions.dataType!=null">
|
|
|
|
@ -69,7 +75,7 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<select id="getLimitedDataInfoEntities" parameterType="PagerOptions"
|
|
|
|
|
resultMap="getEntityByText">
|
|
|
|
|
SELECT
|
|
|
|
|
id,regionalism_code,city_name,district_name,system_code,system_name,data_type,data_version,submitted_batch,data_path,data_charset,collection_time,collector_name,collector_contacts,data_year
|
|
|
|
|
id,regionalism_code,city_name,district_name,system_code,system_name,data_type,data_version,submitted_batch,data_path,data_charset,collection_time,collector_name,collector_contacts,extract_status,data_year,start_year,end_year,volume_ip,volume_path
|
|
|
|
|
FROM data_details
|
|
|
|
|
<if test="PagerOptions!=null">
|
|
|
|
|
<where>
|
|
|
|
@ -145,13 +151,22 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
|
|
|
|
|
data_charset,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="year != null and year != ''">
|
|
|
|
|
data_year
|
|
|
|
|
data_year,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startYear != null and startYear != ''">
|
|
|
|
|
start_year
|
|
|
|
|
start_year,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="endYear != null and endYear != ''">
|
|
|
|
|
end_year
|
|
|
|
|
end_year,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="volumeIp != null and volumeIp != ''">
|
|
|
|
|
volume_ip,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="volumePath != null and volumePath != ''">
|
|
|
|
|
volume_path,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="extractStatus > 0">
|
|
|
|
|
extract_status,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
)
|
|
|
|
@ -188,13 +203,22 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
|
|
|
|
|
#{charset},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="year != null and year != ''">
|
|
|
|
|
#{year}
|
|
|
|
|
#{year},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startYear != null and startYear != ''">
|
|
|
|
|
#{start_year}
|
|
|
|
|
#{start_year},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="endYear != null and endYear != ''">
|
|
|
|
|
#{end_year}
|
|
|
|
|
#{end_year},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="volumeIp != null and volumeIp != ''">
|
|
|
|
|
#{volumeIp},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="volumePath != null and volumePath != ''">
|
|
|
|
|
#{volumePath},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="extractStatus > 0">
|
|
|
|
|
#{extractStatus},
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
)
|
|
|
|
|