工作组查询优化

This commit is contained in:
yuezhihang
2021-11-11 14:13:11 +08:00
parent 333143549f
commit b714156172
30 changed files with 361 additions and 74 deletions
@@ -17,4 +17,6 @@ import java.util.List;
*/
public interface WgMeetingUserRelationDao extends BaseMapper<WgMeetingUserRelation> {
List<WgMeetingUserRelationShow> getMeetingPeoples(@Param("meetId") String meetingId);
List<WgMeetingUserRelationShow> getMeetingAllPeoples(@Param(value = "type") String type);
}
@@ -1,8 +1,11 @@
package com.adc.da.slrs.wgMeetingUserRelation.service;
import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelation;
import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelationShow;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 服务类
@@ -12,5 +15,6 @@ import com.baomidou.mybatisplus.extension.service.IService;
* @since 2021-11-09
*/
public interface IWgMeetingUserRelationService extends IService<WgMeetingUserRelation> {
List<WgMeetingUserRelationShow> getMeetingAllPeoples(String type);
}
@@ -2,10 +2,14 @@ package com.adc.da.slrs.wgMeetingUserRelation.service.impl;
import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelation;
import com.adc.da.slrs.wgMeetingUserRelation.dao.WgMeetingUserRelationDao;
import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelationShow;
import com.adc.da.slrs.wgMeetingUserRelation.service.IWgMeetingUserRelationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* <p>
* 服务实现类
@@ -17,4 +21,11 @@ import org.springframework.stereotype.Service;
@Service
public class WgMeetingUserRelationServiceImpl extends ServiceImpl<WgMeetingUserRelationDao, WgMeetingUserRelation> implements IWgMeetingUserRelationService {
@Autowired
private WgMeetingUserRelationDao wgMeetingUserRelationDao;
@Override
public List<WgMeetingUserRelationShow> getMeetingAllPeoples(String type) {
return wgMeetingUserRelationDao.getMeetingAllPeoples(type);
}
}