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);
posted @ 2024-12-03 23:16  霸气小青年  阅读(20)  评论(0)    收藏  举报