|
|
@ -23,6 +23,8 @@ import org.energy.modules.leger.entity.EquipmentLedger; |
|
|
|
import org.energy.modules.leger.entity.ToolInventoryRecord; |
|
|
|
import org.energy.modules.leger.entity.ToolInventoryRecord; |
|
|
|
import org.energy.modules.leger.service.IEquipmentLedgerService; |
|
|
|
import org.energy.modules.leger.service.IEquipmentLedgerService; |
|
|
|
import org.energy.modules.leger.service.IToolInventoryRecordService; |
|
|
|
import org.energy.modules.leger.service.IToolInventoryRecordService; |
|
|
|
|
|
|
|
import org.energy.modules.release.entity.ProductionInformation; |
|
|
|
|
|
|
|
import org.energy.modules.release.service.IProductionInformationService; |
|
|
|
import org.energy.modules.smart.entity.OperationTicket; |
|
|
|
import org.energy.modules.smart.entity.OperationTicket; |
|
|
|
import org.energy.modules.smart.entity.WorkOrder; |
|
|
|
import org.energy.modules.smart.entity.WorkOrder; |
|
|
|
import org.energy.modules.smart.entity.WorkPermit; |
|
|
|
import org.energy.modules.smart.entity.WorkPermit; |
|
|
@ -70,6 +72,8 @@ public class RoleDataServiceImpl implements IRoleDataService { |
|
|
|
private IWorkOrderService workOrderService; |
|
|
|
private IWorkOrderService workOrderService; |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private IInspectionTasksService inspectionTasksService; |
|
|
|
private IInspectionTasksService inspectionTasksService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private IProductionInformationService productionInformationService; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public HomePageVO findCurrHomePageInfo() { |
|
|
|
public HomePageVO findCurrHomePageInfo() { |
|
|
@ -135,6 +139,13 @@ public class RoleDataServiceImpl implements IRoleDataService { |
|
|
|
qw10.lambda().eq(InspectionTasks::getIsDeleted, DafConstant.DB_NOT_DELETED); |
|
|
|
qw10.lambda().eq(InspectionTasks::getIsDeleted, DafConstant.DB_NOT_DELETED); |
|
|
|
hp.setInspectionTasksAudit(inspectionTasksService.list(qw10)); |
|
|
|
hp.setInspectionTasksAudit(inspectionTasksService.list(qw10)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ProductionInformation Service
|
|
|
|
|
|
|
|
QueryWrapper<ProductionInformation> qw11 = new QueryWrapper<>(); |
|
|
|
|
|
|
|
qw11.lambda().eq(ProductionInformation::getCheckstatus, 2); |
|
|
|
|
|
|
|
qw11.lambda().eq(ProductionInformation::getIsDeleted, DafConstant.DB_NOT_DELETED); |
|
|
|
|
|
|
|
qw11.lambda().eq(ProductionInformation::getIsDiscontinue, 1); |
|
|
|
|
|
|
|
hp.setProductionInformationAudit(productionInformationService.list(qw11)); |
|
|
|
|
|
|
|
|
|
|
|
return hp; |
|
|
|
return hp; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|