Commit 94edfa76 authored by Hsinli's avatar Hsinli

addd

parent fca7f676
Pipeline #10332 passed with stage
in 19 seconds
...@@ -136,6 +136,7 @@ class FootPrintService extends Service { ...@@ -136,6 +136,7 @@ class FootPrintService extends Service {
let count = 0; let count = 0;
if (list.length > 0) { if (list.length > 0) {
let taskList = []; let taskList = [];
for (let i in list) {
let taskFilter = { let taskFilter = {
where: { where: {
status: 'online', status: 'online',
...@@ -143,7 +144,6 @@ class FootPrintService extends Service { ...@@ -143,7 +144,6 @@ class FootPrintService extends Service {
id: list[i].connect_id id: list[i].connect_id
} }
} }
for (let i in list) {
if (Number(list[i].house_style) === 1) { if (Number(list[i].house_style) === 1) {
taskList[i] = ctx.realestateModel.NewHouse.one(taskFilter); taskList[i] = ctx.realestateModel.NewHouse.one(taskFilter);
} }
......
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