DracScrmWelcomeConfigMapper.java 1.08 KB
package cn.com.glsx.entmicro.mapper;

import cn.com.glsx.entmicro.entity.DracScrmWelcomeConfigEntity;
import cn.com.glsx.entmicro.model.response.drainage.DracScrmWelcomeConfigEntityVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.oreframework.datasource.mybatis.mapper.OreMapper;

import java.util.List;

@Mapper
public interface DracScrmWelcomeConfigMapper extends OreMapper<DracScrmWelcomeConfigEntity> {

    /**
     * 通过uuid删除欢迎语信息
     * @param s
     * @param uuid
     */
    int deleteByUuid(@Param("uuid") String uuid, @Param("businessDesc") String businessDesc);

    /**
     * 通过uuid删除欢迎语信息
     * @param
     * @param
     */
    int deleteByBatchUuid(@Param("uuidList") List<String> uuidList, @Param("businessDesc") String businessDesc);

    /**
     * uuid查欢迎语列表
     *
     * @return
     */
    List<DracScrmWelcomeConfigEntityVO> getListByUuid(@Param("uuidList")List<String> uuidList,
                                                      @Param("businessDesc")String businessDesc);
}