요청 관리: 모든 API 조회
This commit is contained in:
@@ -60,7 +60,7 @@ public abstract class ApiRequestMapper {
|
||||
|
||||
@AfterMapping
|
||||
public void handleTypeSpecificMapping(ApiRequestInfo entity, @MappingTarget ApiRequestDTO dto) {
|
||||
if ("TCP".equals(entity.getType())) {
|
||||
if ("TCP".equals(entity.getType()) || "HTTPFlat".equals(entity.getType())) {
|
||||
ApiLayout layout = apiLayoutRepository.findFirstByApiRequestInfo(entity);
|
||||
if (layout != null) {
|
||||
layout.getLayoutItems().sort(Comparator.comparingInt(ApiLayoutItem::getLoutItemSerno));
|
||||
|
||||
Reference in New Issue
Block a user