| | |
| | | import com.ruoyi.other.mapper.TechnicianMapper; |
| | | import com.ruoyi.other.api.domain.Technician; |
| | | import com.ruoyi.other.service.TechnicianService; |
| | | import com.ruoyi.other.vo.TechnicianDetailVO; |
| | | import com.ruoyi.other.vo.TechnicianVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | @Service |
| | | public class TechnicianServiceImpl extends ServiceImpl<TechnicianMapper, Technician> implements TechnicianService { |
| | | @Resource |
| | | private TechnicianMapper technicianMapper; |
| | | |
| | | @Override |
| | | public List<TechnicianVO> getTechnicianListByShopId(Long shopId) { |
| | | return technicianMapper.selectTechnicianListByShopId(shopId); |
| | | } |
| | | |
| | | @Override |
| | | public TechnicianDetailVO technicianDetail(Long technicianId) { |
| | | return technicianMapper.selectTechnicianDetail(technicianId); |
| | | } |
| | | } |