导出bug修改

dev^2
zjh 1 year ago
parent a86cb0d510
commit afde28d93d
  1. 4
      jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/system/base/controller/JeecgController.java

@ -45,7 +45,7 @@ public class JeecgController<T, S extends IService<T>> {
S service; S service;
@Value("${jeecg.path.upload}") @Value("${jeecg.path.upload}")
private String upLoadPath; protected String upLoadPath;
/** /**
* 导出excel * 导出excel
@ -154,7 +154,7 @@ public class JeecgController<T, S extends IService<T>> {
* *
* @return * @return
*/ */
private String getId(T item) { protected String getId(T item) {
try { try {
return PropertyUtils.getProperty(item, "id").toString(); return PropertyUtils.getProperty(item, "id").toString();
} catch (Exception e) { } catch (Exception e) {

Loading…
Cancel
Save