SmartSceneMapper.java 819 Bytes
package cn.com.glsx.smart.modules.mapper;


import cn.com.glsx.smart.modules.entity.SmartScene;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>Description:
 * <p>Project: chejia-smart
 *
 * @author wbh
 * @date 2021-03-15
 */

@Mapper
public interface SmartSceneMapper extends tk.mybatis.mapper.common.Mapper<SmartScene> {
    int insertOrUpdate(SmartScene record);

    int insertOrUpdateSelective(SmartScene record);

    int updateBatch(List<SmartScene> list);

    int updateBatchSelective(List<SmartScene> list);

    int batchInsert(@Param("list") List<SmartScene> list);

    List<SmartScene> getList(SmartScene record);

    SmartScene getById(Long id);

    Map<String, Object> getBySourceAndUserId(Long id);
}