|
@ -78,8 +78,10 @@ async function getCameraProject (ctx, next) { |
|
|
findOption.where.externalDomain = externalDomain |
|
|
findOption.where.externalDomain = externalDomain |
|
|
} |
|
|
} |
|
|
if (serialNo) { |
|
|
if (serialNo) { |
|
|
findOption.where.serialNo = { $in: serialNo.split(',') } |
|
|
findOption.where['$or'] = { |
|
|
findOption.where.topSerialNo = { $in: serialNo.split(',') } |
|
|
serialNo: { $in: serialNo.split(',') }, |
|
|
|
|
|
topSerialNo: { $in: serialNo.split(',') } |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
if (state) { |
|
|
if (state) { |
|
|
if (state == 'DISABLED') { |
|
|
if (state == 'DISABLED') { |
|
|