package com.qiwuai.garden.service.plantService; import com.qiwuai.garden.dto.base.CommonResponse; import com.qiwuai.garden.dto.request.*; import com.qiwuai.garden.pojo.AttributePojo; import com.qiwuai.garden.pojo.PlantPeriodPojo; import com.qiwuai.garden.pojo.PlantPojo; import java.text.ParseException; import java.util.List; public interface PlantService { List plantSearch(); int plantAdd(PlantConfigReq plantConfigReq); List plantPeriodSearch(); int plantPeriodAdd(PlantPeriodConfigReq plantPeriodConfigReq); List plantAttributeSearch(); int plantAttributeAdd(PlantAttributeConfigReq plantAttributeConfigReq); /** * 种植 * @param operationReq * @return CommonResponse */ CommonResponse seedCheck(OperationRequest operationReq); /** * 确认种植 * @param operationReq * @return CommonResponse */ CommonResponse seed(OperationRequest operationReq) throws ParseException; /** * 取消种植 * @param operationReq * @return CommonResponse */ CommonResponse seedCancel(OperationRequest operationReq); /** * 批量种植 * @param operationReq * @return CommonResponse */ CommonResponse batchSeedCheck(OperationRequest operationReq) throws ParseException; /** * 确认批量种植 * @param operationReq * @return CommonResponse */ CommonResponse batchSeed(OperationRequest operationReq) throws ParseException; /** * 取消批量种植 * @param operationReq * @return CommonResponse */ CommonResponse batchSeedCancel(OperationRequest operationReq); /** * 收取,园丁收获 * @param operationReq * @return CommonResponse */ CommonResponse harvest(OperationRequest operationReq) throws ParseException; /** * 铲除植物,即检查花圃种植情况 * @param operationReq * @return CommonResponse */ CommonResponse clearPlantCheck(OperationRequest operationReq); /** * 确认铲除植物 * @param operationReq * @return CommonResponse */ CommonResponse clearPlant(OperationRequest operationReq); /** * 收取并铲除植物 * @param operationReq * @return CommonResponse */ CommonResponse clearAfterHarvest(OperationRequest operationReq) throws ParseException; /** * 取消铲除植物 * @param operationReq * @return CommonResponse */ CommonResponse clearPlantCancel(OperationRequest operationReq); /** * 查询植物成熟时间指令 * @param operationReq * @return CommonResponse */ CommonResponse checkPlantMatureTime(OperationRequest operationReq) throws ParseException; /** * 加快成熟时间指令 * @param operationReq * @return CommonResponse */ CommonResponse speedPlantMatureTime(OperationRequest operationReq) throws ParseException; }