|
|
@@ -30,6 +30,7 @@ import com.uas.platform.core.util.serializer.FlexJsonUtils;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
+import org.springframework.data.domain.Sort;
|
|
|
import org.springframework.data.jpa.domain.Specification;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
@@ -247,6 +248,7 @@ public class CommodityInOutboundServiceImpl implements CommodityInOutboundServic
|
|
|
final PageInfo info = new PageInfo(params);
|
|
|
Long enuu = SystemSession.getUser().getEnterprise().getUu();
|
|
|
info.filter("enuu", enuu);
|
|
|
+ info.sorting("createTime", Sort.Direction.DESC);
|
|
|
if (fromDate != null) {
|
|
|
info.expression(PredicateUtils.gte("createTime", new Date(fromDate), false));
|
|
|
}
|