1.EFCore List赋值
var materialinfos = _mapper.Map<List<CustMaterial>>(result);
materialinfos.ForEach(x => x.CusCode = "9996");
1.EFCore List赋值
var materialinfos = _mapper.Map<List<CustMaterial>>(result);
materialinfos.ForEach(x => x.CusCode = "9996");