pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigatePlanMapper.java
@@ -115,4 +115,25 @@ * @return */ Integer getPlanState(@Param("planId") Long planId); /** * 判断当前项目是否存在已发布、未终止、未删除、未完成的计划,发布计划前判断使用 * @param planId * @return */ Integer hasPlan_CurrentProject(Long planId); /** * 判断当前计划包含的轮灌组是否与其他项目下计划包含的轮灌组有交集,且其他项目的计划状态为已发布、未终止、未删除、未完成,发布计划前判断使用 * @param planId * @return */ Integer hasPlan_OtherProject(Long planId); /** * 根据计划ID获取计划最新状态 * @param planId * @return */ Integer getPlanLatestState(@Param("planId") Long planId); }