1
2
3
4
5
6
7
8
9
10
11
12
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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.dpo.RevenueDetailDto;
import pwc.taxtech.atms.vat.entity.TrialBalanceFinal;
import pwc.taxtech.atms.vat.entity.TrialBalanceFinalExample;
import java.util.List;
@Mapper
public interface TrialBalanceFinalMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
long countByExample(TrialBalanceFinalExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int deleteByExample(TrialBalanceFinalExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int insert(TrialBalanceFinal record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int insertSelective(TrialBalanceFinal record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
List<TrialBalanceFinal> selectByExampleWithRowbounds(TrialBalanceFinalExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
List<TrialBalanceFinal> selectByExample(TrialBalanceFinalExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
TrialBalanceFinal selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") TrialBalanceFinal record, @Param("example") TrialBalanceFinalExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int updateByExample(@Param("record") TrialBalanceFinal record, @Param("example") TrialBalanceFinalExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(TrialBalanceFinal record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance_final
*
* @mbg.generated
*/
int updateByPrimaryKey(TrialBalanceFinal record);
List<RevenueDetailDto> queryBalanceWithRevenueConfig(
@Param("accountCode") String accountCode,
@Param("accountName") String accountName,
@Param("type") String type,
@Param("profitCenterCode") String profitCenterCode,
@Param("profitCenterName") String profitCenterName,
@Param("taxOn") Integer taxOn,
@Param("productCode") String productCode,
@Param("productName") String productName,
@Param("category") Integer category,
@Param("projectId") String projectId,
@Param("period") Integer period,
@Param("queryDate") String queryDate);
int generateFinalData(@Param("projectId") String projectId,
@Param("period") Integer period,
@Param("lastProjectId") String lastProjectId,
@Param("lastPeriod") Integer lastPeriod);
}