|
|
@@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.xunmei.common.core.constant.SecurityConstants;
|
|
|
-import com.xunmei.common.core.domain.R;
|
|
|
import com.xunmei.common.core.utils.DateUtils;
|
|
|
import com.xunmei.common.core.utils.StringUtils;
|
|
|
import com.xunmei.common.core.web.page.TableDataInfo;
|
|
|
@@ -21,12 +20,8 @@ import com.xunmei.system.api.RemoteUserService;
|
|
|
import com.xunmei.system.api.domain.SysOrg;
|
|
|
import com.xunmei.system.api.domain.SysRole;
|
|
|
import com.xunmei.system.api.domain.SysUser;
|
|
|
-import com.xunmei.system.api.function.RemoteCallHandlerExecutor;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.beans.factory.config.ConfigurableBeanFactory;
|
|
|
-import org.springframework.context.annotation.DependsOn;
|
|
|
import org.springframework.context.annotation.Lazy;
|
|
|
-import org.springframework.context.annotation.Scope;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
@@ -81,7 +76,8 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
if (null == tMonitoringRetrievalPlan.getOrgId()) {
|
|
|
tMonitoringRetrievalPlan.setOrgId(data.get(0).getId());
|
|
|
}
|
|
|
- if (tMonitoringRetrievalPlan.getCheckSub()) {
|
|
|
+ Boolean checkSub = tMonitoringRetrievalPlan.getCheckSub();
|
|
|
+ if (Boolean.TRUE.equals(checkSub)) {
|
|
|
List<Long> ids = remoteOrgService.selectCheckSubOrgIdList(tMonitoringRetrievalPlan.getOrgId(), SecurityConstants.INNER);
|
|
|
//清空前端传递的org_id
|
|
|
tMonitoringRetrievalPlan.setOrgId(null);
|
|
|
@@ -246,38 +242,4 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
return tMonitoringRetrievalPlanMapper.deleteById(id);
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public boolean saveBatch(Collection<TMonitoringRetrievalPlan> entityList, int batchSize) {
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public boolean saveOrUpdateBatch(Collection<TMonitoringRetrievalPlan> entityList, int batchSize) {
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public boolean updateBatchById(Collection<TMonitoringRetrievalPlan> entityList, int batchSize) {
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public boolean saveOrUpdate(TMonitoringRetrievalPlan entity) {
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public TMonitoringRetrievalPlan getOne(Wrapper<TMonitoringRetrievalPlan> queryWrapper, boolean throwEx) {
|
|
|
- return null;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public Map<String, Object> getMap(Wrapper<TMonitoringRetrievalPlan> queryWrapper) {
|
|
|
- return null;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public <V> V getObj(Wrapper<TMonitoringRetrievalPlan> queryWrapper, Function<? super Object, V> mapper) {
|
|
|
- return null;
|
|
|
- }
|
|
|
}
|