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
ba9ba879
Commit
ba9ba879
authored
Sep 03, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
广告!!!!!
parent
6f5e861b
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
186 additions
and
191 deletions
+186
-191
AmazonAdDownloadReportJob.java
...ain/java/com/bailuntec/job/AmazonAdDownloadReportJob.java
+4
-6
AmazonAdGenerateReportIdJob.java
...n/java/com/bailuntec/job/AmazonAdGenerateReportIdJob.java
+10
-4
const.properties
...e/base-sync-amazon-ad/src/main/resources/const.properties
+3
-0
DcBaseFinanceAmazonAdProductMapper.java
.../bailuntec/mapper/DcBaseFinanceAmazonAdProductMapper.java
+4
-4
DcBaseFinanceAmazonAdProductMapper.xml
...m/bailuntec/mapper/DcBaseFinanceAmazonAdProductMapper.xml
+164
-176
init.properties
data-common/src/main/resources/init.properties
+1
-1
No files found.
data-base/base-sync-amazon-ad/src/main/java/com/bailuntec/job/AmazonAdDownloadReportJob.java
View file @
ba9ba879
...
@@ -82,7 +82,7 @@ public class AmazonAdDownloadReportJob implements SimpleJob {
...
@@ -82,7 +82,7 @@ public class AmazonAdDownloadReportJob implements SimpleJob {
}.
getType
();
}.
getType
();
List
<
AmazonAdProduct
>
amazonAdProductList
=
JSON
.
parseObject
(
gzipInputStream
,
type
);
List
<
AmazonAdProduct
>
amazonAdProductList
=
JSON
.
parseObject
(
gzipInputStream
,
type
);
for
(
AmazonAdProduct
amazonAdProduct
:
amazonAdProductList
)
{
for
(
AmazonAdProduct
amazonAdProduct
:
amazonAdProductList
)
{
if
(
amazonAdProduct
.
getCost
()
!=
null
&&
BigDecimal
.
ZERO
.
compareTo
(
amazonAdProduct
.
getCost
())
!=
0
)
{
if
(
amazonAdProduct
.
getCost
()
!=
null
&&
BigDecimal
.
ZERO
.
compareTo
(
amazonAdProduct
.
getCost
())
<
0
)
{
DcBaseFinanceAmazonAdProductExample
example
=
DcBaseFinanceAmazonAdProductExample
.
newAndCreateCriteria
()
DcBaseFinanceAmazonAdProductExample
example
=
DcBaseFinanceAmazonAdProductExample
.
newAndCreateCriteria
()
.
andCompanyIdEqualTo
(
jobAmazonAdLog
.
getCompanyId
())
.
andCompanyIdEqualTo
(
jobAmazonAdLog
.
getCompanyId
())
...
@@ -91,6 +91,7 @@ public class AmazonAdDownloadReportJob implements SimpleJob {
...
@@ -91,6 +91,7 @@ public class AmazonAdDownloadReportJob implements SimpleJob {
.
andCampaignIdEqualTo
(
amazonAdProduct
.
getCampaignId
())
.
andCampaignIdEqualTo
(
amazonAdProduct
.
getCampaignId
())
.
andAdGroupIdEqualTo
(
amazonAdProduct
.
getAdGroupId
())
.
andAdGroupIdEqualTo
(
amazonAdProduct
.
getAdGroupId
())
.
andTypeEqualTo
(
jobAmazonAdLog
.
getType
())
.
andTypeEqualTo
(
jobAmazonAdLog
.
getType
())
.
andSkuEqualTo
(
amazonAdProduct
.
getSku
())
.
example
();
.
example
();
DcBaseFinanceAmazonAdProduct
dcBaseFinanceAmazonAdProduct
=
dcBaseFinanceAmazonAdProductMapper
.
selectOneByExample
(
example
);
DcBaseFinanceAmazonAdProduct
dcBaseFinanceAmazonAdProduct
=
dcBaseFinanceAmazonAdProductMapper
.
selectOneByExample
(
example
);
...
@@ -106,11 +107,8 @@ public class AmazonAdDownloadReportJob implements SimpleJob {
...
@@ -106,11 +107,8 @@ public class AmazonAdDownloadReportJob implements SimpleJob {
dcBaseFinanceAmazonAdProduct
.
setBjModifyTime
(
LocalDateTime
.
now
());
dcBaseFinanceAmazonAdProduct
.
setBjModifyTime
(
LocalDateTime
.
now
());
dcBaseFinanceAmazonAdProduct
.
setType
(
jobAmazonAdLog
.
getType
());
dcBaseFinanceAmazonAdProduct
.
setType
(
jobAmazonAdLog
.
getType
());
if
(
dcBaseFinanceAmazonAdProduct
.
getId
()
==
null
)
{
dcBaseFinanceAmazonAdProductMapper
.
insertSelective
(
dcBaseFinanceAmazonAdProduct
,
null
);
dcBaseFinanceAmazonAdProductMapper
.
upsertSelective
(
dcBaseFinanceAmazonAdProduct
);
}
else
{
dcBaseFinanceAmazonAdProductMapper
.
updateByPrimaryKeySelective
(
dcBaseFinanceAmazonAdProduct
);
}
}
}
}
}
...
...
data-base/base-sync-amazon-ad/src/main/java/com/bailuntec/job/AmazonAdGenerateReportIdJob.java
View file @
ba9ba879
...
@@ -46,16 +46,18 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob {
...
@@ -46,16 +46,18 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob {
dcBaseCompanyAccountList
dcBaseCompanyAccountList
//
.stream()
.
stream
()
//
.filter(dcBaseCompanyAccount -> dcBaseCompanyAccount.getAccountId() == 671)
.
filter
(
dcBaseCompanyAccount
->
dcBaseCompanyAccount
.
getAccountId
()
==
671
)
.
forEach
(
dcBaseCompanyAccount
->
{
.
forEach
(
dcBaseCompanyAccount
->
{
//productAds
//productAds
for
(
int
i
=
24
;
i
<=
31
;
i
++)
{
LocalDateTime
reportDate
=
LocalDateTime
.
of
(
2020
,
8
,
i
,
0
,
0
);
try
{
try
{
// LocalDateTime reportDate = LocalDateTime.of(2020, 8, 30, 0, 0);
// LocalDateTime reportDate = LocalDateTime.of(2020, 8, 30, 0, 0);
LocalDateTime
reportDate
=
LocalDateTime
.
now
().
minusDays
(
1
).
minusHours
(
12
);
//
LocalDateTime reportDate = LocalDateTime.now().minusDays(1).minusHours(12);
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"reportDate"
,
reportDate
.
format
(
DateTimeFormatter
.
ofPattern
(
"yyyyMMdd"
)));
jsonObject
.
put
(
"reportDate"
,
reportDate
.
format
(
DateTimeFormatter
.
ofPattern
(
"yyyyMMdd"
)));
jsonObject
.
put
(
"metrics"
,
propertiesUtil
.
getPropertyAsString
(
"METRICS"
));
jsonObject
.
put
(
"metrics"
,
propertiesUtil
.
getPropertyAsString
(
"METRICS"
));
...
@@ -126,7 +128,7 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob {
...
@@ -126,7 +128,7 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob {
try
{
try
{
AmazonAdAuth
amazonAdAuth
=
JSON
.
parseObject
(
dcBaseCompanyAccount
.
getAmazonAdAuthJson
(),
AmazonAdAuth
.
class
);
AmazonAdAuth
amazonAdAuth
=
JSON
.
parseObject
(
dcBaseCompanyAccount
.
getAmazonAdAuthJson
(),
AmazonAdAuth
.
class
);
LocalDateTime
reportDate
=
LocalDateTime
.
now
().
minusDays
(
1
).
minusHours
(
12
);
//
LocalDateTime reportDate = LocalDateTime.now().minusDays(1).minusHours(12);
// LocalDateTime reportDate = LocalDateTime.of(2020, 9, 1, 0, 0);
// LocalDateTime reportDate = LocalDateTime.of(2020, 9, 1, 0, 0);
...
@@ -190,6 +192,10 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob {
...
@@ -190,6 +192,10 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob {
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
log
.
error
(
e
.
getMessage
(),
e
);
}
}
}
});
});
}
}
...
...
data-base/base-sync-amazon-ad/src/main/resources/const.properties
View file @
ba9ba879
NA_URL
=
https://advertising-api.amazon.com
NA_URL
=
https://advertising-api.amazon.com
EU_URL
=
https://advertising-api-eu.amazon.com
EU_URL
=
https://advertising-api-eu.amazon.com
FE_URL
=
https://advertising-api-fe.amazon.com
FE_URL
=
https://advertising-api-fe.amazon.com
POST_PRODUCT_ADS_REPORT_ID
=
/v2/sp/productAds/report
POST_PRODUCT_ADS_REPORT_ID
=
/v2/sp/productAds/report
GET_PRODUCT_ADS_REPORT_LOCATION
=
/v2/reports/
GET_PRODUCT_ADS_REPORT_LOCATION
=
/v2/reports/
GET_PRODUCT_ADS_REPORT_DOWNLOAD_PREFIX
=
/v1/reports/
GET_PRODUCT_ADS_REPORT_DOWNLOAD_PREFIX
=
/v1/reports/
GET_PRODUCT_ADS_REPORT_DOWNLOAD_SUFFIX
=
/download
GET_PRODUCT_ADS_REPORT_DOWNLOAD_SUFFIX
=
/download
WARN_API
=
https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=b4655a50-927a-4c3c-87ad-a900e54dcc8e
WARN_API
=
https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=b4655a50-927a-4c3c-87ad-a900e54dcc8e
METRICS
=
campaignName,campaignId,adGroupName,adGroupId,impressions,clicks,cost,currency,asin,sku,attributedConversions1d,attributedConversions7d,attributedConversions14d,attributedConversions30d,attributedConversions1dSameSKU,attributedConversions7dSameSKU,attributedConversions14dSameSKU,attributedConversions30dSameSKU,attributedUnitsOrdered1d,attributedUnitsOrdered7d,attributedUnitsOrdered14d,attributedUnitsOrdered30d,attributedSales1d,attributedSales7d,attributedSales14d,attributedSales30d,attributedSales1dSameSKU,attributedSales7dSameSKU,attributedSales14dSameSKU,attributedSales30dSameSKU,attributedUnitsOrdered1dSameSKU,attributedUnitsOrdered7dSameSKU,attributedUnitsOrdered14dSameSKU,attributedUnitsOrdered30dSameSKU
METRICS
=
campaignName,campaignId,adGroupName,adGroupId,impressions,clicks,cost,currency,asin,sku,attributedConversions1d,attributedConversions7d,attributedConversions14d,attributedConversions30d,attributedConversions1dSameSKU,attributedConversions7dSameSKU,attributedConversions14dSameSKU,attributedConversions30dSameSKU,attributedUnitsOrdered1d,attributedUnitsOrdered7d,attributedUnitsOrdered14d,attributedUnitsOrdered30d,attributedSales1d,attributedSales7d,attributedSales14d,attributedSales30d,attributedSales1dSameSKU,attributedSales7dSameSKU,attributedSales14dSameSKU,attributedSales30dSameSKU,attributedUnitsOrdered1dSameSKU,attributedUnitsOrdered7dSameSKU,attributedUnitsOrdered14dSameSKU,attributedUnitsOrdered30dSameSKU
w
data-common/src/main/java/com/bailuntec/mapper/DcBaseFinanceAmazonAdProductMapper.java
View file @
ba9ba879
...
@@ -4,9 +4,8 @@ import com.bailuntec.domain.dto.DcBaseFinanceAmazonItemDto;
...
@@ -4,9 +4,8 @@ import com.bailuntec.domain.dto.DcBaseFinanceAmazonItemDto;
import
com.bailuntec.domain.entity.DcBaseFinanceAmazonAdProduct
;
import
com.bailuntec.domain.entity.DcBaseFinanceAmazonAdProduct
;
import
com.bailuntec.domain.entity.JobPointLog
;
import
com.bailuntec.domain.entity.JobPointLog
;
import
com.bailuntec.domain.example.DcBaseFinanceAmazonAdProductExample
;
import
com.bailuntec.domain.example.DcBaseFinanceAmazonAdProductExample
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
DcBaseFinanceAmazonAdProductMapper
{
public
interface
DcBaseFinanceAmazonAdProductMapper
{
/**
/**
...
@@ -47,7 +46,7 @@ public interface DcBaseFinanceAmazonAdProductMapper {
...
@@ -47,7 +46,7 @@ public interface DcBaseFinanceAmazonAdProductMapper {
*
*
* @mbg.generated
* @mbg.generated
*/
*/
int
insertSelective
(
@Param
(
"record"
)
DcBaseFinanceAmazonAdProduct
record
,
@Param
(
"shardParam"
)
String
shardParam
);
int
insertSelective
(
DcBaseFinanceAmazonAdProduct
record
);
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
...
@@ -80,7 +79,7 @@ public interface DcBaseFinanceAmazonAdProductMapper {
...
@@ -80,7 +79,7 @@ public interface DcBaseFinanceAmazonAdProductMapper {
*
*
* @mbg.generated
* @mbg.generated
*/
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
DcBaseFinanceAmazonAdProduct
record
,
@Param
(
"example"
)
DcBaseFinanceAmazonAdProductExample
example
,
@Param
(
"shardParam"
)
String
shardParam
);
int
updateByExampleSelective
(
@Param
(
"record"
)
DcBaseFinanceAmazonAdProduct
record
,
@Param
(
"example"
)
DcBaseFinanceAmazonAdProductExample
example
);
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
...
@@ -124,5 +123,6 @@ public interface DcBaseFinanceAmazonAdProductMapper {
...
@@ -124,5 +123,6 @@ public interface DcBaseFinanceAmazonAdProductMapper {
*/
*/
int
upsertSelective
(
DcBaseFinanceAmazonAdProduct
record
);
int
upsertSelective
(
DcBaseFinanceAmazonAdProduct
record
);
List
<
DcBaseFinanceAmazonItemDto
>
selectAmazonItem
(
JobPointLog
jobPointLog
);
List
<
DcBaseFinanceAmazonItemDto
>
selectAmazonItem
(
JobPointLog
jobPointLog
);
}
}
data-common/src/main/java/com/bailuntec/mapper/DcBaseFinanceAmazonAdProductMapper.xml
View file @
ba9ba879
...
@@ -151,8 +151,34 @@
...
@@ -151,8 +151,34 @@
attributed_units_ordered_sevenday_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,
account_id, company_id, bj_create_time, bj_modify_time, report_date, report_type,
account_id, company_id, bj_create_time, bj_modify_time, report_date, report_type,
exchange_rate, exchange_rate_usd,type
exchange_rate, exchange_rate_usd,
type
</sql>
</sql>
<resultMap
id=
"BaseResultMap1"
type=
"com.bailuntec.domain.dto.DcBaseFinanceAmazonItemDto"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"campaign_name"
jdbcType=
"VARCHAR"
property=
"campaignName"
/>
<result
column=
"campaign_id"
jdbcType=
"VARCHAR"
property=
"campaignId"
/>
<result
column=
"ad_group_name"
jdbcType=
"VARCHAR"
property=
"adGroupName"
/>
<result
column=
"ad_group_id"
jdbcType=
"VARCHAR"
property=
"adGroupId"
/>
<result
column=
"cost"
jdbcType=
"DECIMAL"
property=
"cost"
/>
<result
column=
"currency"
jdbcType=
"VARCHAR"
property=
"currency"
/>
<result
column=
"asin"
jdbcType=
"VARCHAR"
property=
"asin"
/>
<result
column=
"sku"
jdbcType=
"VARCHAR"
property=
"sku"
/>
<result
column=
"account_id"
jdbcType=
"INTEGER"
property=
"accountId"
/>
<result
column=
"company_id"
jdbcType=
"INTEGER"
property=
"companyId"
/>
<result
column=
"report_date"
jdbcType=
"DATE"
property=
"reportDate"
/>
<result
column=
"exchange_rate"
jdbcType=
"DECIMAL"
property=
"exchangeRate"
/>
<result
column=
"exchange_rate_usd"
jdbcType=
"DECIMAL"
property=
"exchangeRateUsd"
/>
<result
column=
"site_en"
jdbcType=
"VARCHAR"
property=
"siteEn"
/>
<collection
property=
"dcBaseSkuMappingList"
column=
"{sku=sku,siteEn=site_en}"
ofType=
"com.bailuntec.domain.dto.DcBaseSkuMappingItemDto"
select=
"selectSkuMapping"
>
</collection>
</resultMap>
<select
id=
"selectByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseFinanceAmazonAdProductExample"
<select
id=
"selectByExample"
parameterType=
"com.bailuntec.domain.example.DcBaseFinanceAmazonAdProductExample"
resultMap=
"BaseResultMap"
>
resultMap=
"BaseResultMap"
>
<!--
<!--
...
@@ -231,7 +257,7 @@
...
@@ -231,7 +257,7 @@
attributed_units_ordered_thirtyday_same_sku, account_id,
attributed_units_ordered_thirtyday_same_sku, account_id,
company_id, bj_create_time, bj_modify_time,
company_id, bj_create_time, bj_modify_time,
report_date, report_type, exchange_rate,
report_date, report_type, exchange_rate,
exchange_rate_usd,type)
exchange_rate_usd,
type)
values (#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR},
values (#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR},
#{adGroupName,jdbcType=VARCHAR}, #{adGroupId,jdbcType=VARCHAR}, #{impressions,jdbcType=INTEGER},
#{adGroupName,jdbcType=VARCHAR}, #{adGroupId,jdbcType=VARCHAR}, #{impressions,jdbcType=INTEGER},
#{clicks,jdbcType=INTEGER}, #{cost,jdbcType=DECIMAL}, #{currency,jdbcType=VARCHAR},
#{clicks,jdbcType=INTEGER}, #{cost,jdbcType=DECIMAL}, #{currency,jdbcType=VARCHAR},
...
@@ -252,287 +278,280 @@
...
@@ -252,287 +278,280 @@
#{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, #{accountId,jdbcType=INTEGER},
#{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, #{accountId,jdbcType=INTEGER},
#{companyId,jdbcType=INTEGER}, #{bjCreateTime,jdbcType=TIMESTAMP}, #{bjModifyTime,jdbcType=TIMESTAMP},
#{companyId,jdbcType=INTEGER}, #{bjCreateTime,jdbcType=TIMESTAMP}, #{bjModifyTime,jdbcType=TIMESTAMP},
#{reportDate,jdbcType=DATE}, #{reportType,jdbcType=VARCHAR}, #{exchangeRate,jdbcType=DECIMAL},
#{reportDate,jdbcType=DATE}, #{reportType,jdbcType=VARCHAR}, #{exchangeRate,jdbcType=DECIMAL},
#{exchangeRateUsd,jdbcType=DECIMAL},#{type,jdbcType=INTEGER})
#{exchangeRateUsd,jdbcType=DECIMAL},
#{type,jdbcType=INTEGER})
</insert>
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.bailuntec.domain.entity.DcBaseFinanceAmazonAdProduct"
>
<insert
id=
"insertSelective"
parameterType=
"com.bailuntec.domain.entity.DcBaseFinanceAmazonAdProduct"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element is automatically generated by MyBatis Generator, do not modify.
-->
-->
<choose>
<when
test=
"shardParam != null and shardParam != ''"
>
insert into dc_base_finance_amazon
</when>
<otherwise>
insert into dc_base_finance_amazon_ad_product
insert into dc_base_finance_amazon_ad_product
</otherwise>
</choose>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"
record.
id != null"
>
<if
test=
"id != null"
>
id,
id,
</if>
</if>
<if
test=
"
record.
campaignName != null"
>
<if
test=
"campaignName != null"
>
campaign_name,
campaign_name,
</if>
</if>
<if
test=
"
record.
campaignId != null"
>
<if
test=
"campaignId != null"
>
campaign_id,
campaign_id,
</if>
</if>
<if
test=
"
record.
adGroupName != null"
>
<if
test=
"adGroupName != null"
>
ad_group_name,
ad_group_name,
</if>
</if>
<if
test=
"
record.
adGroupId != null"
>
<if
test=
"adGroupId != null"
>
ad_group_id,
ad_group_id,
</if>
</if>
<if
test=
"
record.
impressions != null"
>
<if
test=
"impressions != null"
>
impressions,
impressions,
</if>
</if>
<if
test=
"
record.
clicks != null"
>
<if
test=
"clicks != null"
>
clicks,
clicks,
</if>
</if>
<if
test=
"
record.
cost != null"
>
<if
test=
"cost != null"
>
cost,
cost,
</if>
</if>
<if
test=
"
record.
currency != null"
>
<if
test=
"currency != null"
>
currency,
currency,
</if>
</if>
<if
test=
"
record.
asin != null"
>
<if
test=
"asin != null"
>
asin,
asin,
</if>
</if>
<if
test=
"
record.
sku != null"
>
<if
test=
"sku != null"
>
sku,
sku,
</if>
</if>
<if
test=
"
record.
attributedConversionsOneday != null"
>
<if
test=
"attributedConversionsOneday != null"
>
attributed_conversions_oneday,
attributed_conversions_oneday,
</if>
</if>
<if
test=
"
record.
attributedConversionsSevenday != null"
>
<if
test=
"attributedConversionsSevenday != null"
>
attributed_conversions_sevenday,
attributed_conversions_sevenday,
</if>
</if>
<if
test=
"
record.
attributedConversionsFourteenday != null"
>
<if
test=
"attributedConversionsFourteenday != null"
>
attributed_conversions_fourteenday,
attributed_conversions_fourteenday,
</if>
</if>
<if
test=
"
record.
attributedConversionsThirtyday != null"
>
<if
test=
"attributedConversionsThirtyday != null"
>
attributed_conversions_thirtyday,
attributed_conversions_thirtyday,
</if>
</if>
<if
test=
"
record.
attributedConversionsOnedaySameSku != null"
>
<if
test=
"attributedConversionsOnedaySameSku != null"
>
attributed_conversions_oneday_same_sku,
attributed_conversions_oneday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedConversionsSevendaySameSku != null"
>
<if
test=
"attributedConversionsSevendaySameSku != null"
>
attributed_conversions_sevenday_same_sku,
attributed_conversions_sevenday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedConversionsFourteendaySameSku != null"
>
<if
test=
"attributedConversionsFourteendaySameSku != null"
>
attributed_conversions_fourteenday_same_sku,
attributed_conversions_fourteenday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedConversionsThirtydaySameSku != null"
>
<if
test=
"attributedConversionsThirtydaySameSku != null"
>
attributed_conversions_thirtyday_same_sku,
attributed_conversions_thirtyday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedOneday != null"
>
<if
test=
"attributedUnitsOrderedOneday != null"
>
attributed_units_ordered_oneday,
attributed_units_ordered_oneday,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedSevenday != null"
>
<if
test=
"attributedUnitsOrderedSevenday != null"
>
attributed_units_ordered_sevenday,
attributed_units_ordered_sevenday,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedFourteenday != null"
>
<if
test=
"attributedUnitsOrderedFourteenday != null"
>
attributed_units_ordered_fourteenday,
attributed_units_ordered_fourteenday,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedThirtyday != null"
>
<if
test=
"attributedUnitsOrderedThirtyday != null"
>
attributed_units_ordered_thirtyday,
attributed_units_ordered_thirtyday,
</if>
</if>
<if
test=
"
record.
attributedSalesOneday != null"
>
<if
test=
"attributedSalesOneday != null"
>
attributed_sales_oneday,
attributed_sales_oneday,
</if>
</if>
<if
test=
"
record.
attributedSalesSevenday != null"
>
<if
test=
"attributedSalesSevenday != null"
>
attributed_sales_sevenday,
attributed_sales_sevenday,
</if>
</if>
<if
test=
"
record.
attributedSalesFourteenday != null"
>
<if
test=
"attributedSalesFourteenday != null"
>
attributed_sales_fourteenday,
attributed_sales_fourteenday,
</if>
</if>
<if
test=
"
record.
attributedSalesThirtyday != null"
>
<if
test=
"attributedSalesThirtyday != null"
>
attributed_sales_thirtyday,
attributed_sales_thirtyday,
</if>
</if>
<if
test=
"
record.
attributedSalesOnedaySameSku != null"
>
<if
test=
"attributedSalesOnedaySameSku != null"
>
attributed_sales_oneday_same_sku,
attributed_sales_oneday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedSalesSevendaySameSku != null"
>
<if
test=
"attributedSalesSevendaySameSku != null"
>
attributed_sales_sevenday_same_sku,
attributed_sales_sevenday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedSalesFourteendaySameSku != null"
>
<if
test=
"attributedSalesFourteendaySameSku != null"
>
attributed_sales_fourteenday_same_sku,
attributed_sales_fourteenday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedSalesThirtydaySameSku != null"
>
<if
test=
"attributedSalesThirtydaySameSku != null"
>
attributed_sales_thirtyday_same_sku,
attributed_sales_thirtyday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedOnedaySameSku != null"
>
<if
test=
"attributedUnitsOrderedOnedaySameSku != null"
>
attributed_units_ordered_oneday_same_sku,
attributed_units_ordered_oneday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedSevendaySameSku != null"
>
<if
test=
"attributedUnitsOrderedSevendaySameSku != null"
>
attributed_units_ordered_sevenday_same_sku,
attributed_units_ordered_sevenday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedFourteendaySameSku != null"
>
<if
test=
"attributedUnitsOrderedFourteendaySameSku != null"
>
attributed_units_ordered_fourteenday_same_sku,
attributed_units_ordered_fourteenday_same_sku,
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedThirtydaySameSku != null"
>
<if
test=
"attributedUnitsOrderedThirtydaySameSku != null"
>
attributed_units_ordered_thirtyday_same_sku,
attributed_units_ordered_thirtyday_same_sku,
</if>
</if>
<if
test=
"
record.
accountId != null"
>
<if
test=
"accountId != null"
>
account_id,
account_id,
</if>
</if>
<if
test=
"
record.
companyId != null"
>
<if
test=
"companyId != null"
>
company_id,
company_id,
</if>
</if>
<if
test=
"
record.
bjCreateTime != null"
>
<if
test=
"bjCreateTime != null"
>
bj_create_time,
bj_create_time,
</if>
</if>
<if
test=
"
record.
bjModifyTime != null"
>
<if
test=
"bjModifyTime != null"
>
bj_modify_time,
bj_modify_time,
</if>
</if>
<if
test=
"re
cord.re
portDate != null"
>
<if
test=
"reportDate != null"
>
report_date,
report_date,
</if>
</if>
<if
test=
"re
cord.re
portType != null"
>
<if
test=
"reportType != null"
>
report_type,
report_type,
</if>
</if>
<if
test=
"
record.
exchangeRate != null"
>
<if
test=
"exchangeRate != null"
>
exchange_rate,
exchange_rate,
</if>
</if>
<if
test=
"
record.
exchangeRateUsd != null"
>
<if
test=
"exchangeRateUsd != null"
>
exchange_rate_usd,
exchange_rate_usd,
</if>
</if>
<if
test=
"
record.
type != null"
>
<if
test=
"type != null"
>
type,
type,
</if>
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"
record.
id != null"
>
<if
test=
"id != null"
>
#{
record.
id,jdbcType=INTEGER},
#{id,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
campaignName != null"
>
<if
test=
"campaignName != null"
>
#{
record.
campaignName,jdbcType=VARCHAR},
#{campaignName,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
campaignId != null"
>
<if
test=
"campaignId != null"
>
#{
record.
campaignId,jdbcType=VARCHAR},
#{campaignId,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
adGroupName != null"
>
<if
test=
"adGroupName != null"
>
#{
record.
adGroupName,jdbcType=VARCHAR},
#{adGroupName,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
adGroupId != null"
>
<if
test=
"adGroupId != null"
>
#{
record.
adGroupId,jdbcType=VARCHAR},
#{adGroupId,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
impressions != null"
>
<if
test=
"impressions != null"
>
#{
record.
impressions,jdbcType=INTEGER},
#{impressions,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
clicks != null"
>
<if
test=
"clicks != null"
>
#{
record.
clicks,jdbcType=INTEGER},
#{clicks,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
cost != null"
>
<if
test=
"cost != null"
>
#{
record.
cost,jdbcType=DECIMAL},
#{cost,jdbcType=DECIMAL},
</if>
</if>
<if
test=
"
record.
currency != null"
>
<if
test=
"currency != null"
>
#{
record.
currency,jdbcType=VARCHAR},
#{currency,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
asin != null"
>
<if
test=
"asin != null"
>
#{
record.
asin,jdbcType=VARCHAR},
#{asin,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
sku != null"
>
<if
test=
"sku != null"
>
#{
record.
sku,jdbcType=VARCHAR},
#{sku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedConversionsOneday != null"
>
<if
test=
"attributedConversionsOneday != null"
>
#{
record.
attributedConversionsOneday,jdbcType=INTEGER},
#{attributedConversionsOneday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedConversionsSevenday != null"
>
<if
test=
"attributedConversionsSevenday != null"
>
#{
record.
attributedConversionsSevenday,jdbcType=INTEGER},
#{attributedConversionsSevenday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedConversionsFourteenday != null"
>
<if
test=
"attributedConversionsFourteenday != null"
>
#{
record.
attributedConversionsFourteenday,jdbcType=INTEGER},
#{attributedConversionsFourteenday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedConversionsThirtyday != null"
>
<if
test=
"attributedConversionsThirtyday != null"
>
#{
record.
attributedConversionsThirtyday,jdbcType=INTEGER},
#{attributedConversionsThirtyday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedConversionsOnedaySameSku != null"
>
<if
test=
"attributedConversionsOnedaySameSku != null"
>
#{
record.
attributedConversionsOnedaySameSku,jdbcType=VARCHAR},
#{attributedConversionsOnedaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedConversionsSevendaySameSku != null"
>
<if
test=
"attributedConversionsSevendaySameSku != null"
>
#{
record.
attributedConversionsSevendaySameSku,jdbcType=VARCHAR},
#{attributedConversionsSevendaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedConversionsFourteendaySameSku != null"
>
<if
test=
"attributedConversionsFourteendaySameSku != null"
>
#{
record.
attributedConversionsFourteendaySameSku,jdbcType=VARCHAR},
#{attributedConversionsFourteendaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedConversionsThirtydaySameSku != null"
>
<if
test=
"attributedConversionsThirtydaySameSku != null"
>
#{
record.
attributedConversionsThirtydaySameSku,jdbcType=VARCHAR},
#{attributedConversionsThirtydaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedOneday != null"
>
<if
test=
"attributedUnitsOrderedOneday != null"
>
#{
record.
attributedUnitsOrderedOneday,jdbcType=INTEGER},
#{attributedUnitsOrderedOneday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedSevenday != null"
>
<if
test=
"attributedUnitsOrderedSevenday != null"
>
#{
record.
attributedUnitsOrderedSevenday,jdbcType=INTEGER},
#{attributedUnitsOrderedSevenday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedFourteenday != null"
>
<if
test=
"attributedUnitsOrderedFourteenday != null"
>
#{
record.
attributedUnitsOrderedFourteenday,jdbcType=VARCHAR},
#{attributedUnitsOrderedFourteenday,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedThirtyday != null"
>
<if
test=
"attributedUnitsOrderedThirtyday != null"
>
#{
record.
attributedUnitsOrderedThirtyday,jdbcType=VARCHAR},
#{attributedUnitsOrderedThirtyday,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedSalesOneday != null"
>
<if
test=
"attributedSalesOneday != null"
>
#{
record.
attributedSalesOneday,jdbcType=INTEGER},
#{attributedSalesOneday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedSalesSevenday != null"
>
<if
test=
"attributedSalesSevenday != null"
>
#{
record.
attributedSalesSevenday,jdbcType=INTEGER},
#{attributedSalesSevenday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedSalesFourteenday != null"
>
<if
test=
"attributedSalesFourteenday != null"
>
#{
record.
attributedSalesFourteenday,jdbcType=INTEGER},
#{attributedSalesFourteenday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedSalesThirtyday != null"
>
<if
test=
"attributedSalesThirtyday != null"
>
#{
record.
attributedSalesThirtyday,jdbcType=INTEGER},
#{attributedSalesThirtyday,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
attributedSalesOnedaySameSku != null"
>
<if
test=
"attributedSalesOnedaySameSku != null"
>
#{
record.
attributedSalesOnedaySameSku,jdbcType=VARCHAR},
#{attributedSalesOnedaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedSalesSevendaySameSku != null"
>
<if
test=
"attributedSalesSevendaySameSku != null"
>
#{
record.
attributedSalesSevendaySameSku,jdbcType=VARCHAR},
#{attributedSalesSevendaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedSalesFourteendaySameSku != null"
>
<if
test=
"attributedSalesFourteendaySameSku != null"
>
#{
record.
attributedSalesFourteendaySameSku,jdbcType=VARCHAR},
#{attributedSalesFourteendaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedSalesThirtydaySameSku != null"
>
<if
test=
"attributedSalesThirtydaySameSku != null"
>
#{
record.
attributedSalesThirtydaySameSku,jdbcType=VARCHAR},
#{attributedSalesThirtydaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedOnedaySameSku != null"
>
<if
test=
"attributedUnitsOrderedOnedaySameSku != null"
>
#{
record.
attributedUnitsOrderedOnedaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedOnedaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedSevendaySameSku != null"
>
<if
test=
"attributedUnitsOrderedSevendaySameSku != null"
>
#{
record.
attributedUnitsOrderedSevendaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedSevendaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedFourteendaySameSku != null"
>
<if
test=
"attributedUnitsOrderedFourteendaySameSku != null"
>
#{
record.
attributedUnitsOrderedFourteendaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedFourteendaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
attributedUnitsOrderedThirtydaySameSku != null"
>
<if
test=
"attributedUnitsOrderedThirtydaySameSku != null"
>
#{
record.
attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR},
#{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
accountId != null"
>
<if
test=
"accountId != null"
>
#{
record.
accountId,jdbcType=INTEGER},
#{accountId,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
companyId != null"
>
<if
test=
"companyId != null"
>
#{
record.
companyId,jdbcType=INTEGER},
#{companyId,jdbcType=INTEGER},
</if>
</if>
<if
test=
"
record.
bjCreateTime != null"
>
<if
test=
"bjCreateTime != null"
>
#{
record.
bjCreateTime,jdbcType=TIMESTAMP},
#{bjCreateTime,jdbcType=TIMESTAMP},
</if>
</if>
<if
test=
"
record.
bjModifyTime != null"
>
<if
test=
"bjModifyTime != null"
>
#{
record.
bjModifyTime,jdbcType=TIMESTAMP},
#{bjModifyTime,jdbcType=TIMESTAMP},
</if>
</if>
<if
test=
"re
cord.re
portDate != null"
>
<if
test=
"reportDate != null"
>
#{re
cord.re
portDate,jdbcType=DATE},
#{reportDate,jdbcType=DATE},
</if>
</if>
<if
test=
"re
cord.re
portType != null"
>
<if
test=
"reportType != null"
>
#{re
cord.re
portType,jdbcType=VARCHAR},
#{reportType,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
record.
exchangeRate != null"
>
<if
test=
"exchangeRate != null"
>
#{
record.
exchangeRate,jdbcType=DECIMAL},
#{exchangeRate,jdbcType=DECIMAL},
</if>
</if>
<if
test=
"
record.
exchangeRateUsd != null"
>
<if
test=
"exchangeRateUsd != null"
>
#{
record.
exchangeRateUsd,jdbcType=DECIMAL},
#{exchangeRateUsd,jdbcType=DECIMAL},
</if>
</if>
<if
test=
"
record.
type != null"
>
<if
test=
"type != null"
>
#{
record.
type,jdbcType=INTEGER},
#{type,jdbcType=INTEGER},
</if>
</if>
</trim>
</trim>
</insert>
</insert>
...
@@ -552,14 +571,7 @@
...
@@ -552,14 +571,7 @@
WARNING - @mbg.generated
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element is automatically generated by MyBatis Generator, do not modify.
-->
-->
<choose>
<when
test=
"shardParam != null and shardParam != ''"
>
update dc_base_finance_amazon
</when>
<otherwise>
update dc_base_finance_amazon_ad_product
update dc_base_finance_amazon_ad_product
</otherwise>
</choose>
<set>
<set>
<if
test=
"record.id != null"
>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
id = #{record.id,jdbcType=INTEGER},
...
@@ -1387,7 +1399,8 @@
...
@@ -1387,7 +1399,8 @@
attributed_sales_thirtyday_same_sku, attributed_units_ordered_oneday_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_sevenday_same_sku, attributed_units_ordered_fourteenday_same_sku,
attributed_units_ordered_thirtyday_same_sku, account_id, company_id, bj_create_time,
attributed_units_ordered_thirtyday_same_sku, account_id, company_id, bj_create_time,
bj_modify_time, report_date, report_type, exchange_rate, exchange_rate_usd,type)
bj_modify_time, report_date, report_type, exchange_rate, exchange_rate_usd, type
)
values
values
(#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR},
(#{id,jdbcType=INTEGER}, #{campaignName,jdbcType=VARCHAR}, #{campaignId,jdbcType=VARCHAR},
#{adGroupName,jdbcType=VARCHAR}, #{adGroupId,jdbcType=VARCHAR}, #{impressions,jdbcType=INTEGER},
#{adGroupName,jdbcType=VARCHAR}, #{adGroupId,jdbcType=VARCHAR}, #{impressions,jdbcType=INTEGER},
...
@@ -1409,7 +1422,7 @@
...
@@ -1409,7 +1422,7 @@
#{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, #{accountId,jdbcType=INTEGER},
#{attributedUnitsOrderedThirtydaySameSku,jdbcType=VARCHAR}, #{accountId,jdbcType=INTEGER},
#{companyId,jdbcType=INTEGER}, #{bjCreateTime,jdbcType=TIMESTAMP}, #{bjModifyTime,jdbcType=TIMESTAMP},
#{companyId,jdbcType=INTEGER}, #{bjCreateTime,jdbcType=TIMESTAMP}, #{bjModifyTime,jdbcType=TIMESTAMP},
#{reportDate,jdbcType=DATE}, #{reportType,jdbcType=VARCHAR}, #{exchangeRate,jdbcType=DECIMAL},
#{reportDate,jdbcType=DATE}, #{reportType,jdbcType=VARCHAR}, #{exchangeRate,jdbcType=DECIMAL},
#{exchangeRateUsd,jdbcType=DECIMAL},#{type,jdbcType=INTEGER})
#{exchangeRateUsd,jdbcType=DECIMAL},
#{type,jdbcType=INTEGER})
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},
...
@@ -1475,31 +1488,6 @@
...
@@ -1475,31 +1488,6 @@
limit 1
limit 1
</select>
</select>
<resultMap
id=
"BaseResultMap1"
type=
"com.bailuntec.domain.dto.DcBaseFinanceAmazonItemDto"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"campaign_name"
jdbcType=
"VARCHAR"
property=
"campaignName"
/>
<result
column=
"campaign_id"
jdbcType=
"VARCHAR"
property=
"campaignId"
/>
<result
column=
"ad_group_name"
jdbcType=
"VARCHAR"
property=
"adGroupName"
/>
<result
column=
"ad_group_id"
jdbcType=
"VARCHAR"
property=
"adGroupId"
/>
<result
column=
"cost"
jdbcType=
"DECIMAL"
property=
"cost"
/>
<result
column=
"currency"
jdbcType=
"VARCHAR"
property=
"currency"
/>
<result
column=
"asin"
jdbcType=
"VARCHAR"
property=
"asin"
/>
<result
column=
"sku"
jdbcType=
"VARCHAR"
property=
"sku"
/>
<result
column=
"account_id"
jdbcType=
"INTEGER"
property=
"accountId"
/>
<result
column=
"company_id"
jdbcType=
"INTEGER"
property=
"companyId"
/>
<result
column=
"report_date"
jdbcType=
"DATE"
property=
"reportDate"
/>
<result
column=
"exchange_rate"
jdbcType=
"DECIMAL"
property=
"exchangeRate"
/>
<result
column=
"exchange_rate_usd"
jdbcType=
"DECIMAL"
property=
"exchangeRateUsd"
/>
<result
column=
"site_en"
jdbcType=
"VARCHAR"
property=
"siteEn"
/>
<collection
property=
"dcBaseSkuMappingList"
column=
"{sku=sku,siteEn=site_en}"
ofType=
"com.bailuntec.domain.dto.DcBaseSkuMappingItemDto"
select=
"selectSkuMapping"
>
</collection>
</resultMap>
<select
id=
"selectSkuMapping"
resultType=
"com.bailuntec.domain.dto.DcBaseSkuMappingItemDto"
>
<select
id=
"selectSkuMapping"
resultType=
"com.bailuntec.domain.dto.DcBaseSkuMappingItemDto"
>
select dc0.*, dc1.unit_price
select dc0.*, dc1.unit_price
from dc_base_sku_mapping dc0
from dc_base_sku_mapping dc0
...
...
data-common/src/main/resources/init.properties
View file @
ba9ba879
table-name
=
dc_
daily_sales
table-name
=
dc_
base_finance_amazon_ad_product
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