|
|
@ -46,23 +46,29 @@ public class ReactionResultControler { |
|
|
|
return ApiRet.success(); |
|
|
|
} |
|
|
|
|
|
|
|
public static class IDList { |
|
|
|
public List<Integer> ids; |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/printfRecords") |
|
|
|
public ApiRet<Void> printfRecord(List<Integer> id) { |
|
|
|
for (Integer i : id) { |
|
|
|
public ApiRet<Void> printfRecord(IDList ids) { |
|
|
|
for (Integer i : ids.ids) { |
|
|
|
reactionRecordMgrService.printfRecord(i); |
|
|
|
} |
|
|
|
return ApiRet.success(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/exportRecordByLIS") |
|
|
|
public ApiRet<Void> exportRecordByLIS(Integer id) { |
|
|
|
reactionRecordMgrService.exportRecordByLIS(id); |
|
|
|
return ApiRet.success(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/exportRecordsByLIS") |
|
|
|
public ApiRet<Void> exportRecordByLIS(List<Integer> id) { |
|
|
|
for (Integer i : id) { |
|
|
|
public ApiRet<Void> exportRecordByLIS(IDList ids) { |
|
|
|
for (Integer i : ids.ids) { |
|
|
|
reactionRecordMgrService.exportRecordByLIS(i); |
|
|
|
} |
|
|
|
return ApiRet.success(); |
|
|
|