| | |
| | | import com.qianwen.smartman.modules.tool.vo.ToolParameterVO; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tool/service/impl/ToolParameterServiceImpl.class */ |
| | | public class ToolParameterServiceImpl extends BaseServiceImpl<ToolParameterMapper, ToolParameter> implements IToolParameterService { |
| | | private final IUserService userService; |
| | | |
| | |
| | | this.userService = userService; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.tool.service.IToolParameterService |
| | | @Override |
| | | public ToolParameterVO save(ToolParameterVO toolParameterVO) { |
| | | long count = count(Wrappers.<ToolParameter>lambdaQuery() |
| | | .ne(Func.isNotEmpty(toolParameterVO.getId()), ToolParameter::getId, toolParameterVO.getId()) |
| | |
| | | return ToolParameterConvert.INSTANCE.convert(toolParameter); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.tool.service.IToolParameterService |
| | | @Override |
| | | public List<ToolParameterVO> list(String keyWord) { |
| | | Map<Long, String> userMap = this.userService.list().stream().collect(Collectors.toMap((v0) -> { |
| | | return v0.getId(); |