1.谐波普测相关功能提交

This commit is contained in:
cdf
2024-04-08 09:31:41 +08:00
parent a3928ab8c6
commit 2512a861bb
8 changed files with 128 additions and 45 deletions

View File

@@ -137,6 +137,17 @@ public class RGeneralSurveyPlanController extends BaseController {
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, rGeneralSurveyPlanVOS, methodDescribe);
}
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/queryPlanOne")
@ApiOperation("查询普测计划详情")
@ApiImplicitParam(name = "planId", value = "计划id", required = true)
public HttpResult<RGeneralSurveyPlanVO> queryPlanOne(@RequestParam("planId")String planId) {
String methodDescribe = getMethodDescribe("queryPlanOne");
RGeneralSurveyPlanVO rGeneralSurveyPlanVO = rGeneralSurveyPlanPOService.queryPlanOne( planId);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, rGeneralSurveyPlanVO, methodDescribe);
}
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/queryPlanAudit")
@ApiOperation("查询普测计划-审核页面")
@@ -281,4 +292,19 @@ public class RGeneralSurveyPlanController extends BaseController {
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);
}
/**
* 删除新建驳回的计划
* @author cdf
* @date 2024/4/7
*/
@ApiOperation("删除计划")
@PostMapping(value = "deletePlan")
@ApiImplicitParam(name = "planIds", value = "实体参数", required = true)
public HttpResult<Boolean> deletePlan(@RequestBody List<String> planIds) {
String methodDescribe = getMethodDescribe("deletePlan");
rGeneralSurveyPlanPOService.deletePlan(planIds);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);
}
}

View File

@@ -72,7 +72,7 @@ public class FlowInstanceController extends BaseController {
String methodDescribe = getMethodDescribe("delete");
flowInstanceService.delete(instanceIds,"测试删除666");
flowInstanceService.delete(instanceIds,"测试删除");
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);