From d9183aa80ae17d36b79dda48c6b1d7fa22a80ee3 Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期三, 22 一月 2025 11:20:41 +0800
Subject: [PATCH] 现场型号代号/人员/组织接口调试

---
 Source/UBCS/ubcs-service/ubcs-deploy/src/main/java/com/vci/ubcs/deploy/controller/DeployAppsController.java |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-deploy/src/main/java/com/vci/ubcs/deploy/controller/DeployAppsController.java b/Source/UBCS/ubcs-service/ubcs-deploy/src/main/java/com/vci/ubcs/deploy/controller/DeployAppsController.java
index 133fd58..5c13be2 100644
--- a/Source/UBCS/ubcs-service/ubcs-deploy/src/main/java/com/vci/ubcs/deploy/controller/DeployAppsController.java
+++ b/Source/UBCS/ubcs-service/ubcs-deploy/src/main/java/com/vci/ubcs/deploy/controller/DeployAppsController.java
@@ -4,24 +4,17 @@
 import com.vci.ubcs.deploy.entity.DeployApps;
 import com.vci.ubcs.deploy.service.IDeployAppsService;
 import com.vci.ubcs.deploy.vo.DeployAppsVO;
-import com.vci.ubcs.starter.util.LocalFileUtil;
-import com.vci.ubcs.starter.web.util.ControllerUtil;
-import com.vci.ubcs.starter.web.util.LangBaseUtil;
 import io.swagger.annotations.Api;
-import lombok.AllArgsConstructor;
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
-import org.apache.http.auth.AuthenticationException;
 import org.springblade.core.tenant.annotation.NonDS;
 import org.springblade.core.tool.api.R;
 import org.springblade.core.tool.utils.Func;
-import org.springframework.http.ResponseEntity;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 import springfox.documentation.annotations.ApiIgnore;
 
 import javax.servlet.ServletRequest;
-import java.io.File;
 import java.util.List;
 
 /**
@@ -70,7 +63,7 @@
 	 */
 	@PostMapping("/saveOrUpdateServiceInfo")
 	public R saveOrUpdateDefault(@RequestBody DeployAppsVO deployAppsVO) throws ServiceException {
-		return R.status(deployAppsService.saveOrUpdateServiceInfo(deployAppsVO));
+		return deployAppsService.saveOrUpdateServiceInfo(deployAppsVO);
 	}
 
 	/**
@@ -96,7 +89,7 @@
 		if(Func.isBlank(serverName)){
 			return R.fail("Mandatory parameter service name not found!");
 		}
-		return deployAppsService.importClassify(files,serverName);
+		return deployAppsService.importJarUpdate(files,serverName);
 	}
 
 	/**

--
Gitblit v1.9.3