|
|
@ -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) { |
|
|
|