package com.dsh.account.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.dsh.account.entity.Referee; import com.dsh.account.mapper.RefereeMapper; import com.dsh.account.model.RefereeList; import com.dsh.account.service.IRefereeService; import org.springframework.stereotype.Service; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author 39373 * @Date 2024/2/8 15:04 */ @Service public class RefereeServiceImpl extends ServiceImpl implements IRefereeService { /** * 获取裁判管理列表数据 * @param refereeList * @return */ @Override public Map getRefereeList(RefereeList refereeList) { Map map = new HashMap<>(); List> list = this.baseMapper.getRefereeList(refereeList); int count = this.baseMapper.getRefereeListCount(refereeList); map.put("rows", list); map.put("total", count); return map; } }