From f77e9a7cfbe775523551df5faab3c70a5a9c190c Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 03 三月 2025 14:22:35 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java index c75639d..daa4efb 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java @@ -56,6 +56,15 @@ } /** + * 鏍规嵁鎸囧畾鐨勮鍒扞D鑾峰彇鍚姩妯″紡 + * @param planId + * @return + */ + public Byte getStartupMode(Long planId) { + return irrigatePlanMapper.getStartupMode(planId); + } + + /** * 鏍规嵁鎸囧畾鐨勬潯浠惰幏鍙栬鍒掑垪琛� * @param queryVo * @return @@ -72,6 +81,15 @@ rsVo.calculateAndSet(itemTotal, params); rsVo.obj = irrigatePlanMapper.getIrrigatePlans(params); return rsVo; + } + + /** + * 鏍规嵁鎸囧畾鐨勮鍒扞D鑾峰彇宸插彂甯冪殑鐏屾簤璁″垝鏁伴噺 + * @param planId + * @return + */ + public Integer getPublishedCount(Long planId) { + return irrigatePlanMapper.getPublishedCount(planId); } /** @@ -108,8 +126,8 @@ * @param planId * @return */ - public List<VoIrrigateSchedule> getIrrigateSchedules(Long planId) { - return irIrrigateScheduleMapper.getIrrigateSchedules(planId); + public List<VoIrrigateSchedule> getIrrigateSchedules(Byte startupMode, Long planId) { + return irIrrigateScheduleMapper.getIrrigateSchedules(startupMode, planId); } /** -- Gitblit v1.8.0