Commit 19d8bd61 authored by Siiri Tann's avatar Siiri Tann
Browse files

Resolve TEIS-1765 "Fix"

parent 0b40915b
package ee.sm.ti.teis.officegateway.proceedings.proceeding.inspection.topic;
import ee.sm.ti.teis.commongateway.classifier.ClassifierItemLightDto;
import ee.sm.ti.teis.types.enums.ObjectStatus;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.UUID;
@Data
@Builder
@Deprecated(since = "1.23.0", forRemoval = true)
@NoArgsConstructor
@AllArgsConstructor
public class ProceedingTopicDto {
private UUID id;
private UUID proceedingId;
private ClassifierItemLightDto inspectionTopic;
private ObjectStatus objectStatus;
}
......@@ -27,7 +27,7 @@ public class ProceedingInspectionTopicController extends TeisBaseController {
@ApiImplicitParams(@ApiImplicitParam(name = "id", value = "${teis.api.messages.proceeding.id}"))
@PutMapping
public List<ProceedingInspectionTopicDto> updateTopics(@PathVariable UUID id,
@RequestBody List<ClassifierItemLightDto> inspectionTopicCodes,
@RequestBody(required = false) List<ClassifierItemLightDto> inspectionTopicCodes,
RequestMetaDTO requestMetaDTO) {
UpdateProceedingInspectionTopicRequest request = new UpdateProceedingInspectionTopicRequest();
request.setPayload(new UpdateProceedingInspectionTopicRequest.Parameters(id, inspectionTopicCodes), requestMetaDTO);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment