|
@@ -142,6 +142,19 @@ class TaskService {
|
|
|
task.name = modelFile.modelName
|
|
|
task.param = ""
|
|
|
task.projectId = modelFile.projectId
|
|
|
+ pconfig = projectService.select(SFilter.eq("id",modelFile.projectId!!)).entity()
|
|
|
+ if(pconfig != null){
|
|
|
+ val configJSON = pconfig!!.configJson!!
|
|
|
+ task.floorServerUrl = configJSON.floorServerUrl
|
|
|
+ task.useablePhaseName = configJSON.useablePhaseName
|
|
|
+ task.sagaSign = configJSON.sagaSign
|
|
|
+ task.checkItems = configJSON.checkItems
|
|
|
+ task.facilityParameters = configJSON.facilityParameters
|
|
|
+ task.spaceParameters = configJSON.spaceParameters
|
|
|
+ task.roomParameters = configJSON.roomParameters
|
|
|
+ task.mEPCurveParameters = configJSON.mEPCurveParameters
|
|
|
+ task.equipComponentCode = configJSON.equipComponentCode
|
|
|
+ }
|
|
|
if(request.content == null)
|
|
|
request.content = ArrayList()
|
|
|
request.content!!.add(task)
|