|
@@ -63,7 +63,18 @@ class IntelligentFollowService extends CrudService {
|
|
|
const total = await this.model.countDocuments(match);
|
|
|
const res = await this.model.aggregate([
|
|
|
{ $match: match },
|
|
|
- { $project: { intelligentId: { $toObjectId: '$intelligentId' }, creditStatus: 1, savetime: '$meta.createdAt' } },
|
|
|
+ { $project:
|
|
|
+ {
|
|
|
+ intelligentId: { $toObjectId: '$intelligentId' },
|
|
|
+ uuid: 1,
|
|
|
+ creditStatus: 1,
|
|
|
+ credit_money: 1,
|
|
|
+ sxcpname: 1,
|
|
|
+ sxhowlong: 1,
|
|
|
+ sxcplilue: 1,
|
|
|
+ savetime: '$meta.createdAt',
|
|
|
+ },
|
|
|
+ },
|
|
|
{ $lookup: {
|
|
|
from: 'intelligent_docking',
|
|
|
localField: 'intelligentId',
|