package com.cool.store.mapper;

import com.cool.store.dto.openPreparation.OpenPlanShopInfoDTO;
import com.cool.store.entity.OpeningOperationPlanDO;
import com.cool.store.request.PlanListRequest;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;

public interface OpeningOperationPlanMapper extends Mapper<OpeningOperationPlanDO> {

    OpeningOperationPlanDO selectByShopId(@Param("shopId") Long shopId);


   Integer updateByShopId(@Param("shopId") Long shopId, @Param("auditId") Long auditId, @Param("resultType") Integer resultType);
    /**
     * @Auther: wangshuo
     * @Date: 2024/4/24
     * @description: 开业运营方案，根据shopname获取列表
     */
    List<OpenPlanShopInfoDTO> getOpenPlanShopListByCondition(@Param("request") PlanListRequest request);
}