| 
					
				 | 
			
			
				@@ -8,6 +8,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="seriesId" column="series_id"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="seriesName" column="series_name"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="seriesImage" column="series_image"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="collectionCounts" column="collection_counts"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="status" column="status"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="exchangeStatus" column="exchange_status"/> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -197,6 +198,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         from post_series 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where series_name = #{seriesName} limit 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!--    上锁 不能修改  // 1 不能改  0 能改  藏品的exchangeflag --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <update id="exchangeSeriesFlagUpLock" parameterType="PostSeries" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        update post_series ,post_collection  set post_series.exchange_flag = '1' ,  post_collection.exchange_flag = '1' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        WHERE post_series.series_name = #{seriesName} AND post_collection.series_name = #{seriesName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--    <!–    上锁 不能修改  // 1 不能改  0 能改  套系的exchangeflag  –>--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--    <update id="exchangeSeriesFlagUpLock" parameterType="String" >--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--        update post_collection set exchange_flag = '1'--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--        where series_name = #{seriesName}--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--    </update>--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </mapper> 
			 |