|
|
@@ -86,7 +86,7 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
//下穿
|
|
|
List<SysOrg> data = remoteOrgService.selectSysOrgByParentId(MINUS_ONE.longValue(), SecurityConstants.INNER);
|
|
|
if (null == tMonitoringRetrievalPlan.getOrgId()) {
|
|
|
- tMonitoringRetrievalPlan.setOrgId(data.get(0).getId());
|
|
|
+ tMonitoringRetrievalPlan.setOrgId(SecurityUtils.getLoginUser().getOrgId());
|
|
|
}
|
|
|
Boolean checkSub = tMonitoringRetrievalPlan.getCheckSub();
|
|
|
if (Boolean.TRUE.equals(checkSub)) {
|