| | |
| | | private final IWorkstationOfMachineService workstationOfMachineService; |
| | | private final IMachineService machineService; |
| | | |
| | | private static /* synthetic */ Object $deserializeLambda$(SerializedLambda lambda) { |
| | | String implMethodName = lambda.getImplMethodName(); |
| | | boolean z = true; |
| | | switch (implMethodName.hashCode()) { |
| | | case -1453405940: |
| | | if (implMethodName.equals("getMachineId")) { |
| | | z = false; |
| | | break; |
| | | } |
| | | break; |
| | | } |
| | | switch (z) { |
| | | case false: |
| | | if (lambda.getImplMethodKind() == 5 && lambda.getFunctionalInterfaceClass().equals("com/baomidou/mybatisplus/core/toolkit/support/SFunction") && lambda.getFunctionalInterfaceMethodName().equals("apply") && lambda.getFunctionalInterfaceMethodSignature().equals("(Ljava/lang/Object;)Ljava/lang/Object;") && lambda.getImplClass().equals("org/springblade/modules/cps/entity/DmpVariables") && lambda.getImplMethodSignature().equals("()Ljava/lang/Long;")) { |
| | | return (v0) -> { |
| | | return v0.getMachineId(); |
| | | }; |
| | | } |
| | | break; |
| | | } |
| | | throw new IllegalArgumentException("Invalid lambda deserialization"); |
| | | } |
| | | |
| | | public DmpVariablesServiceImpl(final IWorkstationOfMachineService workstationOfMachineService, final IMachineService machineService) { |
| | | this.workstationOfMachineService = workstationOfMachineService; |
| | |
| | | |
| | | @Override // org.springblade.modules.cps.service.IDmpVariablesService |
| | | public List<DmpVariablesVO> listByMachineId(Long machineId) { |
| | | List<DmpVariables> list = list((Wrapper) Wrappers.lambdaQuery().eq((v0) -> { |
| | | return v0.getMachineId(); |
| | | }, machineId)); |
| | | List<DmpVariables> list = list(Wrappers.<DmpVariables>lambdaQuery().eq(DmpVariables::getMachineId, machineId)); |
| | | return DmpVariablesConvert.INSTANCE.convert(list); |
| | | } |
| | | |