| 
					
				 | 
			
			
				@@ -12,15 +12,13 @@ import com.xunmei.core.access.dto.CoreMonitoringTaskRegistrationMonitorDTO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.xunmei.core.access.mapper.CoreMonitoringTaskMonitorInfoMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.xunmei.core.access.mapper.CoreMonitoringTaskRegistrationMonitorMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.xunmei.core.access.service.ICoreMonitoringTaskMonitorInfoService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.xunmei.core.access.vo.CoreMonitoringTaskRegistrationMonitorVO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.Arrays; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.xunmei.common.core.web.page.TableDataInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -36,38 +34,6 @@ public class CoreMonitoringTaskMonitorInfoServiceImpl extends ServiceImpl<CoreMo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private CoreMonitoringTaskRegistrationMonitorMapper coreMonitoringTaskRegistrationMonitorMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-/*    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public TableDataInfo<CoreMonitoringTaskMonitorInfo> selectPage(CoreMonitoringTaskMonitorInfo coreMonitoringTaskMonitorInfo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //未删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        coreMonitoringTaskMonitorInfo.setDeleted(0L); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Page<CoreMonitoringTaskMonitorInfo> page; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //分页 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (coreMonitoringTaskMonitorInfo.getPageNum()!=null&&coreMonitoringTaskMonitorInfo.getPageSize()!=null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            page = new Page<>(coreMonitoringTaskMonitorInfo.getPageNum(), coreMonitoringTaskMonitorInfo.getPageSize()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            page = new Page<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //查询条件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        QueryWrapper<CoreMonitoringTaskMonitorInfo> query = new QueryWrapper<>(coreMonitoringTaskMonitorInfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //下穿 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (coreMonitoringTaskMonitorInfo.getCheckSub()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            List<Long> ids = orgService.selectCheckSubOrgIdList(coreMonitoringTaskMonitorInfo.getOrgId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //清空前端传递的org_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            coreMonitoringTaskMonitorInfo.setOrgId(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //添加in条件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            query.in("org_id",ids); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //时间范围查询 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (coreMonitoringTaskMonitorInfo.getParams().get("beginTime")!=null&&coreMonitoringTaskMonitorInfo.getParams().get("endTime")!=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            query.between("create_time", coreMonitoringTaskMonitorInfo.getParams().get("beginTime"), coreMonitoringTaskMonitorInfo.getParams().get("endTime")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //获取数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        page = coreMonitoringTaskMonitorInfoMapper.selectPage(page, query); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //抓换为TableDataInfo适配前端 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return TableDataInfo.build(page); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 查询调阅任务登记检查情况 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -140,7 +106,7 @@ public class CoreMonitoringTaskMonitorInfoServiceImpl extends ServiceImpl<CoreMo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         coreMonitoringTaskRegistrationMonitor.setUpdateTime(DateUtils.getNowDate()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         coreMonitoringTaskRegistrationMonitor.setUpdateBy(SecurityUtils.getUsername()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         coreMonitoringTaskRegistrationMonitorMapper.updateById(coreMonitoringTaskRegistrationMonitor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        QueryWrapper queryWrapper=new QueryWrapper(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        QueryWrapper<CoreMonitoringTaskMonitorInfo> queryWrapper=new QueryWrapper(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         queryWrapper.eq("task_monitor_id",coreMonitoringTaskRegistrationMonitor.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         coreMonitoringTaskMonitorInfoMapper.delete(queryWrapper); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         int i = 0; 
			 |