dev
parent
0ce568d273
commit
1aae66c5e1
|
|
@ -49,6 +49,7 @@ public class CheckExceptionDataJob implements Job {
|
|||
if (!onlineids.isEmpty()) {
|
||||
sync = Db.queryInt("select count(t.id) cnt from sync_task t \n" +
|
||||
" where t.state = 0 \n" +
|
||||
" and t.create_time < date_add(now(), interval -5 minute) \n" +
|
||||
" and t.supermarket_id in(" + StrKit.join(onlineids, ",") + ") ");
|
||||
|
||||
if (sync > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue