| 
					
				 | 
			
			
				@@ -1,139 +0,0 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<?xml version="1.0" encoding="UTF-8" ?> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<!DOCTYPE mapper 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<mapper namespace="com.ruoyi.system.mapper.PoTetherandcollectionMapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <resultMap type="PoTetherandcollection" id="PoTetherandcollectionResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="collectionId"    column="collection_id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="collectionTitle"    column="collection_title"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="status"    column="status"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="collectionType"    column="collection_type"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="createTime"    column="create_time"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="createBy"    column="create_by"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="updateTime"    column="update_time"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="updateBy"    column="update_by"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="delFlag"    column="del_flag"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="total"    column="total"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="remark"    column="remark"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="image"    column="image"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="formwork"    column="formwork"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="price"    column="price"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="publisherName"    column="publisher_name"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="story"    column="story"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="grounding"    column="grounding"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="cochain"    column="cochain"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="tetherId"    column="tether_id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <sql id="selectPoTetherandcollectionVo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        select collection_id, collection_title, status, collection_type, create_time, create_by, update_time, update_by, del_flag, total, remark, image, formwork, price, publisher_name, story, grounding, cochain, tether_id from po_TetherAndcollection 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <select id="selectPoTetherandcollectionList" parameterType="PoTetherandcollection" resultMap="PoTetherandcollectionResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <include refid="selectPoTetherandcollectionVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionTitle != null  and collectionTitle != ''"> and collection_title = #{collectionTitle}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="status != null  and status != ''"> and status = #{status}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionType != null "> and collection_type = #{collectionType}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="total != null "> and total = #{total}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="image != null  and image != ''"> and image = #{image}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="formwork != null  and formwork != ''"> and formwork = #{formwork}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="price != null "> and price = #{price}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="publisherName != null "> and publisher_name like concat('%', #{publisherName}, '%')</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="story != null  and story != ''"> and story = #{story}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="grounding != null "> and grounding = #{grounding}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="cochain != null "> and cochain = #{cochain}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tetherId != null "> and tether_id = #{tetherId}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <select id="selectPoTetherandcollectionByCollectionId" parameterType="Long" resultMap="PoTetherandcollectionResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <include refid="selectPoTetherandcollectionVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        where collection_id = #{collectionId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <insert id="insertPoTetherandcollection" parameterType="PoTetherandcollection" useGeneratedKeys="true" keyProperty="collectionId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        insert into po_TetherAndcollection 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionTitle != null and collectionTitle != ''">collection_title,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="status != null">status,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionType != null">collection_type,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createTime != null">create_time,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createBy != null">create_by,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updateTime != null">update_time,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updateBy != null">update_by,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="delFlag != null">del_flag,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="total != null">total,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="remark != null">remark,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="image != null">image,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="formwork != null">formwork,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="price != null">price,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="publisherName != null">publisher_name,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="story != null">story,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="grounding != null">grounding,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="cochain != null">cochain,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tetherId != null">tether_id,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionTitle != null and collectionTitle != ''">#{collectionTitle},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="status != null">#{status},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionType != null">#{collectionType},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createTime != null">#{createTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createBy != null">#{createBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updateTime != null">#{updateTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updateBy != null">#{updateBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="delFlag != null">#{delFlag},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="total != null">#{total},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="remark != null">#{remark},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="image != null">#{image},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="formwork != null">#{formwork},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="price != null">#{price},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="publisherName != null">#{publisherName},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="story != null">#{story},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="grounding != null">#{grounding},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="cochain != null">#{cochain},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tetherId != null">#{tetherId},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <update id="updatePoTetherandcollection" parameterType="PoTetherandcollection"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        update po_TetherAndcollection 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <trim prefix="SET" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionTitle != null and collectionTitle != ''">collection_title = #{collectionTitle},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="status != null">status = #{status},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="collectionType != null">collection_type = #{collectionType},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createTime != null">create_time = #{createTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createBy != null">create_by = #{createBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updateTime != null">update_time = #{updateTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updateBy != null">update_by = #{updateBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="delFlag != null">del_flag = #{delFlag},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="total != null">total = #{total},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="remark != null">remark = #{remark},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="image != null">image = #{image},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="formwork != null">formwork = #{formwork},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="price != null">price = #{price},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="publisherName != null">publisher_name = #{publisherName},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="story != null">story = #{story},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="grounding != null">grounding = #{grounding},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="cochain != null">cochain = #{cochain},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tetherId != null">tether_id = #{tetherId},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        where collection_id = #{collectionId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <delete id="deletePoTetherandcollectionByCollectionId" parameterType="Long"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        delete from po_TetherAndcollection where collection_id = #{collectionId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <delete id="deletePoTetherandcollectionByCollectionIds" parameterType="String"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        delete from po_TetherAndcollection where collection_id in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <foreach item="collectionId" collection="array" open="(" separator="," close=")"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            #{collectionId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-</mapper> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 |