|
|
@@ -5,7 +5,7 @@
|
|
|
<!-- 通用设置 -->
|
|
|
<!-- 通用查询列 -->
|
|
|
<sql id="Base_Column_List">
|
|
|
- activity_id, activity_name, activity_describe, activity_type, activity_status, begin_date, end_date, flg_banner, activity_path, activity_url, grade_code, fun_id, app_code, cp_ids, display_no, flg_valid, op_create_time, op_create_user_id, op_update_time, op_update_user_id, op_app_code, op_timestamp, op_db_user
|
|
|
+ activity_id, activity_name, activity_describe, activity_type, activity_status, begin_date, end_date, flg_banner, annex_paths, activity_url, grade_code, fun_id, app_code, cp_ids, display_no, flg_valid, op_create_time, op_create_user_id, op_update_time, op_update_user_id, op_app_code, op_timestamp, op_db_user
|
|
|
</sql>
|
|
|
|
|
|
<!-- 通用查询映射结果 -->
|
|
|
@@ -18,7 +18,7 @@
|
|
|
<result column="begin_date" property="beginDate" typeHandler="TimestampTypeHandler"/>
|
|
|
<result column="end_date" property="endDate" typeHandler="TimestampTypeHandler"/>
|
|
|
<result column="flg_banner" property="flgBanner"/>
|
|
|
- <result column="activity_path" property="activityPath"/>
|
|
|
+ <result column="annex_paths" property="annexPaths" typeHandler="JsonTypeHandler"/>
|
|
|
<result column="activity_url" property="activityUrl"/>
|
|
|
<result column="grade_code" property="gradeCode"/>
|
|
|
<result column="fun_id" property="funId" typeHandler="UuidTypeHandler"/>
|
|
|
@@ -59,8 +59,8 @@
|
|
|
<if test="flgBanner != null">
|
|
|
AND flg_banner = #{flgBanner}
|
|
|
</if>
|
|
|
- <if test="activityPath != null and activityPath != ''">
|
|
|
- AND activity_path = #{activityPath}
|
|
|
+ <if test="annexPaths != null and annexPaths != ''">
|
|
|
+ AND annex_paths = #{annexPaths}
|
|
|
</if>
|
|
|
<if test="activityUrl != null and activityUrl != ''">
|
|
|
AND activity_url = #{activityUrl}
|
|
|
@@ -117,7 +117,7 @@
|
|
|
tma.begin_date,
|
|
|
tma.end_date,
|
|
|
tma.flg_banner,
|
|
|
- tma.activity_path,
|
|
|
+ tma.annex_paths,
|
|
|
tma.activity_url,
|
|
|
tma.grade_code,
|
|
|
tma.fun_id,
|
|
|
@@ -144,7 +144,7 @@
|
|
|
<result column="begin_date" property="beginDate" typeHandler="TimestampTypeHandler"/>
|
|
|
<result column="end_date" property="endDate" typeHandler="TimestampTypeHandler"/>
|
|
|
<result column="flg_banner" property="flgBanner"/>
|
|
|
- <result column="activity_path" property="activityPath"/>
|
|
|
+ <result column="annex_paths" property="annexPaths" typeHandler="JsonTypeHandler"/>
|
|
|
<result column="activity_url" property="activityUrl"/>
|
|
|
<result column="grade_code" property="gradeCode"/>
|
|
|
<result column="fun_id" property="funId" typeHandler="UuidTypeHandler"/>
|
|
|
@@ -186,8 +186,8 @@
|
|
|
<if test="flgBanner != null">
|
|
|
AND tma.flg_banner = #{flgBanner}
|
|
|
</if>
|
|
|
- <if test="activityPath != null and activityPath != ''">
|
|
|
- AND tma.activity_path = #{activityPath}
|
|
|
+ <if test="annexPaths != null and annexPaths != ''">
|
|
|
+ AND tma.annex_paths = #{annexPaths}
|
|
|
</if>
|
|
|
<if test="activityUrl != null and activityUrl != ''">
|
|
|
AND tma.activity_url = #{activityUrl}
|
|
|
@@ -305,7 +305,7 @@
|
|
|
begin_date,
|
|
|
end_date,
|
|
|
flg_banner,
|
|
|
- activity_path,
|
|
|
+ annex_paths,
|
|
|
activity_url,
|
|
|
grade_code,
|
|
|
fun_id,
|
|
|
@@ -326,7 +326,7 @@
|
|
|
#{item.beginDate},
|
|
|
#{item.endDate},
|
|
|
#{item.flgBanner},
|
|
|
- #{item.activityPath},
|
|
|
+ #{item.annexPaths},
|
|
|
#{item.activityUrl},
|
|
|
#{item.gradeCode},
|
|
|
#{item.funId}::uuid,
|