|
|
|
@ -70,6 +70,7 @@ public class JProjectController extends BaseController {
|
|
|
|
|
* @param jProject 查询实体
|
|
|
|
|
* @return 所有数据
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
|
|
|
|
|
@ApiOperation(value = "分页查询项目", response = JProject.class)
|
|
|
|
|
@GetMapping
|
|
|
|
|
public AjaxResult selectPage(Page<JProject> page, JProject jProject) {
|
|
|
|
@ -98,8 +99,8 @@ public class JProjectController extends BaseController {
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov')")
|
|
|
|
|
@ApiOperation(value = "作业台查询所有项目(政务端)", response = JProject.class)
|
|
|
|
|
@GetMapping("/selectAll")
|
|
|
|
|
public AjaxResult selectAll(@RequestParam String name) {
|
|
|
|
|
return success(jProjectService.selectAll(name));
|
|
|
|
|
public AjaxResult selectAll(@RequestParam String name,@RequestParam(required = false) Integer status) {
|
|
|
|
|
return success(jProjectService.selectAll(name,status));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|