Commit 5f8828e0 by yinyong

新增汇率、

parent 585de63e
...@@ -4,7 +4,9 @@ import com.alibaba.fastjson.JSON; ...@@ -4,7 +4,9 @@ import com.alibaba.fastjson.JSON;
import com.bailuntec.domain.AccountTokenInfo; import com.bailuntec.domain.AccountTokenInfo;
import com.bailuntec.domain.entity.DcBaseFinanceAmazon; import com.bailuntec.domain.entity.DcBaseFinanceAmazon;
import com.bailuntec.domain.entity.JobPointLog; import com.bailuntec.domain.entity.JobPointLog;
import com.bailuntec.domain.enumerate.CurrencyType;
import com.bailuntec.mapper.DcBaseFinanceAmazonMapper; import com.bailuntec.mapper.DcBaseFinanceAmazonMapper;
import com.bailuntec.support.CallBailunSystem;
import com.bailuntec.support.PointJob; import com.bailuntec.support.PointJob;
import com.bailuntec.utils.OkHttpUtil; import com.bailuntec.utils.OkHttpUtil;
import com.bailuntec.utils.PropertiesUtil; import com.bailuntec.utils.PropertiesUtil;
...@@ -119,6 +121,10 @@ public class AdvertAddTaskSyncJob extends PointJob { ...@@ -119,6 +121,10 @@ public class AdvertAddTaskSyncJob extends PointJob {
amazonAdvert.setAccountId((Integer) map0.get("Id")); amazonAdvert.setAccountId((Integer) map0.get("Id"));
amazonAdvert.setCompanyId((Integer) map0.get("UserId")); amazonAdvert.setCompanyId((Integer) map0.get("UserId"));
amazonAdvert.setReportDate(localDateTime.toLocalDate()); amazonAdvert.setReportDate(localDateTime.toLocalDate());
if(amazonAdvert.getCurrency() != null) {
BigDecimal exchangeRate = CallBailunSystem.getExchangeRate(amazonAdvert.getCurrency(), CurrencyType.CNY.value(), localDateTime);
amazonAdvert.setOtherToCnyExchangeRate(exchangeRate);
}
// amazonAdvert.setReportType(reportType); // amazonAdvert.setReportType(reportType);
try { try {
DcBaseFinanceAmazonMapper dcBaseFinanceAmazonMapper = SessionUtil.getSession().getMapper(DcBaseFinanceAmazonMapper.class); DcBaseFinanceAmazonMapper dcBaseFinanceAmazonMapper = SessionUtil.getSession().getMapper(DcBaseFinanceAmazonMapper.class);
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
<result column="ad_group_id" jdbcType="VARCHAR" property="adGroupId" /> <result column="ad_group_id" jdbcType="VARCHAR" property="adGroupId" />
<result column="asin" jdbcType="VARCHAR" property="asin" /> <result column="asin" jdbcType="VARCHAR" property="asin" />
<result column="sku" jdbcType="VARCHAR" property="sku" /> <result column="sku" jdbcType="VARCHAR" property="sku" />
<result column="other_to_cny_exchange_rate" jdbcType="DECIMAL" property="otherToCnyExchangeRate" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -135,7 +136,7 @@ ...@@ -135,7 +136,7 @@
attributed_sales_oneday_same_sku, attributed_sales_sevenday_same_sku, attributed_sales_fourteenday_same_sku, attributed_sales_oneday_same_sku, attributed_sales_sevenday_same_sku, attributed_sales_fourteenday_same_sku,
attributed_sales_thirtyday_same_sku, attributed_units_ordered_oneday_same_sku, attributed_units_ordered_sevenday_same_sku, attributed_sales_thirtyday_same_sku, attributed_units_ordered_oneday_same_sku, attributed_units_ordered_sevenday_same_sku,
attributed_units_ordered_fourteenday_same_sku, attributed_units_ordered_thirtyday_same_sku, attributed_units_ordered_fourteenday_same_sku, attributed_units_ordered_thirtyday_same_sku,
ad_group_id, asin, sku ad_group_id, asin, sku, other_to_cny_exchange_rate
</sql> </sql>
<select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceAmazonExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceAmazonExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -214,8 +215,8 @@ ...@@ -214,8 +215,8 @@
attributed_sales_fourteenday_same_sku, attributed_sales_thirtyday_same_sku, attributed_sales_fourteenday_same_sku, attributed_sales_thirtyday_same_sku,
attributed_units_ordered_oneday_same_sku, attributed_units_ordered_sevenday_same_sku, attributed_units_ordered_oneday_same_sku, attributed_units_ordered_sevenday_same_sku,
attributed_units_ordered_fourteenday_same_sku, attributed_units_ordered_thirtyday_same_sku, attributed_units_ordered_fourteenday_same_sku, attributed_units_ordered_thirtyday_same_sku,
ad_group_id, asin, sku ad_group_id, asin, sku,
) other_to_cny_exchange_rate)
values (#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR}, values (#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR},
#{campaignStatus,jdbcType=VARCHAR}, #{campaignBudget,jdbcType=DECIMAL}, #{attributedConversionsOneday,jdbcType=INTEGER}, #{campaignStatus,jdbcType=VARCHAR}, #{campaignBudget,jdbcType=DECIMAL}, #{attributedConversionsOneday,jdbcType=INTEGER},
#{attributedUnitsOrderedOneday,jdbcType=INTEGER}, #{attributedSalesOneday,jdbcType=INTEGER}, #{attributedUnitsOrderedOneday,jdbcType=INTEGER}, #{attributedSalesOneday,jdbcType=INTEGER},
...@@ -234,8 +235,8 @@ ...@@ -234,8 +235,8 @@
#{attributedSalesFourteendaySameSku,jdbcType=VARCHAR}, #{attributedSalesThirtydaySameSku,jdbcType=VARCHAR}, #{attributedSalesFourteendaySameSku,jdbcType=VARCHAR}, #{attributedSalesThirtydaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedOnedaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedSevendaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedOnedaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedSevendaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedFourteendaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedFourteendaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR},
#{adGroupId,jdbcType=VARCHAR}, #{asin,jdbcType=VARCHAR}, #{sku,jdbcType=VARCHAR} #{adGroupId,jdbcType=VARCHAR}, #{asin,jdbcType=VARCHAR}, #{sku,jdbcType=VARCHAR},
) #{otherToCnyExchangeRate,jdbcType=DECIMAL})
</insert> </insert>
<insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseFinanceAmazon"> <insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseFinanceAmazon">
<!-- <!--
...@@ -382,6 +383,9 @@ ...@@ -382,6 +383,9 @@
<if test="sku != null"> <if test="sku != null">
sku, sku,
</if> </if>
<if test="otherToCnyExchangeRate != null">
other_to_cny_exchange_rate,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
...@@ -522,6 +526,9 @@ ...@@ -522,6 +526,9 @@
<if test="sku != null"> <if test="sku != null">
#{sku,jdbcType=VARCHAR}, #{sku,jdbcType=VARCHAR},
</if> </if>
<if test="otherToCnyExchangeRate != null">
#{otherToCnyExchangeRate,jdbcType=DECIMAL},
</if>
</trim> </trim>
</insert> </insert>
<select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceAmazonExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceAmazonExample" resultType="java.lang.Long">
...@@ -679,6 +686,9 @@ ...@@ -679,6 +686,9 @@
<if test="record.sku != null"> <if test="record.sku != null">
sku = #{record.sku,jdbcType=VARCHAR}, sku = #{record.sku,jdbcType=VARCHAR},
</if> </if>
<if test="record.otherToCnyExchangeRate != null">
other_to_cny_exchange_rate = #{record.otherToCnyExchangeRate,jdbcType=DECIMAL},
</if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
...@@ -735,7 +745,8 @@ ...@@ -735,7 +745,8 @@
attributed_units_ordered_thirtyday_same_sku = #{record.attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, attributed_units_ordered_thirtyday_same_sku = #{record.attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR},
ad_group_id = #{record.adGroupId,jdbcType=VARCHAR}, ad_group_id = #{record.adGroupId,jdbcType=VARCHAR},
asin = #{record.asin,jdbcType=VARCHAR}, asin = #{record.asin,jdbcType=VARCHAR},
sku = #{record.sku,jdbcType=VARCHAR} sku = #{record.sku,jdbcType=VARCHAR},
other_to_cny_exchange_rate = #{record.otherToCnyExchangeRate,jdbcType=DECIMAL}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -882,6 +893,9 @@ ...@@ -882,6 +893,9 @@
<if test="sku != null"> <if test="sku != null">
sku = #{sku,jdbcType=VARCHAR}, sku = #{sku,jdbcType=VARCHAR},
</if> </if>
<if test="otherToCnyExchangeRate != null">
other_to_cny_exchange_rate = #{otherToCnyExchangeRate,jdbcType=DECIMAL},
</if>
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
...@@ -935,7 +949,8 @@ ...@@ -935,7 +949,8 @@
attributed_units_ordered_thirtyday_same_sku = #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, attributed_units_ordered_thirtyday_same_sku = #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR},
ad_group_id = #{adGroupId,jdbcType=VARCHAR}, ad_group_id = #{adGroupId,jdbcType=VARCHAR},
asin = #{asin,jdbcType=VARCHAR}, asin = #{asin,jdbcType=VARCHAR},
sku = #{sku,jdbcType=VARCHAR} sku = #{sku,jdbcType=VARCHAR},
other_to_cny_exchange_rate = #{otherToCnyExchangeRate,jdbcType=DECIMAL}
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
<insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseFinanceAmazon"> <insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseFinanceAmazon">
...@@ -1084,6 +1099,9 @@ ...@@ -1084,6 +1099,9 @@
<if test="sku != null"> <if test="sku != null">
sku, sku,
</if> </if>
<if test="otherToCnyExchangeRate != null">
other_to_cny_exchange_rate,
</if>
</trim> </trim>
values values
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
...@@ -1225,6 +1243,9 @@ ...@@ -1225,6 +1243,9 @@
<if test="sku != null"> <if test="sku != null">
#{sku,jdbcType=VARCHAR}, #{sku,jdbcType=VARCHAR},
</if> </if>
<if test="otherToCnyExchangeRate != null">
#{otherToCnyExchangeRate,jdbcType=DECIMAL},
</if>
</trim> </trim>
on duplicate key update on duplicate key update
<trim suffixOverrides=","> <trim suffixOverrides=",">
...@@ -1366,6 +1387,9 @@ ...@@ -1366,6 +1387,9 @@
<if test="sku != null"> <if test="sku != null">
sku = #{sku,jdbcType=VARCHAR}, sku = #{sku,jdbcType=VARCHAR},
</if> </if>
<if test="otherToCnyExchangeRate != null">
other_to_cny_exchange_rate = #{otherToCnyExchangeRate,jdbcType=DECIMAL},
</if>
</trim> </trim>
</insert> </insert>
<insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseFinanceAmazon"> <insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseFinanceAmazon">
...@@ -1387,7 +1411,7 @@ ...@@ -1387,7 +1411,7 @@
attributed_sales_sevenday_same_sku, attributed_sales_fourteenday_same_sku, attributed_sales_thirtyday_same_sku, attributed_sales_sevenday_same_sku, attributed_sales_fourteenday_same_sku, attributed_sales_thirtyday_same_sku,
attributed_units_ordered_oneday_same_sku, attributed_units_ordered_sevenday_same_sku, attributed_units_ordered_oneday_same_sku, attributed_units_ordered_sevenday_same_sku,
attributed_units_ordered_fourteenday_same_sku, attributed_units_ordered_thirtyday_same_sku, attributed_units_ordered_fourteenday_same_sku, attributed_units_ordered_thirtyday_same_sku,
ad_group_id, asin, sku) ad_group_id, asin, sku, other_to_cny_exchange_rate)
values values
(#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR}, (#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR},
#{campaignStatus,jdbcType=VARCHAR}, #{campaignBudget,jdbcType=DECIMAL}, #{attributedConversionsOneday,jdbcType=INTEGER}, #{campaignStatus,jdbcType=VARCHAR}, #{campaignBudget,jdbcType=DECIMAL}, #{attributedConversionsOneday,jdbcType=INTEGER},
...@@ -1407,8 +1431,8 @@ ...@@ -1407,8 +1431,8 @@
#{attributedSalesFourteendaySameSku,jdbcType=VARCHAR}, #{attributedSalesThirtydaySameSku,jdbcType=VARCHAR}, #{attributedSalesFourteendaySameSku,jdbcType=VARCHAR}, #{attributedSalesThirtydaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedOnedaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedSevendaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedOnedaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedSevendaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedFourteendaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedFourteendaySameSku,jdbcType=VARCHAR}, #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR},
#{adGroupId,jdbcType=VARCHAR}, #{asin,jdbcType=VARCHAR}, #{sku,jdbcType=VARCHAR} #{adGroupId,jdbcType=VARCHAR}, #{asin,jdbcType=VARCHAR}, #{sku,jdbcType=VARCHAR},
) #{otherToCnyExchangeRate,jdbcType=DECIMAL})
on duplicate key update on duplicate key update
id = #{id,jdbcType=INTEGER}, id = #{id,jdbcType=INTEGER},
campaign_name = #{campaignName,jdbcType=VARCHAR}, campaign_name = #{campaignName,jdbcType=VARCHAR},
...@@ -1455,7 +1479,8 @@ ...@@ -1455,7 +1479,8 @@
attributed_units_ordered_thirtyday_same_sku = #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, attributed_units_ordered_thirtyday_same_sku = #{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR},
ad_group_id = #{adGroupId,jdbcType=VARCHAR}, ad_group_id = #{adGroupId,jdbcType=VARCHAR},
asin = #{asin,jdbcType=VARCHAR}, asin = #{asin,jdbcType=VARCHAR},
sku = #{sku,jdbcType=VARCHAR} sku = #{sku,jdbcType=VARCHAR},
other_to_cny_exchange_rate = #{otherToCnyExchangeRate,jdbcType=DECIMAL}
</insert> </insert>
<select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceAmazonExample" resultMap="BaseResultMap"> <select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceAmazonExample" resultMap="BaseResultMap">
<!-- <!--
......
#EVENT_RDB_STORAGE_DRIVER=com.mysql.jdbc.Driver
#EVENT_RDB_STORAGE_URL=jdbc:mysql://127.0.0.1:3306/bailun_datacenter?useUnicode=true&characterEncoding=UTF-8&serverTimeZone=GMT&useSSL=false&allowPublicKeyRetrieval=true&allowMultiQueries=true
#EVENT_RDB_STORAGE_USERNAME=root
#EVENT_RDB_STORAGE_PASSWORD=root
#ZOOKEEPER_SERVER=94.191.111.219:2181
EVENT_RDB_STORAGE_DRIVER=com.mysql.jdbc.Driver EVENT_RDB_STORAGE_DRIVER=com.mysql.jdbc.Driver
EVENT_RDB_STORAGE_URL=jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 EVENT_RDB_STORAGE_URL=jdbc:mysql://127.0.0.1:3306/bailun_datacenter?useUnicode=true&characterEncoding=UTF-8&serverTimeZone=GMT&useSSL=false&allowPublicKeyRetrieval=true&allowMultiQueries=true
EVENT_RDB_STORAGE_USERNAME=root EVENT_RDB_STORAGE_USERNAME=root
EVENT_RDB_STORAGE_PASSWORD=#7kfnymAM$Y9-Ntf EVENT_RDB_STORAGE_PASSWORD=root
ZOOKEEPER_SERVER=172.31.255.120:2181 ZOOKEEPER_SERVER=94.191.111.219:2181
#EVENT_RDB_STORAGE_DRIVER=com.mysql.jdbc.Driver
#EVENT_RDB_STORAGE_URL=jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
#EVENT_RDB_STORAGE_USERNAME=root
#EVENT_RDB_STORAGE_PASSWORD=#7kfnymAM$Y9-Ntf
#ZOOKEEPER_SERVER=172.31.255.120:2181
NAME_SPACE=data-center NAME_SPACE=data-center
JOB_NAME_ADDTASK=base-sync-finance-amazon-addtask JOB_NAME_ADDTASK=base-sync-finance-amazon-advert
JOB_CRON_ADDTASK=0 0 9 * * ? * JOB_CRON_ADDTASK=0 17 11 16 * ? *
JOB_NAME_GETRESULT=base-sync-finance-amazon-getresult JOB_NAME_GETRESULT=base-sync-finance-amazon-getresult
JOB_CRON_GETRESULT=0 0 6,23 * * ? * JOB_CRON_GETRESULT=0 0 6,23 * * ? *
SHARDING_TOTAL_COUNT=1 SHARDING_TOTAL_COUNT=1
\ No newline at end of file
...@@ -448,6 +448,15 @@ public class DcBaseFinanceAmazon { ...@@ -448,6 +448,15 @@ public class DcBaseFinanceAmazon {
private String sku; private String sku;
/** /**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_finance_amazon.other_to_cny_exchange_rate
*
* @mbg.generated
*/
private BigDecimal otherToCnyExchangeRate;
/**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_finance_amazon * This method corresponds to the database table dc_base_finance_amazon
* *
...@@ -505,6 +514,7 @@ public class DcBaseFinanceAmazon { ...@@ -505,6 +514,7 @@ public class DcBaseFinanceAmazon {
sb.append(", adGroupId=").append(adGroupId); sb.append(", adGroupId=").append(adGroupId);
sb.append(", asin=").append(asin); sb.append(", asin=").append(asin);
sb.append(", sku=").append(sku); sb.append(", sku=").append(sku);
sb.append(", otherToCnyExchangeRate=").append(otherToCnyExchangeRate);
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
...@@ -572,7 +582,8 @@ public class DcBaseFinanceAmazon { ...@@ -572,7 +582,8 @@ public class DcBaseFinanceAmazon {
&& (this.getAttributedUnitsOrderedThirtydaySameSku() == null ? other.getAttributedUnitsOrderedThirtydaySameSku() == null : this.getAttributedUnitsOrderedThirtydaySameSku().equals(other.getAttributedUnitsOrderedThirtydaySameSku())) && (this.getAttributedUnitsOrderedThirtydaySameSku() == null ? other.getAttributedUnitsOrderedThirtydaySameSku() == null : this.getAttributedUnitsOrderedThirtydaySameSku().equals(other.getAttributedUnitsOrderedThirtydaySameSku()))
&& (this.getAdGroupId() == null ? other.getAdGroupId() == null : this.getAdGroupId().equals(other.getAdGroupId())) && (this.getAdGroupId() == null ? other.getAdGroupId() == null : this.getAdGroupId().equals(other.getAdGroupId()))
&& (this.getAsin() == null ? other.getAsin() == null : this.getAsin().equals(other.getAsin())) && (this.getAsin() == null ? other.getAsin() == null : this.getAsin().equals(other.getAsin()))
&& (this.getSku() == null ? other.getSku() == null : this.getSku().equals(other.getSku())); && (this.getSku() == null ? other.getSku() == null : this.getSku().equals(other.getSku()))
&& (this.getOtherToCnyExchangeRate() == null ? other.getOtherToCnyExchangeRate() == null : this.getOtherToCnyExchangeRate().equals(other.getOtherToCnyExchangeRate()));
} }
/** /**
...@@ -631,6 +642,7 @@ public class DcBaseFinanceAmazon { ...@@ -631,6 +642,7 @@ public class DcBaseFinanceAmazon {
result = prime * result + ((getAdGroupId() == null) ? 0 : getAdGroupId().hashCode()); result = prime * result + ((getAdGroupId() == null) ? 0 : getAdGroupId().hashCode());
result = prime * result + ((getAsin() == null) ? 0 : getAsin().hashCode()); result = prime * result + ((getAsin() == null) ? 0 : getAsin().hashCode());
result = prime * result + ((getSku() == null) ? 0 : getSku().hashCode()); result = prime * result + ((getSku() == null) ? 0 : getSku().hashCode());
result = prime * result + ((getOtherToCnyExchangeRate() == null) ? 0 : getOtherToCnyExchangeRate().hashCode());
return result; return result;
} }
} }
\ No newline at end of file
...@@ -3381,6 +3381,66 @@ public class DcBaseFinanceAmazonExample { ...@@ -3381,6 +3381,66 @@ public class DcBaseFinanceAmazonExample {
addCriterion("sku not between", value1, value2, "sku"); addCriterion("sku not between", value1, value2, "sku");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOtherToCnyExchangeRateIsNull() {
addCriterion("other_to_cny_exchange_rate is null");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateIsNotNull() {
addCriterion("other_to_cny_exchange_rate is not null");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateEqualTo(BigDecimal value) {
addCriterion("other_to_cny_exchange_rate =", value, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateNotEqualTo(BigDecimal value) {
addCriterion("other_to_cny_exchange_rate <>", value, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateGreaterThan(BigDecimal value) {
addCriterion("other_to_cny_exchange_rate >", value, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("other_to_cny_exchange_rate >=", value, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateLessThan(BigDecimal value) {
addCriterion("other_to_cny_exchange_rate <", value, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateLessThanOrEqualTo(BigDecimal value) {
addCriterion("other_to_cny_exchange_rate <=", value, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateIn(List<BigDecimal> values) {
addCriterion("other_to_cny_exchange_rate in", values, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateNotIn(List<BigDecimal> values) {
addCriterion("other_to_cny_exchange_rate not in", values, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("other_to_cny_exchange_rate between", value1, value2, "otherToCnyExchangeRate");
return (Criteria) this;
}
public Criteria andOtherToCnyExchangeRateNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("other_to_cny_exchange_rate not between", value1, value2, "otherToCnyExchangeRate");
return (Criteria) this;
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment