From 3e7e8a98434731121d4a8736fd35af4cd6cb7a9e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期三, 17 四月 2024 22:54:09 +0800
Subject: [PATCH] remove commnet

---
 smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/service/impl/EnterpriseInformationServiceImpl.java |  128 +++++-------------------------------------
 1 files changed, 17 insertions(+), 111 deletions(-)

diff --git a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/service/impl/EnterpriseInformationServiceImpl.java b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/service/impl/EnterpriseInformationServiceImpl.java
index b7be2ae..56aef32 100644
--- a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/service/impl/EnterpriseInformationServiceImpl.java
+++ b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/service/impl/EnterpriseInformationServiceImpl.java
@@ -1,12 +1,11 @@
 package com.qianwen.smartman.modules.cps.service.impl;
 
-import com.baomidou.mybatisplus.core.conditions.Wrapper;
-import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
-import java.lang.invoke.SerializedLambda;
 import java.util.ArrayList;
 import java.util.List;
-import com.qianwen.smartman.common.cache.RegionCache;
+
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.qianwen.core.mp.base.BaseServiceImpl;
 import com.qianwen.core.tool.utils.Func;
 import com.qianwen.smartman.modules.cps.entity.EnterpriseInformation;
@@ -15,117 +14,24 @@
 import com.qianwen.smartman.modules.cps.vo.EnterpriseInVO;
 import com.qianwen.smartman.modules.cps.vo.EnterpriseInformationVO;
 import com.qianwen.smartman.modules.cps.vo.EnterprisePictureVO;
-import org.springframework.stereotype.Service;
 
 @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
+    @Override
     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
+    @Override
     public EnterpriseInformationVO getEnterprise() {
         List<EnterpriseInformation> list = list();
         EnterpriseInformationVO enterpriseInformationVO = new EnterpriseInformationVO();
@@ -140,12 +46,12 @@
         return enterpriseInformationVO;
     }
 
-    @Override // org.springblade.modules.cps.service.IEnterpriseInformationService
+    @Override
     public Boolean delEnterprise(String id) {
         return Boolean.valueOf(removeById(Long.valueOf(Func.toLong(id))));
     }
 
-    @Override // org.springblade.modules.cps.service.IEnterpriseInformationService
+    @Override
     public Boolean addEnterprise(EnterpriseInVO enterprise) {
         EnterpriseInformation enterpriseInformation = new EnterpriseInformation();
         enterpriseInformation.setLink(enterprise.getLink()).setFileName(enterprise.getFileName()).setSuffix(enterprise.getSuffix()).setObjectKey(enterprise.getObjectKey()).setContentLength(enterprise.getContentLength()).setType(enterprise.getType());

--
Gitblit v1.9.3