Commit 9eb29041 by fanjiaxin

商品列表检索为空,返回参处理

parent 1b71e74a
Pipeline #71671 passed with stages
in 1 minute 1 second
......@@ -29,7 +29,7 @@ public class PageVO<T> implements Serializable {
*/
private List<T> list;
public void setList(List<T> list) {
this.list = CollectionUtils.isEmpty(list) ? Collections.emptyList() : list;
public List<T> getList() {
return CollectionUtils.isEmpty(list) ? Collections.emptyList() : list;
}
}
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