From 3a45a45f99ed26a85a15d6991251985561deabef Mon Sep 17 00:00:00 2001 From: wanghao Date: Wed, 13 Aug 2025 13:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=B1=8B=E6=95=B0=E6=8D=AE=E8=BF=81?= =?UTF-8?q?=E7=A7=BBsql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/sql/迁移小屋数据至资源表.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/sql/迁移小屋数据至资源表.sql diff --git a/db/sql/迁移小屋数据至资源表.sql b/db/sql/迁移小屋数据至资源表.sql new file mode 100644 index 0000000..937442b --- /dev/null +++ b/db/sql/迁移小屋数据至资源表.sql @@ -0,0 +1,6 @@ +INSERT INTO emergency_resource +(id,`name`, address, longitude, latitude, type, `status`, del_flag, create_by, create_time, update_by, update_time, memo) +SELECT + id,`name`, org_name, longitude, latitude, 3 as type, `status`, del_flag, create_by, create_time, update_by, update_time, memo +FROM + `emergency_health_room`; \ No newline at end of file