package com.thhy.materials.modules.biz.pipeplan.mapper; import com.thhy.materials.modules.biz.pipeplan.entity.PipePlan; import com.thhy.materials.modules.biz.pipeplan.entity.PipePlanDto; import com.thhy.materials.modules.biz.pipeplan.entity.PipePlanListVo; import com.thhy.materials.modules.biz.pipeplan.entity.PlanMonthCal; import com.thhy.materials.modules.biz.pipeplanmonth.entity.PipePlanMonth; import org.springframework.stereotype.Component; import java.io.Serializable; import java.util.List; /** * Mapper 接口 * @author zhang_xiao_bo * @since 2023-04-18 09:08:51 */ @Component public interface PipePlanMapper { PipePlan queryById(Serializable planId); Integer queryVersionById(Serializable planId); List findList(PipePlan pipeplan); List findAll(); void insert(PipePlan pipeplan); void update(PipePlan pipeplan); void deletelogic(Serializable planId); void deleteById(Serializable planId); List queryMonthList(String pipePlanId); double sumProduct(String pipePlanId); PlanMonthCal queryPlanProductByPlan(String planId); PlanMonthCal queryProductedByPlan(PipePlanListVo planListVo); int countByPYS(PipePlanDto pipePlanDto); List queryByPYS(PipePlanDto pipePlanDto); }