|
|
|
@ -44,11 +44,16 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
<result property="volumePath" column="volume_path" javaType="string"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
<result property="mark" column="mark" javaType="string"
|
|
|
|
|
jdbcType="VARCHAR" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="conditionsFilters">
|
|
|
|
|
<if test="dataType!=null">
|
|
|
|
|
AND data_details.data_type=#{dataType}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="mark!=null and mark != ''">
|
|
|
|
|
AND data_details.mark=#{mark}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="submittedBatch!=null">
|
|
|
|
|
AND
|
|
|
|
|
data_details.submitted_batch=#{submittedBatch}
|
|
|
|
@ -80,7 +85,7 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<select id="getLimitedDataInfoEntities" parameterType="com.platform.entities.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,extract_status,data_year,start_year,end_year,volume_ip,volume_path
|
|
|
|
|
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,mark
|
|
|
|
|
FROM data_details
|
|
|
|
|
<where>
|
|
|
|
|
<include refid="conditionsFilters" />
|
|
|
|
@ -103,7 +108,7 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<!-- 获取数据符合筛选条件的全部记录信息 -->
|
|
|
|
|
<select id="findAll" 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,extract_status,data_year,start_year,end_year,volume_ip,volume_path
|
|
|
|
|
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,mark
|
|
|
|
|
FROM data_details
|
|
|
|
|
ORDER BY data_details.id
|
|
|
|
|
</select>
|
|
|
|
|