Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
thick-casting
Project
Project
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
潘栩锋
thick-casting
Commits
d1f3545a
Commit
d1f3545a
authored
Jul 09, 2024
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复 当数据很少,直方图无法生产时,出bug
2.修复 时间为DateTime.MinValue时,无法 -1,出错
parent
6cacadce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
DbProfilePack.cs
...ing/FLY.Thick.FilmCasting.UI.DbViewer/Db/DbProfilePack.cs
+6
-2
PgSelect.xaml.cs
...asting/FLY.Thick.FilmCasting.UI.DbViewer/PgSelect.xaml.cs
+7
-1
No files found.
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/Db/DbProfilePack.cs
View file @
d1f3545a
...
@@ -288,8 +288,12 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Db
...
@@ -288,8 +288,12 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Db
}
}
}
}
if
(
all_datas
.
Count
()
==
0
)
if
(
all_datas
.
Count
()
==
0
)
return
null
;
{
Histogram_TotalCount
=
0
;
Histogram_Sigma
=
double
.
NaN
;
Histogram_Average
=
double
.
NaN
;
return
list
;
}
foreach
(
var
thk
in
all_datas
)
foreach
(
var
thk
in
all_datas
)
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/PgSelect.xaml.cs
View file @
d1f3545a
...
@@ -130,7 +130,13 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer
...
@@ -130,7 +130,13 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer
DbEndTime
=
dbHelper
.
DbEndTime
;
DbEndTime
=
dbHelper
.
DbEndTime
;
DbBeginTime
=
dbHelper
.
DbBeginTime
;
DbBeginTime
=
dbHelper
.
DbBeginTime
;
EndDate
=
DbEndTime
;
EndDate
=
DbEndTime
;
BeginDate
=
EndDate
.
AddDays
(-
1
);
try
{
BeginDate
=
EndDate
.
AddDays
(-
1
);
}
catch
(
Exception
e
)
{
BeginDate
=
EndDate
;
}
}
}
private
async
void
SelectMonthPath
()
private
async
void
SelectMonthPath
()
{
{
...
...
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