|
|
@@ -21,6 +21,12 @@ namespace Util
|
|
|
? Array.Empty<int>() : Tools.SpitIntArrary(src.serverList))
|
|
|
.Map(dest => dest.databaseList, src => string.IsNullOrEmpty(src.databaseList)
|
|
|
? Array.Empty<int>() : Tools.SpitIntArrary(src.databaseList));
|
|
|
+
|
|
|
+ TypeAdapterConfig<ProjectService, GetProjectServiceListVo>.NewConfig()
|
|
|
+ .Map(dest => dest.serverList, src => string.IsNullOrEmpty(src.serverList)
|
|
|
+ ? Array.Empty<int>() : Tools.SpitIntArrary(src.serverList))
|
|
|
+ .Map(dest => dest.databaseList, src => string.IsNullOrEmpty(src.databaseList)
|
|
|
+ ? Array.Empty<int>() : Tools.SpitIntArrary(src.databaseList));
|
|
|
}
|
|
|
|
|
|
}
|