记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
4b54e7eb
Commit
4b54e7eb
authored
Dec 13, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 周焕导出
parent
b180d51f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
GoblinExportDataController.java
...latform/controller/goblin/GoblinExportDataController.java
+4
-6
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/controller/goblin/GoblinExportDataController.java
View file @
4b54e7eb
...
...
@@ -138,8 +138,8 @@ public class GoblinExportDataController {
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"marketId"
,
value
=
"活动ID"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"bDate"
,
value
=
"开始时间[yyyy-MM-dd
HH:mm:ss
]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"eDate"
,
value
=
"结束时间[yyyy-MM-dd
HH:mm:ss
]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"bDate"
,
value
=
"开始时间[yyyy-MM-dd]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"eDate"
,
value
=
"结束时间[yyyy-MM-dd]"
),
})
public
void
exportMarketGoods
(
@RequestParam
(
required
=
true
,
name
=
"bDate"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
DATETIME_YMD
,
message
=
"开始日期格式有误"
)
String
beginDate
,
@RequestParam
(
required
=
true
,
name
=
"eDate"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
DATETIME_YMD
,
message
=
"结束日期格式有误"
)
String
endDate
,
...
...
@@ -215,10 +215,8 @@ public class GoblinExportDataController {
HashMap
<
String
,
Object
>
paramMap
=
CollectionUtil
.
mapStringObject
();
paramMap
.
put
(
"storeId"
,
storeId
);
paramMap
.
put
(
"marketId"
,
GoblinStatusConst
.
MarketPreStatus
.
MARKET_PRE_ZHENGZAI
.
getValue
()
+
marketId
);
LocalDate
beginLocalDate
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse2LocalDate
(
beginDate
);
LocalDate
endLocalDate
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
parse2LocalDate
(
endDate
);
paramMap
.
put
(
"beginTime"
,
null
==
beginLocalDate
?
beginLocalDate
:
LocalDateTime
.
of
(
beginLocalDate
,
LocalTime
.
MIN
));
paramMap
.
put
(
"endTime"
,
null
==
endLocalDate
?
endLocalDate
:
LocalDateTime
.
of
(
endLocalDate
,
LocalTime
.
MAX
));
paramMap
.
put
(
"beginTime"
,
beginDate
);
paramMap
.
put
(
"endTime"
,
endDate
);
if
(
log
.
isDebugEnabled
())
{
log
.
debug
(
"数据导出:正在下单-商品导出:[uid:{},paramMap:{}]"
,
currentUid
,
JsonUtils
.
toJson
(
paramMap
));
}
...
...
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