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

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

parent 5b9dbbdf
...@@ -56,14 +56,14 @@ public class PersonController extends BaseCRUDJsonBodyMappingController<PersonSe ...@@ -56,14 +56,14 @@ public class PersonController extends BaseCRUDJsonBodyMappingController<PersonSe
super.init(model, context); super.init(model, context);
} }
@Override // @Override
public void doExportBefore(Context context, PersonEntity query, List<String> properties) throws AppException { // public void doExportBefore(Context context, PersonEntity query, List<String> properties) throws AppException {
properties.add("性别"); // properties.add("性别");
// super.doExportBefore(context, query, properties); // // super.doExportBefore(context, query, properties);
} // }
//
@Override // @Override
public void doImportExcelAfter(MultipartFile file, List<PersonEntity> list, Context context) throws AppException { // public void doImportExcelAfter(MultipartFile file, List<PersonEntity> list, Context context) throws AppException {
String filePath = uploadService.saveFileUpload(file, "file/fileupload",null); // 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