Commit 10b62495 by tyk

经验交流代码提交

parent f65e38f9
package com.qianhe.controller; package com.qianhe.controller;
import com.qianhe.common.annotation.Log;
import com.qianhe.common.core.controller.BaseController; import com.qianhe.common.core.controller.BaseController;
import com.qianhe.common.core.domain.AjaxResult; import com.qianhe.common.core.domain.AjaxResult;
import com.qianhe.common.core.page.TableDataInfo; import com.qianhe.common.core.page.TableDataInfo;
import com.qianhe.common.enums.BusinessType;
import com.qianhe.common.utils.poi.ExcelUtil;
import com.qianhe.domain.JygxCljwh; import com.qianhe.domain.JygxCljwh;
import com.qianhe.domain.JygxWzgl; import com.qianhe.domain.JygxWzgl;
import com.qianhe.domain.JygxYyxtwh; import com.qianhe.domain.JygxYyxtwh;
...@@ -17,7 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -17,7 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List; import java.util.List;
/** /**
...@@ -39,25 +37,46 @@ public class JygxSyController extends BaseController ...@@ -39,25 +37,46 @@ public class JygxSyController extends BaseController
@Autowired @Autowired
private IJygxBmjjService jygxBmjjService; private IJygxBmjjService jygxBmjjService;
/** /**
* 查询经验共享-文章管理列表 * 查询经验共享-文章管理列表
*/ */
@GetMapping("/wzgllist") @GetMapping("/wzgllist")
public TableDataInfo list(JygxWzgl jygxWzgl) public TableDataInfo list(JygxWzgl jygxWzgl)
{ {
startPage(); jygxWzgl.setShzt("4");
List<JygxWzgl> list = jygxWzglService.selectList(jygxWzgl); List<JygxWzgl> list = jygxWzglService.selectList(jygxWzgl);
return getDataTable(list); return getDataTable(list);
} }
/** /**
* 查询经验共享-首页轮播图新闻
*/
@GetMapping("/sylbxlist")
public TableDataInfo sylbxlist(JygxWzgl jygxWzgl)
{
startPage();
jygxWzgl.setShzt("4");
List<JygxWzgl> list = jygxWzglService.selectSylbxwList(jygxWzgl);
return getDataTable(list);
}
/**
* 获取经验共享-文章管理详细信息
*/
@GetMapping(value = "/wz/{wzid}")
public AjaxResult getwzInfo(@PathVariable("wzid") Long wzid)
{
return success(jygxWzglService.selectJygxWzglByWzid(wzid));
}
/**
* 查询经验共享-应用系统维护列表 * 查询经验共享-应用系统维护列表
*/ */
@GetMapping("/yyxtwhlist") @GetMapping("/yyxtwhlist")
public TableDataInfo list(JygxYyxtwh jygxYyxtwh) public TableDataInfo list(JygxYyxtwh jygxYyxtwh)
{ {
startPage(); jygxYyxtwh.setFbzt("4");
List<JygxYyxtwh> list = jygxYyxtwhService.selectJygxYyxtwhList(jygxYyxtwh); List<JygxYyxtwh> list = jygxYyxtwhService.selectJygxYyxtwhList(jygxYyxtwh);
return getDataTable(list); return getDataTable(list);
} }
...@@ -68,7 +87,7 @@ public class JygxSyController extends BaseController ...@@ -68,7 +87,7 @@ public class JygxSyController extends BaseController
@GetMapping("/cljwhlist") @GetMapping("/cljwhlist")
public TableDataInfo list(JygxCljwh jygxCljwh) public TableDataInfo list(JygxCljwh jygxCljwh)
{ {
startPage(); jygxCljwh.setFbzt("4");
List<JygxCljwh> list = jygxCljwhService.selectJygxCljwhList(jygxCljwh); List<JygxCljwh> list = jygxCljwhService.selectJygxCljwhList(jygxCljwh);
return getDataTable(list); return getDataTable(list);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment