增加无dp字段的记录的查询
This commit is contained in:
parent
7af83ecd45
commit
e062aff8d6
@ -73,7 +73,11 @@ class PuzzleClass extends BaseModule {
|
||||
opt.quality = quality
|
||||
}
|
||||
if (dp != undefined) {
|
||||
opt.dp = dp
|
||||
if (dp == 'none') {
|
||||
opt.dp = {$exists: false}
|
||||
} else {
|
||||
opt.dp = dp
|
||||
}
|
||||
}
|
||||
if (timeBegin && !timeEnd) {
|
||||
opt.createtime = {$gte: timeBegin};
|
||||
|
Loading…
x
Reference in New Issue
Block a user