diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java index 905db3713..34d40cf45 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisDestination.java @@ -1,10 +1,10 @@ -/** +/** * @Project: emis * @Title: EmisDestination.java * @author linfso - * @date 2024-01-10 02:53:35 + * @date 2024-01-11 05:16:09 * @Copyright: ShangHai Duta 2022 All rights reserved. - * @version v1.0 + * @version v1.0 * @Description:

目的地 实体类

*/ @@ -25,9 +25,9 @@ import lombok.Data; * @ClassName EmisDestination * @Description 目的地 * @author linfso - * @date 2024-01-10 02:53:35 + * @date 2024-01-11 05:16:09 */ - @Data +@Data public class EmisDestination extends BaseEntity { private static final long serialVersionUID = 1L; @@ -44,10 +44,6 @@ public class EmisDestination extends BaseEntity private Integer status; /* 所属国家 */ private String country; - /* 所属线路 */ - private String transLineCode; - /* 所属线路名称 */ - private String transLine; /* 服务网点编号 */ private String siteCode; /* 服务网点名称 */ @@ -61,4 +57,9 @@ public class EmisDestination extends BaseEntity /* 乡镇 */ private String town; + /* 创建网点 */ + private String createSite; + /* 更新网点 */ + private String updateSite; + } diff --git a/emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml b/emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml index fb5d3d6c4..4e5752e25 100644 --- a/emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisDestinationMapper.xml @@ -1,9 +1,9 @@ + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + @@ -11,8 +11,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - @@ -23,26 +21,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + - select id, dest_code, dest_name, dest_name_en, status, country, trans_line_code, trans_line, site_code, site_name, province, city, county, town, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time from emis_destination + select id, dest_code, dest_name, dest_name_en, status, country, site_code, site_name, province, city, county, town, remark, tenant_id, del_flag, create_by, create_site, create_time, update_by, update_site, update_time from emis_destination - + - + insert into emis_destination @@ -75,8 +75,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" dest_name_en, status, country, - trans_line_code, - trans_line, site_code, site_name, province, @@ -87,10 +85,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" tenant_id, del_flag, create_by, + create_site, create_time, update_by, + update_site, update_time, - + #{id}, #{destCode}, @@ -98,8 +98,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{destNameEn}, #{status}, #{country}, - #{transLineCode}, - #{transLine}, #{siteCode}, #{siteName}, #{province}, @@ -110,10 +108,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{tenantId}, #{delFlag}, #{createBy}, + #{createSite}, #{createTime}, #{updateBy}, + #{updateSite}, #{updateTime}, - + @@ -124,8 +124,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" dest_name_en = #{destNameEn}, status = #{status}, country = #{country}, - trans_line_code = #{transLineCode}, - trans_line = #{transLine}, site_code = #{siteCode}, site_name = #{siteName}, province = #{province}, @@ -136,8 +134,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" tenant_id = #{tenantId}, del_flag = #{delFlag}, create_by = #{createBy}, + create_site = #{createSite}, create_time = #{createTime}, update_by = #{updateBy}, + update_site = #{updateSite}, update_time = #{updateTime}, where id = #{id} @@ -148,7 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from emis_destination where id in + delete from emis_destination where id in #{id}