feat():修复车辆网关报错

dev.parse
ruyaxie 2024-10-09 17:02:51 +08:00
parent ee6da76129
commit 08fc9623bc
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public class FileUploadUtils {
/**
* 50M
*/
public static final Long DEFAULT_MAX_SIZE = 50 * 1024 * 1024;
public static final Long DEFAULT_MAX_SIZE = 50 * 1024 * 1024L;
/**
* 100

View File

@ -93,7 +93,7 @@ public class GenController extends BaseController<BaseEntity> {
TableDataInfo dataInfo = new TableDataInfo();
List<GenTableColumn> list = genTableColumnService.selectGenTableColumnListByTableId(tableId);
dataInfo.setRows(list);
dataInfo.setTotal(list.size());
dataInfo.setTotal((long) list.size());
return success(dataInfo);
}