|
|
package com.yoho.ufo.resource.service.impl;
|
|
|
|
|
|
import com.yoho.ufo.dal.ResourcesContentDataMapper;
|
|
|
import com.yoho.ufo.dal.ResourcesContentMapper;
|
|
|
import com.yoho.ufo.dal.ResourcesMapper;
|
|
|
import com.yoho.ufo.model.resource.Resources;
|
|
|
import com.yoho.ufo.resource.service.IResourceService;
|
|
|
import com.yoho.ufo.service.model.PageRequestBO;
|
|
|
import com.yohobuy.ufo.model.resp.ResourceGetBo;
|
|
|
import com.yohobuy.ufo.model.resp.ResourceInfoGetBo;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
...
|
...
|
@@ -21,6 +24,10 @@ public class ResourceServiceImpl implements IResourceService{ |
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(ResourceServiceImpl.class);
|
|
|
@Autowired
|
|
|
private ResourcesMapper resourcesMapper;
|
|
|
@Autowired
|
|
|
private ResourcesContentMapper resourcesContentMapper;
|
|
|
@Autowired
|
|
|
private ResourcesContentDataMapper resourcesContentDataMapper;
|
|
|
|
|
|
@Override
|
|
|
public List<ResourceGetBo> getResources(PageRequestBO req) {
|
...
|
...
|
@@ -37,4 +44,11 @@ public class ResourceServiceImpl implements IResourceService{ |
|
|
}
|
|
|
return resourceGetBoList;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public List<ResourceInfoGetBo> getResourceInfo(Integer id) {
|
|
|
LOGGER.info("enter getResourceInfo,id is {}",id);
|
|
|
|
|
|
return null;
|
|
|
}
|
|
|
} |
...
|
...
|
|