Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
qianhe-ydsj
Commits
10b62495
Commit
10b62495
authored
Aug 12, 2024
by
tyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经验交流代码提交
parent
f65e38f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
8 deletions
+27
-8
qianhe-ydsj/src/main/java/com/qianhe/controller/JygxSyController.java
+27
-8
No files found.
qianhe-ydsj/src/main/java/com/qianhe/controller/JygxSyController.java
View file @
10b62495
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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment