| | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/service/impl/EnterpriseInformationServiceImpl.class */ |
| | | public class EnterpriseInformationServiceImpl extends BaseServiceImpl<EnterpriseInformationMapper, EnterpriseInformation> implements IEnterpriseInformationService { |
| | | private static /* synthetic */ Object $deserializeLambda$(SerializedLambda lambda) { |
| | | String implMethodName = lambda.getImplMethodName(); |
| | | boolean z = true; |
| | | switch (implMethodName.hashCode()) { |
| | | case -1658513143: |
| | | if (implMethodName.equals("getContentLength")) { |
| | | z = true; |
| | | break; |
| | | } |
| | | break; |
| | | case -1499219990: |
| | | if (implMethodName.equals("getObjectKey")) { |
| | | z = true; |
| | | break; |
| | | } |
| | | break; |
| | | case -75360144: |
| | | if (implMethodName.equals("getLink")) { |
| | | z = false; |
| | | break; |
| | | } |
| | | break; |
| | | case 98245393: |
| | | if (implMethodName.equals("getId")) { |
| | | z = true; |
| | | break; |
| | | } |
| | | break; |
| | | case 804592199: |
| | | if (implMethodName.equals("getSuffix")) { |
| | | z = true; |
| | | break; |
| | | } |
| | | break; |
| | | case 1342178205: |
| | | if (implMethodName.equals("getFileName")) { |
| | | z = true; |
| | | 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/EnterpriseInformation") && lambda.getImplMethodSignature().equals("()Ljava/lang/String;")) { |
| | | return (v0) -> { |
| | | return v0.getLink(); |
| | | }; |
| | | } |
| | | break; |
| | | case true: |
| | | 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/EnterpriseInformation") && lambda.getImplMethodSignature().equals("()Ljava/lang/String;")) { |
| | | return (v0) -> { |
| | | return v0.getSuffix(); |
| | | }; |
| | | } |
| | | break; |
| | | case true: |
| | | 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/EnterpriseInformation") && lambda.getImplMethodSignature().equals("()Ljava/lang/String;")) { |
| | | return (v0) -> { |
| | | return v0.getObjectKey(); |
| | | }; |
| | | } |
| | | break; |
| | | case true: |
| | | 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/core/mp/base/BaseEntity") && lambda.getImplMethodSignature().equals("()Ljava/lang/Long;")) { |
| | | return (v0) -> { |
| | | return v0.getId(); |
| | | }; |
| | | } |
| | | break; |
| | | case true: |
| | | 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/EnterpriseInformation") && lambda.getImplMethodSignature().equals("()Ljava/lang/Long;")) { |
| | | return (v0) -> { |
| | | return v0.getContentLength(); |
| | | }; |
| | | } |
| | | break; |
| | | case RegionCache.VILLAGE_LEVEL /* 5 */: |
| | | 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/EnterpriseInformation") && lambda.getImplMethodSignature().equals("()Ljava/lang/String;")) { |
| | | return (v0) -> { |
| | | return v0.getFileName(); |
| | | }; |
| | | } |
| | | break; |
| | | } |
| | | throw new IllegalArgumentException("Invalid lambda deserialization"); |
| | | } |
| | | |
| | | |
| | | @Override // org.springblade.modules.cps.service.IEnterpriseInformationService |
| | | public Boolean editEnterprise(EnterpriseInVO enterpriseInformation) { |
| | | return Boolean.valueOf(update((Wrapper) ((LambdaUpdateWrapper) ((LambdaUpdateWrapper) ((LambdaUpdateWrapper) ((LambdaUpdateWrapper) ((LambdaUpdateWrapper) Wrappers.lambdaUpdate().eq((v0) -> { |
| | | return v0.getId(); |
| | | }, enterpriseInformation.getId())).set((v0) -> { |
| | | return v0.getObjectKey(); |
| | | }, enterpriseInformation.getObjectKey())).set((v0) -> { |
| | | return v0.getContentLength(); |
| | | }, enterpriseInformation.getContentLength())).set((v0) -> { |
| | | return v0.getLink(); |
| | | }, enterpriseInformation.getLink())).set((v0) -> { |
| | | return v0.getSuffix(); |
| | | }, enterpriseInformation.getSuffix())).set((v0) -> { |
| | | return v0.getFileName(); |
| | | }, enterpriseInformation.getFileName()))); |
| | | return Boolean.valueOf(update(Wrappers.<EnterpriseInformation>lambdaUpdate() |
| | | .eq(EnterpriseInformation::getId, enterpriseInformation.getId()) |
| | | .set(EnterpriseInformation::getObjectKey, enterpriseInformation.getObjectKey()) |
| | | .set(EnterpriseInformation::getContentLength, enterpriseInformation.getContentLength()) |
| | | .set(EnterpriseInformation::getLink, enterpriseInformation.getLink()) |
| | | .set(EnterpriseInformation::getSuffix, enterpriseInformation.getSuffix()) |
| | | .set(EnterpriseInformation::getFileName, enterpriseInformation.getFileName()))); |
| | | |
| | | } |
| | | |
| | | @Override // org.springblade.modules.cps.service.IEnterpriseInformationService |