Browse Source

增加日志

linhuili 3 years ago
parent
commit
caa9728b0f

+ 3 - 1
src/main/java/com/persagy/proxy/dictionary/service/impl/AdmModelRelServiceImpl.java

@@ -62,7 +62,7 @@ public class AdmModelRelServiceImpl extends AbstractAdmBaseServiceImpl<AdmModelR
      */
     @Override
     public List<AdmModelRel> doUpdateModelInfo(InstanceUrlParam context, Class<AdmModelRel> clazz, AdmModelRel vo) throws Exception{
-
+        log.info("模型修改设备元空间参数{},{}"+context,vo);
         //1.查询模型文件是否有楼层在使用
         AdmModelRel floorCriteria = new AdmModelRel();
         floorCriteria.setModelId(vo.getModelId());
@@ -75,6 +75,7 @@ public class AdmModelRelServiceImpl extends AbstractAdmBaseServiceImpl<AdmModelR
                 relationProjectCals.forEach(item->{
                     item.setComputationalState(2);
                 });
+                log.info("修改设备计算状态{},{}"+context,relationProjectCals);
                 iAdmObjectRelationCalService.updateObjectCalRel(context,relationProjectCals);
             }
         }
@@ -367,6 +368,7 @@ public class AdmModelRelServiceImpl extends AbstractAdmBaseServiceImpl<AdmModelR
         }
         criteria.setFilters(filters.toString());
         criteria.setName("floor");
+        log.info("查询模型文件是否有楼层在使用入参:{},{}"+context,criteria);
         AdmResponse admResponse = floorService.doQuery(context, criteria, AdmFloor.class);
         return (List<AdmFloor>)admResponse.getContent();
     }