|
@@ -58,5 +58,14 @@ public class CaseTagPointController {
|
|
|
caseTagPointService.removeById(caseTagPoint.getTagPointId());
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
+
|
|
|
+ @PostMapping("/update")
|
|
|
+ public ResultData update(@RequestBody CaseTagPoint caseTagPoint){
|
|
|
+ if(caseTagPoint.getTagPointId() == null ){
|
|
|
+ throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
+ }
|
|
|
+ caseTagPointService.updateById(caseTagPoint);
|
|
|
+ return ResultData.ok();
|
|
|
+ }
|
|
|
}
|
|
|
|