요청 관리: 모든 API 조회

This commit is contained in:
현성필
2024-05-31 14:55:54 +09:00
parent 6069c9b3a3
commit b84bbea57b
2 changed files with 5 additions and 1 deletions
@@ -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));