From 8cd51fc0931fb8994f91f8e2ccf5078ef7a76ebc Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 23 Jun 2021 10:25:37 +0800
Subject: [PATCH] 取证详情接口新增

---
 src/main/java/org/springblade/modules/wj/mapper/WjMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/wj/mapper/WjMapper.xml b/src/main/java/org/springblade/modules/wj/mapper/WjMapper.xml
index 808cadd..f778474 100644
--- a/src/main/java/org/springblade/modules/wj/mapper/WjMapper.xml
+++ b/src/main/java/org/springblade/modules/wj/mapper/WjMapper.xml
@@ -20,7 +20,7 @@
 
 
     <insert id="insertfeed" useGeneratedKeys="true" keyProperty="id" parameterType="org.springblade.modules.wj.entity.Wj">
-       INSERT INTO sys_wj (jid,address) VALUES (#{jid},#{address})
+       INSERT INTO sys_wj (jid,address,sid) VALUES (#{jid},#{address},#{sid})
     </insert>
 
     <select id="selectInfo" resultMap="wjResultMap">
@@ -46,4 +46,12 @@
        INSERT INTO sys_wj (sid,address) VALUES (#{sid},#{address})
     </insert>
 
+    <!--获取资源  图片、视频-->
+    <select id="selectResouces" resultType="java.lang.String">
+        select address from sys_wj
+        where 1=1
+        <if test="wj.type!=null">
+            and type = #{wj.type}
+        </if>
+    </select>
 </mapper>

--
Gitblit v1.9.3