Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
e2715b97
Commit
e2715b97
authored
Feb 09, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9034081a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
daily.cs
AutoTurnOver.DB/daily.cs
+4
-4
No files found.
AutoTurnOver.DB/daily.cs
View file @
e2715b97
...
@@ -224,11 +224,11 @@ UNION ALL
...
@@ -224,11 +224,11 @@ UNION ALL
{
{
var
nos
=
relation
.
Replace
(
"["
,
""
).
Replace
(
"]"
,
""
).
Split
(
','
)[
index
];
var
nos
=
relation
.
Replace
(
"["
,
""
).
Replace
(
"]"
,
""
).
Split
(
','
)[
index
];
var
datas
=
new
List
<
dc_estimated_arrival_dto
>();
var
datas
=
new
List
<
dc_estimated_arrival_dto
>();
if
(
nos
!=
"N/A"
)
if
(
nos
!=(
"N/A"
)
)
{
{
foreach
(
var
no_str
in
nos
.
Split
(
'*'
))
foreach
(
var
no_str
in
nos
.
Split
(
'*'
))
{
{
if
(
no_str
!=
"N/A"
)
if
(
!
no_str
.
Contains
(
"N/A"
)
)
{
{
var
no_datas
=
no_str
.
Split
(
'_'
);
var
no_datas
=
no_str
.
Split
(
'_'
);
dc_estimated_arrival_dto
data
=
new
dc_estimated_arrival_dto
();
dc_estimated_arrival_dto
data
=
new
dc_estimated_arrival_dto
();
...
@@ -264,13 +264,13 @@ UNION ALL
...
@@ -264,13 +264,13 @@ UNION ALL
{
{
break
;
break
;
}
}
if
(
nos
!=
"N/A"
)
if
(
nos
!=(
"N/A"
)
)
{
{
foreach
(
var
no_str
in
nos
.
Split
(
'*'
))
foreach
(
var
no_str
in
nos
.
Split
(
'*'
))
{
{
try
try
{
{
if
(
no_str
!=
"N/A"
)
if
(
!
no_str
.
Contains
(
"N/A"
)
)
{
{
var
no_datas
=
no_str
.
Split
(
'_'
);
var
no_datas
=
no_str
.
Split
(
'_'
);
dc_estimated_arrival_dto
data
=
new
dc_estimated_arrival_dto
();
dc_estimated_arrival_dto
data
=
new
dc_estimated_arrival_dto
();
...
...
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