feat(REQ-2186): 产品page接口返回数据顺序调整
This commit is contained in:
parent
0c28899cd1
commit
0af7b3024e
@ -91,7 +91,7 @@ public class ProductServiceImpl implements ProductService {
|
||||
.eq(Objects.nonNull(req.getDictWorkspaceTypeCode()), ProductModule::getDictWorkspaceTypeCode, req.getDictWorkspaceTypeCode())
|
||||
.eq(Objects.nonNull(req.getStatus()), ProductModule::getStatus, req.getStatus())
|
||||
.eq(org.apache.commons.lang3.StringUtils.isNotBlank(req.getProductCategory()), ProductModule::getCategory, req.getProductCategory())
|
||||
.orderByAsc(BaseEntity::getId)
|
||||
.orderByDesc(BaseEntity::getId)
|
||||
.page(req.toPage());
|
||||
List<ProductVO> list = BeanMapper.copyList(page.getRecords(), ProductVO.class);
|
||||
list.forEach(e -> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user