| 
					
				 | 
			
			
				@@ -0,0 +1,105 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<?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.project.VRdemo.mapper.RegionDevelopMapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <resultMap type="RegionDevelop" id="RegionDevelopResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="id"    column="id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="type"    column="type"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="title"    column="title"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="sort"    column="sort"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="path"    column="path"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="count"    column="count"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="createTime"    column="create_time"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="createBy"    column="create_by"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="updateTime"    column="update_time"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="updateBy"    column="update_by"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <sql id="selectRegionDevelopVo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        select id, type, title, sort, path, count, create_time, create_by, update_time, update_by from vr_region_develop 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectRegionDevelopList" parameterType="RegionDevelop" resultMap="RegionDevelopResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <include refid="selectRegionDevelopVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <where>   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="type != null  and type != ''"> and type like concat('%', #{type}, '%')</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="title != null  and title != ''"> and title like concat('%', #{title}, '%')</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="sort != null  and sort != ''"> and sort = #{sort}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="path != null  and path != ''"> and path like concat('%', #{path}, '%')</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="count != null and count != '' "> and count = #{count}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectRegionDevelopById" parameterType="Long" resultMap="RegionDevelopResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <include refid="selectRegionDevelopVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        where id = #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectRegionDevelopByTitle" parameterType="String" resultMap="RegionDevelopResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <include refid="selectRegionDevelopVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        where title = #{title} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <insert id="insertRegionDevelop" parameterType="RegionDevelop"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        insert into vr_region_develop 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="type != null and type != ''">type,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="title != null and title != ''">title,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="sort != null and sort != ''">sort,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="path != null and path != ''">path,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="count != null and count != ''">count,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="createBy != null and createBy != ''">create_by,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="createTime != null ">create_time,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateBy != null and updateBy != ''">update_by,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateTime != null ">update_time,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="type != null and type != ''">#{type},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="title != null and title != ''">#{title},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="sort != null and sort != ''">#{sort},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="path != null and path != ''">#{path},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="count != null and count != ''">#{count},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="createBy != null and createBy != ''">#{createBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="createTime != null ">#{createTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateBy != null and updateBy != ''">#{updateBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateTime != null ">#{updateTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <insert id="insertRegionDevelopDataList" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        INSERT INTO vr_region_develop (type, title, sort, path, count, create_by,create_time) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        VALUES 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <foreach collection="list" item="item" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            (#{item.type}, #{item.title}, #{item.sort}, #{item.path}, #{item.count}, #{item.createBy},#{item.createTime}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <update id="updateRegionDevelop" parameterType="RegionDevelop"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        update vr_region_develop 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <trim prefix="SET" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="type != null and type != ''">type = #{type},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="title != null and title != ''">title = #{title},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="sort != null and sort != ''">sort = #{sort},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="path != null and path != ''">path = #{path},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="count != null and count != ''">count = #{count},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="createBy != null and createBy != ''">create_by = #{createBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="createTime != null ">create_time = #{createTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateTime != null ">update_time = #{updateTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        where id = #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <delete id="deleteRegionDevelopById" parameterType="Long"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        delete from vr_region_develop where id = #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <delete id="deleteRegionDevelopByIds" parameterType="String"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        delete from vr_region_develop where id in  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <foreach item="id" collection="array" open="(" separator="," close=")"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</mapper> 
			 |