-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wildeslam
committed
Jun 28, 2024
1 parent
2c26824
commit e6d5697
Showing
3 changed files
with
51 additions
and
50 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
.../src/main/java/com/arextest/web/api/service/beans/auto/SystemConfigAutoConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.arextest.web.api.service.beans.auto; | ||
|
||
import org.springframework.context.annotation.Configuration; | ||
|
||
/** | ||
* @author wildeslam. | ||
* @create 2024/6/27 20:20 | ||
*/ | ||
@Configuration | ||
public class SystemConfigAutoConfiguration { | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
arex-web-model/src/main/java/com/arextest/web/model/mapper/FSRequestMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.arextest.web.model.mapper; | ||
|
||
import com.arextest.web.model.contract.contracts.filesystem.FSAddItemsByAppAndInterfaceRequestType; | ||
import com.arextest.web.model.contract.contracts.filesystem.FSPinMockRequestType; | ||
import com.arextest.web.model.contract.contracts.filesystem.FSSaveCaseRequestType; | ||
import com.arextest.web.model.contract.contracts.filesystem.FSSaveInterfaceRequestType; | ||
import org.mapstruct.Mapper; | ||
import org.mapstruct.Mapping; | ||
import org.mapstruct.factory.Mappers; | ||
|
||
/** | ||
* @author wildeslam. | ||
* @create 2024/6/28 11:36 | ||
*/ | ||
@Mapper | ||
public interface FSRequestMapper { | ||
|
||
FSRequestMapper INSTANCE = Mappers.getMapper(FSRequestMapper.class); | ||
|
||
FSSaveInterfaceRequestType buildSaveInterfaceRequest( | ||
FSAddItemsByAppAndInterfaceRequestType request); | ||
|
||
FSSaveCaseRequestType buildSaveCaseRequest(FSAddItemsByAppAndInterfaceRequestType request); | ||
|
||
@Mapping(target = "recordId", source = "nodeName") | ||
FSPinMockRequestType buildPinMockRequest(FSAddItemsByAppAndInterfaceRequestType request); | ||
|
||
} |