Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
dc-java
Commits
f87ee4bd
Commit
f87ee4bd
authored
Apr 16, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单退款加入美元费用
parent
6c2fbee3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
115 additions
and
15 deletions
+115
-15
RefundItem.java
...d/src/main/java/com/bailuntec/domain/pojo/RefundItem.java
+2
-1
DcBaseCrmRefundMapper.xml
.../main/java/com/bailuntec/mapper/DcBaseCrmRefundMapper.xml
+38
-12
DcBaseCrmRefund.java
...ain/java/com/bailuntec/domain/entity/DcBaseCrmRefund.java
+14
-1
DcBaseCrmRefundExample.java
.../com/bailuntec/domain/example/DcBaseCrmRefundExample.java
+60
-0
init.properties
mybatis-generator/src/main/resources/init.properties
+1
-1
No files found.
data-base/base-sync-crm-refund/src/main/java/com/bailuntec/domain/pojo/RefundItem.java
View file @
f87ee4bd
...
@@ -9,7 +9,6 @@ import java.util.Date;
...
@@ -9,7 +9,6 @@ import java.util.Date;
@Data
@Data
public
class
RefundItem
{
public
class
RefundItem
{
@JSONField
(
name
=
"ID"
)
@JSONField
(
name
=
"ID"
)
private
Integer
crmId
;
private
Integer
crmId
;
@JSONField
(
name
=
"PlatformName"
)
@JSONField
(
name
=
"PlatformName"
)
...
@@ -30,6 +29,8 @@ public class RefundItem {
...
@@ -30,6 +29,8 @@ public class RefundItem {
private
BigDecimal
amountRefund
;
private
BigDecimal
amountRefund
;
@JSONField
(
name
=
"Refund_CurrencyCode"
)
@JSONField
(
name
=
"Refund_CurrencyCode"
)
private
String
orderCurrency
;
private
String
orderCurrency
;
@JSONField
(
name
=
"USDRefundAmount"
)
private
String
amountRefundUsd
;
@JSONField
(
name
=
"RefundTime"
)
@JSONField
(
name
=
"RefundTime"
)
private
Date
refundedTime
;
private
Date
refundedTime
;
@JSONField
(
name
=
"ProductPrice"
)
@JSONField
(
name
=
"ProductPrice"
)
...
...
data-base/base-sync-crm-refund/src/main/java/com/bailuntec/mapper/DcBaseCrmRefundMapper.xml
View file @
f87ee4bd
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
<result
column=
"linked"
jdbcType=
"BIT"
property=
"linked"
/>
<result
column=
"linked"
jdbcType=
"BIT"
property=
"linked"
/>
<result
column=
"amount_refund_rmb"
jdbcType=
"DECIMAL"
property=
"amountRefundRmb"
/>
<result
column=
"amount_refund_rmb"
jdbcType=
"DECIMAL"
property=
"amountRefundRmb"
/>
<result
column=
"crm_id"
jdbcType=
"INTEGER"
property=
"crmId"
/>
<result
column=
"crm_id"
jdbcType=
"INTEGER"
property=
"crmId"
/>
<result
column=
"amount_refund_usd"
jdbcType=
"DECIMAL"
property=
"amountRefundUsd"
/>
</resultMap>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<sql
id=
"Example_Where_Clause"
>
<!--
<!--
...
@@ -98,7 +99,8 @@
...
@@ -98,7 +99,8 @@
-->
-->
id, platform_type, bailun_account, bailun_account_id, website, origin_order_id, bailun_sku,
id, platform_type, bailun_account, bailun_account_id, website, origin_order_id, bailun_sku,
platform_sku, amount_refund, order_currency, refund_time, bailun_sku_quantity_refund,
platform_sku, amount_refund, order_currency, refund_time, bailun_sku_quantity_refund,
bailun_sku_unit_price, gmt_create, gmt_modified, linked, amount_refund_rmb, crm_id
bailun_sku_unit_price, gmt_create, gmt_modified, linked, amount_refund_rmb, crm_id,
amount_refund_usd
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseCrmRefundExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseCrmRefundExample"
resultMap=
"BaseResultMap"
>
<!--
<!--
...
@@ -164,15 +166,15 @@
...
@@ -164,15 +166,15 @@
bailun_sku, platform_sku, amount_refund,
bailun_sku, platform_sku, amount_refund,
order_currency, refund_time, bailun_sku_quantity_refund,
order_currency, refund_time, bailun_sku_quantity_refund,
bailun_sku_unit_price, gmt_create, gmt_modified,
bailun_sku_unit_price, gmt_create, gmt_modified,
linked, amount_refund_rmb, crm_id
linked, amount_refund_rmb, crm_id
,
)
amount_refund_usd
)
values (#{id,jdbcType=INTEGER}, #{platformType,jdbcType=VARCHAR}, #{bailunAccount,jdbcType=VARCHAR},
values (#{id,jdbcType=INTEGER}, #{platformType,jdbcType=VARCHAR}, #{bailunAccount,jdbcType=VARCHAR},
#{bailunAccountId,jdbcType=INTEGER}, #{website,jdbcType=VARCHAR}, #{originOrderId,jdbcType=VARCHAR},
#{bailunAccountId,jdbcType=INTEGER}, #{website,jdbcType=VARCHAR}, #{originOrderId,jdbcType=VARCHAR},
#{bailunSku,jdbcType=VARCHAR}, #{platformSku,jdbcType=VARCHAR}, #{amountRefund,jdbcType=DECIMAL},
#{bailunSku,jdbcType=VARCHAR}, #{platformSku,jdbcType=VARCHAR}, #{amountRefund,jdbcType=DECIMAL},
#{orderCurrency,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, #{bailunSkuQuantityRefund,jdbcType=INTEGER},
#{orderCurrency,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, #{bailunSkuQuantityRefund,jdbcType=INTEGER},
#{bailunSkuUnitPrice,jdbcType=DECIMAL}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSkuUnitPrice,jdbcType=DECIMAL}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{linked,jdbcType=BIT}, #{amountRefundRmb,jdbcType=DECIMAL}, #{crmId,jdbcType=INTEGER}
#{linked,jdbcType=BIT}, #{amountRefundRmb,jdbcType=DECIMAL}, #{crmId,jdbcType=INTEGER}
,
)
#{amountRefundUsd,jdbcType=DECIMAL}
)
</insert>
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.bailuntec.domain.entity.DcBaseCrmRefund"
>
<insert
id=
"insertSelective"
parameterType=
"com.bailuntec.domain.entity.DcBaseCrmRefund"
>
<!--
<!--
...
@@ -235,6 +237,9 @@
...
@@ -235,6 +237,9 @@
<if
test=
"crmId != null"
>
<if
test=
"crmId != null"
>
crm_id,
crm_id,
</if>
</if>
<if
test=
"amountRefundUsd != null"
>
amount_refund_usd,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
<if
test=
"id != null"
>
...
@@ -291,6 +296,9 @@
...
@@ -291,6 +296,9 @@
<if
test=
"crmId != null"
>
<if
test=
"crmId != null"
>
#{crmId,jdbcType=INTEGER},
#{crmId,jdbcType=INTEGER},
</if>
</if>
<if
test=
"amountRefundUsd != null"
>
#{amountRefundUsd,jdbcType=DECIMAL},
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseCrmRefundExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseCrmRefundExample"
resultType=
"java.lang.Long"
>
...
@@ -364,6 +372,9 @@
...
@@ -364,6 +372,9 @@
<if
test=
"record.crmId != null"
>
<if
test=
"record.crmId != null"
>
crm_id = #{record.crmId,jdbcType=INTEGER},
crm_id = #{record.crmId,jdbcType=INTEGER},
</if>
</if>
<if
test=
"record.amountRefundUsd != null"
>
amount_refund_usd = #{record.amountRefundUsd,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"
/>
...
@@ -392,7 +403,8 @@
...
@@ -392,7 +403,8 @@
gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
linked = #{record.linked,jdbcType=BIT},
linked = #{record.linked,jdbcType=BIT},
amount_refund_rmb = #{record.amountRefundRmb,jdbcType=DECIMAL},
amount_refund_rmb = #{record.amountRefundRmb,jdbcType=DECIMAL},
crm_id = #{record.crmId,jdbcType=INTEGER}
crm_id = #{record.crmId,jdbcType=INTEGER},
amount_refund_usd = #{record.amountRefundUsd,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>
...
@@ -455,6 +467,9 @@
...
@@ -455,6 +467,9 @@
<if
test=
"crmId != null"
>
<if
test=
"crmId != null"
>
crm_id = #{crmId,jdbcType=INTEGER},
crm_id = #{crmId,jdbcType=INTEGER},
</if>
</if>
<if
test=
"amountRefundUsd != null"
>
amount_refund_usd = #{amountRefundUsd,jdbcType=DECIMAL},
</if>
</set>
</set>
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</update>
...
@@ -480,7 +495,8 @@
...
@@ -480,7 +495,8 @@
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
linked = #{linked,jdbcType=BIT},
linked = #{linked,jdbcType=BIT},
amount_refund_rmb = #{amountRefundRmb,jdbcType=DECIMAL},
amount_refund_rmb = #{amountRefundRmb,jdbcType=DECIMAL},
crm_id = #{crmId,jdbcType=INTEGER}
crm_id = #{crmId,jdbcType=INTEGER},
amount_refund_usd = #{amountRefundUsd,jdbcType=DECIMAL}
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</update>
<insert
id=
"upsertSelective"
parameterType=
"com.bailuntec.domain.entity.DcBaseCrmRefund"
>
<insert
id=
"upsertSelective"
parameterType=
"com.bailuntec.domain.entity.DcBaseCrmRefund"
>
...
@@ -545,6 +561,9 @@
...
@@ -545,6 +561,9 @@
<if
test=
"crmId != null"
>
<if
test=
"crmId != null"
>
crm_id,
crm_id,
</if>
</if>
<if
test=
"amountRefundUsd != null"
>
amount_refund_usd,
</if>
</trim>
</trim>
values
values
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -602,6 +621,9 @@
...
@@ -602,6 +621,9 @@
<if
test=
"crmId != null"
>
<if
test=
"crmId != null"
>
#{crmId,jdbcType=INTEGER},
#{crmId,jdbcType=INTEGER},
</if>
</if>
<if
test=
"amountRefundUsd != null"
>
#{amountRefundUsd,jdbcType=DECIMAL},
</if>
</trim>
</trim>
on duplicate key update
on duplicate key update
<trim
suffixOverrides=
","
>
<trim
suffixOverrides=
","
>
...
@@ -659,6 +681,9 @@
...
@@ -659,6 +681,9 @@
<if
test=
"crmId != null"
>
<if
test=
"crmId != null"
>
crm_id = #{crmId,jdbcType=INTEGER},
crm_id = #{crmId,jdbcType=INTEGER},
</if>
</if>
<if
test=
"amountRefundUsd != null"
>
amount_refund_usd = #{amountRefundUsd,jdbcType=DECIMAL},
</if>
</trim>
</trim>
</insert>
</insert>
<insert
id=
"upsert"
parameterType=
"com.bailuntec.domain.entity.DcBaseCrmRefund"
>
<insert
id=
"upsert"
parameterType=
"com.bailuntec.domain.entity.DcBaseCrmRefund"
>
...
@@ -670,16 +695,16 @@
...
@@ -670,16 +695,16 @@
insert into dc_base_crm_refund
insert into dc_base_crm_refund
(id, platform_type, bailun_account, bailun_account_id, website, origin_order_id,
(id, platform_type, bailun_account, bailun_account_id, website, origin_order_id,
bailun_sku, platform_sku, amount_refund, order_currency, refund_time, bailun_sku_quantity_refund,
bailun_sku, platform_sku, amount_refund, order_currency, refund_time, bailun_sku_quantity_refund,
bailun_sku_unit_price, gmt_create, gmt_modified, linked, amount_refund_rmb, crm_id
bailun_sku_unit_price, gmt_create, gmt_modified, linked, amount_refund_rmb, crm_id
,
)
amount_refund_usd
)
values
values
(#{id,jdbcType=INTEGER}, #{platformType,jdbcType=VARCHAR}, #{bailunAccount,jdbcType=VARCHAR},
(#{id,jdbcType=INTEGER}, #{platformType,jdbcType=VARCHAR}, #{bailunAccount,jdbcType=VARCHAR},
#{bailunAccountId,jdbcType=INTEGER}, #{website,jdbcType=VARCHAR}, #{originOrderId,jdbcType=VARCHAR},
#{bailunAccountId,jdbcType=INTEGER}, #{website,jdbcType=VARCHAR}, #{originOrderId,jdbcType=VARCHAR},
#{bailunSku,jdbcType=VARCHAR}, #{platformSku,jdbcType=VARCHAR}, #{amountRefund,jdbcType=DECIMAL},
#{bailunSku,jdbcType=VARCHAR}, #{platformSku,jdbcType=VARCHAR}, #{amountRefund,jdbcType=DECIMAL},
#{orderCurrency,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, #{bailunSkuQuantityRefund,jdbcType=INTEGER},
#{orderCurrency,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, #{bailunSkuQuantityRefund,jdbcType=INTEGER},
#{bailunSkuUnitPrice,jdbcType=DECIMAL}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSkuUnitPrice,jdbcType=DECIMAL}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{linked,jdbcType=BIT}, #{amountRefundRmb,jdbcType=DECIMAL}, #{crmId,jdbcType=INTEGER}
#{linked,jdbcType=BIT}, #{amountRefundRmb,jdbcType=DECIMAL}, #{crmId,jdbcType=INTEGER}
,
)
#{amountRefundUsd,jdbcType=DECIMAL}
)
on duplicate key update
on duplicate key update
id = #{id,jdbcType=INTEGER},
id = #{id,jdbcType=INTEGER},
platform_type = #{platformType,jdbcType=VARCHAR},
platform_type = #{platformType,jdbcType=VARCHAR},
...
@@ -698,7 +723,8 @@
...
@@ -698,7 +723,8 @@
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
linked = #{linked,jdbcType=BIT},
linked = #{linked,jdbcType=BIT},
amount_refund_rmb = #{amountRefundRmb,jdbcType=DECIMAL},
amount_refund_rmb = #{amountRefundRmb,jdbcType=DECIMAL},
crm_id = #{crmId,jdbcType=INTEGER}
crm_id = #{crmId,jdbcType=INTEGER},
amount_refund_usd = #{amountRefundUsd,jdbcType=DECIMAL}
</insert>
</insert>
<select
id=
"selectOneByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseCrmRefundExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectOneByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseCrmRefundExample"
resultMap=
"BaseResultMap"
>
<!--
<!--
...
...
data-common/src/main/java/com/bailuntec/domain/entity/DcBaseCrmRefund.java
View file @
f87ee4bd
...
@@ -170,6 +170,15 @@ public class DcBaseCrmRefund {
...
@@ -170,6 +170,15 @@ public class DcBaseCrmRefund {
private
Integer
crmId
;
private
Integer
crmId
;
/**
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_crm_refund.amount_refund_usd
*
* @mbg.generated
*/
private
BigDecimal
amountRefundUsd
;
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_crm_refund
* This method corresponds to the database table dc_base_crm_refund
*
*
...
@@ -199,6 +208,7 @@ public class DcBaseCrmRefund {
...
@@ -199,6 +208,7 @@ public class DcBaseCrmRefund {
sb
.
append
(
", linked="
).
append
(
linked
);
sb
.
append
(
", linked="
).
append
(
linked
);
sb
.
append
(
", amountRefundRmb="
).
append
(
amountRefundRmb
);
sb
.
append
(
", amountRefundRmb="
).
append
(
amountRefundRmb
);
sb
.
append
(
", crmId="
).
append
(
crmId
);
sb
.
append
(
", crmId="
).
append
(
crmId
);
sb
.
append
(
", amountRefundUsd="
).
append
(
amountRefundUsd
);
sb
.
append
(
"]"
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
return
sb
.
toString
();
}
}
...
@@ -238,7 +248,8 @@ public class DcBaseCrmRefund {
...
@@ -238,7 +248,8 @@ public class DcBaseCrmRefund {
&&
(
this
.
getGmtModified
()
==
null
?
other
.
getGmtModified
()
==
null
:
this
.
getGmtModified
().
equals
(
other
.
getGmtModified
()))
&&
(
this
.
getGmtModified
()
==
null
?
other
.
getGmtModified
()
==
null
:
this
.
getGmtModified
().
equals
(
other
.
getGmtModified
()))
&&
(
this
.
getLinked
()
==
null
?
other
.
getLinked
()
==
null
:
this
.
getLinked
().
equals
(
other
.
getLinked
()))
&&
(
this
.
getLinked
()
==
null
?
other
.
getLinked
()
==
null
:
this
.
getLinked
().
equals
(
other
.
getLinked
()))
&&
(
this
.
getAmountRefundRmb
()
==
null
?
other
.
getAmountRefundRmb
()
==
null
:
this
.
getAmountRefundRmb
().
equals
(
other
.
getAmountRefundRmb
()))
&&
(
this
.
getAmountRefundRmb
()
==
null
?
other
.
getAmountRefundRmb
()
==
null
:
this
.
getAmountRefundRmb
().
equals
(
other
.
getAmountRefundRmb
()))
&&
(
this
.
getCrmId
()
==
null
?
other
.
getCrmId
()
==
null
:
this
.
getCrmId
().
equals
(
other
.
getCrmId
()));
&&
(
this
.
getCrmId
()
==
null
?
other
.
getCrmId
()
==
null
:
this
.
getCrmId
().
equals
(
other
.
getCrmId
()))
&&
(
this
.
getAmountRefundUsd
()
==
null
?
other
.
getAmountRefundUsd
()
==
null
:
this
.
getAmountRefundUsd
().
equals
(
other
.
getAmountRefundUsd
()));
}
}
/**
/**
...
@@ -269,6 +280,7 @@ public class DcBaseCrmRefund {
...
@@ -269,6 +280,7 @@ public class DcBaseCrmRefund {
result
=
prime
*
result
+
((
getLinked
()
==
null
)
?
0
:
getLinked
().
hashCode
());
result
=
prime
*
result
+
((
getLinked
()
==
null
)
?
0
:
getLinked
().
hashCode
());
result
=
prime
*
result
+
((
getAmountRefundRmb
()
==
null
)
?
0
:
getAmountRefundRmb
().
hashCode
());
result
=
prime
*
result
+
((
getAmountRefundRmb
()
==
null
)
?
0
:
getAmountRefundRmb
().
hashCode
());
result
=
prime
*
result
+
((
getCrmId
()
==
null
)
?
0
:
getCrmId
().
hashCode
());
result
=
prime
*
result
+
((
getCrmId
()
==
null
)
?
0
:
getCrmId
().
hashCode
());
result
=
prime
*
result
+
((
getAmountRefundUsd
()
==
null
)
?
0
:
getAmountRefundUsd
().
hashCode
());
return
result
;
return
result
;
}
}
}
}
\ No newline at end of file
data-common/src/main/java/com/bailuntec/domain/example/DcBaseCrmRefundExample.java
View file @
f87ee4bd
...
@@ -1520,6 +1520,66 @@ public class DcBaseCrmRefundExample {
...
@@ -1520,6 +1520,66 @@ public class DcBaseCrmRefundExample {
addCriterion
(
"crm_id not between"
,
value1
,
value2
,
"crmId"
);
addCriterion
(
"crm_id not between"
,
value1
,
value2
,
"crmId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAmountRefundUsdIsNull
()
{
addCriterion
(
"amount_refund_usd is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdIsNotNull
()
{
addCriterion
(
"amount_refund_usd is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"amount_refund_usd ="
,
value
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"amount_refund_usd <>"
,
value
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"amount_refund_usd >"
,
value
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"amount_refund_usd >="
,
value
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdLessThan
(
BigDecimal
value
)
{
addCriterion
(
"amount_refund_usd <"
,
value
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"amount_refund_usd <="
,
value
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"amount_refund_usd in"
,
values
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"amount_refund_usd not in"
,
values
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"amount_refund_usd between"
,
value1
,
value2
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAmountRefundUsdNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"amount_refund_usd not between"
,
value1
,
value2
,
"amountRefundUsd"
);
return
(
Criteria
)
this
;
}
}
}
/**
/**
...
...
mybatis-generator/src/main/resources/init.properties
View file @
f87ee4bd
table-name
=
dc_
auto_turnover
table-name
=
dc_
base_crm_refund
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment