Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
18fd5019
Commit
18fd5019
authored
Dec 29, 2020
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ec091582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
center-tmtransaction/app/base/service/impl/tm/trademarktransactionSve.js
+1
-4
No files found.
center-tmtransaction/app/base/service/impl/tm/trademarktransactionSve.js
View file @
18fd5019
...
@@ -842,10 +842,7 @@ class TrademarktransactionService extends ServiceBase {
...
@@ -842,10 +842,7 @@ class TrademarktransactionService extends ServiceBase {
async
createjsonfile
()
{
async
createjsonfile
()
{
var
nowTime
=
new
Date
();
var
sql
=
"select * from tm_transaction where publish_status in ('uppershelf','lowershelf') limit 50"
;
nowTime
.
setMinutes
(
nowTime
.
getMinutes
()
-
30
);
var
lastTimeStr
=
nowTime
.
toISOString
().
split
(
"T"
)[
0
]
+
" "
+
nowTime
.
toISOString
().
split
(
"T"
)[
1
];
var
sql
=
"select * from tm_transaction where updated_at>='"
+
lastTimeStr
+
"' and publish_status in ('uppershelf','lowershelf')"
;
var
tminfos
=
await
this
.
dao
.
customQuery
(
sql
);
var
tminfos
=
await
this
.
dao
.
customQuery
(
sql
);
var
sources
=
[];
var
sources
=
[];
if
(
tminfos
)
{
if
(
tminfos
)
{
...
...
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