package com.ai.da.mapper.primary;

import com.ai.da.common.config.mybatis.plus.CommonMapper;
//import com.ai.da.mapper.entity.Design;
import com.ai.da.model.dto.UserDesignStatisticDTO;

import java.util.List;
import com.ai.da.mapper.primary.entity.Design;

/**
 * Mapper 接口
 *
 * @author easy-generator
 * @since 2022-06-13
 */
public interface DesignMapper extends CommonMapper<Design> {

    //返回插入数据后生成的主键
    Long insertDesign(Design design);

    List<UserDesignStatisticDTO> getDesignStatistic(String startTime, String endTime, List<Long> ids, String email,
                                                    String role, String organizationName);

    List<Design> selectDeleteList();
}
