|
@@ -10,7 +10,7 @@
|
|
|
<result property="seriesImage" column="series_image"/>
|
|
|
<result property="collectionCounts" column="collection_counts"/>
|
|
|
<result property="status" column="status"/>
|
|
|
- <result property="exchangeStatus" column="exchange_status"/>
|
|
|
+ <result property="exchangeFlag" column="exchange_flag"/>
|
|
|
<result property="startTime" column="start_time"/>
|
|
|
<result property="endTime" column="end_time"/>
|
|
|
<result property="delFlag" column="del_flag"/>
|
|
@@ -20,28 +20,7 @@
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
<result property="remark" column="remark"/>
|
|
|
</resultMap>
|
|
|
-
|
|
|
- <resultMap type="PostCollection" id="PostCollectionResult">
|
|
|
- <result property="collectionId" column="collection_id"/>
|
|
|
- <result property="collectionName" column="collection_name"/>
|
|
|
- <result property="collectionImage" column="collection_image"/>
|
|
|
- <result property="collectionDetails" column="collection_details"/>
|
|
|
- <result property="collection3dimage" column="collection_3dimage"/>
|
|
|
- <result property="publisherName" column="publisher_name"/>
|
|
|
- <result property="collectionPrice" column="collection_price"/>
|
|
|
- <result property="collectionCounts" column="collection_counts"/>
|
|
|
- <result property="collectionStatus" column="collection_status"/>
|
|
|
- <result property="exchangeStatus" column="exchange_status"/>
|
|
|
- <result property="startTime" column="start_time"/>
|
|
|
- <result property="endTime" column="end_time"/>
|
|
|
- <result property="seriesName" column="series_name"/>
|
|
|
- <result property="delFlag" column="del_flag"/>
|
|
|
- <result property="createBy" column="create_by"/>
|
|
|
- <result property="createTime" column="create_time"/>
|
|
|
- <result property="updateBy" column="update_by"/>
|
|
|
- <result property="updateTime" column="update_time"/>
|
|
|
- <result property="remark" column="remark"/>
|
|
|
- </resultMap>
|
|
|
+
|
|
|
|
|
|
<sql id="selectPostSeriesVo">
|
|
|
select series_id,
|
|
@@ -49,7 +28,7 @@
|
|
|
cast(series_image as char) as series_image,
|
|
|
collection_counts,
|
|
|
status,
|
|
|
- exchange_status,
|
|
|
+ exchange_flag,
|
|
|
start_time,
|
|
|
end_time,
|
|
|
del_flag
|
|
@@ -64,7 +43,7 @@
|
|
|
<if test="seriesImage != null and seriesImage != ''">and series_image = #{seriesImage}</if>
|
|
|
<if test="collectionCounts != null ">and collection_counts = #{collectionCounts}</if>
|
|
|
<if test="status != null and status != ''">and status = #{status}</if>
|
|
|
- <if test="exchangeStatus != null and exchangeStatus != ''">and exchange_status = #{exchangeStatus}</if>
|
|
|
+ <if test="exchangeFlag != null and exchangeFlag != ''">and exchange_flag = #{exchangeFlag}</if>
|
|
|
<if test="startTime != null ">and start_time = #{startTime}</if>
|
|
|
<if test="endTime != null ">and end_time = #{endTime}</if>
|
|
|
</select>
|
|
@@ -76,7 +55,7 @@
|
|
|
<if test="seriesImage != null and seriesImage != ''">and series_image = #{seriesImage}</if>
|
|
|
<if test="collectionCounts != null ">and collection_counts = #{collectionCounts}</if>
|
|
|
<if test="status != null and status != ''">and status = #{status}</if>
|
|
|
- <if test="exchangeStatus != null and exchangeStatus != ''">and exchange_status = #{exchangeStatus}</if>
|
|
|
+ <if test="exchangeFlag != null and exchangeFlag != ''">and exchange_flag = #{exchangeFlag}</if>
|
|
|
<if test="startTime != null ">and start_time = #{startTime}</if>
|
|
|
<if test="endTime != null ">and end_time = #{endTime}</if>
|
|
|
</select>
|
|
@@ -88,7 +67,7 @@
|
|
|
<if test="seriesImage != null and seriesImage != ''">and series_image = #{seriesImage}</if>
|
|
|
<if test="collectionCounts != null ">and collection_counts = #{collectionCounts}</if>
|
|
|
<if test="status != null and status != ''">and status = #{status}</if>
|
|
|
- <if test="exchangeStatus != null and exchangeStatus != ''">and exchange_status = #{exchangeStatus}</if>
|
|
|
+ <if test="exchangeFlag != null and exchangeFlag != ''">and exchange_flag = #{exchangeFlag}</if>
|
|
|
<if test="startTime != null ">and start_time = #{startTime}</if>
|
|
|
<if test="endTime != null ">and end_time = #{endTime}</if>
|
|
|
</select>
|
|
@@ -100,7 +79,7 @@
|
|
|
<if test="seriesImage != null and seriesImage != ''">and series_image = #{seriesImage}</if>
|
|
|
<if test="collectionCounts != null ">and collection_counts = #{collectionCounts}</if>
|
|
|
<if test="status != null and status != ''">and status = #{status}</if>
|
|
|
- <if test="exchangeStatus != null and exchangeStatus != ''">and exchange_status = #{exchangeStatus}</if>
|
|
|
+ <if test="exchangeFlag != null and exchangeFlag != ''">and exchange_flag = #{exchangeFlag}</if>
|
|
|
<if test="startTime != null ">and start_time = #{startTime}</if>
|
|
|
<if test="endTime != null ">and end_time = #{endTime}</if>
|
|
|
</select>
|
|
@@ -118,7 +97,7 @@
|
|
|
<if test="seriesImage != null">series_image,</if>
|
|
|
<if test="collectionCounts != null">collection_counts,</if>
|
|
|
<if test="status != null and status != ''">status,</if>
|
|
|
- <if test="exchangeStatus != null and exchangeStatus != ''">exchange_status,</if>
|
|
|
+ <if test="exchangeFlag != null and exchangeFlag != ''">exchange_flag,</if>
|
|
|
<if test="startTime != null">start_time,</if>
|
|
|
<if test="endTime != null">end_time,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
@@ -133,7 +112,7 @@
|
|
|
<if test="seriesImage != null">#{seriesImage},</if>
|
|
|
<if test="collectionCounts != null">#{collectionCounts},</if>
|
|
|
<if test="status != null and status != ''">#{status},</if>
|
|
|
- <if test="exchangeStatus != null and exchangeStatus != ''">#{exchangeStatus},</if>
|
|
|
+ <if test="exchangeFlag != null and exchangeFlag != ''">#{exchangeFlag},</if>
|
|
|
<if test="startTime != null">#{startTime},</if>
|
|
|
<if test="endTime != null">#{endTime},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
@@ -166,7 +145,7 @@
|
|
|
<if test="seriesImage != null">series_image = #{seriesImage},</if>
|
|
|
<if test="collectionCounts != null">collection_counts = #{collectionCounts},</if>
|
|
|
<if test="status != null and status != ''">status = #{status},</if>
|
|
|
- <if test="exchangeStatus != null and exchangeStatus != ''">exchange_status = #{exchangeStatus},</if>
|
|
|
+ <if test="exchangeFlag != null and exchangeFlag != ''">exchange_flag = #{exchangeFlag},</if>
|
|
|
<if test="startTime != null">start_time = #{startTime},</if>
|
|
|
<if test="endTime != null">end_time = #{endTime},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|