Browse Source

bug修改

zouxuan 3 years ago
parent
commit
7c0c3460e0

+ 1 - 0
cms/src/main/java/com/ym/mec/cms/service/SysNewsInformationService.java

@@ -7,6 +7,7 @@ import com.ym.mec.cms.dto.SysNewsInformationDto;
 import com.ym.mec.common.page.PageInfo;
 import com.ym.mec.common.service.BaseService;
 
+import java.util.List;
 import java.util.Map;
 
 public interface SysNewsInformationService extends BaseService<Long, SysNewsInformation> {

+ 0 - 5
cms/src/main/java/com/ym/mec/cms/service/impl/SysNewsInformationServiceImpl.java

@@ -28,11 +28,6 @@ public class SysNewsInformationServiceImpl extends BaseServiceImpl<Long, SysNews
 		return sysNewsInformationDao;
 	}
 
-	@Override
-	public List<SysNewsInformation> queryByType(Integer type) {
-		return sysNewsInformationDao.queryByType(type,null);
-	}
-
     @Override
     public List<SysNewsInformation> queryBottomInfo(Integer subType) {
         return sysNewsInformationDao.queryBottomInfo(subType);