From c558c4f1130debfd785c74ff0e963afc6455f196 Mon Sep 17 00:00:00 2001
From: Administrator <Administrator@Admin>
Date: 星期三, 21 十一月 2018 16:30:42 +0800
Subject: [PATCH] Merge branch 'master' into dev1

---
 fanli/src/main/java/com/yeshi/fanli/mapping/common/JumpDetailV2Mapper.xml |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/common/JumpDetailV2Mapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/common/JumpDetailV2Mapper.xml
index 74b6701..eead3a2 100644
--- a/fanli/src/main/java/com/yeshi/fanli/mapping/common/JumpDetailV2Mapper.xml
+++ b/fanli/src/main/java/com/yeshi/fanli/mapping/common/JumpDetailV2Mapper.xml
@@ -54,4 +54,31 @@
   	 where jp_type = #{type,jdbcType=VARCHAR}
   </select>
   
+   <select id="listJump" resultMap="BaseResultMap">
+ 	 select <include refid="Base_Column_List"/> from yeshi_ec_action_jumpdetail_v2 
+  </select>
+  
+   <select id="listQuery" resultMap="BaseResultMap">
+	    SELECT <include refid="Base_Column_List" />  FROM yeshi_ec_action_jumpdetail_v2
+	    WHERE 1=1
+		   <if test='key != null and key != ""'>
+		   	   AND (jp_name like '%${key}%') 
+		   </if>
+   		ORDER BY jp_id 
+    	LIMIT ${start},${count}
+   </select>
+   
+   <select id="countListQuery" resultType="java.lang.Long">
+	    SELECT IFNULL(count(jp_id),0)  FROM yeshi_ec_action_jumpdetail_v2 
+	    WHERE 1=1
+		   <if test='key != null and key != ""'>
+		   	   AND (jp_name like '%${key}%') 
+		   </if>
+	</select>
+  	
+  	<delete id="deleteBatchByPrimaryKey" parameterType="java.util.List">
+		delete from yeshi_ec_action_jumpdetail_v2 WHERE jp_id in
+		<foreach collection="list" item="item" open="(" close=")"
+			separator=",">#{item}</foreach>
+    </delete>
 </mapper>

--
Gitblit v1.8.0