Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
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
DataCenter_Core2.1_20190520
Commits
44e968e1
Commit
44e968e1
authored
Oct 10, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监控头程变化的服务增加运行日志记录
parent
bbb8614f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Services.cs
Bailun.DC.CostFirstMonitoring/Services.cs
+3
-0
No files found.
Bailun.DC.CostFirstMonitoring/Services.cs
View file @
44e968e1
...
...
@@ -59,6 +59,9 @@ namespace Bailun.DC.CostFirstMonitoring
sql
=
"update dc_base_cost_first_finish set change_rate="
+(
item
.
diff
*
100
/
item
.
pre_avl_sku_cost_first
)+
",exception_type="
+(
item
.
diff
>
0
?
1
:(
item
.
diff
<
0
?
2
:
0
))+
" where id="
+
item
.
id
;
cn
.
Execute
(
sql
);
}
Console
.
WriteLine
(
"本次更新"
+
list
.
Count
+
"条记录 "
+
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
));
}
}
}
...
...
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