设备补召优化

This commit is contained in:
xy
2024-10-08 09:54:04 +08:00
parent e6e6790ee2
commit 867176d8a0
5 changed files with 42 additions and 19 deletions

View File

@@ -76,7 +76,7 @@ public class OfflineDataUploadController extends BaseController {
@PostMapping(value = "/makeUp")
@ApiOperation("设备补招")
@ApiImplicitParam(name = "param", value = "补招参数", required = true)
public HttpResult<List<MakeUpVo>> makeUp(@RequestBody MakeUpParam param) {
public HttpResult<String> makeUp(@RequestBody MakeUpParam param) {
String methodDescribe = getMethodDescribe("makeUp");
offlineDataUploadService.startMakeUpData(param);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);

View File

@@ -0,0 +1,29 @@
package com.njcn.csharmonic.controller;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 类的介绍:治理实时数据
*
* @author xy
* @version 1.0.0
* @createTime 2024/9/30
*/
@Slf4j
@RestController
@RequestMapping("/realData")
@Api(tags = "实时数据")
@AllArgsConstructor
public class RealDataController extends BaseController {
}