Commit 6b26daaf by v_vdywang

wdy

parent ef0b68db
...@@ -619,7 +619,7 @@ class TrademarktransactionService extends ServiceBase { ...@@ -619,7 +619,7 @@ class TrademarktransactionService extends ServiceBase {
var nowTime = new Date(); var nowTime = new Date();
nowTime.setMinutes(nowTime.getMinutes() - 30); nowTime.setMinutes(nowTime.getMinutes() - 30);
var lastTimeStr = nowTime.toISOString().split("T")[0] + " " + nowTime.toISOString().split("T")[1]; 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='uppershelf'"; 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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment