update jeecg-boot/jeecg-boot-base-common/src/main/java/org/jeecg/common/util/oConvertUtils.java.
先判断null,再判断空
This commit is contained in:
parent
01ac622c0c
commit
c20549fa0f
|
@ -593,7 +593,7 @@ public class oConvertUtils {
|
|||
* @return
|
||||
*/
|
||||
public static<F,T> List<T> entityListToModelList(List<F> fromList, Class<T> tClass){
|
||||
if(fromList.isEmpty() || fromList == null){
|
||||
if(fromList == null || fromList.isEmpty()){
|
||||
return null;
|
||||
}
|
||||
List<T> tList = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue