|
|
@@ -0,0 +1,34 @@
|
|
|
+package space.anyi.openAPI.service.impl.inside;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
+import org.apache.dubbo.config.annotation.DubboService;
|
|
|
+import space.anyi.openAPI.comom.model.userInterfaceInfo.UserInterfaceInfo;
|
|
|
+import space.anyi.openAPI.comom.service.inside.InsideUserInterfaceInfoService;
|
|
|
+import space.anyi.openAPI.mapper.UserInterfaceInfoMapper;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @ProjectName: yangyi-open-api-platform
|
|
|
+ * @FileName: InsideUserInterfaceInfoServiceImpl
|
|
|
+ * @Author: 杨逸
|
|
|
+ * @Data:2025/12/3 20:04
|
|
|
+ * @Description:
|
|
|
+ */
|
|
|
+@DubboService(registry = "nacos-registry")
|
|
|
+public class InsideUserInterfaceInfoServiceImpl implements InsideUserInterfaceInfoService {
|
|
|
+ private final UserInterfaceInfoMapper userInterfaceInfoMapper;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean invokeSuccess(Long id) {
|
|
|
+ int count = userInterfaceInfoMapper.invokeSuccess(id);
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ public InsideUserInterfaceInfoServiceImpl(UserInterfaceInfoMapper userInterfaceInfoMapper) {
|
|
|
+ this.userInterfaceInfoMapper = userInterfaceInfoMapper;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public UserInterfaceInfo getUserInterfaceInfoByUserIdAndInterfaceInfoId(Long userId, Long interfaceInfoId) {
|
|
|
+ return userInterfaceInfoMapper.selectOne(new LambdaQueryWrapper<UserInterfaceInfo>().eq(UserInterfaceInfo::getUserId, userId).eq(UserInterfaceInfo::getInterfaceInfoId, interfaceInfoId));
|
|
|
+ }
|
|
|
+}
|