| | |
| | | import com.dy.pipIrrGlobal.pojoIr.IrPlanSchedule; |
| | | import com.dy.pipIrrGlobal.voIr.VoIrrigateSchedule; |
| | | import com.dy.pipIrrGlobal.voIr.VoPlanSimple; |
| | | import com.dy.pipIrrGlobal.voIr.VoPlans; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取未完成的计划列表,小程序计划列表页使用 |
| | | * @return |
| | | */ |
| | | public List<VoPlans> getNotCompletePlans() { |
| | | return irrigatePlanMapper.getNotCompletePlans(); |
| | | } |
| | | |
| | | /** |
| | | * 获取已完成的计划列表,小程序计划列表页使用 |
| | | * @return |
| | | */ |
| | | public List<VoPlans> getCompletedPlans() { |
| | | return irrigatePlanMapper.getCompletedPlans(); |
| | | } |
| | | |
| | | /** |
| | | * 根据指定的计划ID获取启动模式 |
| | | * @param planId |
| | | * @return |