Commit 0737dfa3 by Sxy

fix: 分配bug

parent 4cb62cb4
...@@ -45,7 +45,7 @@ class DeliverDao extends Dao { ...@@ -45,7 +45,7 @@ class DeliverDao extends Dao {
} }
break break
case "/deliveryManagement/deliveryNoAllocate": case "/deliveryManagement/deliveryNoAllocate":
qc.where['$or'] = []; delete qc.where['$or'];
qc.where.delivery_man_opcode = { qc.where.delivery_man_opcode = {
$or: [{ $eq: null }, { $eq: "" }] $or: [{ $eq: null }, { $eq: "" }]
} }
...@@ -123,7 +123,7 @@ class DeliverDao extends Dao { ...@@ -123,7 +123,7 @@ class DeliverDao extends Dao {
}); });
break break
case "/wangwenManagement/deliveryNoAllocate": case "/wangwenManagement/deliveryNoAllocate":
qc.where['$or'] = []; delete qc.where['$or'];
filters.push({ filters.push({
delivery_man_opcode: { delivery_man_opcode: {
$eq: null $eq: null
...@@ -155,7 +155,7 @@ class DeliverDao extends Dao { ...@@ -155,7 +155,7 @@ class DeliverDao extends Dao {
}); });
break break
case "/foodManagement/deliveryNoAllocate": case "/foodManagement/deliveryNoAllocate":
qc.where['$or'] = []; delete qc.where['$or'];
filters.push({ filters.push({
delivery_man_opcode: { delivery_man_opcode: {
$eq: null $eq: null
...@@ -187,7 +187,7 @@ class DeliverDao extends Dao { ...@@ -187,7 +187,7 @@ class DeliverDao extends Dao {
}); });
break break
case "/guangboManagement/deliveryNoAllocate": case "/guangboManagement/deliveryNoAllocate":
qc.where['$or'] = [] delete qc.where['$or'];
filters.push({ filters.push({
delivery_man_opcode: { delivery_man_opcode: {
$eq: null $eq: null
......
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