CashFlowMapper.java 3.27 KB
Newer Older
gary's avatar
gary committed
1 2 3 4 5 6 7 8 9 10
package pwc.taxtech.atms.vat.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.dpo.CashFlowCondition;
import pwc.taxtech.atms.vat.entity.CashFlow;
import pwc.taxtech.atms.vat.entity.CashFlowExample;

Ken you's avatar
Ken you committed
11 12
import java.util.List;

gary's avatar
gary committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
@Mapper
public interface CashFlowMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    long countByExample(CashFlowExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int deleteByExample(CashFlowExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int insert(CashFlow record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int insertSelective(CashFlow record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    List<CashFlow> selectByExampleWithRowbounds(CashFlowExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    List<CashFlow> selectByExample(CashFlowExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    CashFlow selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") CashFlow record, @Param("example") CashFlowExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") CashFlow record, @Param("example") CashFlowExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(CashFlow record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cash_flow
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(CashFlow record);

    List<CashFlow> selectByCondition(@Param("cfCondition") CashFlowCondition condition);

Ken you's avatar
Ken you committed
113 114
    Integer selectCountByCondition(@Param("cfCondition") CashFlowCondition condition);

gary's avatar
gary committed
115
    int insertBatch(List<CashFlow> cfs);
gary's avatar
gary committed
116

117
}