Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
3e33988f
Commit
3e33988f
authored
Jul 18, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add one column for keyValue formula save function
parent
f3957724
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
136 additions
and
39 deletions
+136
-39
vat_run.bat
atms-api/etc/generator/vat_run.bat
+1
-1
PeriodCellTemplateConfig.java
...pwc/taxtech/atms/vat/entity/PeriodCellTemplateConfig.java
+36
-0
PeriodCellTemplateConfigExample.java
...tech/atms/vat/entity/PeriodCellTemplateConfigExample.java
+70
-0
PeriodTaxPayerReportRule.java
...pwc/taxtech/atms/vat/entity/PeriodTaxPayerReportRule.java
+4
-4
PeriodTaxPayerReportRuleExample.java
...tech/atms/vat/entity/PeriodTaxPayerReportRuleExample.java
+10
-20
CreateProjectDB.sql
...main/resources/RuntimeDbScripts/MYSQL/CreateProjectDB.sql
+8
-7
PeriodCellTemplateConfigMapper.xml
...c/taxtech/atms/vat/dao/PeriodCellTemplateConfigMapper.xml
+0
-0
PeriodTaxPayerReportRuleMapper.xml
...c/taxtech/atms/vat/dao/PeriodTaxPayerReportRuleMapper.xml
+7
-7
No files found.
atms-api/etc/generator/vat_run.bat
View file @
3e33988f
rem see http://www.mybatis.org/generator/running/runningFromCmdLine.html
rem see http://www.mybatis.org/generator/running/runningFromCmdLine.html
cd /d %~dp0
cd /d %~dp0
call java -classpath .;./* org.mybatis.generator.api.ShellRunner -configfile vatGeneratorConfig.xml -overwrite -verbose -tables
AssetsList
call java -classpath .;./* org.mybatis.generator.api.ShellRunner -configfile vatGeneratorConfig.xml -overwrite -verbose -tables
period_cell_template_config
echo @@@@@@@@@@@ DONE @@@@@@@@@@@
echo @@@@@@@@@@@ DONE @@@@@@@@@@@
pause
pause
atms-api/src/main/java/pwc/taxtech/atms/vat/entity/PeriodCellTemplateConfig.java
View file @
3e33988f
...
@@ -271,6 +271,17 @@ public class PeriodCellTemplateConfig implements Serializable {
...
@@ -271,6 +271,17 @@ public class PeriodCellTemplateConfig implements Serializable {
*/
*/
private
Long
cellTemplateConfigId
;
private
Long
cellTemplateConfigId
;
/**
* Database Column Remarks:
* 键值对公式解析
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column period_cell_template_config.key_value_parsed_formula
*
* @mbg.generated
*/
private
String
keyValueParsedFormula
;
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table period_cell_template_config
* This field corresponds to the database table period_cell_template_config
...
@@ -855,6 +866,30 @@ public class PeriodCellTemplateConfig implements Serializable {
...
@@ -855,6 +866,30 @@ public class PeriodCellTemplateConfig implements Serializable {
this
.
cellTemplateConfigId
=
cellTemplateConfigId
;
this
.
cellTemplateConfigId
=
cellTemplateConfigId
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column period_cell_template_config.key_value_parsed_formula
*
* @return the value of period_cell_template_config.key_value_parsed_formula
*
* @mbg.generated
*/
public
String
getKeyValueParsedFormula
()
{
return
keyValueParsedFormula
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column period_cell_template_config.key_value_parsed_formula
*
* @param keyValueParsedFormula the value for period_cell_template_config.key_value_parsed_formula
*
* @mbg.generated
*/
public
void
setKeyValueParsedFormula
(
String
keyValueParsedFormula
)
{
this
.
keyValueParsedFormula
=
keyValueParsedFormula
==
null
?
null
:
keyValueParsedFormula
.
trim
();
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table period_cell_template_config
* This method corresponds to the database table period_cell_template_config
...
@@ -891,6 +926,7 @@ public class PeriodCellTemplateConfig implements Serializable {
...
@@ -891,6 +926,7 @@ public class PeriodCellTemplateConfig implements Serializable {
sb
.
append
(
", validationDescription="
).
append
(
validationDescription
);
sb
.
append
(
", validationDescription="
).
append
(
validationDescription
);
sb
.
append
(
", voucherKeyword="
).
append
(
voucherKeyword
);
sb
.
append
(
", voucherKeyword="
).
append
(
voucherKeyword
);
sb
.
append
(
", cellTemplateConfigId="
).
append
(
cellTemplateConfigId
);
sb
.
append
(
", cellTemplateConfigId="
).
append
(
cellTemplateConfigId
);
sb
.
append
(
", keyValueParsedFormula="
).
append
(
keyValueParsedFormula
);
sb
.
append
(
"]"
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
return
sb
.
toString
();
}
}
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/entity/PeriodCellTemplateConfigExample.java
View file @
3e33988f
...
@@ -1774,6 +1774,76 @@ public class PeriodCellTemplateConfigExample {
...
@@ -1774,6 +1774,76 @@ public class PeriodCellTemplateConfigExample {
addCriterion
(
"cell_template_config_id not between"
,
value1
,
value2
,
"cellTemplateConfigId"
);
addCriterion
(
"cell_template_config_id not between"
,
value1
,
value2
,
"cellTemplateConfigId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andKeyValueParsedFormulaIsNull
()
{
addCriterion
(
"key_value_parsed_formula is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaIsNotNull
()
{
addCriterion
(
"key_value_parsed_formula is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaEqualTo
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula ="
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaNotEqualTo
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula <>"
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaGreaterThan
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula >"
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula >="
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaLessThan
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula <"
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula <="
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaLike
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula like"
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaNotLike
(
String
value
)
{
addCriterion
(
"key_value_parsed_formula not like"
,
value
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaIn
(
List
<
String
>
values
)
{
addCriterion
(
"key_value_parsed_formula in"
,
values
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"key_value_parsed_formula not in"
,
values
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"key_value_parsed_formula between"
,
value1
,
value2
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyValueParsedFormulaNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"key_value_parsed_formula not between"
,
value1
,
value2
,
"keyValueParsedFormula"
);
return
(
Criteria
)
this
;
}
}
}
/**
/**
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/entity/PeriodTaxPayerReportRule.java
View file @
3e33988f
...
@@ -54,7 +54,7 @@ public class PeriodTaxPayerReportRule implements Serializable {
...
@@ -54,7 +54,7 @@ public class PeriodTaxPayerReportRule implements Serializable {
*
*
* @mbg.generated
* @mbg.generated
*/
*/
private
Stri
ng
templateGroupId
;
private
Lo
ng
templateGroupId
;
/**
/**
*
*
...
@@ -222,7 +222,7 @@ public class PeriodTaxPayerReportRule implements Serializable {
...
@@ -222,7 +222,7 @@ public class PeriodTaxPayerReportRule implements Serializable {
*
*
* @mbg.generated
* @mbg.generated
*/
*/
public
Stri
ng
getTemplateGroupId
()
{
public
Lo
ng
getTemplateGroupId
()
{
return
templateGroupId
;
return
templateGroupId
;
}
}
...
@@ -234,8 +234,8 @@ public class PeriodTaxPayerReportRule implements Serializable {
...
@@ -234,8 +234,8 @@ public class PeriodTaxPayerReportRule implements Serializable {
*
*
* @mbg.generated
* @mbg.generated
*/
*/
public
void
setTemplateGroupId
(
Stri
ng
templateGroupId
)
{
public
void
setTemplateGroupId
(
Lo
ng
templateGroupId
)
{
this
.
templateGroupId
=
templateGroupId
==
null
?
null
:
templateGroupId
.
trim
()
;
this
.
templateGroupId
=
templateGroupId
;
}
}
/**
/**
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/entity/PeriodTaxPayerReportRuleExample.java
View file @
3e33988f
...
@@ -445,62 +445,52 @@ public class PeriodTaxPayerReportRuleExample {
...
@@ -445,62 +445,52 @@ public class PeriodTaxPayerReportRuleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdEqualTo
(
Stri
ng
value
)
{
public
Criteria
andTemplateGroupIdEqualTo
(
Lo
ng
value
)
{
addCriterion
(
"template_group_id ="
,
value
,
"templateGroupId"
);
addCriterion
(
"template_group_id ="
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdNotEqualTo
(
Stri
ng
value
)
{
public
Criteria
andTemplateGroupIdNotEqualTo
(
Lo
ng
value
)
{
addCriterion
(
"template_group_id <>"
,
value
,
"templateGroupId"
);
addCriterion
(
"template_group_id <>"
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdGreaterThan
(
Stri
ng
value
)
{
public
Criteria
andTemplateGroupIdGreaterThan
(
Lo
ng
value
)
{
addCriterion
(
"template_group_id >"
,
value
,
"templateGroupId"
);
addCriterion
(
"template_group_id >"
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdGreaterThanOrEqualTo
(
Stri
ng
value
)
{
public
Criteria
andTemplateGroupIdGreaterThanOrEqualTo
(
Lo
ng
value
)
{
addCriterion
(
"template_group_id >="
,
value
,
"templateGroupId"
);
addCriterion
(
"template_group_id >="
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdLessThan
(
Stri
ng
value
)
{
public
Criteria
andTemplateGroupIdLessThan
(
Lo
ng
value
)
{
addCriterion
(
"template_group_id <"
,
value
,
"templateGroupId"
);
addCriterion
(
"template_group_id <"
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdLessThanOrEqualTo
(
Stri
ng
value
)
{
public
Criteria
andTemplateGroupIdLessThanOrEqualTo
(
Lo
ng
value
)
{
addCriterion
(
"template_group_id <="
,
value
,
"templateGroupId"
);
addCriterion
(
"template_group_id <="
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdLike
(
String
value
)
{
public
Criteria
andTemplateGroupIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"template_group_id like"
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateGroupIdNotLike
(
String
value
)
{
addCriterion
(
"template_group_id not like"
,
value
,
"templateGroupId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateGroupIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"template_group_id in"
,
values
,
"templateGroupId"
);
addCriterion
(
"template_group_id in"
,
values
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdNotIn
(
List
<
Stri
ng
>
values
)
{
public
Criteria
andTemplateGroupIdNotIn
(
List
<
Lo
ng
>
values
)
{
addCriterion
(
"template_group_id not in"
,
values
,
"templateGroupId"
);
addCriterion
(
"template_group_id not in"
,
values
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdBetween
(
String
value1
,
Stri
ng
value2
)
{
public
Criteria
andTemplateGroupIdBetween
(
Long
value1
,
Lo
ng
value2
)
{
addCriterion
(
"template_group_id between"
,
value1
,
value2
,
"templateGroupId"
);
addCriterion
(
"template_group_id between"
,
value1
,
value2
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andTemplateGroupIdNotBetween
(
String
value1
,
Stri
ng
value2
)
{
public
Criteria
andTemplateGroupIdNotBetween
(
Long
value1
,
Lo
ng
value2
)
{
addCriterion
(
"template_group_id not between"
,
value1
,
value2
,
"templateGroupId"
);
addCriterion
(
"template_group_id not between"
,
value1
,
value2
,
"templateGroupId"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
...
...
atms-api/src/main/resources/RuntimeDbScripts/MYSQL/CreateProjectDB.sql
View file @
3e33988f
...
@@ -902,8 +902,8 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`cell_comment` (
...
@@ -902,8 +902,8 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`cell_comment` (
CREATE
TABLE
IF
NOT
EXISTS
`DBKeyword_ProjectDbName`
.
`cell_data`
(
CREATE
TABLE
IF
NOT
EXISTS
`DBKeyword_ProjectDbName`
.
`cell_data`
(
`id`
bigint
(
18
)
unsigned
NOT
NULL
,
`id`
bigint
(
18
)
unsigned
NOT
NULL
,
`report_id`
varchar
(
128
)
NOT
NULL
DEFAULT
'
'
,
`report_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0
'
,
`cell_template_id`
varchar
(
128
)
NOT
NULL
DEFAULT
'
'
,
`cell_template_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0
'
,
`data`
varchar
(
200
)
NOT
NULL
DEFAULT
''
,
`data`
varchar
(
200
)
NOT
NULL
DEFAULT
''
,
`formula_exp`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
,
`formula_exp`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
,
`create_by`
varchar
(
128
)
NOT
NULL
DEFAULT
''
,
`create_by`
varchar
(
128
)
NOT
NULL
DEFAULT
''
,
...
@@ -966,7 +966,7 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`data_source_detail` (
...
@@ -966,7 +966,7 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`data_source_detail` (
CREATE
TABLE
IF
NOT
EXISTS
`DBKeyword_ProjectDbName`
.
`period_cell_template`
(
CREATE
TABLE
IF
NOT
EXISTS
`DBKeyword_ProjectDbName`
.
`period_cell_template`
(
`id`
bigint
(
18
)
unsigned
NOT
NULL
,
`id`
bigint
(
18
)
unsigned
NOT
NULL
,
`period`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'月份'
,
`period`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'月份'
,
`report_template_id`
varchar
(
128
)
NOT
NULL
DEFAULT
'
'
COMMENT
'报表模板ID'
,
`report_template_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0
'
COMMENT
'报表模板ID'
,
`row_index`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'行号'
,
`row_index`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'行号'
,
`row_name`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'行名称'
,
`row_name`
varchar
(
200
)
NOT
NULL
DEFAULT
''
COMMENT
'行名称'
,
`column_index`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'列号'
,
`column_index`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'列号'
,
...
@@ -989,12 +989,12 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`period_cell_template` (
...
@@ -989,12 +989,12 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`period_cell_template` (
CREATE
TABLE
IF
NOT
EXISTS
`DBKeyword_ProjectDbName`
.
`period_cell_template_config`
(
CREATE
TABLE
IF
NOT
EXISTS
`DBKeyword_ProjectDbName`
.
`period_cell_template_config`
(
`id`
bigint
(
18
)
unsigned
NOT
NULL
,
`id`
bigint
(
18
)
unsigned
NOT
NULL
,
`period`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'月份'
,
`period`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'月份'
,
`cell_template_id`
varchar
(
128
)
NOT
NULL
DEFAULT
'
'
COMMENT
'单元格模板ID'
,
`cell_template_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0
'
COMMENT
'单元格模板ID'
,
`report_template_id`
varchar
(
128
)
NOT
NULL
DEFAULT
'
'
COMMENT
'报表模板ID'
,
`report_template_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0
'
COMMENT
'报表模板ID'
,
`data_source_type`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'数据源类型'
,
`data_source_type`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'数据源类型'
,
`formula`
varchar
(
500
)
NOT
NULL
DEFAULT
''
COMMENT
'公式'
,
`formula`
varchar
(
500
)
NOT
NULL
DEFAULT
''
COMMENT
'公式'
,
`parsed_formula`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'解析后公式'
,
`parsed_formula`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'解析后公式'
,
`formula_description`
var
binary
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'公式描述'
,
`formula_description`
var
char
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'公式描述'
,
`account_codes`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'账套代码'
,
`account_codes`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'账套代码'
,
`invoice_type`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'发票类型'
,
`invoice_type`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
COMMENT
'发票类型'
,
`tax_rate`
varchar
(
50
)
NOT
NULL
DEFAULT
''
COMMENT
'税率'
,
`tax_rate`
varchar
(
50
)
NOT
NULL
DEFAULT
''
COMMENT
'税率'
,
...
@@ -1011,6 +1011,7 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`period_cell_template_confi
...
@@ -1011,6 +1011,7 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`period_cell_template_confi
`validation_description`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'验证信息描述'
,
`validation_description`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'验证信息描述'
,
`voucher_keyword`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'票证关键字'
,
`voucher_keyword`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'票证关键字'
,
`cell_template_config_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`cell_template_config_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`key_value_parsed_formula`
varchar
(
1000
)
NOT
NULL
DEFAULT
''
COMMENT
'键值对公式解析'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
...
@@ -1040,7 +1041,7 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`period_tax_payer_report_ru
...
@@ -1040,7 +1041,7 @@ CREATE TABLE IF NOT EXISTS `DBKeyword_ProjectDbName`.`period_tax_payer_report_ru
`is_default`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`is_default`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`period`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`period`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`tax_payer_type`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`tax_payer_type`
int
(
11
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`template_group_id`
varchar
(
128
)
NOT
NULL
DEFAULT
'
'
,
`template_group_id`
bigint
(
18
)
unsigned
NOT
NULL
DEFAULT
'0
'
,
`organization_id`
varchar
(
128
)
NOT
NULL
DEFAULT
''
,
`organization_id`
varchar
(
128
)
NOT
NULL
DEFAULT
''
,
`create_time`
datetime
NOT
NULL
DEFAULT
'1970-01-01 08:00:00'
,
`create_time`
datetime
NOT
NULL
DEFAULT
'1970-01-01 08:00:00'
,
`update_time`
datetime
NOT
NULL
DEFAULT
'1970-01-01 08:00:00'
,
`update_time`
datetime
NOT
NULL
DEFAULT
'1970-01-01 08:00:00'
,
...
...
atms-api/src/main/resources/pwc/taxtech/atms/vat/dao/PeriodCellTemplateConfigMapper.xml
View file @
3e33988f
This diff is collapsed.
Click to expand it.
atms-api/src/main/resources/pwc/taxtech/atms/vat/dao/PeriodTaxPayerReportRuleMapper.xml
View file @
3e33988f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<result
column=
"is_default"
jdbcType=
"INTEGER"
property=
"isDefault"
/>
<result
column=
"is_default"
jdbcType=
"INTEGER"
property=
"isDefault"
/>
<result
column=
"period"
jdbcType=
"INTEGER"
property=
"period"
/>
<result
column=
"period"
jdbcType=
"INTEGER"
property=
"period"
/>
<result
column=
"tax_payer_type"
jdbcType=
"INTEGER"
property=
"taxPayerType"
/>
<result
column=
"tax_payer_type"
jdbcType=
"INTEGER"
property=
"taxPayerType"
/>
<result
column=
"template_group_id"
jdbcType=
"
VARCHAR
"
property=
"templateGroupId"
/>
<result
column=
"template_group_id"
jdbcType=
"
BIGINT
"
property=
"templateGroupId"
/>
<result
column=
"organization_id"
jdbcType=
"VARCHAR"
property=
"organizationId"
/>
<result
column=
"organization_id"
jdbcType=
"VARCHAR"
property=
"organizationId"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
...
@@ -148,7 +148,7 @@
...
@@ -148,7 +148,7 @@
create_time, update_time, tax_payer_report_rule_id,
create_time, update_time, tax_payer_report_rule_id,
create_by, update_by)
create_by, update_by)
values (#{id,jdbcType=BIGINT}, #{isDefault,jdbcType=INTEGER}, #{period,jdbcType=INTEGER},
values (#{id,jdbcType=BIGINT}, #{isDefault,jdbcType=INTEGER}, #{period,jdbcType=INTEGER},
#{taxPayerType,jdbcType=INTEGER}, #{templateGroupId,jdbcType=
VARCHAR
}, #{organizationId,jdbcType=VARCHAR},
#{taxPayerType,jdbcType=INTEGER}, #{templateGroupId,jdbcType=
BIGINT
}, #{organizationId,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{taxPayerReportRuleId,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{taxPayerReportRuleId,jdbcType=BIGINT},
#{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR})
#{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR})
</insert>
</insert>
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
#{taxPayerType,jdbcType=INTEGER},
#{taxPayerType,jdbcType=INTEGER},
</if>
</if>
<if
test=
"templateGroupId != null"
>
<if
test=
"templateGroupId != null"
>
#{templateGroupId,jdbcType=
VARCHAR
},
#{templateGroupId,jdbcType=
BIGINT
},
</if>
</if>
<if
test=
"organizationId != null"
>
<if
test=
"organizationId != null"
>
#{organizationId,jdbcType=VARCHAR},
#{organizationId,jdbcType=VARCHAR},
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
tax_payer_type = #{record.taxPayerType,jdbcType=INTEGER},
tax_payer_type = #{record.taxPayerType,jdbcType=INTEGER},
</if>
</if>
<if
test=
"record.templateGroupId != null"
>
<if
test=
"record.templateGroupId != null"
>
template_group_id = #{record.templateGroupId,jdbcType=
VARCHAR
},
template_group_id = #{record.templateGroupId,jdbcType=
BIGINT
},
</if>
</if>
<if
test=
"record.organizationId != null"
>
<if
test=
"record.organizationId != null"
>
organization_id = #{record.organizationId,jdbcType=VARCHAR},
organization_id = #{record.organizationId,jdbcType=VARCHAR},
...
@@ -294,7 +294,7 @@
...
@@ -294,7 +294,7 @@
is_default = #{record.isDefault,jdbcType=INTEGER},
is_default = #{record.isDefault,jdbcType=INTEGER},
period = #{record.period,jdbcType=INTEGER},
period = #{record.period,jdbcType=INTEGER},
tax_payer_type = #{record.taxPayerType,jdbcType=INTEGER},
tax_payer_type = #{record.taxPayerType,jdbcType=INTEGER},
template_group_id = #{record.templateGroupId,jdbcType=
VARCHAR
},
template_group_id = #{record.templateGroupId,jdbcType=
BIGINT
},
organization_id = #{record.organizationId,jdbcType=VARCHAR},
organization_id = #{record.organizationId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
...
@@ -322,7 +322,7 @@
...
@@ -322,7 +322,7 @@
tax_payer_type = #{taxPayerType,jdbcType=INTEGER},
tax_payer_type = #{taxPayerType,jdbcType=INTEGER},
</if>
</if>
<if
test=
"templateGroupId != null"
>
<if
test=
"templateGroupId != null"
>
template_group_id = #{templateGroupId,jdbcType=
VARCHAR
},
template_group_id = #{templateGroupId,jdbcType=
BIGINT
},
</if>
</if>
<if
test=
"organizationId != null"
>
<if
test=
"organizationId != null"
>
organization_id = #{organizationId,jdbcType=VARCHAR},
organization_id = #{organizationId,jdbcType=VARCHAR},
...
@@ -354,7 +354,7 @@
...
@@ -354,7 +354,7 @@
set is_default = #{isDefault,jdbcType=INTEGER},
set is_default = #{isDefault,jdbcType=INTEGER},
period = #{period,jdbcType=INTEGER},
period = #{period,jdbcType=INTEGER},
tax_payer_type = #{taxPayerType,jdbcType=INTEGER},
tax_payer_type = #{taxPayerType,jdbcType=INTEGER},
template_group_id = #{templateGroupId,jdbcType=
VARCHAR
},
template_group_id = #{templateGroupId,jdbcType=
BIGINT
},
organization_id = #{organizationId,jdbcType=VARCHAR},
organization_id = #{organizationId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment