Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
QM_TJ
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
QM_TJ
Commits
9e2a4da8
Commit
9e2a4da8
authored
Jan 23, 2021
by
李增强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
030514a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/qm_tj.dart
lib/qm_tj.dart
+5
-4
No files found.
lib/qm_tj.dart
View file @
9e2a4da8
...
@@ -22,12 +22,13 @@ class QMTJ {
...
@@ -22,12 +22,13 @@ class QMTJ {
_appStartUpId
=
_md5
(
_getDateNow
().
toString
());
_appStartUpId
=
_md5
(
_getDateNow
().
toString
());
ready
=
new
Future
<
bool
>(()
async
{
ready
=
new
Future
<
bool
>(()
async
{
_db
=
new
DB
();
_db
=
new
DB
();
await
await
_db
.
init
();
await
_db
.
init
();
List
<
Map
>
list
=
await
_db
.
db
.
query
(
"page_tj"
);
List
<
Map
>
list
=
await
_db
.
db
.
query
(
"page_tj"
);
print
(
"+++++++++++++++++++++++++++++
${list.length}
"
);
print
(
"+++++++++++++++++++++++++++++
${list.length}
"
);
list
.
removeAt
(
0
);
list
.
removeAt
(
0
);
List
<
String
>
ids
=
list
.
map
((
e
)
=>
e
[
'id'
]);
List
<
String
>
ids
=
list
.
map
((
e
)
=>
e
[
'id'
]);
List
<
Map
>
list2
=
await
_db
.
db
.
query
(
"page_tj"
,
where:
"id in(?)"
,
whereArgs:
[
ids
.
join
(
","
)]);
List
<
Map
>
list2
=
await
_db
.
db
.
query
(
"page_tj"
,
where:
"id in(?)"
,
whereArgs:
[
ids
.
join
(
","
)]);
print
(
"+++++++++++++++++++++++++++++
${list2.length}
"
);
print
(
"+++++++++++++++++++++++++++++
${list2.length}
"
);
return
true
;
return
true
;
});
});
...
...
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