From 971d4858fcba2b551bc26f281c71f16e8671ab62 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期日, 05 十一月 2023 11:11:09 +0800
Subject: [PATCH] 添加快速溯源接口

---
 src/main/resources/mapper/SuYuanMapper.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/SuYuanMapper.xml b/src/main/resources/mapper/SuYuanMapper.xml
index a5de542..d9cda4a 100644
--- a/src/main/resources/mapper/SuYuanMapper.xml
+++ b/src/main/resources/mapper/SuYuanMapper.xml
@@ -215,7 +215,13 @@
 	<select id="isTableExists" resultType="java.lang.Integer">
 		select count(*) from information_schema.tables where table_name = #{tableName};
 	</select>
-	
+
+	<select id="selectFastById" resultType="com.yssh.entity.SuYuanFast">
+		select * from yssh.suyuan_fast
+		where su_yuan_id = #{id} and create_time = #{time}
+		order by id;
+	</select>
+
 	<update id="createTable" parameterType="java.lang.String">
 		create table ${tableName}  (
        	  	`id` varchar(10) not null comment '涓婚敭',

--
Gitblit v1.9.3