From 29fa518bdafdedb4aa4cde223ceeb0c8ee593988 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 10 Apr 2024 15:38:43 +0800 Subject: [PATCH] md --- .../java/com/xdadan/erp/emis/domain/EmisCountry.java | 8 ++++---- .../src/main/resources/mapper/EmisCountryMapper.xml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCountry.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCountry.java index e03a4f6ed..204bc6e88 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCountry.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCountry.java @@ -2,7 +2,7 @@ * @Project: emis * @Title: EmisCountry.java * @author linfso - * @date 2024-03-20 11:55:22 + * @date 2024-04-10 07:21:30 * @Copyright: ShangHai Duta 2022 All rights reserved. * @version v1.0 * @Description:

国家 实体类

@@ -26,7 +26,7 @@ import lombok.Data; * @ClassName EmisCountry * @Description 国家 * @author linfso - * @date 2024-03-20 11:55:22 + * @date 2024-04-10 07:21:30 */ @Data public class EmisCountry extends BaseEntity @@ -45,8 +45,8 @@ public class EmisCountry extends BaseEntity private String telAreaCode; /* iso代码 */ private String isoCode; - /* 所属洲id */ - private Integer continentId; + /* 所属洲id列表,逗号隔开 */ + private String continentId; /* 显示顺序 */ private Integer orderNum; /* 二字码 */ diff --git a/emis-biz/src/main/resources/mapper/EmisCountryMapper.xml b/emis-biz/src/main/resources/mapper/EmisCountryMapper.xml index bae585bca..b0c2051ee 100644 --- a/emis-biz/src/main/resources/mapper/EmisCountryMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCountryMapper.xml @@ -37,7 +37,7 @@ and code like concat('%', #{code}, '%') and tel_area_code like concat('%', #{telAreaCode}, '%') and iso_code like concat('%', #{isoCode}, '%') - and continent_id = #{continentId} + and find_in_set(#{continentId},continent_id) and order_num = #{orderNum} and two_code like concat('%', #{twoCode}, '%') and three_code like concat('%', #{threeCode}, '%') @@ -49,7 +49,7 @@ and update_by like concat('%', #{updateBy}, '%') and update_time = #{updateTime} - order by order_num desc + order by create_time desc