合规评估项目数据过滤
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user