| 
					
				 | 
			
			
				@ -58,6 +58,7 @@ public class ZjxlArticleContentController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "articleContentTitle", value = "文章标题", required = false) @RequestParam(value = "articleContentTitle", required = false)String articleContentTitle, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "articleContentCover", value = "封面", required = false) @RequestParam(value = "articleContentCover", required = false)String articleContentCover, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "articleContentAbstract", value = "摘要", required = false) @RequestParam(value = "articleContentAbstract", required = false) String articleContentAbstract, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "articleContentContent", value = "内容", required = false) @RequestParam(value = "articleContentContent", required = false) String articleContentContent, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "articleContentType", value = "内容类型 1-产品与服务  2-公司案例  3-新闻中心  4-关于我们", required = false) @RequestParam(value = "articleContentType", required = false)Integer articleContentType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "articleContentClassify", value = "分类", required = false) @RequestParam(value = "articleContentClassify", required = false)String articleContentClassify, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "articleContentSubclassify", value = "子分类", required = false) @RequestParam(value = "articleContentSubclassify", required = false)String articleContentSubclassify, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -73,6 +74,7 @@ public class ZjxlArticleContentController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            articleContent.setArticleContentSubclassify(articleContentSubclassify); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            articleContent.setArticleContentSort(articleContentSort); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            articleContent.setArticleContentIsLine(articleContentIsLine); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            articleContent.setArticleContentContent(articleContentContent); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            articleContent.setArticleContentCreateTime(df.format(new Date()));// new Date()为获取当前系统时间 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -92,6 +94,7 @@ public class ZjxlArticleContentController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("修改是否上线:id====="+id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(-1,"获取参数失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("修改是否上线:id====="+id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200,"删除成功","data",articleContentService.deleteArticleContent(id)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            e.printStackTrace(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -108,6 +111,7 @@ public class ZjxlArticleContentController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("修改是否上线:id====="+id+",isLine===="+isLine); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(-1,"获取参数失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("修改是否上线:id====="+id+",isLine===="+isLine); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200,"修改上线成功","data",articleContentService.updateArticleContent(id,isLine)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            e.printStackTrace(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -123,6 +127,7 @@ public class ZjxlArticleContentController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("内容类型:articleContentType====="+articleContentType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(-1,"获取参数失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("内容类型:articleContentType====="+articleContentType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200,"操作成功","data",articleContentService.getLeftTabs(articleContentType)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            e.printStackTrace(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -140,6 +145,8 @@ public class ZjxlArticleContentController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("分类:articleContentClassify====="+articleContentClassify); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(-1,"获取参数失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("内容类型:articleContentType====="+articleContentType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("分类:articleContentClassify====="+articleContentClassify); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200,"操作成功","data",articleContentService.getArticleContentSubclassify(articleContentType,articleContentClassify)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            e.printStackTrace(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -159,10 +166,30 @@ public class ZjxlArticleContentController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("子分类:articleContentSubclassify====="+articleContentSubclassify); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return write(-1,"获取参数失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("内容类型:articleContentType====="+articleContentType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("分类:articleContentClassify====="+articleContentClassify); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("子分类:articleContentSubclassify====="+articleContentSubclassify); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200,"操作成功","data",articleContentService.getArticleContent(articleContentType,articleContentClassify,articleContentSubclassify)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            e.printStackTrace(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(-1,"操作失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "/findNewsList", method = RequestMethod.GET) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询新闻中心列表") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String findNewsList(@ApiParam(name = "id", value = "文章id", required = false) @RequestParam(value = "id", required = false)String id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        // @ApiParam(name = "articleContentTitle", value = "文章标题", required = false) @RequestParam(value = "articleContentTitle", required = false)String articleContentTitle, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        // @ApiParam(name = "systemDictType", value = "内容类型 1-产品与服务  2-公司案例  3-新闻中心  4-关于我们", required = false, defaultValue = "3") @RequestParam(value = "systemDictType", required = false)Integer systemDictType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                               @ApiParam(name = "articleContentClassify", value = "分类: 公司动态  媒体报道  参观交流", defaultValue = "公司动态") @RequestParam(value = "articleContentClassify") String articleContentClassify, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                               @ApiParam(name = "pageNo", value = "第几页", defaultValue = "1") @RequestParam(value = "pageNo", required = false) Integer pageNo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                               @ApiParam(name = "pageSize", value = "分页大小", defaultValue = "10") @RequestParam(value = "pageSize", required = false) Integer pageSize){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<ZjxlArticleContent> articleContentList = articleContentService.findNewsList(id,articleContentClassify,3,pageNo-1,pageSize); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200,"查询成功","data", PageUtil.getPage(articleContentList,pageNo,pageSize,articleContentService.allNewsCount(articleContentClassify))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            e.printStackTrace(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(-1,"查询失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				} 
			 |