|
@@ -78,7 +78,8 @@ public class ProductInfoServiceImpl extends ServiceImpl<ProductInfoMapper, Produ
|
|
|
else {
|
|
|
q.le("(new_products_day + grow_up_day) - datediff(now(), computing_time)", 0);
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
+ .orderByDesc(ProductInfo::getCode);
|
|
|
|
|
|
Page<Map<String, Object>> page = baseMapper.getPage(createPage(condition), wrapper);
|
|
|
|