yonge 5 gadi atpakaļ
vecāks
revīzija
1a6b081c20

+ 1 - 9
edu-cms/src/main/java/com/keao/edu/cms/service/impl/SysNewsInformationServiceImpl.java

@@ -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;