|
@@ -5,11 +5,10 @@ import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
-import com.keao.edu.cms.controller.queryinfo.NewsInformationQueryInfo;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import com.keao.edu.cms.controller.queryinfo.NewsInformationQueryInfo;
|
|
|
import com.keao.edu.cms.dal.dao.SysNewsInformationDao;
|
|
|
import com.keao.edu.cms.dal.entity.NewsStatusEnum;
|
|
|
import com.keao.edu.cms.dal.entity.SysNewsInformation;
|
|
@@ -26,13 +25,6 @@ public class SysNewsInformationServiceImpl extends BaseServiceImpl<Long, SysNews
|
|
|
@Autowired
|
|
|
private SysNewsInformationDao sysNewsInformationDao;
|
|
|
|
|
|
- @Value("${user.server.context.path}")
|
|
|
- private String serverContextPath;
|
|
|
-
|
|
|
- public void setServerContextPath(String serverContextPath) {
|
|
|
- this.serverContextPath = serverContextPath;
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public BaseDAO<Long, SysNewsInformation> getDAO() {
|
|
|
return sysNewsInformationDao;
|