From 19928177f6f4b72715eecb3749deb8004d24850d Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Wed, 26 Aug 2026 17:11:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(port):=20=E6=B7=BB=E5=8A=A0=E6=B8=AF?= =?UTF-8?q?=E5=8F=A3=E4=BF=A1=E6=81=AF=E4=B8=AD=E7=9A=84=E5=9B=BD=E5=AE=B6?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在PortInfo实体类中新增country属性 - 在PortInfoMapper.xml中添加country字段映射 - 更新基础查询列包含country字段 - 添加根据国家查询港口的功能 - 在更新港口信息时支持设置国家字段 feat(srm): 添加供应商状态字段 - 在SrmSupplier实体类中新增status属性用于表示活跃状态 - 在SrmSupplierMapper.xml中添加status字段映射 - 更新供应商查询功能支持按状态筛选 - 在新增和更新供应商时支持状态字段操作 --- .../java/com/xujie/modules/port/entity/PortInfo.java | 2 ++ .../com/xujie/modules/srm/entity/SrmSupplier.java | 3 ++- src/main/resources/mapper/port/PortInfoMapper.xml | 5 ++++- src/main/resources/mapper/srm/SrmSupplierMapper.xml | 12 ++++++++++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/xujie/modules/port/entity/PortInfo.java b/src/main/java/com/xujie/modules/port/entity/PortInfo.java index 74026c8..0289799 100644 --- a/src/main/java/com/xujie/modules/port/entity/PortInfo.java +++ b/src/main/java/com/xujie/modules/port/entity/PortInfo.java @@ -59,6 +59,8 @@ public class PortInfo extends QueryPage { @ApiModelProperty(value = "是否目的港(Y/N)") private String isDestinationPort; + @ApiModelProperty(value = "国家") + private String country; public Object getKey() { return this.id; } diff --git a/src/main/java/com/xujie/modules/srm/entity/SrmSupplier.java b/src/main/java/com/xujie/modules/srm/entity/SrmSupplier.java index 9e4cda5..b86a5df 100644 --- a/src/main/java/com/xujie/modules/srm/entity/SrmSupplier.java +++ b/src/main/java/com/xujie/modules/srm/entity/SrmSupplier.java @@ -138,6 +138,7 @@ public class SrmSupplier extends QueryPage { @ApiModelProperty(value = "供应商简称(NPC)") private String cShortNpc; - + // 活跃状态 + private String status; } diff --git a/src/main/resources/mapper/port/PortInfoMapper.xml b/src/main/resources/mapper/port/PortInfoMapper.xml index f750e6b..9453348 100644 --- a/src/main/resources/mapper/port/PortInfoMapper.xml +++ b/src/main/resources/mapper/port/PortInfoMapper.xml @@ -15,12 +15,13 @@ + port_code, port_name, remark, create_by, create_date, update_by, update_date, id, active, - is_departure_port, is_destination_port + is_departure_port, is_destination_port, country