From dc61b0c48dbcf1c085c1ec955450989105a4a14f Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Thu, 17 Feb 2022 16:19:52 +0800
Subject: [PATCH] 1. 辖区tree 接口新增修改 2. 材料上传接口修改,去除licet_id 3. 材料展示接口修改,对接大数据平台,通过读取请求头参数来返回相应的请求参数

---
 src/main/java/org/springblade/modules/licet/mapper/LicetMapper.xml |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.xml b/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.xml
index f704a4a..c70b7d9 100644
--- a/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.xml
+++ b/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.xml
@@ -12,7 +12,35 @@
 
 
     <select id="selectLicetPage" resultMap="licetResultMap">
-        select * from sys_licet where 1=1 order by id asc
+        select * from sys_licet where 1=1
+        <if test="licet.ptype!=null and licet.ptype!=''">
+            and ptype = #{licet.ptype}
+        </if>
+        order by id asc
+    </select>
+
+    <select id="selectLicets" resultType="java.util.HashMap">
+        select
+        <trim suffixOverrides="," >
+            <if test="id != null and id !=''" >
+                id,
+            </if>
+            <if test="ptype != null and ptype !=''" >
+                ptype,
+            </if>
+            <if test="originalname != null and originalname !=''" >
+                originalname,
+            </if>
+            <if test="template != null and template !=''" >
+                ifnull(template,"") template,
+            </if>
+        </trim>
+        from sys_licet
+        where 1=1
+        <if test="licet.ptype!=null and licet.ptype!=''">
+            and ptype = #{licet.ptype}
+        </if>
+        order by id asc
     </select>
 
 </mapper>

--
Gitblit v1.9.3