|
|
|
@ -0,0 +1,23 @@ |
|
|
|
package com.qniao.dam.query.guildladderprofititem.impl; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.qniao.dam.domain.aggregate.guildladderprofititem.entity.GuildLadderProfitItem; |
|
|
|
import com.qniao.dam.infrastructure.persistent.dao.guildladderprofititem.GuildLadderProfitItemDao; |
|
|
|
import com.qniao.dam.query.guildladderprofititem.GuildLadderProfitItemQueryService; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
@Service |
|
|
|
public class GuildLadderProfitItemQueryServiceImpl implements GuildLadderProfitItemQueryService { |
|
|
|
|
|
|
|
@Resource |
|
|
|
private GuildLadderProfitItemDao guildLadderProfitItemDao; |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<GuildLadderProfitItem> list() { |
|
|
|
return guildLadderProfitItemDao.selectList(new LambdaQueryWrapper<GuildLadderProfitItem>() |
|
|
|
.orderByDesc(GuildLadderProfitItem::getMinValue)); |
|
|
|
} |
|
|
|
} |