Commit 45b862a9 authored by 赵啸非's avatar 赵啸非

添加服务检测拉起脚本

parent a96ea319
...@@ -111,7 +111,8 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE ...@@ -111,7 +111,8 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
//通知设备更新站点信息 //通知设备更新站点信息
DevicePdu devicePdu = new DevicePdu(); DevicePdu devicePdu = new DevicePdu();
devicePdu.setSiteId(entity.getId()); devicePdu.setSiteId(entity.getId());
deviceFeign.refreshMessage(devicePdu); Rest<Void> rest = deviceFeign.refreshMessage(devicePdu);
log.info("调用刷新结果:{}",JSON.toJSONString(rest));
} }
super.updateBefore(entity, context); super.updateBefore(entity, context);
} }
......
...@@ -188,6 +188,7 @@ public class WorkmanController extends BaseCRUDJsonBodyMappingController<Workman ...@@ -188,6 +188,7 @@ public class WorkmanController extends BaseCRUDJsonBodyMappingController<Workman
workmanEntity.setLoginName(loginName); workmanEntity.setLoginName(loginName);
} }
log.info("loginPwd:"+workmanEntity.getLoginPwd());
if (ObjectUtils.isEmpty(workmanEntity.getLoginPwd())||"".equals(workmanEntity.getLoginPwd().trim())) { if (ObjectUtils.isEmpty(workmanEntity.getLoginPwd())||"".equals(workmanEntity.getLoginPwd().trim())) {
workmanEntity.setLoginPwd("123"); workmanEntity.setLoginPwd("123");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment