|
@@ -134,7 +134,7 @@ public class CartoonServiceImpl extends ServiceImpl<ICartoonMapper, Cartoon> imp
|
|
|
|
|
|
Cartoon cartoon = this.lambdaQuery()
|
|
|
.like(StrUtil.isNotBlank(queryDTO.getName()), Cartoon::getName, queryDTO.getName())
|
|
|
- .orderByDesc(Cartoon::getCreatedTime)
|
|
|
+ .orderByAsc(Cartoon::getCreatedTime)
|
|
|
.last("limit 1")
|
|
|
.one();
|
|
|
BeanUtil.copyProperties(cartoon, respDTO);
|