add 项目库-列表查询
This commit is contained in:
+9
@@ -83,6 +83,15 @@ public class LawsProjectLibraryController extends JeroController<LawsProjectLibr
|
|||||||
return Result.OK(pageList);
|
return Result.OK(pageList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AutoLog(value = "项目库-列表查询")
|
||||||
|
@ApiOperation(value="项目库-列表查询", notes="项目库-列表查询")
|
||||||
|
@GetMapping(value = "/queryList")
|
||||||
|
public Result<List<LawsProjectLibrary>> queryList(LawsProjectLibrary lawsProjectLibrary, HttpServletRequest req) {
|
||||||
|
lawsProjectLibrary.setDelFlag(CommonConstant.DEL_FLAG_0.toString());
|
||||||
|
List<LawsProjectLibrary> queryList = lawsProjectLibraryService.queryList(lawsProjectLibrary, req);
|
||||||
|
return Result.OK(queryList);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 添加
|
* 添加
|
||||||
*/
|
*/
|
||||||
|
|||||||
+2
@@ -19,6 +19,8 @@ public interface ILawsProjectLibraryService extends IService<LawsProjectLibrary>
|
|||||||
*/
|
*/
|
||||||
IPage<LawsProjectLibrary> queryPage(LawsProjectLibrary lawsProjectLibrary, Integer pageNo, Integer pageSize, HttpServletRequest req);
|
IPage<LawsProjectLibrary> queryPage(LawsProjectLibrary lawsProjectLibrary, Integer pageNo, Integer pageSize, HttpServletRequest req);
|
||||||
|
|
||||||
|
List<LawsProjectLibrary> queryList(LawsProjectLibrary lawsProjectLibrary, HttpServletRequest req);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 保存
|
* 保存
|
||||||
*/
|
*/
|
||||||
|
|||||||
+8
@@ -48,6 +48,14 @@ public class LawsProjectLibraryServiceImpl extends ServiceImpl<LawsProjectLibrar
|
|||||||
return libraryPage;
|
return libraryPage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<LawsProjectLibrary> queryList(LawsProjectLibrary lawsProjectLibrary, HttpServletRequest req) {
|
||||||
|
QueryWrapper<LawsProjectLibrary> queryWrapper = QueryGenerator.initQueryWrapper(lawsProjectLibrary, req.getParameterMap());
|
||||||
|
List<LawsProjectLibrary> list = list(queryWrapper);
|
||||||
|
this.voluation(list);
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 赋值姓名+工号
|
* 赋值姓名+工号
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user