| | |
| | | package com.oying.modules.message.service.impl; |
| | | |
| | | import com.oying.modules.message.domain.MesRiderEvaluation; |
| | | import com.oying.modules.message.domain.myDto.MesRiderEvaluationDto; |
| | | import com.oying.utils.FileUtil; |
| | | import lombok.RequiredArgsConstructor; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.oying.modules.message.service.MesRiderEvaluationService; |
| | | import com.oying.modules.message.domain.MesRiderEvaluation; |
| | | import com.oying.modules.message.domain.dto.MesRiderEvaluationQueryCriteria; |
| | | import com.oying.modules.message.domain.myDto.MesRiderEvaluationDto; |
| | | import com.oying.modules.message.mapper.MesRiderEvaluationMapper; |
| | | import com.oying.modules.message.service.MesRiderEvaluationService; |
| | | import com.oying.utils.FileUtil; |
| | | import com.oying.utils.PageResult; |
| | | import com.oying.utils.PageUtil; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import com.oying.utils.PageUtil; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.io.IOException; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.LinkedHashMap; |
| | | import com.oying.utils.PageResult; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @description 服务实现 |
| | | * @author 李萌 |
| | | * @date 2025-07-25 |
| | | **/ |
| | | * @author 李萌 |
| | | * @description 服务实现 |
| | | * @date 2025-07-25 |
| | | **/ |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | public class MesRiderEvaluationServiceImpl extends ServiceImpl<MesRiderEvaluationMapper, MesRiderEvaluation> implements MesRiderEvaluationService { |
| | |
| | | private final MesRiderEvaluationMapper mesRiderEvaluationMapper; |
| | | |
| | | @Override |
| | | public PageResult<MesRiderEvaluation> queryAll(MesRiderEvaluationQueryCriteria criteria, Page<Object> page){ |
| | | public PageResult<MesRiderEvaluation> queryAll(MesRiderEvaluationQueryCriteria criteria, Page<Object> page) { |
| | | return PageUtil.toPage(mesRiderEvaluationMapper.findAll(criteria, page)); |
| | | } |
| | | |
| | | @Override |
| | | public List<MesRiderEvaluation> queryAll(MesRiderEvaluationQueryCriteria criteria){ |
| | | public List<MesRiderEvaluation> queryAll(MesRiderEvaluationQueryCriteria criteria) { |
| | | return mesRiderEvaluationMapper.findAll(criteria); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void addRiderEvaluation(MesRiderEvaluationDto resources) { |
| | | mesRiderEvaluationMapper.addRiderEvaluation(resources); |
| | | mesRiderEvaluationMapper.addRiderEvaluation(resources); |
| | | } |
| | | } |