From 8765592a577a5d24f94bfaf2b4c7880ce405b490 Mon Sep 17 00:00:00 2001 From: linfso Date: Thu, 24 Oct 2024 19:32:09 +0800 Subject: [PATCH] md --- .../erp/emis/domain/EmisCommissionQuote.java | 10 ++++- .../mapper/EmisCommissionQuoteMapper.xml | 42 +++++++++++++------ 2 files changed, 38 insertions(+), 14 deletions(-) diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCommissionQuote.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCommissionQuote.java index 31a8db1ea..f29c84247 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCommissionQuote.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCommissionQuote.java @@ -39,6 +39,12 @@ public class EmisCommissionQuote extends BaseEntity private String quoteCode; /* 提成方案名称 */ private String quoteName; + /* 起始国 */ + private String fromCountry; + /* 目的国家 */ + private String country; + /* 提成费用类型 运输费 */ + private String feeType; /* 计算类型 票,重量 emis_commission_type */ private String calcType; /* 岗位类型:emis_commission_post */ @@ -52,10 +58,10 @@ public class EmisCommissionQuote extends BaseEntity /* 员工名称 */ private String empName; /* 开始日期 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date startDate; /* 结束日期 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date endDate; /* 优先级 */ private Integer priorityLevel; diff --git a/emis-biz/src/main/resources/mapper/EmisCommissionQuoteMapper.xml b/emis-biz/src/main/resources/mapper/EmisCommissionQuoteMapper.xml index b9b714ecc..1987252d8 100644 --- a/emis-biz/src/main/resources/mapper/EmisCommissionQuoteMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCommissionQuoteMapper.xml @@ -1,13 +1,16 @@ + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + + + + @@ -20,16 +23,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select quote_id, quote_code, quote_name, calc_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_commission_quote + select quote_id, quote_code, quote_name, from_country, country, fee_type, calc_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_commission_quote - + - + insert into emis_commission_quote quote_id, quote_code, quote_name, + from_country, + country, + fee_type, calc_type, post_type, trans_type, @@ -109,11 +121,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time, create_site, update_site, - + #{quoteId}, #{quoteCode}, #{quoteName}, + #{fromCountry}, + #{country}, + #{feeType}, #{calcType}, #{postType}, #{transType}, @@ -132,7 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{updateTime}, #{createSite}, #{updateSite}, - + @@ -140,6 +155,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" quote_code = #{quoteCode}, quote_name = #{quoteName}, + from_country = #{fromCountry}, + country = #{country}, + fee_type = #{feeType}, calc_type = #{calcType}, post_type = #{postType}, trans_type = #{transType}, @@ -167,7 +185,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from emis_commission_quote where quote_id in + delete from emis_commission_quote where quote_id in #{quoteId}