Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hemei
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
潘栩锋
hemei
Commits
4cf29cfc
Commit
4cf29cfc
authored
Sep 23, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余的 UpdateScanData
parent
db5cc4ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
HistoryDb.cs
...owingScan/FLY.Thick.BlowingScan/Server/Model/HistoryDb.cs
+0
-21
No files found.
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan/Server/Model/HistoryDb.cs
View file @
4cf29cfc
...
...
@@ -295,28 +295,7 @@ namespace FLY.Thick.BlowingScan.Server.Model
}
#
endregion
}
/// <summary>
/// 需要通过 ID才能更新
/// </summary>
public
void
UpdateScanData
(
Lc_ScanData
scanData
)
{
//添加 数据库必要的 field
//SQLs
List
<
string
>
sqls
=
new
List
<
string
>();
var
db_scandata
=
Lc_AutoMapperProfile
.
Mapper
.
Map
<
Db_ScanData
>(
scanData
);
sqls
.
Add
(
SQLiteHelper
.
GetUpdateCommandText
(
db_scandata
,
$"WHERE ID =
{
scanData
.
ID
}
"
));
dbModel
.
sqliteHelper
.
QueryTranAsync
(
sqls
);
#
region
IDBShareService
ScanDataChanged
?.
Invoke
(
this
,
new
ScanDataChangedEventArgs
()
{
isInsert
=
false
,
scandata
=
scanData
});
#
endregion
}
/// <summary>
///
/// </summary>
...
...
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