Jelajahi Sumber

处理任务补偿监控调阅计划 显示了子计划

jingyuanchao 1 tahun lalu
induk
melakukan
1e82ab63be

+ 1 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/access/service/impl/TMonitoringRetrievalPlanServiceImpl.java

@@ -1854,6 +1854,7 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
         LambdaQueryWrapper<TMonitoringRetrievalPlan> wrapper = new LambdaQueryWrapper<>();
         wrapper.eq(TMonitoringRetrievalPlan::getPlanStatus, DrillPlanStatus.USING.getCode());
         wrapper.eq(TMonitoringRetrievalPlan::getIsDeleted, 0);
+        wrapper.isNull(TMonitoringRetrievalPlan::getParentId);
         //wrapper.eq(TMonitoringRetrievalPlan::getStandard,1);
         List<TMonitoringRetrievalPlan> planList = baseMapper.selectList(wrapper);
         List<Map<String, String>> list = new ArrayList<Map<String, String>>();