| | |
| | | package com.qianwen.smartman.modules.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import java.lang.invoke.SerializedLambda; |
| | | import com.qianwen.core.mp.base.BaseServiceImpl; |
| | | import com.qianwen.smartman.modules.system.entity.ParamBiz; |
| | | import com.qianwen.smartman.modules.system.mapper.ParamBizMapper; |
| | | import com.qianwen.smartman.modules.system.service.IParamBizService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/service/impl/ParamBizServiceImpl.class */ |
| | | public class ParamBizServiceImpl extends BaseServiceImpl<ParamBizMapper, ParamBiz> implements IParamBizService { |
| | | private static /* synthetic */ Object $deserializeLambda$(SerializedLambda lambda) { |
| | | String implMethodName = lambda.getImplMethodName(); |
| | | boolean z = true; |
| | | switch (implMethodName.hashCode()) { |
| | | case -1045666808: |
| | | if (implMethodName.equals("getParamKey")) { |
| | | 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/system/entity/ParamBiz") && lambda.getImplMethodSignature().equals("()Ljava/lang/String;")) { |
| | | return (v0) -> { |
| | | return v0.getParamKey(); |
| | | }; |
| | | } |
| | | break; |
| | | } |
| | | throw new IllegalArgumentException("Invalid lambda deserialization"); |
| | | } |
| | | |
| | | |
| | | @Override // org.springblade.modules.system.service.IParamBizService |
| | | public String getValue(String paramKey) { |
| | | ParamBiz param = getOne(Wrappers.<ParamBiz>query().lambda().eq(ParamBiz::getParamKey, paramKey)); |
| | | /* |
| | | ParamBiz param = (ParamBiz) getOne((Wrapper) Wrappers.query().lambda().eq((v0) -> { |
| | | return v0.getParamKey(); |
| | | }, paramKey)); |
| | | }, paramKey));*/ |
| | | return param.getParamValue(); |
| | | } |
| | | } |