Monogdb 按2个字段值之间的比较时间:2023-03-09 07:12:30 使用 $where BsonDocument query = new BsonDocument("$where", "this.soDate<this.pEffDate");//{$where:"this.soDate<this.pEffDate"}