List<SubjectDetailResParam> pageTempList =list值
下面改换成BizSubjectdetail对象并且重新对象赋值
List<BizSubjectdetail> detaillist= pageTempList.stream().map(item->{BizSubjectdetail bizSubjectdetail = new BizSubjectdetail();bizSubjectdetail.setIncome(item.getInCount());bizSubjectdetail.setPayout(item.getOutCount());bizSubjectdetail.setOccurdate(item.getAddDate());bizSubjectdetail.setBusinesstypevalue("-100");bizSubjectdetail.setStatus("1");bizSubjectdetail.setIsThirdparter(true);bizSubjectdetail.setSubjectName(bizSubjectdetailPageParam.getSubjectName());return bizSubjectdetail; }).toList();