| | |
| | | |
| | | package org.springblade.mdm.gkw.programnode.controller; |
| | | |
| | | import com.alibaba.excel.util.StringUtils; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | |
| | | |
| | | IPage<MachineFile> pageData = machineFileService.lambdaQuery() |
| | | .eq(MachineFile::getMachineCode,query.getMachineCode()) |
| | | .eq(MachineFile::getDirType,query.getDirType()).ne(MachineFile::getStatus,MachineFile.STATUS_REMOVED).page(Condition.getPage(query)); |
| | | .eq(MachineFile::getDirType,query.getDirType()) |
| | | .ne(MachineFile::getStatus,MachineFile.STATUS_REMOVED).like(StringUtils.isNotBlank(query.getName()),MachineFile::getName,query.getName()) |
| | | .page(Condition.getPage(query)); |
| | | return R.data(pageData); |
| | | } |
| | | |