InputInvoiceMapper.java 3.64 KB
Newer Older
sherlock's avatar
sherlock committed
1 2
package pwc.taxtech.atms.invoice;

sherlock's avatar
sherlock committed
3
import java.util.List;
sherlock's avatar
sherlock committed
4 5 6 7 8
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.CellInvoiceDto;
sherlock's avatar
sherlock committed
9
//import pwc.taxtech.atms.vat.dpo.InputInvoiceItemExtendDto;
sherlock's avatar
sherlock committed
10
import pwc.taxtech.atms.vat.dpo.InputInvoiceResultDto;
sherlock's avatar
sherlock committed
11 12
import pwc.taxtech.atms.vat.entity.InputInvoice;
import pwc.taxtech.atms.vat.entity.InputInvoiceExample;
sherlock's avatar
sherlock committed
13 14 15 16 17

@Mapper
public interface InputInvoiceMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
18
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
19 20 21
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
22
    long countByExample(InputInvoiceExample example);
sherlock's avatar
sherlock committed
23 24 25

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
26
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
27 28 29
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
30
    int deleteByExample(InputInvoiceExample example);
sherlock's avatar
sherlock committed
31 32 33

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
34
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
35 36 37
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
38
    int deleteByPrimaryKey(String ID);
sherlock's avatar
sherlock committed
39 40 41

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
42
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
43 44 45
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
46
    int insert(InputInvoice record);
sherlock's avatar
sherlock committed
47 48 49

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
50
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
51 52 53
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
54
    int insertSelective(InputInvoice record);
sherlock's avatar
sherlock committed
55 56 57

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
58
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
59 60 61
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
62
    List<InputInvoice> selectByExampleWithRowbounds(InputInvoiceExample example, RowBounds rowBounds);
sherlock's avatar
sherlock committed
63 64 65

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
66
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
67 68 69
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
70
    List<InputInvoice> selectByExample(InputInvoiceExample example);
sherlock's avatar
sherlock committed
71 72 73

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
74
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
75 76 77
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
78
    InputInvoice selectByPrimaryKey(String ID);
sherlock's avatar
sherlock committed
79 80 81

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
82
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
83 84 85
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
86
    int updateByExampleSelective(@Param("record") InputInvoice record, @Param("example") InputInvoiceExample example);
sherlock's avatar
sherlock committed
87 88 89

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
90
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
91 92 93
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
94
    int updateByExample(@Param("record") InputInvoice record, @Param("example") InputInvoiceExample example);
sherlock's avatar
sherlock committed
95 96 97

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
98
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
99 100 101
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
102
    int updateByPrimaryKeySelective(InputInvoice record);
sherlock's avatar
sherlock committed
103 104 105

    /**
     * This method was generated by MyBatis Generator.
sherlock's avatar
sherlock committed
106
     * This method corresponds to the database table PWC_INVOICE.INPUT_INVOICE
sherlock's avatar
sherlock committed
107 108 109
     *
     * @mbg.generated
     */
sherlock's avatar
sherlock committed
110
    int updateByPrimaryKey(InputInvoice record);
sherlock's avatar
sherlock committed
111 112 113

    List<CellInvoiceDto> selectInputInvoiceWithItem();

sherlock's avatar
sherlock committed
114 115
    List<InputInvoiceResultDto> getInputInvoiceResultDto();

sherlock's avatar
sherlock committed
116
//    InputInvoiceItemExtendDto selectInvoiceExtendDto(@Param("invoiceItemId") String invoiceItemId);
sherlock's avatar
sherlock committed
117
}