PeriodCellTemplateConfigMapper.java 4.25 KB
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1 2 3 4 5 6
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;
7
import pwc.taxtech.atms.vat.dpo.PeriodCellTemplateConfigExtendDto;
frank.xa.zhang's avatar
frank.xa.zhang committed
8 9 10
import pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig;
import pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample;

11 12
import java.util.List;

frank.xa.zhang's avatar
frank.xa.zhang committed
13 14 15 16
@Mapper
public interface PeriodCellTemplateConfigMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
17
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
18 19 20 21 22 23 24
     *
     * @mbg.generated
     */
    long countByExample(PeriodCellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
25
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
26 27 28 29 30 31 32
     *
     * @mbg.generated
     */
    int deleteByExample(PeriodCellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
33
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
34 35 36
     *
     * @mbg.generated
     */
37
    int deleteByPrimaryKey(Long id);
frank.xa.zhang's avatar
frank.xa.zhang committed
38 39 40

    /**
     * This method was generated by MyBatis Generator.
41
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
42 43 44 45 46 47 48
     *
     * @mbg.generated
     */
    int insert(PeriodCellTemplateConfig record);

    /**
     * This method was generated by MyBatis Generator.
49
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
50 51 52 53 54
     *
     * @mbg.generated
     */
    int insertSelective(PeriodCellTemplateConfig record);

55 56
    /**
     * This method was generated by MyBatis Generator.
57
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
58 59 60 61 62 63 64
     *
     * @mbg.generated
     */
    List<PeriodCellTemplateConfig> selectByExampleWithRowbounds(PeriodCellTemplateConfigExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
65
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
66 67 68 69 70 71 72
     *
     * @mbg.generated
     */
    List<PeriodCellTemplateConfig> selectByExample(PeriodCellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
73
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
74 75 76
     *
     * @mbg.generated
     */
77
    PeriodCellTemplateConfig selectByPrimaryKey(Long id);
frank.xa.zhang's avatar
frank.xa.zhang committed
78 79 80

    /**
     * This method was generated by MyBatis Generator.
81
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
82 83 84 85 86
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") PeriodCellTemplateConfig record, @Param("example") PeriodCellTemplateConfigExample example);

87 88
    /**
     * This method was generated by MyBatis Generator.
89
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
90 91 92 93 94 95 96
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") PeriodCellTemplateConfig record, @Param("example") PeriodCellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
97
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
98 99 100 101 102
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(PeriodCellTemplateConfig record);

103 104
    /**
     * This method was generated by MyBatis Generator.
105
     * This method corresponds to the database table TAX_PROJECT. PERIOD_CELL_TEMPLATE_CONFIG
frank.xa.zhang's avatar
frank.xa.zhang committed
106 107 108 109
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(PeriodCellTemplateConfig record);
110 111

    void batchInsert(List<PeriodCellTemplateConfig> list);
112

113
    List<PeriodCellTemplateConfigExtendDto> getPeriodCellTemplateConfigExtendDtos(@Param("list") List<Long> list, @Param("period") Integer period);
114

115 116 117
    PeriodCellTemplateConfig getConfigWithReportTemplateId(@Param("reportTemplateId") Long reportTemplateId,
                                                           @Param("period") Integer period, @Param("rowIndex") int rowIndex,
                                                           @Param("columnIndex") int columnIndex);
frank.xa.zhang's avatar
frank.xa.zhang committed
118
}