合规评估项目数据过滤

This commit is contained in:
yuezhihang
2021-08-12 18:08:29 +08:00
parent 5254f397b8
commit 9f0ed13874
3 changed files with 2 additions and 3 deletions
@@ -54,7 +54,7 @@ public class SarStandProjectLibraryController extends BaseController<SarStandPro
@ApiOperation("车型/项目库")
public ResponseMessage queryMaintenanceProjectWorkFlow(@RequestParam(defaultValue = "1", value = "Page")int Page, @RequestParam(defaultValue = "10", value = "PageSize") int PageSize,
SarStandProjectLibraryDto sarDto) {
IPage<SarStandProjectLibrary> MaintenanceList = sarStandProjectLibraryService.queryMaintenanceProject(Page,PageSize,sarDto);
IPage<SarStandProjectLibrary> MaintenanceList = sarStandProjectLibraryService.queryMaintenanceProjectWorkFlow(Page,PageSize,sarDto);
Map<String, Object> map = new HashMap<String, Object>();
map.put("Maintenance",MaintenanceList);
return Result.success("200",map);
@@ -289,7 +289,7 @@ public class SarStandProjectLibraryServiceImpl extends ServiceImpl<SarStandProje
private IPage<SarStandProjectLibrary> getSarStandProjectLibraryIPage(int current, int pageSize,SarStandProjectLibrary wrapper,int flag) {
Page<SarStandProjectLibrary> page = new Page<>(current, pageSize);
IPage<SarStandProjectLibrary> userIPage = new Page<>();
if (!"3".equals(flag)) {
if (3!=flag) {
List<SarStandProjectLibrary> sarStandProjectLibraries = sarStandProjectLibraryDao.selectPages(current, pageSize, wrapper, flag);
Integer count = sarStandProjectLibraryDao.selectCount(wrapper, flag);
userIPage.setCurrent(current);