package com.cool.store.mapper;

import com.cool.store.entity.AssessmentDataDO;
import com.cool.store.entity.ShopStageInfoDO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface AssessmentDataMapper extends Mapper<AssessmentDataDO> {
    /**
     * @Auther: wangshuo
     * @Date: 2024/5/8
     * @description:三方验收
     */
    Integer batchUpdate(@Param("AssessmentDataDOS") List<AssessmentDataDO> AssessmentDataDOS);
    /**
     * @Auther: wangshuo
     * @Date: 2024/5/8
     * @description:三方验收
     */
    List<AssessmentDataDO> selectListByShopId(@Param("shopId") Long shopId,@Param("templateIdMin") Long templateIdMin,@Param("templateIdMax") Long templateIdMax);

    Integer batchInsert(@Param("assessmentDataList") List<AssessmentDataDO> assessmentDataList);

    Integer batchInsertOrUpdate(@Param("assessmentDataList") List<AssessmentDataDO> assessmentDataList);
}