p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 15.0px "Helvetica Neue"; color: #454545 }
p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 15.0px ".PingFang SC"; color: #454545 }
p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 15.0px "Helvetica Neue"; color: #454545; min-height: 17.0px }
p.p4 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px "Helvetica Neue"; color: #454545; min-height: 14.0px }
span.s1 { font: 15.0px "Helvetica Neue" }
span.s2 { font: 15.0px ".PingFang SC" }
mongodb
模糊查询:
{people_name:{$regex:/杨/}}
更新返回更新后的数据:
NewContract.findByIdAndUpdate(id, data, { new: true, select: 'attachment no' }, cb)
关联查询:
People.findById(people_id)
.populate({
path: 'it_0002',
model: 'IT_0002',
select: 'address_type_code address'
})
.populate({
path: 'company',
model: 'Company',
select: 'company_name nature province_name city_name tell postcode address'
})