fix(data): 修复数据查询中删除标记的过滤逻辑
This commit is contained in:
parent
59c9c75298
commit
686bc8a4e3
@ -66,7 +66,7 @@ public class MachineServiceImpl extends ServiceImpl<MachineMapper, MachineEntity
|
||||
if (ObjectUtil.isNotEmpty(machinePagination.getBelgProcId())) {
|
||||
machineWrapper.eq(MachineEntity::getBelgProcId, machinePagination.getBelgProcId());
|
||||
}
|
||||
// machineWrapper.isNull(MachineEntity::getDeleteMark);
|
||||
machineWrapper.isNull(MachineEntity::getDeleteMark);
|
||||
machineWrapper.orderByDesc(MachineEntity::getCreatorTime);
|
||||
if ("0".equals(machinePagination.getDataType())) {
|
||||
Page<MachineEntity> page = new Page<>(machinePagination.getCurrentPage(), machinePagination.getPageSize());
|
||||
|
||||
@ -48,6 +48,7 @@ public class ProLineServiceImpl extends ServiceImpl<ProLineMapper, ProLineEntity
|
||||
if (ObjectUtil.isNotEmpty(proLinePagination.getEnabledStatus())) {
|
||||
proLineWrapper.eq(ProLineEntity::getEnabledStatus, proLinePagination.getEnabledStatus());
|
||||
}
|
||||
proLineWrapper.isNull(ProLineEntity::getDeleteMark);
|
||||
proLineWrapper.orderByDesc(ProLineEntity::getCreatorTime);
|
||||
if ("0".equals(proLinePagination.getDataType())) {
|
||||
Page<ProLineEntity> page = new Page<>(proLinePagination.getCurrentPage(), proLinePagination.getPageSize());
|
||||
|
||||
@ -51,6 +51,7 @@ public class ProcServiceImpl extends ServiceImpl<ProcMapper, ProcEntity> impleme
|
||||
if (ObjectUtil.isNotEmpty(procPagination.getEnabledStatus())) {
|
||||
procWrapper.eq(ProcEntity::getEnabledStatus, procPagination.getEnabledStatus());
|
||||
}
|
||||
procWrapper.isNull(ProcEntity::getDeleteMark);
|
||||
procWrapper.orderByDesc(ProcEntity::getCreatorTime);
|
||||
if ("0".equals(procPagination.getDataType())) {
|
||||
Page<ProcEntity> page = new Page<>(procPagination.getCurrentPage(), procPagination.getPageSize());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user