ReceiptHeaderMapperAuto.java 1.03 KB
package com.huaheng.pc.receipt.receiptHeader.mapper;

import com.huaheng.pc.receipt.receiptHeader.domain.ReceiptHeader;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface ReceiptHeaderMapperAuto {

    List<ReceiptHeader> selectListEntityByLike(ReceiptHeader condition);

    List<ReceiptHeader> selectListEntityByEqual(ReceiptHeader condition);

    List<Map<String, Object>> selectListMapByEqual(@Param("columns") String columns, @Param("condition") ReceiptHeader condition);

    ReceiptHeader selectEntityById(Integer id);

    ReceiptHeader selectFirstEntity(ReceiptHeader condition);

    Map<String, Object> selectFirstMap(@Param("columns") String columns, @Param("condition") ReceiptHeader condition);

    int insert(ReceiptHeader record);

    int updateByModel(ReceiptHeader record);

    int updateByCondition(@Param("record") ReceiptHeader record, @Param("condition") ReceiptHeader condition);

    int deleteById(Integer id);

    int deleteByCondition(ReceiptHeader condition);

}