|
@@ -14,6 +14,8 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 特征Controller层
|
|
@@ -105,16 +107,17 @@ public class AssoGroupFeatureController {
|
|
|
return Response.success("添加成功");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
@Operation(summary = "取消删除特征")
|
|
|
@GetMapping("/cancelRemoveFeature")
|
|
|
public Response cancelRemoveFeature( Integer featureId ) {
|
|
|
+ Records records =new Records();
|
|
|
try {
|
|
|
- assoGroupFeatureService.cancelRemoveFeature(featureId);
|
|
|
+ List<Integer> ids = assoGroupFeatureService.cancelRemoveFeature(featureId);
|
|
|
+ records.setData(ids);
|
|
|
}
|
|
|
catch (Exception e){
|
|
|
return Response.error(e.getMessage());
|
|
|
}
|
|
|
- return Response.success("删除成功");
|
|
|
+ return Response.success(records);
|
|
|
}
|
|
|
}
|