rpc接收的对象,无法更新数据
IPage<LoginLog> page =orderRpc.selectList(dto);
List<LoginLogExcelVo> excelVo= JSONUtil.toList(new JSONArray(page.getRecords()),LoginLogExcelVo.class);
for (LoginLogExcelVo vo:withdrawListExcelVo) {
vo.setAccountType(AccountTypeEnum.getByCode(vo.getAccountType()).getDesc());
}
page.setRecords(list);
关键代码
List<LoginLogExcelVo> excelVo= JSONUtil.toList(new JSONArray(page.getRecords()),LoginLogExcelVo.class);
page.setRecords(list);

浙公网安备 33010602011771号