Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smallproject
Project
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
mahaisong
smallproject
Commits
069a63b6
Commit
069a63b6
authored
Jun 06, 2018
by
mahaisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:更改批量插入方式(解决doc文件)
parent
f332da41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TaikorESJob.cs
...本地ES/MinderES/TaikorES_MinderES/QuartzJobs/TaikorESJob.cs
+2
-2
No files found.
10.Paul需求-JSON贝格ES导入本地ES/MinderES/TaikorES_MinderES/QuartzJobs/TaikorESJob.cs
View file @
069a63b6
usin
g
HTCommon.Data
;
usin
g
HTCommon.Data
;
...
...
@@ -177,7 +177,7 @@ namespace TaikorES_MinderES.QuartzJobs
}
MinderESAccess
.
BulkInsert
Async
<
Item
>(
TaiKorNewsList
.
ToArray
<
Item
>());
MinderESAccess
.
BulkInsert
_MA
<
Item
>(
TaiKorNewsList
.
ToArray
<
Item
>());
string
msg
=
string
.
Format
(
"Success sync TaikorES news at {0}, this time index {1} items."
,
DateTime
.
Now
,
TaiKorNewsList
.
Count
);
LogService
.
WriteInfo
(
msg
);
//Console.WriteLine(msg);
...
...
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