|
|
@ -55,6 +55,10 @@ public class MatrixCraftService extends ServiceImpl<MatrixCraftMapper, MatrixCra |
|
|
|
matrixCraftResultList.add((matrixCraftListVO)); |
|
|
|
} |
|
|
|
page.setRecords(matrixCraftResultList); |
|
|
|
page.setTotal(matrixCraftMapper.selectCount(new LambdaQueryWrapper<MatrixCraft>() |
|
|
|
.like(dto.getMatrixCraftName() != null, MatrixCraft::getName, dto.getMatrixCraftName()) |
|
|
|
.eq(dto.getMatrixId() != null, MatrixCraft::getMatrixId, dto.getMatrixId()) |
|
|
|
)); |
|
|
|
return page; |
|
|
|
} |
|
|
|
} |