项目书-附件&正文 功能添加 10.22

master
zhc077 1 month ago
parent 5f98337c3d
commit b34304eb7e
  1. 5
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/projectFile/controller/ProjectFileController.java

@ -51,7 +51,6 @@ public class ProjectFileController extends JeecgController<ProjectFile, IProject
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
HttpServletRequest req) { HttpServletRequest req) {
projectFile.setFileFlag("fujian");
QueryWrapper<ProjectFile> queryWrapper = QueryGenerator.initQueryWrapper(projectFile, req.getParameterMap()); QueryWrapper<ProjectFile> queryWrapper = QueryGenerator.initQueryWrapper(projectFile, req.getParameterMap());
Page<ProjectFile> page = new Page<ProjectFile>(pageNo, pageSize); Page<ProjectFile> page = new Page<ProjectFile>(pageNo, pageSize);
IPage<ProjectFile> pageList = projectFileService.page(page, queryWrapper); IPage<ProjectFile> pageList = projectFileService.page(page, queryWrapper);
@ -65,7 +64,7 @@ public class ProjectFileController extends JeecgController<ProjectFile, IProject
* @author: z.h.c * @author: z.h.c
* @date: 24/10/22 10:26 * @date: 24/10/22 10:26
*/ */
@ApiOperation(value = "项目书-正文附件-分页列表查询", notes = "项目书-正文附件-分页列表查询") /* @ApiOperation(value = "项目书-正文附件-分页列表查询", notes = "项目书-正文附件-分页列表查询")
@GetMapping(value = "/list4zhengWen") @GetMapping(value = "/list4zhengWen")
public Result<IPage<ProjectFile>> queryPageList4zhengWen(ProjectFile projectFile, public Result<IPage<ProjectFile>> queryPageList4zhengWen(ProjectFile projectFile,
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
@ -76,7 +75,7 @@ public class ProjectFileController extends JeecgController<ProjectFile, IProject
Page<ProjectFile> page = new Page<ProjectFile>(pageNo, pageSize); Page<ProjectFile> page = new Page<ProjectFile>(pageNo, pageSize);
IPage<ProjectFile> pageList = projectFileService.page(page, queryWrapper); IPage<ProjectFile> pageList = projectFileService.page(page, queryWrapper);
return Result.OK(pageList); return Result.OK(pageList);
} }*/
/** /**
* 添加 * 添加

Loading…
Cancel
Save