From 06f455915bb9d11caa8829942f9007809ee9ae3d Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期四, 28 十一月 2024 16:37:45 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/TechnicianServiceImpl.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/TechnicianServiceImpl.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/TechnicianServiceImpl.java index ead8ae5..519f02d 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/TechnicianServiceImpl.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/TechnicianServiceImpl.java @@ -4,7 +4,13 @@ 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> @@ -16,5 +22,16 @@ */ @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); + } } -- Gitblit v1.7.1