fix: Remove duplicated package path in MCI DTOs and Converter
This commit is contained in:
@@ -371,12 +371,12 @@ public class ToolScaffolder {
|
|||||||
|
|
||||||
if (isMci) {
|
if (isMci) {
|
||||||
String mciReqContent = """
|
String mciReqContent = """
|
||||||
package %s.infra.itrf.mci.%s.io;
|
package %s.%s.io;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package %s.infra.itrf.mci.%s.io
|
* @package %s.%s.io
|
||||||
* @className %s_I
|
* @className %s_I
|
||||||
* @description AX HUB 시스템 처리 클래스
|
* @description AX HUB 시스템 처리 클래스
|
||||||
* @author %s
|
* @author %s
|
||||||
@@ -405,12 +405,12 @@ public class ToolScaffolder {
|
|||||||
Files.writeString(mciIoDir.resolve(interfaceId + "_I.java"), mciReqContent);
|
Files.writeString(mciIoDir.resolve(interfaceId + "_I.java"), mciReqContent);
|
||||||
|
|
||||||
String mciResContent = """
|
String mciResContent = """
|
||||||
package %s.infra.itrf.mci.%s.io;
|
package %s.%s.io;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package %s.infra.itrf.mci.%s.io
|
* @package %s.%s.io
|
||||||
* @className %s_O
|
* @className %s_O
|
||||||
* @description AX HUB 시스템 처리 클래스
|
* @description AX HUB 시스템 처리 클래스
|
||||||
* @author %s
|
* @author %s
|
||||||
@@ -435,8 +435,8 @@ public class ToolScaffolder {
|
|||||||
|
|
||||||
import %s.dto.%sRequest;
|
import %s.dto.%sRequest;
|
||||||
import %s.dto.%sResponse;
|
import %s.dto.%sResponse;
|
||||||
import %s.infra.itrf.mci.%s.io.%s_I;
|
import %s.%s.io.%s_I;
|
||||||
import %s.infra.itrf.mci.%s.io.%s_O;
|
import %s.%s.io.%s_O;
|
||||||
import org.mapstruct.Mapper;
|
import org.mapstruct.Mapper;
|
||||||
import org.mapstruct.Mapping;
|
import org.mapstruct.Mapping;
|
||||||
import org.mapstruct.factory.Mappers;
|
import org.mapstruct.factory.Mappers;
|
||||||
@@ -479,7 +479,7 @@ public class ToolScaffolder {
|
|||||||
baseName, interfaceId,
|
baseName, interfaceId,
|
||||||
baseName, interfaceId
|
baseName, interfaceId
|
||||||
);
|
);
|
||||||
Files.writeString(converterDir.resolve(baseName + "LegacyConverter.java"), converterContent);
|
Files.writeString(converterDir.resolve(baseName + "Converter.java"), converterContent);
|
||||||
|
|
||||||
log.append("\n=========================================\n");
|
log.append("\n=========================================\n");
|
||||||
log.append(" Scaffolding Complete! (Routing: " + routingType + ")\n");
|
log.append(" Scaffolding Complete! (Routing: " + routingType + ")\n");
|
||||||
@@ -520,7 +520,7 @@ public class ToolScaffolder {
|
|||||||
public class Mci%sClient {
|
public class Mci%sClient {
|
||||||
private final AxhubMciComponent mci;
|
private final AxhubMciComponent mci;
|
||||||
|
|
||||||
public Transfer<Object> callTo(String interfaceId, Object dummy, Object mciReq, Class<Object> resType) {
|
public Transfer<Object> callTo(String interfaceId, String dummy, Object mciReq, Class<Object> resType) {
|
||||||
return mci.callTo(interfaceId, dummy, mciReq, resType);
|
return mci.callTo(interfaceId, dummy, mciReq, resType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user