From f891adadcac708e54a6f9be8fcb8a4c6bef60a29 Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Thu, 21 Aug 2025 10:02:36 +0800 Subject: [PATCH] 20250821 --- .../biutag/lan/domain/CountyStreetDept.java | 32 +++++ .../lan/mapper/CountyStreetDeptMapper.java | 11 ++ ...rMapper.xml => CountyStreetDeptMapper.xml} | 0 .../resources/mapper/DataScreenMapper.xml | 18 ++- .../java/com/biutag/lan/SpringTestCase.java | 122 ++++++++++++------ 5 files changed, 141 insertions(+), 42 deletions(-) create mode 100644 mailbox-lan/src/main/java/com/biutag/lan/domain/CountyStreetDept.java create mode 100644 mailbox-lan/src/main/java/com/biutag/lan/mapper/CountyStreetDeptMapper.java rename mailbox-lan/src/main/resources/mapper/{PoliceUserMapper.xml => CountyStreetDeptMapper.xml} (100%) diff --git a/mailbox-lan/src/main/java/com/biutag/lan/domain/CountyStreetDept.java b/mailbox-lan/src/main/java/com/biutag/lan/domain/CountyStreetDept.java new file mode 100644 index 0000000..d13a024 --- /dev/null +++ b/mailbox-lan/src/main/java/com/biutag/lan/domain/CountyStreetDept.java @@ -0,0 +1,32 @@ +package com.biutag.lan.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import lombok.Getter; +import lombok.Setter; + +/** + * @author wxc + * @date 2025/8/18 + */ +@Setter +@Getter +public class CountyStreetDept { + + @TableId(type = IdType.AUTO) + private Integer id; + + private String deptId; + + private String pid; + + @TableField("\"level\"") + private Integer level; + + private String name; + + // 地图数据 + private String geometry; + +} diff --git a/mailbox-lan/src/main/java/com/biutag/lan/mapper/CountyStreetDeptMapper.java b/mailbox-lan/src/main/java/com/biutag/lan/mapper/CountyStreetDeptMapper.java new file mode 100644 index 0000000..872c77d --- /dev/null +++ b/mailbox-lan/src/main/java/com/biutag/lan/mapper/CountyStreetDeptMapper.java @@ -0,0 +1,11 @@ +package com.biutag.lan.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.biutag.lan.domain.CountyStreetDept; + +/** + * @author wxc + * @date 2025/8/18 + */ +public interface CountyStreetDeptMapper extends BaseMapper { +} diff --git a/mailbox-lan/src/main/resources/mapper/PoliceUserMapper.xml b/mailbox-lan/src/main/resources/mapper/CountyStreetDeptMapper.xml similarity index 100% rename from mailbox-lan/src/main/resources/mapper/PoliceUserMapper.xml rename to mailbox-lan/src/main/resources/mapper/CountyStreetDeptMapper.xml diff --git a/mailbox-lan/src/main/resources/mapper/DataScreenMapper.xml b/mailbox-lan/src/main/resources/mapper/DataScreenMapper.xml index 1795a4f..4c14e50 100644 --- a/mailbox-lan/src/main/resources/mapper/DataScreenMapper.xml +++ b/mailbox-lan/src/main/resources/mapper/DataScreenMapper.xml @@ -203,10 +203,20 @@