From b3e1084ddebf92b2858706aca5ea7841942216fc Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 23 Jun 2021 14:25:22 +0800
Subject: [PATCH] 取证详情接口修改,新增接口修改

---
 src/main/java/org/springblade/modules/wj/mapper/WjMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 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 f778474..cf7800c 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,sid) VALUES (#{jid},#{address},#{sid})
+       INSERT INTO sys_wj (jid,address,sid,type) VALUES (#{jid},#{address},#{sid},#{type})
     </insert>
 
     <select id="selectInfo" resultMap="wjResultMap">
@@ -49,7 +49,7 @@
     <!--获取资源  图片、视频-->
     <select id="selectResouces" resultType="java.lang.String">
         select address from sys_wj
-        where 1=1
+        where sid = #{wj.sid}
         <if test="wj.type!=null">
             and type = #{wj.type}
         </if>

--
Gitblit v1.9.3