|
@@ -379,11 +379,18 @@ open class JSONAnalyzerService {
|
|
|
* 判断需要转换的项目
|
|
|
*/
|
|
|
|
|
|
+ /**
|
|
|
+ * 判断需要转换的项目
|
|
|
+ */
|
|
|
+
|
|
|
fun checkProject(projectId: String?): Boolean {
|
|
|
if (projectId.isNullOrEmpty()) {
|
|
|
- return false;
|
|
|
+ return false
|
|
|
}
|
|
|
- return dataService.projectService.select(SFilter.eq("id", projectId)).entity() == null;
|
|
|
+ val projectConfig = dataService.projectService.select(SFilter.eq("id", projectId)).entity()
|
|
|
+ return if(projectConfig == null){
|
|
|
+ false
|
|
|
+ }else projectConfig.type == "wanda"
|
|
|
}
|
|
|
|
|
|
/**
|