|
@@ -9,8 +9,6 @@ const patentapply = {
|
|
|
user_name: { type: String }, // 用户姓名
|
|
|
mech_id: { type: ObjectId }, // 机构id
|
|
|
mech_name: { type: String }, // 机构名称
|
|
|
- admin_id: { type: ObjectId }, // 管理员id
|
|
|
- admin_name: { type: String }, // 管理员姓名
|
|
|
agentmech_id: { type: ObjectId }, // 代理机构id
|
|
|
agentmech_name: { type: String }, // 代理机构姓名
|
|
|
create_number: { type: String }, // 申请号
|
|
@@ -32,7 +30,6 @@ const schema = new Schema(patentapply, { toJSON: { virtuals: true } });
|
|
|
schema.index({ id: 1 });
|
|
|
schema.index({ user_id: 1 });
|
|
|
schema.index({ mech_id: 1 });
|
|
|
-schema.index({ admin_id: 1 });
|
|
|
schema.index({ agentmech_id: 1 });
|
|
|
schema.index({ create_number: 1 });
|
|
|
schema.index({ name: 1 });
|