Commit 08feb3a8 authored by 廖旭伟's avatar 廖旭伟

注册用户导入导出问题修改

parent 5b9dbbdf
......@@ -56,14 +56,14 @@ public class PersonController extends BaseCRUDJsonBodyMappingController<PersonSe
super.init(model, context);
}
@Override
public void doExportBefore(Context context, PersonEntity query, List<String> properties) throws AppException {
properties.add("性别");
// super.doExportBefore(context, query, properties);
}
@Override
public void doImportExcelAfter(MultipartFile file, List<PersonEntity> list, Context context) throws AppException {
String filePath = uploadService.saveFileUpload(file, "file/fileupload",null);
}
// @Override
// public void doExportBefore(Context context, PersonEntity query, List<String> properties) throws AppException {
// properties.add("性别");
// // super.doExportBefore(context, query, properties);
// }
//
// @Override
// public void doImportExcelAfter(MultipartFile file, List<PersonEntity> list, Context context) throws AppException {
// String filePath = uploadService.saveFileUpload(file, "file/fileupload",null);
// }
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment