db.subject_machine.distinct("docId", db.subject_machine.find())
db.getCollection('subject_machine').update({}, {
'$set': {
'Mark_状态': '已提交'
}
}, {
'multi': true
})
db.subject_machine.distinct("docId", db.subject_machine.find())
db.getCollection('subject_machine').update({}, {
'$set': {
'Mark_状态': '已提交'
}
}, {
'multi': true
})