|
|
@ -10,6 +10,7 @@ import jakarta.annotation.Resource; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.ResponseBody; |
|
|
|
|
|
|
@ -51,7 +52,7 @@ public class ReactionResultControler { |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/printfRecords") |
|
|
|
public ApiRet<Void> printfRecord(IDList ids) { |
|
|
|
public ApiRet<Void> printfRecord(@RequestBody IDList ids) { |
|
|
|
for (Integer i : ids.ids) { |
|
|
|
reactionRecordMgrService.printfRecord(i); |
|
|
|
} |
|
|
@ -67,7 +68,7 @@ public class ReactionResultControler { |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/exportRecordsByLIS") |
|
|
|
public ApiRet<Void> exportRecordByLIS(IDList ids) { |
|
|
|
public ApiRet<Void> exportRecordByLIS(@RequestBody IDList ids) { |
|
|
|
for (Integer i : ids.ids) { |
|
|
|
reactionRecordMgrService.exportRecordByLIS(i); |
|
|
|
} |
|
|
|