|
@ -28,14 +28,14 @@ import com.epmet.dao.GuideModuleDao; |
|
|
import com.epmet.dto.GuideModuleDTO; |
|
|
import com.epmet.dto.GuideModuleDTO; |
|
|
import com.epmet.dto.ModuleDTO; |
|
|
import com.epmet.dto.ModuleDTO; |
|
|
import com.epmet.entity.GuideModuleEntity; |
|
|
import com.epmet.entity.GuideModuleEntity; |
|
|
|
|
|
import com.epmet.service.GuideModuleDictService; |
|
|
import com.epmet.service.GuideModuleService; |
|
|
import com.epmet.service.GuideModuleService; |
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
import java.util.Arrays; |
|
|
import java.util.Arrays; |
|
|
import java.util.Collections; |
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
@ -48,6 +48,8 @@ import java.util.Map; |
|
|
@Service |
|
|
@Service |
|
|
public class GuideModuleServiceImpl extends BaseServiceImpl<GuideModuleDao, GuideModuleEntity> implements GuideModuleService { |
|
|
public class GuideModuleServiceImpl extends BaseServiceImpl<GuideModuleDao, GuideModuleEntity> implements GuideModuleService { |
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
private GuideModuleDictService guideModuleDictService; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public PageData<GuideModuleDTO> page(Map<String, Object> params) { |
|
|
public PageData<GuideModuleDTO> page(Map<String, Object> params) { |
|
@ -129,4 +131,17 @@ public class GuideModuleServiceImpl extends BaseServiceImpl<GuideModuleDao, Guid |
|
|
return baseDao.selectByGuideId(customerId, guideId); |
|
|
return baseDao.selectByGuideId(customerId, guideId); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @param customerId |
|
|
|
|
|
* @Description 获取模块列表 |
|
|
|
|
|
* @Param customerId |
|
|
|
|
|
* @Return {@link List< ModuleDTO>} |
|
|
|
|
|
* @Author zhaoqifeng |
|
|
|
|
|
* @Date 2021/9/9 14:46 |
|
|
|
|
|
*/ |
|
|
|
|
|
@Override |
|
|
|
|
|
public List<ModuleDTO> getModuleList(String customerId) { |
|
|
|
|
|
return guideModuleDictService.getModuleList(customerId); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |