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
5a08ef3b
Commit
5a08ef3b
authored
May 23, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add report config api CellConfig
parent
362b79f8
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
5655 additions
and
48 deletions
+5655
-48
generatorConfig.xml
atms-api/etc/generator/generatorConfig.xml
+20
-0
run.bat
atms-api/etc/generator/run.bat
+1
-1
Constant.java
...api/src/main/java/pwc/taxtech/atms/constant/Constant.java
+5
-0
CellDataSourceType.java
...a/pwc/taxtech/atms/constant/enums/CellDataSourceType.java
+58
-0
CellTemplateController.java
...a/pwc/taxtech/atms/controller/CellTemplateController.java
+37
-0
TemplateController.java
.../java/pwc/taxtech/atms/controller/TemplateController.java
+23
-0
CellTemplateConfigMapper.java
...n/java/pwc/taxtech/atms/dao/CellTemplateConfigMapper.java
+111
-0
CellTemplateMapper.java
...rc/main/java/pwc/taxtech/atms/dao/CellTemplateMapper.java
+111
-0
CellTemplateConfigDto.java
...main/java/pwc/taxtech/atms/dto/CellTemplateConfigDto.java
+277
-0
CellTemplate.java
.../src/main/java/pwc/taxtech/atms/entitiy/CellTemplate.java
+446
-0
CellTemplateConfig.java
...ain/java/pwc/taxtech/atms/entitiy/CellTemplateConfig.java
+718
-0
CellTemplateConfigExample.java
...a/pwc/taxtech/atms/entitiy/CellTemplateConfigExample.java
+1654
-0
CellTemplateExample.java
...in/java/pwc/taxtech/atms/entitiy/CellTemplateExample.java
+1084
-0
CellTemplateService.java
...in/java/pwc/taxtech/atms/service/CellTemplateService.java
+9
-0
AbstractService.java
...n/java/pwc/taxtech/atms/service/impl/AbstractService.java
+5
-47
CellConfigTranslater.java
...a/pwc/taxtech/atms/service/impl/CellConfigTranslater.java
+115
-0
CellTemplateServiceImpl.java
...wc/taxtech/atms/service/impl/CellTemplateServiceImpl.java
+47
-0
CellTemplateConfigMapper.xml
...sources/pwc/taxtech/atms/dao/CellTemplateConfigMapper.xml
+532
-0
CellTemplateMapper.xml
...ain/resources/pwc/taxtech/atms/dao/CellTemplateMapper.xml
+402
-0
No files found.
atms-api/etc/generator/generatorConfig.xml
View file @
5a08ef3b
...
@@ -331,5 +331,24 @@
...
@@ -331,5 +331,24 @@
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
</table>
<table
tableName=
"CellTemplate"
domainObjectName=
"CellTemplate"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"RowName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ColumnName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"CellTemplateConfig"
domainObjectName=
"CellTemplateConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FormulaDescription"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"AccountCodes"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ModelIDs"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"FormulaDataSource"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Validation"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ValidationDescription"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"VoucherKeyword"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</context>
</context>
</generatorConfiguration>
</generatorConfiguration>
\ No newline at end of file
atms-api/etc/generator/run.bat
View file @
5a08ef3b
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 generatorConfig.xml -overwrite -verbose -tables C
ache
call java -classpath .;./* org.mybatis.generator.api.ShellRunner -configfile generatorConfig.xml -overwrite -verbose -tables C
ellTemplateConfig
echo @@@@@@@@@@@ DONE @@@@@@@@@@@
echo @@@@@@@@@@@ DONE @@@@@@@@@@@
pause
pause
atms-api/src/main/java/pwc/taxtech/atms/constant/Constant.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
constant
;
public
final
class
Constant
{
public
static
final
String
Comma
=
","
;
}
atms-api/src/main/java/pwc/taxtech/atms/constant/enums/CellDataSourceType.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
constant
.
enums
;
public
enum
CellDataSourceType
{
/// <summary>
/// 公式(包含KeyValue)
/// </summary>
Formula
(
1
),
/// <summary>
/// 凭证
/// </summary>
Voucher
(
2
),
/// <summary>
/// 销项发票
/// </summary>
OutputInvoice
(
3
),
/// <summary>
/// 进项发票
/// </summary>
InputInvoice
(
4
),
/// <summary>
/// 海关发票
/// </summary>
CustomInvoice
(
5
),
/// <summary>
/// 手工录入
/// </summary>
KeyIn
(
6
),
/// <summary>
/// 关联模型
/// </summary>
RelatedModel
(
7
),
/// <summary>
/// SAP日报
/// </summary>
SapDaily
(
8
),
/// <summary>
/// 校验
/// </summary>
Validation
(
9
);
private
Integer
code
;
CellDataSourceType
(
Integer
code
)
{
this
.
code
=
code
;
}
public
Integer
getCode
()
{
return
code
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/controller/CellTemplateController.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
controller
;
import
org.apache.commons.lang3.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.*
;
import
pwc.taxtech.atms.dto.CellTemplateConfigDto
;
import
pwc.taxtech.atms.service.CellTemplateService
;
import
java.util.Collections
;
import
java.util.List
;
@RestController
@RequestMapping
(
value
=
"api/v1/celltemplate"
)
public
class
CellTemplateController
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
AccountController
.
class
);
@Autowired
CellTemplateService
cellTemplateService
;
@RequestMapping
(
value
=
"configList/{templateID}"
,
method
=
RequestMethod
.
GET
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
@ResponseBody
List
<
CellTemplateConfigDto
>
GetConfigList
(
@PathVariable
String
templateID
)
{
if
(
StringUtils
.
isEmpty
(
templateID
)){
return
Collections
.
emptyList
();
}
try
{
return
cellTemplateService
.
GetCellConfigList
(
templateID
);
}
catch
(
Exception
e
)
{
logger
.
error
(
"GetCellConfigList"
,
e
);
}
return
Collections
.
emptyList
();
}
}
atms-api/src/main/java/pwc/taxtech/atms/controller/TemplateController.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
(
value
=
"api/v1/template"
)
public
class
TemplateController
{
//todo:
//[Route("getTemplateJson")]
// [HttpGet]
// public IHttpActionResult GetTemplateJson(string templateID)
// {
// return this.Ok(templateService.GetTemplateJson(templateID));
// }
// [Route("get")]
// [HttpGet]
// public IHttpActionResult get(string templateGroupID, int? reportType)
// {
// return this.Ok(this.templateService.Get(templateGroupID, reportType));
// }
}
atms-api/src/main/java/pwc/taxtech/atms/dao/CellTemplateConfigMapper.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
dao
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
import
pwc.taxtech.atms.MyMapper
;
import
pwc.taxtech.atms.entitiy.CellTemplateConfig
;
import
pwc.taxtech.atms.entitiy.CellTemplateConfigExample
;
@Mapper
public
interface
CellTemplateConfigMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
long
countByExample
(
CellTemplateConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
deleteByExample
(
CellTemplateConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
insert
(
CellTemplateConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
insertSelective
(
CellTemplateConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
List
<
CellTemplateConfig
>
selectByExampleWithRowbounds
(
CellTemplateConfigExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
List
<
CellTemplateConfig
>
selectByExample
(
CellTemplateConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
CellTemplateConfig
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
CellTemplateConfig
record
,
@Param
(
"example"
)
CellTemplateConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
CellTemplateConfig
record
,
@Param
(
"example"
)
CellTemplateConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
CellTemplateConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
CellTemplateConfig
record
);
List
<
CellTemplateConfig
>
getCellTemplateConfigByTemplateID
(
@Param
(
"templateID"
)
String
templateID
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/dao/CellTemplateMapper.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
dao
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
import
pwc.taxtech.atms.MyMapper
;
import
pwc.taxtech.atms.entitiy.CellTemplate
;
import
pwc.taxtech.atms.entitiy.CellTemplateExample
;
@Mapper
public
interface
CellTemplateMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
long
countByExample
(
CellTemplateExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
deleteByExample
(
CellTemplateExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
insert
(
CellTemplate
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
insertSelective
(
CellTemplate
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
List
<
CellTemplate
>
selectByExampleWithRowbounds
(
CellTemplateExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
List
<
CellTemplate
>
selectByExample
(
CellTemplateExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
CellTemplate
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
CellTemplate
record
,
@Param
(
"example"
)
CellTemplateExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
CellTemplate
record
,
@Param
(
"example"
)
CellTemplateExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
CellTemplate
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
CellTemplate
record
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/dto/CellTemplateConfigDto.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
dto
;
import
java.util.List
;
public
class
CellTemplateConfigDto
{
private
String
CellTemplateID
;
private
String
TemplateID
;
private
int
RowIndex
;
private
String
RowName
;
private
int
ColumnIndex
;
private
String
ColumnName
;
private
Integer
DataType
;
private
Integer
IsReadOnly
;
private
boolean
HasFormula
;
private
String
Formula
;
private
String
ParsedFormula
;
private
String
FormulaDescription
;
private
boolean
HasVoucher
;
private
List
<
String
>
AccountCodes
;
private
boolean
HasInvoice
;
private
Integer
InvoiceType
;
private
List
<
String
>
TaxRate
;
private
boolean
HasKeyIn
;
private
String
Creator
;
private
String
Updater
;
private
Integer
InvoiceAmountType
;
private
boolean
HasModel
;
private
List
<
String
>
ModelIDs
;
private
List
<
Integer
>
InvoiceCategory
;
private
String
FormulaDataSource
;
private
boolean
HasValidation
;
private
String
Validation
;
private
String
ParsedValidation
;
private
String
ValidationDescription
;
private
String
VoucherKeyword
;
public
String
getCellTemplateID
()
{
return
CellTemplateID
;
}
public
void
setCellTemplateID
(
String
cellTemplateID
)
{
CellTemplateID
=
cellTemplateID
;
}
public
String
getTemplateID
()
{
return
TemplateID
;
}
public
void
setTemplateID
(
String
templateID
)
{
TemplateID
=
templateID
;
}
public
int
getRowIndex
()
{
return
RowIndex
;
}
public
void
setRowIndex
(
int
rowIndex
)
{
RowIndex
=
rowIndex
;
}
public
String
getRowName
()
{
return
RowName
;
}
public
void
setRowName
(
String
rowName
)
{
RowName
=
rowName
;
}
public
int
getColumnIndex
()
{
return
ColumnIndex
;
}
public
void
setColumnIndex
(
int
columnIndex
)
{
ColumnIndex
=
columnIndex
;
}
public
String
getColumnName
()
{
return
ColumnName
;
}
public
void
setColumnName
(
String
columnName
)
{
ColumnName
=
columnName
;
}
public
Integer
getDataType
()
{
return
DataType
;
}
public
void
setDataType
(
Integer
dataType
)
{
DataType
=
dataType
;
}
public
Integer
getIsReadOnly
()
{
return
IsReadOnly
;
}
public
void
setIsReadOnly
(
Integer
isReadOnly
)
{
IsReadOnly
=
isReadOnly
;
}
public
boolean
isHasFormula
()
{
return
HasFormula
;
}
public
void
setHasFormula
(
boolean
hasFormula
)
{
HasFormula
=
hasFormula
;
}
public
String
getFormula
()
{
return
Formula
;
}
public
void
setFormula
(
String
formula
)
{
Formula
=
formula
;
}
public
String
getParsedFormula
()
{
return
ParsedFormula
;
}
public
void
setParsedFormula
(
String
parsedFormula
)
{
ParsedFormula
=
parsedFormula
;
}
public
String
getFormulaDescription
()
{
return
FormulaDescription
;
}
public
void
setFormulaDescription
(
String
formulaDescription
)
{
FormulaDescription
=
formulaDescription
;
}
public
boolean
isHasVoucher
()
{
return
HasVoucher
;
}
public
void
setHasVoucher
(
boolean
hasVoucher
)
{
HasVoucher
=
hasVoucher
;
}
public
List
<
String
>
getAccountCodes
()
{
return
AccountCodes
;
}
public
void
setAccountCodes
(
List
<
String
>
accountCodes
)
{
AccountCodes
=
accountCodes
;
}
public
boolean
isHasInvoice
()
{
return
HasInvoice
;
}
public
void
setHasInvoice
(
boolean
hasInvoice
)
{
HasInvoice
=
hasInvoice
;
}
public
Integer
getInvoiceType
()
{
return
InvoiceType
;
}
public
void
setInvoiceType
(
Integer
invoiceType
)
{
InvoiceType
=
invoiceType
;
}
public
List
<
String
>
getTaxRate
()
{
return
TaxRate
;
}
public
void
setTaxRate
(
List
<
String
>
taxRate
)
{
TaxRate
=
taxRate
;
}
public
boolean
isHasKeyIn
()
{
return
HasKeyIn
;
}
public
void
setHasKeyIn
(
boolean
hasKeyIn
)
{
HasKeyIn
=
hasKeyIn
;
}
public
String
getCreator
()
{
return
Creator
;
}
public
void
setCreator
(
String
creator
)
{
Creator
=
creator
;
}
public
String
getUpdater
()
{
return
Updater
;
}
public
void
setUpdater
(
String
updater
)
{
Updater
=
updater
;
}
public
Integer
getInvoiceAmountType
()
{
return
InvoiceAmountType
;
}
public
void
setInvoiceAmountType
(
Integer
invoiceAmountType
)
{
InvoiceAmountType
=
invoiceAmountType
;
}
public
boolean
isHasModel
()
{
return
HasModel
;
}
public
void
setHasModel
(
boolean
hasModel
)
{
HasModel
=
hasModel
;
}
public
List
<
String
>
getModelIDs
()
{
return
ModelIDs
;
}
public
void
setModelIDs
(
List
<
String
>
modelIDs
)
{
ModelIDs
=
modelIDs
;
}
public
List
<
Integer
>
getInvoiceCategory
()
{
return
InvoiceCategory
;
}
public
void
setInvoiceCategory
(
List
<
Integer
>
invoiceCategory
)
{
InvoiceCategory
=
invoiceCategory
;
}
public
String
getFormulaDataSource
()
{
return
FormulaDataSource
;
}
public
void
setFormulaDataSource
(
String
formulaDataSource
)
{
FormulaDataSource
=
formulaDataSource
;
}
public
boolean
isHasValidation
()
{
return
HasValidation
;
}
public
void
setHasValidation
(
boolean
hasValidation
)
{
HasValidation
=
hasValidation
;
}
public
String
getValidation
()
{
return
Validation
;
}
public
void
setValidation
(
String
validation
)
{
Validation
=
validation
;
}
public
String
getParsedValidation
()
{
return
ParsedValidation
;
}
public
void
setParsedValidation
(
String
parsedValidation
)
{
ParsedValidation
=
parsedValidation
;
}
public
String
getValidationDescription
()
{
return
ValidationDescription
;
}
public
void
setValidationDescription
(
String
validationDescription
)
{
ValidationDescription
=
validationDescription
;
}
public
String
getVoucherKeyword
()
{
return
VoucherKeyword
;
}
public
void
setVoucherKeyword
(
String
voucherKeyword
)
{
VoucherKeyword
=
voucherKeyword
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/entitiy/CellTemplate.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplate
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
CellTemplate
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.ReportTemplateID
*
* @mbg.generated
*/
private
String
reportTemplateID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.RowIndex
*
* @mbg.generated
*/
private
Integer
rowIndex
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.RowName
*
* @mbg.generated
*/
private
String
rowName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.ColumnIndex
*
* @mbg.generated
*/
private
Integer
columnIndex
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.ColumnName
*
* @mbg.generated
*/
private
String
columnName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.Comment
*
* @mbg.generated
*/
private
String
comment
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.CreateTime
*
* @mbg.generated
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.UpdateTime
*
* @mbg.generated
*/
private
Date
updateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.CopyFromID
*
* @mbg.generated
*/
private
String
copyFromID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.DataType
*
* @mbg.generated
*/
private
Integer
dataType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplate.IsReadOnly
*
* @mbg.generated
*/
private
Integer
isReadOnly
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplate
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.ID
*
* @return the value of CellTemplate.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.ID
*
* @param ID the value for CellTemplate.ID
*
* @mbg.generated
*/
public
void
setID
(
String
ID
)
{
this
.
ID
=
ID
==
null
?
null
:
ID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.ReportTemplateID
*
* @return the value of CellTemplate.ReportTemplateID
*
* @mbg.generated
*/
public
String
getReportTemplateID
()
{
return
reportTemplateID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.ReportTemplateID
*
* @param reportTemplateID the value for CellTemplate.ReportTemplateID
*
* @mbg.generated
*/
public
void
setReportTemplateID
(
String
reportTemplateID
)
{
this
.
reportTemplateID
=
reportTemplateID
==
null
?
null
:
reportTemplateID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.RowIndex
*
* @return the value of CellTemplate.RowIndex
*
* @mbg.generated
*/
public
Integer
getRowIndex
()
{
return
rowIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.RowIndex
*
* @param rowIndex the value for CellTemplate.RowIndex
*
* @mbg.generated
*/
public
void
setRowIndex
(
Integer
rowIndex
)
{
this
.
rowIndex
=
rowIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.RowName
*
* @return the value of CellTemplate.RowName
*
* @mbg.generated
*/
public
String
getRowName
()
{
return
rowName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.RowName
*
* @param rowName the value for CellTemplate.RowName
*
* @mbg.generated
*/
public
void
setRowName
(
String
rowName
)
{
this
.
rowName
=
rowName
==
null
?
null
:
rowName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.ColumnIndex
*
* @return the value of CellTemplate.ColumnIndex
*
* @mbg.generated
*/
public
Integer
getColumnIndex
()
{
return
columnIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.ColumnIndex
*
* @param columnIndex the value for CellTemplate.ColumnIndex
*
* @mbg.generated
*/
public
void
setColumnIndex
(
Integer
columnIndex
)
{
this
.
columnIndex
=
columnIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.ColumnName
*
* @return the value of CellTemplate.ColumnName
*
* @mbg.generated
*/
public
String
getColumnName
()
{
return
columnName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.ColumnName
*
* @param columnName the value for CellTemplate.ColumnName
*
* @mbg.generated
*/
public
void
setColumnName
(
String
columnName
)
{
this
.
columnName
=
columnName
==
null
?
null
:
columnName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.Comment
*
* @return the value of CellTemplate.Comment
*
* @mbg.generated
*/
public
String
getComment
()
{
return
comment
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.Comment
*
* @param comment the value for CellTemplate.Comment
*
* @mbg.generated
*/
public
void
setComment
(
String
comment
)
{
this
.
comment
=
comment
==
null
?
null
:
comment
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.CreateTime
*
* @return the value of CellTemplate.CreateTime
*
* @mbg.generated
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.CreateTime
*
* @param createTime the value for CellTemplate.CreateTime
*
* @mbg.generated
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.UpdateTime
*
* @return the value of CellTemplate.UpdateTime
*
* @mbg.generated
*/
public
Date
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.UpdateTime
*
* @param updateTime the value for CellTemplate.UpdateTime
*
* @mbg.generated
*/
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.CopyFromID
*
* @return the value of CellTemplate.CopyFromID
*
* @mbg.generated
*/
public
String
getCopyFromID
()
{
return
copyFromID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.CopyFromID
*
* @param copyFromID the value for CellTemplate.CopyFromID
*
* @mbg.generated
*/
public
void
setCopyFromID
(
String
copyFromID
)
{
this
.
copyFromID
=
copyFromID
==
null
?
null
:
copyFromID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.DataType
*
* @return the value of CellTemplate.DataType
*
* @mbg.generated
*/
public
Integer
getDataType
()
{
return
dataType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.DataType
*
* @param dataType the value for CellTemplate.DataType
*
* @mbg.generated
*/
public
void
setDataType
(
Integer
dataType
)
{
this
.
dataType
=
dataType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplate.IsReadOnly
*
* @return the value of CellTemplate.IsReadOnly
*
* @mbg.generated
*/
public
Integer
getIsReadOnly
()
{
return
isReadOnly
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplate.IsReadOnly
*
* @param isReadOnly the value for CellTemplate.IsReadOnly
*
* @mbg.generated
*/
public
void
setIsReadOnly
(
Integer
isReadOnly
)
{
this
.
isReadOnly
=
isReadOnly
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", ID="
).
append
(
ID
);
sb
.
append
(
", reportTemplateID="
).
append
(
reportTemplateID
);
sb
.
append
(
", rowIndex="
).
append
(
rowIndex
);
sb
.
append
(
", rowName="
).
append
(
rowName
);
sb
.
append
(
", columnIndex="
).
append
(
columnIndex
);
sb
.
append
(
", columnName="
).
append
(
columnName
);
sb
.
append
(
", comment="
).
append
(
comment
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", copyFromID="
).
append
(
copyFromID
);
sb
.
append
(
", dataType="
).
append
(
dataType
);
sb
.
append
(
", isReadOnly="
).
append
(
isReadOnly
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/CellTemplateConfig.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplateConfig
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
CellTemplateConfig
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.CellTemplateID
*
* @mbg.generated
*/
private
String
cellTemplateID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.ReportTemplateID
*
* @mbg.generated
*/
private
String
reportTemplateID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.DataSourceType
*
* @mbg.generated
*/
private
Integer
dataSourceType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.Formula
*
* @mbg.generated
*/
private
String
formula
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.FormulaDescription
*
* @mbg.generated
*/
private
String
formulaDescription
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.AccountCodes
*
* @mbg.generated
*/
private
String
accountCodes
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.InvoiceType
*
* @mbg.generated
*/
private
Integer
invoiceType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.TaxRate
*
* @mbg.generated
*/
private
String
taxRate
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.InvoiceAmountType
*
* @mbg.generated
*/
private
Integer
invoiceAmountType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.ModelIDs
*
* @mbg.generated
*/
private
String
modelIDs
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.Creator
*
* @mbg.generated
*/
private
String
creator
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.CreateTime
*
* @mbg.generated
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.Updater
*
* @mbg.generated
*/
private
String
updater
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.UpdateTime
*
* @mbg.generated
*/
private
Date
updateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.InvoiceCategory
*
* @mbg.generated
*/
private
String
invoiceCategory
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.FormulaDataSource
*
* @mbg.generated
*/
private
String
formulaDataSource
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.Validation
*
* @mbg.generated
*/
private
String
validation
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.ValidationDescription
*
* @mbg.generated
*/
private
String
validationDescription
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column CellTemplateConfig.VoucherKeyword
*
* @mbg.generated
*/
private
String
voucherKeyword
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.ID
*
* @return the value of CellTemplateConfig.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.ID
*
* @param ID the value for CellTemplateConfig.ID
*
* @mbg.generated
*/
public
void
setID
(
String
ID
)
{
this
.
ID
=
ID
==
null
?
null
:
ID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.CellTemplateID
*
* @return the value of CellTemplateConfig.CellTemplateID
*
* @mbg.generated
*/
public
String
getCellTemplateID
()
{
return
cellTemplateID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.CellTemplateID
*
* @param cellTemplateID the value for CellTemplateConfig.CellTemplateID
*
* @mbg.generated
*/
public
void
setCellTemplateID
(
String
cellTemplateID
)
{
this
.
cellTemplateID
=
cellTemplateID
==
null
?
null
:
cellTemplateID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.ReportTemplateID
*
* @return the value of CellTemplateConfig.ReportTemplateID
*
* @mbg.generated
*/
public
String
getReportTemplateID
()
{
return
reportTemplateID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.ReportTemplateID
*
* @param reportTemplateID the value for CellTemplateConfig.ReportTemplateID
*
* @mbg.generated
*/
public
void
setReportTemplateID
(
String
reportTemplateID
)
{
this
.
reportTemplateID
=
reportTemplateID
==
null
?
null
:
reportTemplateID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.DataSourceType
*
* @return the value of CellTemplateConfig.DataSourceType
*
* @mbg.generated
*/
public
Integer
getDataSourceType
()
{
return
dataSourceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.DataSourceType
*
* @param dataSourceType the value for CellTemplateConfig.DataSourceType
*
* @mbg.generated
*/
public
void
setDataSourceType
(
Integer
dataSourceType
)
{
this
.
dataSourceType
=
dataSourceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.Formula
*
* @return the value of CellTemplateConfig.Formula
*
* @mbg.generated
*/
public
String
getFormula
()
{
return
formula
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.Formula
*
* @param formula the value for CellTemplateConfig.Formula
*
* @mbg.generated
*/
public
void
setFormula
(
String
formula
)
{
this
.
formula
=
formula
==
null
?
null
:
formula
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.FormulaDescription
*
* @return the value of CellTemplateConfig.FormulaDescription
*
* @mbg.generated
*/
public
String
getFormulaDescription
()
{
return
formulaDescription
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.FormulaDescription
*
* @param formulaDescription the value for CellTemplateConfig.FormulaDescription
*
* @mbg.generated
*/
public
void
setFormulaDescription
(
String
formulaDescription
)
{
this
.
formulaDescription
=
formulaDescription
==
null
?
null
:
formulaDescription
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.AccountCodes
*
* @return the value of CellTemplateConfig.AccountCodes
*
* @mbg.generated
*/
public
String
getAccountCodes
()
{
return
accountCodes
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.AccountCodes
*
* @param accountCodes the value for CellTemplateConfig.AccountCodes
*
* @mbg.generated
*/
public
void
setAccountCodes
(
String
accountCodes
)
{
this
.
accountCodes
=
accountCodes
==
null
?
null
:
accountCodes
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.InvoiceType
*
* @return the value of CellTemplateConfig.InvoiceType
*
* @mbg.generated
*/
public
Integer
getInvoiceType
()
{
return
invoiceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.InvoiceType
*
* @param invoiceType the value for CellTemplateConfig.InvoiceType
*
* @mbg.generated
*/
public
void
setInvoiceType
(
Integer
invoiceType
)
{
this
.
invoiceType
=
invoiceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.TaxRate
*
* @return the value of CellTemplateConfig.TaxRate
*
* @mbg.generated
*/
public
String
getTaxRate
()
{
return
taxRate
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.TaxRate
*
* @param taxRate the value for CellTemplateConfig.TaxRate
*
* @mbg.generated
*/
public
void
setTaxRate
(
String
taxRate
)
{
this
.
taxRate
=
taxRate
==
null
?
null
:
taxRate
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.InvoiceAmountType
*
* @return the value of CellTemplateConfig.InvoiceAmountType
*
* @mbg.generated
*/
public
Integer
getInvoiceAmountType
()
{
return
invoiceAmountType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.InvoiceAmountType
*
* @param invoiceAmountType the value for CellTemplateConfig.InvoiceAmountType
*
* @mbg.generated
*/
public
void
setInvoiceAmountType
(
Integer
invoiceAmountType
)
{
this
.
invoiceAmountType
=
invoiceAmountType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.ModelIDs
*
* @return the value of CellTemplateConfig.ModelIDs
*
* @mbg.generated
*/
public
String
getModelIDs
()
{
return
modelIDs
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.ModelIDs
*
* @param modelIDs the value for CellTemplateConfig.ModelIDs
*
* @mbg.generated
*/
public
void
setModelIDs
(
String
modelIDs
)
{
this
.
modelIDs
=
modelIDs
==
null
?
null
:
modelIDs
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.Creator
*
* @return the value of CellTemplateConfig.Creator
*
* @mbg.generated
*/
public
String
getCreator
()
{
return
creator
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.Creator
*
* @param creator the value for CellTemplateConfig.Creator
*
* @mbg.generated
*/
public
void
setCreator
(
String
creator
)
{
this
.
creator
=
creator
==
null
?
null
:
creator
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.CreateTime
*
* @return the value of CellTemplateConfig.CreateTime
*
* @mbg.generated
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.CreateTime
*
* @param createTime the value for CellTemplateConfig.CreateTime
*
* @mbg.generated
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.Updater
*
* @return the value of CellTemplateConfig.Updater
*
* @mbg.generated
*/
public
String
getUpdater
()
{
return
updater
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.Updater
*
* @param updater the value for CellTemplateConfig.Updater
*
* @mbg.generated
*/
public
void
setUpdater
(
String
updater
)
{
this
.
updater
=
updater
==
null
?
null
:
updater
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.UpdateTime
*
* @return the value of CellTemplateConfig.UpdateTime
*
* @mbg.generated
*/
public
Date
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.UpdateTime
*
* @param updateTime the value for CellTemplateConfig.UpdateTime
*
* @mbg.generated
*/
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.InvoiceCategory
*
* @return the value of CellTemplateConfig.InvoiceCategory
*
* @mbg.generated
*/
public
String
getInvoiceCategory
()
{
return
invoiceCategory
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.InvoiceCategory
*
* @param invoiceCategory the value for CellTemplateConfig.InvoiceCategory
*
* @mbg.generated
*/
public
void
setInvoiceCategory
(
String
invoiceCategory
)
{
this
.
invoiceCategory
=
invoiceCategory
==
null
?
null
:
invoiceCategory
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.FormulaDataSource
*
* @return the value of CellTemplateConfig.FormulaDataSource
*
* @mbg.generated
*/
public
String
getFormulaDataSource
()
{
return
formulaDataSource
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.FormulaDataSource
*
* @param formulaDataSource the value for CellTemplateConfig.FormulaDataSource
*
* @mbg.generated
*/
public
void
setFormulaDataSource
(
String
formulaDataSource
)
{
this
.
formulaDataSource
=
formulaDataSource
==
null
?
null
:
formulaDataSource
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.Validation
*
* @return the value of CellTemplateConfig.Validation
*
* @mbg.generated
*/
public
String
getValidation
()
{
return
validation
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.Validation
*
* @param validation the value for CellTemplateConfig.Validation
*
* @mbg.generated
*/
public
void
setValidation
(
String
validation
)
{
this
.
validation
=
validation
==
null
?
null
:
validation
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.ValidationDescription
*
* @return the value of CellTemplateConfig.ValidationDescription
*
* @mbg.generated
*/
public
String
getValidationDescription
()
{
return
validationDescription
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.ValidationDescription
*
* @param validationDescription the value for CellTemplateConfig.ValidationDescription
*
* @mbg.generated
*/
public
void
setValidationDescription
(
String
validationDescription
)
{
this
.
validationDescription
=
validationDescription
==
null
?
null
:
validationDescription
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column CellTemplateConfig.VoucherKeyword
*
* @return the value of CellTemplateConfig.VoucherKeyword
*
* @mbg.generated
*/
public
String
getVoucherKeyword
()
{
return
voucherKeyword
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column CellTemplateConfig.VoucherKeyword
*
* @param voucherKeyword the value for CellTemplateConfig.VoucherKeyword
*
* @mbg.generated
*/
public
void
setVoucherKeyword
(
String
voucherKeyword
)
{
this
.
voucherKeyword
=
voucherKeyword
==
null
?
null
:
voucherKeyword
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", ID="
).
append
(
ID
);
sb
.
append
(
", cellTemplateID="
).
append
(
cellTemplateID
);
sb
.
append
(
", reportTemplateID="
).
append
(
reportTemplateID
);
sb
.
append
(
", dataSourceType="
).
append
(
dataSourceType
);
sb
.
append
(
", formula="
).
append
(
formula
);
sb
.
append
(
", formulaDescription="
).
append
(
formulaDescription
);
sb
.
append
(
", accountCodes="
).
append
(
accountCodes
);
sb
.
append
(
", invoiceType="
).
append
(
invoiceType
);
sb
.
append
(
", taxRate="
).
append
(
taxRate
);
sb
.
append
(
", invoiceAmountType="
).
append
(
invoiceAmountType
);
sb
.
append
(
", modelIDs="
).
append
(
modelIDs
);
sb
.
append
(
", creator="
).
append
(
creator
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updater="
).
append
(
updater
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", invoiceCategory="
).
append
(
invoiceCategory
);
sb
.
append
(
", formulaDataSource="
).
append
(
formulaDataSource
);
sb
.
append
(
", validation="
).
append
(
validation
);
sb
.
append
(
", validationDescription="
).
append
(
validationDescription
);
sb
.
append
(
", voucherKeyword="
).
append
(
voucherKeyword
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/CellTemplateConfigExample.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
CellTemplateConfigExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
CellTemplateConfigExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIDIsNull
()
{
addCriterion
(
"ID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDIsNotNull
()
{
addCriterion
(
"ID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDEqualTo
(
String
value
)
{
addCriterion
(
"ID ="
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotEqualTo
(
String
value
)
{
addCriterion
(
"ID <>"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDGreaterThan
(
String
value
)
{
addCriterion
(
"ID >"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ID >="
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDLessThan
(
String
value
)
{
addCriterion
(
"ID <"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ID <="
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDLike
(
String
value
)
{
addCriterion
(
"ID like"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotLike
(
String
value
)
{
addCriterion
(
"ID not like"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"ID in"
,
values
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ID not in"
,
values
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ID between"
,
value1
,
value2
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ID not between"
,
value1
,
value2
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDIsNull
()
{
addCriterion
(
"CellTemplateID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDIsNotNull
()
{
addCriterion
(
"CellTemplateID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDEqualTo
(
String
value
)
{
addCriterion
(
"CellTemplateID ="
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDNotEqualTo
(
String
value
)
{
addCriterion
(
"CellTemplateID <>"
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDGreaterThan
(
String
value
)
{
addCriterion
(
"CellTemplateID >"
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CellTemplateID >="
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDLessThan
(
String
value
)
{
addCriterion
(
"CellTemplateID <"
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CellTemplateID <="
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDLike
(
String
value
)
{
addCriterion
(
"CellTemplateID like"
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDNotLike
(
String
value
)
{
addCriterion
(
"CellTemplateID not like"
,
value
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"CellTemplateID in"
,
values
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"CellTemplateID not in"
,
values
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CellTemplateID between"
,
value1
,
value2
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCellTemplateIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CellTemplateID not between"
,
value1
,
value2
,
"cellTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDIsNull
()
{
addCriterion
(
"ReportTemplateID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDIsNotNull
()
{
addCriterion
(
"ReportTemplateID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID ="
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID <>"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDGreaterThan
(
String
value
)
{
addCriterion
(
"ReportTemplateID >"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID >="
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDLessThan
(
String
value
)
{
addCriterion
(
"ReportTemplateID <"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID <="
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDLike
(
String
value
)
{
addCriterion
(
"ReportTemplateID like"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotLike
(
String
value
)
{
addCriterion
(
"ReportTemplateID not like"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"ReportTemplateID in"
,
values
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ReportTemplateID not in"
,
values
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ReportTemplateID between"
,
value1
,
value2
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ReportTemplateID not between"
,
value1
,
value2
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeIsNull
()
{
addCriterion
(
"DataSourceType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeIsNotNull
()
{
addCriterion
(
"DataSourceType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"DataSourceType ="
,
value
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"DataSourceType <>"
,
value
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"DataSourceType >"
,
value
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"DataSourceType >="
,
value
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeLessThan
(
Integer
value
)
{
addCriterion
(
"DataSourceType <"
,
value
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"DataSourceType <="
,
value
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"DataSourceType in"
,
values
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"DataSourceType not in"
,
values
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"DataSourceType between"
,
value1
,
value2
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"DataSourceType not between"
,
value1
,
value2
,
"dataSourceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIsNull
()
{
addCriterion
(
"Formula is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIsNotNull
()
{
addCriterion
(
"Formula is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaEqualTo
(
String
value
)
{
addCriterion
(
"Formula ="
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNotEqualTo
(
String
value
)
{
addCriterion
(
"Formula <>"
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaGreaterThan
(
String
value
)
{
addCriterion
(
"Formula >"
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Formula >="
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaLessThan
(
String
value
)
{
addCriterion
(
"Formula <"
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Formula <="
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaLike
(
String
value
)
{
addCriterion
(
"Formula like"
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNotLike
(
String
value
)
{
addCriterion
(
"Formula not like"
,
value
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIn
(
List
<
String
>
values
)
{
addCriterion
(
"Formula in"
,
values
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Formula not in"
,
values
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Formula between"
,
value1
,
value2
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Formula not between"
,
value1
,
value2
,
"formula"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionIsNull
()
{
addCriterion
(
"FormulaDescription is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionIsNotNull
()
{
addCriterion
(
"FormulaDescription is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDescription ="
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDescription <>"
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"FormulaDescription >"
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDescription >="
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionLessThan
(
String
value
)
{
addCriterion
(
"FormulaDescription <"
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDescription <="
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionLike
(
String
value
)
{
addCriterion
(
"FormulaDescription like"
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionNotLike
(
String
value
)
{
addCriterion
(
"FormulaDescription not like"
,
value
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaDescription in"
,
values
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaDescription not in"
,
values
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaDescription between"
,
value1
,
value2
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaDescription not between"
,
value1
,
value2
,
"formulaDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesIsNull
()
{
addCriterion
(
"AccountCodes is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesIsNotNull
()
{
addCriterion
(
"AccountCodes is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesEqualTo
(
String
value
)
{
addCriterion
(
"AccountCodes ="
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesNotEqualTo
(
String
value
)
{
addCriterion
(
"AccountCodes <>"
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesGreaterThan
(
String
value
)
{
addCriterion
(
"AccountCodes >"
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"AccountCodes >="
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesLessThan
(
String
value
)
{
addCriterion
(
"AccountCodes <"
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"AccountCodes <="
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesLike
(
String
value
)
{
addCriterion
(
"AccountCodes like"
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesNotLike
(
String
value
)
{
addCriterion
(
"AccountCodes not like"
,
value
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesIn
(
List
<
String
>
values
)
{
addCriterion
(
"AccountCodes in"
,
values
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"AccountCodes not in"
,
values
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"AccountCodes between"
,
value1
,
value2
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountCodesNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"AccountCodes not between"
,
value1
,
value2
,
"accountCodes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeIsNull
()
{
addCriterion
(
"InvoiceType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeIsNotNull
()
{
addCriterion
(
"InvoiceType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceType ="
,
value
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceType <>"
,
value
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"InvoiceType >"
,
value
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceType >="
,
value
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeLessThan
(
Integer
value
)
{
addCriterion
(
"InvoiceType <"
,
value
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceType <="
,
value
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"InvoiceType in"
,
values
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"InvoiceType not in"
,
values
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"InvoiceType between"
,
value1
,
value2
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"InvoiceType not between"
,
value1
,
value2
,
"invoiceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateIsNull
()
{
addCriterion
(
"TaxRate is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateIsNotNull
()
{
addCriterion
(
"TaxRate is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateEqualTo
(
String
value
)
{
addCriterion
(
"TaxRate ="
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateNotEqualTo
(
String
value
)
{
addCriterion
(
"TaxRate <>"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateGreaterThan
(
String
value
)
{
addCriterion
(
"TaxRate >"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"TaxRate >="
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateLessThan
(
String
value
)
{
addCriterion
(
"TaxRate <"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"TaxRate <="
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateLike
(
String
value
)
{
addCriterion
(
"TaxRate like"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateNotLike
(
String
value
)
{
addCriterion
(
"TaxRate not like"
,
value
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateIn
(
List
<
String
>
values
)
{
addCriterion
(
"TaxRate in"
,
values
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"TaxRate not in"
,
values
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"TaxRate between"
,
value1
,
value2
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxRateNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"TaxRate not between"
,
value1
,
value2
,
"taxRate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeIsNull
()
{
addCriterion
(
"InvoiceAmountType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeIsNotNull
()
{
addCriterion
(
"InvoiceAmountType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceAmountType ="
,
value
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceAmountType <>"
,
value
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"InvoiceAmountType >"
,
value
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceAmountType >="
,
value
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeLessThan
(
Integer
value
)
{
addCriterion
(
"InvoiceAmountType <"
,
value
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"InvoiceAmountType <="
,
value
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"InvoiceAmountType in"
,
values
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"InvoiceAmountType not in"
,
values
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"InvoiceAmountType between"
,
value1
,
value2
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceAmountTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"InvoiceAmountType not between"
,
value1
,
value2
,
"invoiceAmountType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsIsNull
()
{
addCriterion
(
"ModelIDs is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsIsNotNull
()
{
addCriterion
(
"ModelIDs is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsEqualTo
(
String
value
)
{
addCriterion
(
"ModelIDs ="
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsNotEqualTo
(
String
value
)
{
addCriterion
(
"ModelIDs <>"
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsGreaterThan
(
String
value
)
{
addCriterion
(
"ModelIDs >"
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ModelIDs >="
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsLessThan
(
String
value
)
{
addCriterion
(
"ModelIDs <"
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ModelIDs <="
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsLike
(
String
value
)
{
addCriterion
(
"ModelIDs like"
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsNotLike
(
String
value
)
{
addCriterion
(
"ModelIDs not like"
,
value
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsIn
(
List
<
String
>
values
)
{
addCriterion
(
"ModelIDs in"
,
values
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ModelIDs not in"
,
values
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ModelIDs between"
,
value1
,
value2
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModelIDsNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ModelIDs not between"
,
value1
,
value2
,
"modelIDs"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIsNull
()
{
addCriterion
(
"Creator is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIsNotNull
()
{
addCriterion
(
"Creator is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorEqualTo
(
String
value
)
{
addCriterion
(
"Creator ="
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorNotEqualTo
(
String
value
)
{
addCriterion
(
"Creator <>"
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorGreaterThan
(
String
value
)
{
addCriterion
(
"Creator >"
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Creator >="
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorLessThan
(
String
value
)
{
addCriterion
(
"Creator <"
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Creator <="
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorLike
(
String
value
)
{
addCriterion
(
"Creator like"
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorNotLike
(
String
value
)
{
addCriterion
(
"Creator not like"
,
value
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIn
(
List
<
String
>
values
)
{
addCriterion
(
"Creator in"
,
values
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Creator not in"
,
values
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Creator between"
,
value1
,
value2
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Creator not between"
,
value1
,
value2
,
"creator"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"CreateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"CreateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"CreateTime >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"CreateTime <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterIsNull
()
{
addCriterion
(
"Updater is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterIsNotNull
()
{
addCriterion
(
"Updater is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterEqualTo
(
String
value
)
{
addCriterion
(
"Updater ="
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterNotEqualTo
(
String
value
)
{
addCriterion
(
"Updater <>"
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterGreaterThan
(
String
value
)
{
addCriterion
(
"Updater >"
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Updater >="
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterLessThan
(
String
value
)
{
addCriterion
(
"Updater <"
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Updater <="
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterLike
(
String
value
)
{
addCriterion
(
"Updater like"
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterNotLike
(
String
value
)
{
addCriterion
(
"Updater not like"
,
value
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterIn
(
List
<
String
>
values
)
{
addCriterion
(
"Updater in"
,
values
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Updater not in"
,
values
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Updater between"
,
value1
,
value2
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdaterNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Updater not between"
,
value1
,
value2
,
"updater"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"UpdateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"UpdateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"UpdateTime >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"UpdateTime <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryIsNull
()
{
addCriterion
(
"InvoiceCategory is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryIsNotNull
()
{
addCriterion
(
"InvoiceCategory is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryEqualTo
(
String
value
)
{
addCriterion
(
"InvoiceCategory ="
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryNotEqualTo
(
String
value
)
{
addCriterion
(
"InvoiceCategory <>"
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryGreaterThan
(
String
value
)
{
addCriterion
(
"InvoiceCategory >"
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"InvoiceCategory >="
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryLessThan
(
String
value
)
{
addCriterion
(
"InvoiceCategory <"
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"InvoiceCategory <="
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryLike
(
String
value
)
{
addCriterion
(
"InvoiceCategory like"
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryNotLike
(
String
value
)
{
addCriterion
(
"InvoiceCategory not like"
,
value
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryIn
(
List
<
String
>
values
)
{
addCriterion
(
"InvoiceCategory in"
,
values
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"InvoiceCategory not in"
,
values
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"InvoiceCategory between"
,
value1
,
value2
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInvoiceCategoryNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"InvoiceCategory not between"
,
value1
,
value2
,
"invoiceCategory"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceIsNull
()
{
addCriterion
(
"FormulaDataSource is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceIsNotNull
()
{
addCriterion
(
"FormulaDataSource is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDataSource ="
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceNotEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDataSource <>"
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceGreaterThan
(
String
value
)
{
addCriterion
(
"FormulaDataSource >"
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDataSource >="
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceLessThan
(
String
value
)
{
addCriterion
(
"FormulaDataSource <"
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaDataSource <="
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceLike
(
String
value
)
{
addCriterion
(
"FormulaDataSource like"
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceNotLike
(
String
value
)
{
addCriterion
(
"FormulaDataSource not like"
,
value
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaDataSource in"
,
values
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaDataSource not in"
,
values
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaDataSource between"
,
value1
,
value2
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaDataSourceNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaDataSource not between"
,
value1
,
value2
,
"formulaDataSource"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationIsNull
()
{
addCriterion
(
"Validation is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationIsNotNull
()
{
addCriterion
(
"Validation is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationEqualTo
(
String
value
)
{
addCriterion
(
"Validation ="
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationNotEqualTo
(
String
value
)
{
addCriterion
(
"Validation <>"
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationGreaterThan
(
String
value
)
{
addCriterion
(
"Validation >"
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Validation >="
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationLessThan
(
String
value
)
{
addCriterion
(
"Validation <"
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Validation <="
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationLike
(
String
value
)
{
addCriterion
(
"Validation like"
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationNotLike
(
String
value
)
{
addCriterion
(
"Validation not like"
,
value
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationIn
(
List
<
String
>
values
)
{
addCriterion
(
"Validation in"
,
values
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Validation not in"
,
values
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Validation between"
,
value1
,
value2
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Validation not between"
,
value1
,
value2
,
"validation"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionIsNull
()
{
addCriterion
(
"ValidationDescription is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionIsNotNull
()
{
addCriterion
(
"ValidationDescription is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"ValidationDescription ="
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"ValidationDescription <>"
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"ValidationDescription >"
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ValidationDescription >="
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionLessThan
(
String
value
)
{
addCriterion
(
"ValidationDescription <"
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ValidationDescription <="
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionLike
(
String
value
)
{
addCriterion
(
"ValidationDescription like"
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionNotLike
(
String
value
)
{
addCriterion
(
"ValidationDescription not like"
,
value
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"ValidationDescription in"
,
values
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ValidationDescription not in"
,
values
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ValidationDescription between"
,
value1
,
value2
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValidationDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ValidationDescription not between"
,
value1
,
value2
,
"validationDescription"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordIsNull
()
{
addCriterion
(
"VoucherKeyword is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordIsNotNull
()
{
addCriterion
(
"VoucherKeyword is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordEqualTo
(
String
value
)
{
addCriterion
(
"VoucherKeyword ="
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordNotEqualTo
(
String
value
)
{
addCriterion
(
"VoucherKeyword <>"
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordGreaterThan
(
String
value
)
{
addCriterion
(
"VoucherKeyword >"
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"VoucherKeyword >="
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordLessThan
(
String
value
)
{
addCriterion
(
"VoucherKeyword <"
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"VoucherKeyword <="
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordLike
(
String
value
)
{
addCriterion
(
"VoucherKeyword like"
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordNotLike
(
String
value
)
{
addCriterion
(
"VoucherKeyword not like"
,
value
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordIn
(
List
<
String
>
values
)
{
addCriterion
(
"VoucherKeyword in"
,
values
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"VoucherKeyword not in"
,
values
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"VoucherKeyword between"
,
value1
,
value2
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
public
Criteria
andVoucherKeywordNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"VoucherKeyword not between"
,
value1
,
value2
,
"voucherKeyword"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplateConfig
*
* @mbg.generated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplateConfig
*
* @mbg.generated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/CellTemplateExample.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
CellTemplateExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplate
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplate
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table CellTemplate
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
CellTemplateExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplate
*
* @mbg.generated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIDIsNull
()
{
addCriterion
(
"ID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDIsNotNull
()
{
addCriterion
(
"ID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDEqualTo
(
String
value
)
{
addCriterion
(
"ID ="
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotEqualTo
(
String
value
)
{
addCriterion
(
"ID <>"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDGreaterThan
(
String
value
)
{
addCriterion
(
"ID >"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ID >="
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDLessThan
(
String
value
)
{
addCriterion
(
"ID <"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ID <="
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDLike
(
String
value
)
{
addCriterion
(
"ID like"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotLike
(
String
value
)
{
addCriterion
(
"ID not like"
,
value
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"ID in"
,
values
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ID not in"
,
values
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ID between"
,
value1
,
value2
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ID not between"
,
value1
,
value2
,
"ID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDIsNull
()
{
addCriterion
(
"ReportTemplateID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDIsNotNull
()
{
addCriterion
(
"ReportTemplateID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID ="
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID <>"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDGreaterThan
(
String
value
)
{
addCriterion
(
"ReportTemplateID >"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID >="
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDLessThan
(
String
value
)
{
addCriterion
(
"ReportTemplateID <"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ReportTemplateID <="
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDLike
(
String
value
)
{
addCriterion
(
"ReportTemplateID like"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotLike
(
String
value
)
{
addCriterion
(
"ReportTemplateID not like"
,
value
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"ReportTemplateID in"
,
values
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ReportTemplateID not in"
,
values
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ReportTemplateID between"
,
value1
,
value2
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReportTemplateIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ReportTemplateID not between"
,
value1
,
value2
,
"reportTemplateID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexIsNull
()
{
addCriterion
(
"RowIndex is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexIsNotNull
()
{
addCriterion
(
"RowIndex is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexEqualTo
(
Integer
value
)
{
addCriterion
(
"RowIndex ="
,
value
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexNotEqualTo
(
Integer
value
)
{
addCriterion
(
"RowIndex <>"
,
value
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexGreaterThan
(
Integer
value
)
{
addCriterion
(
"RowIndex >"
,
value
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"RowIndex >="
,
value
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexLessThan
(
Integer
value
)
{
addCriterion
(
"RowIndex <"
,
value
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"RowIndex <="
,
value
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"RowIndex in"
,
values
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"RowIndex not in"
,
values
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"RowIndex between"
,
value1
,
value2
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowIndexNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"RowIndex not between"
,
value1
,
value2
,
"rowIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameIsNull
()
{
addCriterion
(
"RowName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameIsNotNull
()
{
addCriterion
(
"RowName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameEqualTo
(
String
value
)
{
addCriterion
(
"RowName ="
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameNotEqualTo
(
String
value
)
{
addCriterion
(
"RowName <>"
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameGreaterThan
(
String
value
)
{
addCriterion
(
"RowName >"
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RowName >="
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameLessThan
(
String
value
)
{
addCriterion
(
"RowName <"
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RowName <="
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameLike
(
String
value
)
{
addCriterion
(
"RowName like"
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameNotLike
(
String
value
)
{
addCriterion
(
"RowName not like"
,
value
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"RowName in"
,
values
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"RowName not in"
,
values
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RowName between"
,
value1
,
value2
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRowNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RowName not between"
,
value1
,
value2
,
"rowName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexIsNull
()
{
addCriterion
(
"ColumnIndex is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexIsNotNull
()
{
addCriterion
(
"ColumnIndex is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexEqualTo
(
Integer
value
)
{
addCriterion
(
"ColumnIndex ="
,
value
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexNotEqualTo
(
Integer
value
)
{
addCriterion
(
"ColumnIndex <>"
,
value
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexGreaterThan
(
Integer
value
)
{
addCriterion
(
"ColumnIndex >"
,
value
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ColumnIndex >="
,
value
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexLessThan
(
Integer
value
)
{
addCriterion
(
"ColumnIndex <"
,
value
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ColumnIndex <="
,
value
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ColumnIndex in"
,
values
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ColumnIndex not in"
,
values
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ColumnIndex between"
,
value1
,
value2
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnIndexNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ColumnIndex not between"
,
value1
,
value2
,
"columnIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameIsNull
()
{
addCriterion
(
"ColumnName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameIsNotNull
()
{
addCriterion
(
"ColumnName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameEqualTo
(
String
value
)
{
addCriterion
(
"ColumnName ="
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameNotEqualTo
(
String
value
)
{
addCriterion
(
"ColumnName <>"
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameGreaterThan
(
String
value
)
{
addCriterion
(
"ColumnName >"
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ColumnName >="
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameLessThan
(
String
value
)
{
addCriterion
(
"ColumnName <"
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ColumnName <="
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameLike
(
String
value
)
{
addCriterion
(
"ColumnName like"
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameNotLike
(
String
value
)
{
addCriterion
(
"ColumnName not like"
,
value
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"ColumnName in"
,
values
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ColumnName not in"
,
values
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ColumnName between"
,
value1
,
value2
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColumnNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ColumnName not between"
,
value1
,
value2
,
"columnName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentIsNull
()
{
addCriterion
(
"Comment is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentIsNotNull
()
{
addCriterion
(
"Comment is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentEqualTo
(
String
value
)
{
addCriterion
(
"Comment ="
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentNotEqualTo
(
String
value
)
{
addCriterion
(
"Comment <>"
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentGreaterThan
(
String
value
)
{
addCriterion
(
"Comment >"
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Comment >="
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentLessThan
(
String
value
)
{
addCriterion
(
"Comment <"
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Comment <="
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentLike
(
String
value
)
{
addCriterion
(
"Comment like"
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentNotLike
(
String
value
)
{
addCriterion
(
"Comment not like"
,
value
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentIn
(
List
<
String
>
values
)
{
addCriterion
(
"Comment in"
,
values
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Comment not in"
,
values
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Comment between"
,
value1
,
value2
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCommentNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Comment not between"
,
value1
,
value2
,
"comment"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"CreateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"CreateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"CreateTime >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"CreateTime <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"UpdateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"UpdateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"UpdateTime >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"UpdateTime <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDIsNull
()
{
addCriterion
(
"CopyFromID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDIsNotNull
()
{
addCriterion
(
"CopyFromID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDEqualTo
(
String
value
)
{
addCriterion
(
"CopyFromID ="
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDNotEqualTo
(
String
value
)
{
addCriterion
(
"CopyFromID <>"
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDGreaterThan
(
String
value
)
{
addCriterion
(
"CopyFromID >"
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CopyFromID >="
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDLessThan
(
String
value
)
{
addCriterion
(
"CopyFromID <"
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CopyFromID <="
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDLike
(
String
value
)
{
addCriterion
(
"CopyFromID like"
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDNotLike
(
String
value
)
{
addCriterion
(
"CopyFromID not like"
,
value
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"CopyFromID in"
,
values
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"CopyFromID not in"
,
values
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CopyFromID between"
,
value1
,
value2
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCopyFromIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CopyFromID not between"
,
value1
,
value2
,
"copyFromID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeIsNull
()
{
addCriterion
(
"DataType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeIsNotNull
()
{
addCriterion
(
"DataType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"DataType ="
,
value
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"DataType <>"
,
value
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"DataType >"
,
value
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"DataType >="
,
value
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeLessThan
(
Integer
value
)
{
addCriterion
(
"DataType <"
,
value
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"DataType <="
,
value
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"DataType in"
,
values
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"DataType not in"
,
values
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"DataType between"
,
value1
,
value2
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"DataType not between"
,
value1
,
value2
,
"dataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyIsNull
()
{
addCriterion
(
"IsReadOnly is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyIsNotNull
()
{
addCriterion
(
"IsReadOnly is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyEqualTo
(
Integer
value
)
{
addCriterion
(
"IsReadOnly ="
,
value
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyNotEqualTo
(
Integer
value
)
{
addCriterion
(
"IsReadOnly <>"
,
value
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyGreaterThan
(
Integer
value
)
{
addCriterion
(
"IsReadOnly >"
,
value
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"IsReadOnly >="
,
value
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyLessThan
(
Integer
value
)
{
addCriterion
(
"IsReadOnly <"
,
value
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"IsReadOnly <="
,
value
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"IsReadOnly in"
,
values
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"IsReadOnly not in"
,
values
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"IsReadOnly between"
,
value1
,
value2
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsReadOnlyNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"IsReadOnly not between"
,
value1
,
value2
,
"isReadOnly"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplate
*
* @mbg.generated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table CellTemplate
*
* @mbg.generated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/service/CellTemplateService.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
service
;
import
pwc.taxtech.atms.dto.CellTemplateConfigDto
;
import
java.util.List
;
public
interface
CellTemplateService
{
List
<
CellTemplateConfigDto
>
GetCellConfigList
(
String
templateID
);
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AbstractService.java
View file @
5a08ef3b
...
@@ -6,53 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -6,53 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
pwc.taxtech.atms.common.AtmsApiSettings
;
import
pwc.taxtech.atms.common.AtmsApiSettings
;
import
pwc.taxtech.atms.common.AuthUserHelper
;
import
pwc.taxtech.atms.common.AuthUserHelper
;
import
pwc.taxtech.atms.dao.AccountMapper
;
import
pwc.taxtech.atms.dao.*
;
import
pwc.taxtech.atms.dao.AccountMappingMapper
;
import
pwc.taxtech.atms.dao.AreaMapper
;
import
pwc.taxtech.atms.dao.AreaRegionMapper
;
import
pwc.taxtech.atms.dao.BusinessUnitMapper
;
import
pwc.taxtech.atms.dao.CustomerMapper
;
import
pwc.taxtech.atms.dao.DictionaryMapper
;
import
pwc.taxtech.atms.dao.DimensionMapper
;
import
pwc.taxtech.atms.dao.DimensionValueMapper
;
import
pwc.taxtech.atms.dao.DimensionValueOrgMapper
;
import
pwc.taxtech.atms.dao.EnterpriseAccountMapper
;
import
pwc.taxtech.atms.dao.EnterpriseAccountSetMapper
;
import
pwc.taxtech.atms.dao.EnterpriseAccountSetOrgMapper
;
import
pwc.taxtech.atms.dao.IndustryMapper
;
import
pwc.taxtech.atms.dao.KeyValueConfigMapper
;
import
pwc.taxtech.atms.dao.KeyValueReferenceMapper
;
import
pwc.taxtech.atms.dao.MailQueueMapper
;
import
pwc.taxtech.atms.dao.MenuMapper
;
import
pwc.taxtech.atms.dao.ModelConfigMapper
;
import
pwc.taxtech.atms.dao.MyStatisticAttributeMapper
;
import
pwc.taxtech.atms.dao.MyUserMapper
;
import
pwc.taxtech.atms.dao.OperationLogBasicDataMapper
;
import
pwc.taxtech.atms.dao.OperationLogEnterPriseMapper
;
import
pwc.taxtech.atms.dao.OrganizationMapper
;
import
pwc.taxtech.atms.dao.OrganizationServiceTemplateGroupMapper
;
import
pwc.taxtech.atms.dao.OrganizationStructureMapper
;
import
pwc.taxtech.atms.dao.PermissionMapper
;
import
pwc.taxtech.atms.dao.RegionMapper
;
import
pwc.taxtech.atms.dao.RoleCategoryMapper
;
import
pwc.taxtech.atms.dao.RoleMapper
;
import
pwc.taxtech.atms.dao.RolePermissionMapper
;
import
pwc.taxtech.atms.dao.ServiceTypeMapper
;
import
pwc.taxtech.atms.dao.StandardAccountMapper
;
import
pwc.taxtech.atms.dao.StatisticAttributeDimensionMapper
;
import
pwc.taxtech.atms.dao.StatisticAttributeMapper
;
import
pwc.taxtech.atms.dao.StockMapper
;
import
pwc.taxtech.atms.dao.TaxPayerReportRuleMapper
;
import
pwc.taxtech.atms.dao.TaxRuleSettingMapper
;
import
pwc.taxtech.atms.dao.TaxRuleSettingOrganizationMapper
;
import
pwc.taxtech.atms.dao.TemplateGroupMapper
;
import
pwc.taxtech.atms.dao.UserDimensionValueMapper
;
import
pwc.taxtech.atms.dao.UserDimensionValueOrgMapper
;
import
pwc.taxtech.atms.dao.UserDimensionValueRoleMapper
;
import
pwc.taxtech.atms.dao.UserMapper
;
import
pwc.taxtech.atms.dao.UserOrganizationMapper
;
import
pwc.taxtech.atms.dao.UserOrganizationRoleMapper
;
import
pwc.taxtech.atms.dao.UserRoleMapper
;
import
pwc.taxtech.atms.service.OperationLogService
;
import
pwc.taxtech.atms.service.OperationLogService
;
public
class
AbstractService
{
public
class
AbstractService
{
...
@@ -159,4 +113,8 @@ public class AbstractService {
...
@@ -159,4 +113,8 @@ public class AbstractService {
protected
KeyValueReferenceMapper
keyValueReferenceMapper
;
protected
KeyValueReferenceMapper
keyValueReferenceMapper
;
@Autowired
@Autowired
protected
ModelConfigMapper
modelConfigMapper
;
protected
ModelConfigMapper
modelConfigMapper
;
@Autowired
protected
CellTemplateMapper
cellTemplateMapper
;
@Autowired
protected
CellTemplateConfigMapper
cellTemplateConfigMapper
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/CellConfigTranslater.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
org.apache.commons.lang3.StringUtils
;
import
pwc.taxtech.atms.constant.Constant
;
import
pwc.taxtech.atms.constant.enums.CellDataSourceType
;
import
pwc.taxtech.atms.dto.CellTemplateConfigDto
;
import
pwc.taxtech.atms.entitiy.CellTemplate
;
import
pwc.taxtech.atms.entitiy.CellTemplateConfig
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Optional
;
public
final
class
CellConfigTranslater
{
public
static
CellTemplateConfigDto
GetConfigDto
(
CellTemplate
template
,
List
<
CellTemplateConfig
>
configList
)
{
if
(
template
==
null
)
{
return
null
;
}
CellTemplateConfigDto
cellTemplateConfigDto
=
GetConfigDto
(
template
.
getID
(),
template
.
getReportTemplateID
(),
template
.
getRowIndex
(),
template
.
getRowName
(),
template
.
getColumnIndex
(),
template
.
getColumnName
(),
template
.
getDataType
(),
template
.
getIsReadOnly
(),
template
.
getComment
(),
configList
);
return
cellTemplateConfigDto
;
}
public
static
CellTemplateConfigDto
GetConfigDto
(
String
configID
,
String
templateID
,
int
rowIndex
,
String
rowName
,
int
columnIndex
,
String
columnName
,
Integer
dataType
,
Integer
isReadOnly
,
String
description
,
List
<
CellTemplateConfig
>
configList
)
{
if
(
configList
==
null
)
{
return
null
;
}
CellTemplateConfigDto
cellTemplateConfigDto
=
new
CellTemplateConfigDto
();
cellTemplateConfigDto
.
setCellTemplateID
(
configID
);
cellTemplateConfigDto
.
setTemplateID
(
templateID
);
cellTemplateConfigDto
.
setRowIndex
(
rowIndex
);
cellTemplateConfigDto
.
setRowName
(
rowName
);
cellTemplateConfigDto
.
setColumnIndex
(
columnIndex
);
cellTemplateConfigDto
.
setColumnName
(
columnName
);
cellTemplateConfigDto
.
setDataType
(
dataType
);
cellTemplateConfigDto
.
setIsReadOnly
(
isReadOnly
);
cellTemplateConfigDto
.
setFormulaDescription
(
description
);
Optional
<
CellTemplateConfig
>
formulaItem
=
configList
.
stream
().
filter
(
a
->
a
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"Formula"
))).
findFirst
();
if
(
formulaItem
!=
null
)
{
cellTemplateConfigDto
.
setHasFormula
(
true
);
cellTemplateConfigDto
.
setFormula
(
formulaItem
.
get
().
getFormula
());
if
(
StringUtils
.
isEmpty
(
cellTemplateConfigDto
.
getFormulaDescription
())
&&
!
StringUtils
.
isEmpty
(
formulaItem
.
get
().
getFormulaDescription
()))
{
cellTemplateConfigDto
.
setFormulaDescription
(
formulaItem
.
get
().
getFormulaDescription
());
}
cellTemplateConfigDto
.
setFormulaDataSource
(
formulaItem
.
get
().
getFormulaDataSource
());
cellTemplateConfigDto
.
setCellTemplateID
(
formulaItem
.
get
().
getCellTemplateID
());
}
Optional
<
CellTemplateConfig
>
voucherItem
=
configList
.
stream
().
filter
(
x
->
x
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"Voucher"
))).
findFirst
();
if
(
voucherItem
!=
null
)
{
cellTemplateConfigDto
.
setHasVoucher
(
true
);
cellTemplateConfigDto
.
setVoucherKeyword
(
voucherItem
.
get
().
getVoucherKeyword
()
==
null
?
""
:
voucherItem
.
get
().
getVoucherKeyword
());
if
(!
StringUtils
.
isEmpty
(
voucherItem
.
get
().
getAccountCodes
()))
{
cellTemplateConfigDto
.
setAccountCodes
(
GetList
(
voucherItem
.
get
().
getAccountCodes
()));
}
}
Optional
<
CellTemplateConfig
>
invoiceItem
=
configList
.
stream
().
filter
(
x
->
x
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"OutputInvoice"
))
||
x
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"InputInvoice"
))
||
x
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"CustomInvoice"
))).
findFirst
();
if
(
invoiceItem
!=
null
)
{
cellTemplateConfigDto
.
setHasInvoice
(
true
);
cellTemplateConfigDto
.
setInvoiceType
(
invoiceItem
.
get
().
getInvoiceType
());
cellTemplateConfigDto
.
setInvoiceAmountType
(
invoiceItem
.
get
().
getInvoiceAmountType
());
if
(!
StringUtils
.
isEmpty
(
invoiceItem
.
get
().
getTaxRate
()))
{
cellTemplateConfigDto
.
setTaxRate
(
GetList
(
invoiceItem
.
get
().
getTaxRate
()));
}
if
(!
StringUtils
.
isEmpty
(
invoiceItem
.
get
().
getInvoiceCategory
()))
{
List
<
String
>
invoiceCategoryStrs
=
GetList
(
invoiceItem
.
get
().
getInvoiceCategory
());
List
<
Integer
>
ints
=
new
ArrayList
<>();
for
(
String
categoryStr
:
invoiceCategoryStrs
)
{
int
categoryVal
;
categoryVal
=
Integer
.
parseInt
(
categoryStr
);
ints
.
add
(
categoryVal
);
}
cellTemplateConfigDto
.
setInvoiceCategory
(
ints
);
}
}
Optional
<
CellTemplateConfig
>
keyInItem
=
configList
.
stream
().
filter
(
x
->
x
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"KeyIn"
))).
findFirst
();
if
(
keyInItem
!=
null
)
{
cellTemplateConfigDto
.
setHasKeyIn
(
true
);
}
Optional
<
CellTemplateConfig
>
modelItem
=
configList
.
stream
().
filter
(
x
->
x
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"RelatedModel"
))).
findFirst
();
if
(
modelItem
!=
null
)
{
cellTemplateConfigDto
.
setHasModel
(
true
);
cellTemplateConfigDto
.
setModelIDs
(
GetList
(
modelItem
.
get
().
getModelIDs
()));
}
Optional
<
CellTemplateConfig
>
validationItem
=
configList
.
stream
().
filter
(
x
->
x
.
getDataSourceType
().
equals
(
CellDataSourceType
.
valueOf
(
"Validation"
))).
findFirst
();
if
(
validationItem
!=
null
)
{
cellTemplateConfigDto
.
setHasValidation
(
true
);
cellTemplateConfigDto
.
setValidation
(
validationItem
.
get
().
getValidation
());
cellTemplateConfigDto
.
setValidationDescription
(
validationItem
.
get
().
getValidationDescription
());
cellTemplateConfigDto
.
setCellTemplateID
(
validationItem
.
get
().
getCellTemplateID
());
}
return
cellTemplateConfigDto
;
}
private
static
List
<
String
>
GetList
(
String
joinString
)
{
if
(
StringUtils
.
isEmpty
(
joinString
))
{
return
null
;
}
return
Arrays
.
asList
(
joinString
.
split
(
Constant
.
Comma
));
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/CellTemplateServiceImpl.java
0 → 100644
View file @
5a08ef3b
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.dto.CellTemplateConfigDto
;
import
pwc.taxtech.atms.entitiy.CellTemplate
;
import
pwc.taxtech.atms.entitiy.CellTemplateConfig
;
import
pwc.taxtech.atms.entitiy.CellTemplateExample
;
import
pwc.taxtech.atms.service.CellTemplateService
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.stream.Collectors
;
@Service
public
class
CellTemplateServiceImpl
extends
AbstractService
implements
CellTemplateService
{
@Override
public
List
<
CellTemplateConfigDto
>
GetCellConfigList
(
String
templateID
)
{
List
<
CellTemplateConfigDto
>
result
=
new
ArrayList
<>();
CellTemplateExample
example
=
new
CellTemplateExample
();
example
.
createCriteria
().
andReportTemplateIDEqualTo
(
templateID
);
List
<
CellTemplate
>
cellTemplateList
=
cellTemplateMapper
.
selectByExample
(
example
);
List
<
CellTemplateConfig
>
configList
=
cellTemplateConfigMapper
.
getCellTemplateConfigByTemplateID
(
templateID
);
if
(
cellTemplateList
.
isEmpty
())
{
return
result
;
}
for
(
CellTemplate
x
:
cellTemplateList
)
{
result
.
add
(
GetConfigDto
(
x
,
configList
.
stream
().
filter
(
a
->
a
.
getCellTemplateID
().
equalsIgnoreCase
(
x
.
getID
())).
collect
(
Collectors
.
toList
())));
}
return
result
;
}
private
CellTemplateConfigDto
GetConfigDto
(
CellTemplate
cellTemplate
,
List
<
CellTemplateConfig
>
configList
)
{
CellTemplateConfigDto
cellTemplateConfigDto
=
CellConfigTranslater
.
GetConfigDto
(
cellTemplate
,
configList
);
cellTemplateConfigDto
.
setCellTemplateID
(
cellTemplate
.
getID
());
cellTemplateConfigDto
.
setTemplateID
(
cellTemplate
.
getReportTemplateID
());
cellTemplateConfigDto
.
setRowIndex
(
cellTemplate
.
getRowIndex
());
cellTemplateConfigDto
.
setRowName
(
cellTemplate
.
getRowName
());
cellTemplateConfigDto
.
setColumnIndex
(
cellTemplate
.
getColumnIndex
());
cellTemplateConfigDto
.
setColumnName
(
cellTemplate
.
getColumnName
());
cellTemplateConfigDto
.
setDataType
(
cellTemplate
.
getDataType
());
cellTemplateConfigDto
.
setIsReadOnly
(
cellTemplate
.
getIsReadOnly
());
cellTemplateConfigDto
.
setFormulaDescription
(
cellTemplate
.
getComment
());
return
cellTemplateConfigDto
;
}
}
atms-api/src/main/resources/pwc/taxtech/atms/dao/CellTemplateConfigMapper.xml
0 → 100644
View file @
5a08ef3b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.dao.CellTemplateConfigMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.CellTemplateConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"CellTemplateID"
jdbcType=
"VARCHAR"
property=
"cellTemplateID"
/>
<result
column=
"ReportTemplateID"
jdbcType=
"VARCHAR"
property=
"reportTemplateID"
/>
<result
column=
"DataSourceType"
jdbcType=
"INTEGER"
property=
"dataSourceType"
/>
<result
column=
"Formula"
jdbcType=
"VARCHAR"
property=
"formula"
/>
<result
column=
"FormulaDescription"
jdbcType=
"VARCHAR"
property=
"formulaDescription"
/>
<result
column=
"AccountCodes"
jdbcType=
"VARCHAR"
property=
"accountCodes"
/>
<result
column=
"InvoiceType"
jdbcType=
"INTEGER"
property=
"invoiceType"
/>
<result
column=
"TaxRate"
jdbcType=
"VARCHAR"
property=
"taxRate"
/>
<result
column=
"InvoiceAmountType"
jdbcType=
"INTEGER"
property=
"invoiceAmountType"
/>
<result
column=
"ModelIDs"
jdbcType=
"VARCHAR"
property=
"modelIDs"
/>
<result
column=
"Creator"
jdbcType=
"VARCHAR"
property=
"creator"
/>
<result
column=
"CreateTime"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"Updater"
jdbcType=
"VARCHAR"
property=
"updater"
/>
<result
column=
"UpdateTime"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"InvoiceCategory"
jdbcType=
"VARCHAR"
property=
"invoiceCategory"
/>
<result
column=
"FormulaDataSource"
jdbcType=
"VARCHAR"
property=
"formulaDataSource"
/>
<result
column=
"Validation"
jdbcType=
"VARCHAR"
property=
"validation"
/>
<result
column=
"ValidationDescription"
jdbcType=
"VARCHAR"
property=
"validationDescription"
/>
<result
column=
"VoucherKeyword"
jdbcType=
"VARCHAR"
property=
"voucherKeyword"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
ID, CellTemplateID, ReportTemplateID, DataSourceType, Formula, FormulaDescription,
AccountCodes, InvoiceType, TaxRate, InvoiceAmountType, ModelIDs, Creator, CreateTime,
Updater, UpdateTime, InvoiceCategory, FormulaDataSource, Validation, ValidationDescription,
VoucherKeyword
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfigExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from CellTemplateConfig
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include
refid=
"Base_Column_List"
/>
from CellTemplateConfig
where ID = #{ID,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from CellTemplateConfig
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfigExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from CellTemplateConfig
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into CellTemplateConfig (ID, CellTemplateID, ReportTemplateID,
DataSourceType, Formula, FormulaDescription,
AccountCodes, InvoiceType, TaxRate,
InvoiceAmountType, ModelIDs, Creator,
CreateTime, Updater, UpdateTime,
InvoiceCategory, FormulaDataSource, Validation,
ValidationDescription, VoucherKeyword)
values (#{ID,jdbcType=VARCHAR}, #{cellTemplateID,jdbcType=VARCHAR}, #{reportTemplateID,jdbcType=VARCHAR},
#{dataSourceType,jdbcType=INTEGER}, #{formula,jdbcType=VARCHAR}, #{formulaDescription,jdbcType=VARCHAR},
#{accountCodes,jdbcType=VARCHAR}, #{invoiceType,jdbcType=INTEGER}, #{taxRate,jdbcType=VARCHAR},
#{invoiceAmountType,jdbcType=INTEGER}, #{modelIDs,jdbcType=VARCHAR}, #{creator,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updater,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{invoiceCategory,jdbcType=VARCHAR}, #{formulaDataSource,jdbcType=VARCHAR}, #{validation,jdbcType=VARCHAR},
#{validationDescription,jdbcType=VARCHAR}, #{voucherKeyword,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into CellTemplateConfig
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"cellTemplateID != null"
>
CellTemplateID,
</if>
<if
test=
"reportTemplateID != null"
>
ReportTemplateID,
</if>
<if
test=
"dataSourceType != null"
>
DataSourceType,
</if>
<if
test=
"formula != null"
>
Formula,
</if>
<if
test=
"formulaDescription != null"
>
FormulaDescription,
</if>
<if
test=
"accountCodes != null"
>
AccountCodes,
</if>
<if
test=
"invoiceType != null"
>
InvoiceType,
</if>
<if
test=
"taxRate != null"
>
TaxRate,
</if>
<if
test=
"invoiceAmountType != null"
>
InvoiceAmountType,
</if>
<if
test=
"modelIDs != null"
>
ModelIDs,
</if>
<if
test=
"creator != null"
>
Creator,
</if>
<if
test=
"createTime != null"
>
CreateTime,
</if>
<if
test=
"updater != null"
>
Updater,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
<if
test=
"invoiceCategory != null"
>
InvoiceCategory,
</if>
<if
test=
"formulaDataSource != null"
>
FormulaDataSource,
</if>
<if
test=
"validation != null"
>
Validation,
</if>
<if
test=
"validationDescription != null"
>
ValidationDescription,
</if>
<if
test=
"voucherKeyword != null"
>
VoucherKeyword,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"cellTemplateID != null"
>
#{cellTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"reportTemplateID != null"
>
#{reportTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"dataSourceType != null"
>
#{dataSourceType,jdbcType=INTEGER},
</if>
<if
test=
"formula != null"
>
#{formula,jdbcType=VARCHAR},
</if>
<if
test=
"formulaDescription != null"
>
#{formulaDescription,jdbcType=VARCHAR},
</if>
<if
test=
"accountCodes != null"
>
#{accountCodes,jdbcType=VARCHAR},
</if>
<if
test=
"invoiceType != null"
>
#{invoiceType,jdbcType=INTEGER},
</if>
<if
test=
"taxRate != null"
>
#{taxRate,jdbcType=VARCHAR},
</if>
<if
test=
"invoiceAmountType != null"
>
#{invoiceAmountType,jdbcType=INTEGER},
</if>
<if
test=
"modelIDs != null"
>
#{modelIDs,jdbcType=VARCHAR},
</if>
<if
test=
"creator != null"
>
#{creator,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updater != null"
>
#{updater,jdbcType=VARCHAR},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"invoiceCategory != null"
>
#{invoiceCategory,jdbcType=VARCHAR},
</if>
<if
test=
"formulaDataSource != null"
>
#{formulaDataSource,jdbcType=VARCHAR},
</if>
<if
test=
"validation != null"
>
#{validation,jdbcType=VARCHAR},
</if>
<if
test=
"validationDescription != null"
>
#{validationDescription,jdbcType=VARCHAR},
</if>
<if
test=
"voucherKeyword != null"
>
#{voucherKeyword,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfigExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from CellTemplateConfig
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplateConfig
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.cellTemplateID != null"
>
CellTemplateID = #{record.cellTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"record.reportTemplateID != null"
>
ReportTemplateID = #{record.reportTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"record.dataSourceType != null"
>
DataSourceType = #{record.dataSourceType,jdbcType=INTEGER},
</if>
<if
test=
"record.formula != null"
>
Formula = #{record.formula,jdbcType=VARCHAR},
</if>
<if
test=
"record.formulaDescription != null"
>
FormulaDescription = #{record.formulaDescription,jdbcType=VARCHAR},
</if>
<if
test=
"record.accountCodes != null"
>
AccountCodes = #{record.accountCodes,jdbcType=VARCHAR},
</if>
<if
test=
"record.invoiceType != null"
>
InvoiceType = #{record.invoiceType,jdbcType=INTEGER},
</if>
<if
test=
"record.taxRate != null"
>
TaxRate = #{record.taxRate,jdbcType=VARCHAR},
</if>
<if
test=
"record.invoiceAmountType != null"
>
InvoiceAmountType = #{record.invoiceAmountType,jdbcType=INTEGER},
</if>
<if
test=
"record.modelIDs != null"
>
ModelIDs = #{record.modelIDs,jdbcType=VARCHAR},
</if>
<if
test=
"record.creator != null"
>
Creator = #{record.creator,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updater != null"
>
Updater = #{record.updater,jdbcType=VARCHAR},
</if>
<if
test=
"record.updateTime != null"
>
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.invoiceCategory != null"
>
InvoiceCategory = #{record.invoiceCategory,jdbcType=VARCHAR},
</if>
<if
test=
"record.formulaDataSource != null"
>
FormulaDataSource = #{record.formulaDataSource,jdbcType=VARCHAR},
</if>
<if
test=
"record.validation != null"
>
Validation = #{record.validation,jdbcType=VARCHAR},
</if>
<if
test=
"record.validationDescription != null"
>
ValidationDescription = #{record.validationDescription,jdbcType=VARCHAR},
</if>
<if
test=
"record.voucherKeyword != null"
>
VoucherKeyword = #{record.voucherKeyword,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplateConfig
set ID = #{record.ID,jdbcType=VARCHAR},
CellTemplateID = #{record.cellTemplateID,jdbcType=VARCHAR},
ReportTemplateID = #{record.reportTemplateID,jdbcType=VARCHAR},
DataSourceType = #{record.dataSourceType,jdbcType=INTEGER},
Formula = #{record.formula,jdbcType=VARCHAR},
FormulaDescription = #{record.formulaDescription,jdbcType=VARCHAR},
AccountCodes = #{record.accountCodes,jdbcType=VARCHAR},
InvoiceType = #{record.invoiceType,jdbcType=INTEGER},
TaxRate = #{record.taxRate,jdbcType=VARCHAR},
InvoiceAmountType = #{record.invoiceAmountType,jdbcType=INTEGER},
ModelIDs = #{record.modelIDs,jdbcType=VARCHAR},
Creator = #{record.creator,jdbcType=VARCHAR},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
Updater = #{record.updater,jdbcType=VARCHAR},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
InvoiceCategory = #{record.invoiceCategory,jdbcType=VARCHAR},
FormulaDataSource = #{record.formulaDataSource,jdbcType=VARCHAR},
Validation = #{record.validation,jdbcType=VARCHAR},
ValidationDescription = #{record.validationDescription,jdbcType=VARCHAR},
VoucherKeyword = #{record.voucherKeyword,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplateConfig
<set>
<if
test=
"cellTemplateID != null"
>
CellTemplateID = #{cellTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"reportTemplateID != null"
>
ReportTemplateID = #{reportTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"dataSourceType != null"
>
DataSourceType = #{dataSourceType,jdbcType=INTEGER},
</if>
<if
test=
"formula != null"
>
Formula = #{formula,jdbcType=VARCHAR},
</if>
<if
test=
"formulaDescription != null"
>
FormulaDescription = #{formulaDescription,jdbcType=VARCHAR},
</if>
<if
test=
"accountCodes != null"
>
AccountCodes = #{accountCodes,jdbcType=VARCHAR},
</if>
<if
test=
"invoiceType != null"
>
InvoiceType = #{invoiceType,jdbcType=INTEGER},
</if>
<if
test=
"taxRate != null"
>
TaxRate = #{taxRate,jdbcType=VARCHAR},
</if>
<if
test=
"invoiceAmountType != null"
>
InvoiceAmountType = #{invoiceAmountType,jdbcType=INTEGER},
</if>
<if
test=
"modelIDs != null"
>
ModelIDs = #{modelIDs,jdbcType=VARCHAR},
</if>
<if
test=
"creator != null"
>
Creator = #{creator,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
CreateTime = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updater != null"
>
Updater = #{updater,jdbcType=VARCHAR},
</if>
<if
test=
"updateTime != null"
>
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"invoiceCategory != null"
>
InvoiceCategory = #{invoiceCategory,jdbcType=VARCHAR},
</if>
<if
test=
"formulaDataSource != null"
>
FormulaDataSource = #{formulaDataSource,jdbcType=VARCHAR},
</if>
<if
test=
"validation != null"
>
Validation = #{validation,jdbcType=VARCHAR},
</if>
<if
test=
"validationDescription != null"
>
ValidationDescription = #{validationDescription,jdbcType=VARCHAR},
</if>
<if
test=
"voucherKeyword != null"
>
VoucherKeyword = #{voucherKeyword,jdbcType=VARCHAR},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplateConfig
set CellTemplateID = #{cellTemplateID,jdbcType=VARCHAR},
ReportTemplateID = #{reportTemplateID,jdbcType=VARCHAR},
DataSourceType = #{dataSourceType,jdbcType=INTEGER},
Formula = #{formula,jdbcType=VARCHAR},
FormulaDescription = #{formulaDescription,jdbcType=VARCHAR},
AccountCodes = #{accountCodes,jdbcType=VARCHAR},
InvoiceType = #{invoiceType,jdbcType=INTEGER},
TaxRate = #{taxRate,jdbcType=VARCHAR},
InvoiceAmountType = #{invoiceAmountType,jdbcType=INTEGER},
ModelIDs = #{modelIDs,jdbcType=VARCHAR},
Creator = #{creator,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
Updater = #{updater,jdbcType=VARCHAR},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
InvoiceCategory = #{invoiceCategory,jdbcType=VARCHAR},
FormulaDataSource = #{formulaDataSource,jdbcType=VARCHAR},
Validation = #{validation,jdbcType=VARCHAR},
ValidationDescription = #{validationDescription,jdbcType=VARCHAR},
VoucherKeyword = #{voucherKeyword,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateConfigExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from CellTemplateConfig
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"getCellTemplateConfigByTemplateID"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
select b.* from CellTemplate a join CellTemplateConfig b on a.ID = b.CellTemplateID where a.ReportTemplateID=#{templateID,jdbcType=VARCHAR}
</select>
</mapper>
\ No newline at end of file
atms-api/src/main/resources/pwc/taxtech/atms/dao/CellTemplateMapper.xml
0 → 100644
View file @
5a08ef3b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.dao.CellTemplateMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.CellTemplate"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"ReportTemplateID"
jdbcType=
"VARCHAR"
property=
"reportTemplateID"
/>
<result
column=
"RowIndex"
jdbcType=
"INTEGER"
property=
"rowIndex"
/>
<result
column=
"RowName"
jdbcType=
"VARCHAR"
property=
"rowName"
/>
<result
column=
"ColumnIndex"
jdbcType=
"INTEGER"
property=
"columnIndex"
/>
<result
column=
"ColumnName"
jdbcType=
"VARCHAR"
property=
"columnName"
/>
<result
column=
"Comment"
jdbcType=
"VARCHAR"
property=
"comment"
/>
<result
column=
"CreateTime"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"UpdateTime"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"CopyFromID"
jdbcType=
"VARCHAR"
property=
"copyFromID"
/>
<result
column=
"DataType"
jdbcType=
"INTEGER"
property=
"dataType"
/>
<result
column=
"IsReadOnly"
jdbcType=
"INTEGER"
property=
"isReadOnly"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
ID, ReportTemplateID, RowIndex, RowName, ColumnIndex, ColumnName, Comment, CreateTime,
UpdateTime, CopyFromID, DataType, IsReadOnly
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from CellTemplate
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include
refid=
"Base_Column_List"
/>
from CellTemplate
where ID = #{ID,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from CellTemplate
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from CellTemplate
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplate"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into CellTemplate (ID, ReportTemplateID, RowIndex,
RowName, ColumnIndex, ColumnName,
Comment, CreateTime, UpdateTime,
CopyFromID, DataType, IsReadOnly
)
values (#{ID,jdbcType=VARCHAR}, #{reportTemplateID,jdbcType=VARCHAR}, #{rowIndex,jdbcType=INTEGER},
#{rowName,jdbcType=VARCHAR}, #{columnIndex,jdbcType=INTEGER}, #{columnName,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{copyFromID,jdbcType=VARCHAR}, #{dataType,jdbcType=INTEGER}, #{isReadOnly,jdbcType=INTEGER}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplate"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into CellTemplate
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"reportTemplateID != null"
>
ReportTemplateID,
</if>
<if
test=
"rowIndex != null"
>
RowIndex,
</if>
<if
test=
"rowName != null"
>
RowName,
</if>
<if
test=
"columnIndex != null"
>
ColumnIndex,
</if>
<if
test=
"columnName != null"
>
ColumnName,
</if>
<if
test=
"comment != null"
>
Comment,
</if>
<if
test=
"createTime != null"
>
CreateTime,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
<if
test=
"copyFromID != null"
>
CopyFromID,
</if>
<if
test=
"dataType != null"
>
DataType,
</if>
<if
test=
"isReadOnly != null"
>
IsReadOnly,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"reportTemplateID != null"
>
#{reportTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"rowIndex != null"
>
#{rowIndex,jdbcType=INTEGER},
</if>
<if
test=
"rowName != null"
>
#{rowName,jdbcType=VARCHAR},
</if>
<if
test=
"columnIndex != null"
>
#{columnIndex,jdbcType=INTEGER},
</if>
<if
test=
"columnName != null"
>
#{columnName,jdbcType=VARCHAR},
</if>
<if
test=
"comment != null"
>
#{comment,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"copyFromID != null"
>
#{copyFromID,jdbcType=VARCHAR},
</if>
<if
test=
"dataType != null"
>
#{dataType,jdbcType=INTEGER},
</if>
<if
test=
"isReadOnly != null"
>
#{isReadOnly,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from CellTemplate
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplate
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.reportTemplateID != null"
>
ReportTemplateID = #{record.reportTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"record.rowIndex != null"
>
RowIndex = #{record.rowIndex,jdbcType=INTEGER},
</if>
<if
test=
"record.rowName != null"
>
RowName = #{record.rowName,jdbcType=VARCHAR},
</if>
<if
test=
"record.columnIndex != null"
>
ColumnIndex = #{record.columnIndex,jdbcType=INTEGER},
</if>
<if
test=
"record.columnName != null"
>
ColumnName = #{record.columnName,jdbcType=VARCHAR},
</if>
<if
test=
"record.comment != null"
>
Comment = #{record.comment,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateTime != null"
>
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.copyFromID != null"
>
CopyFromID = #{record.copyFromID,jdbcType=VARCHAR},
</if>
<if
test=
"record.dataType != null"
>
DataType = #{record.dataType,jdbcType=INTEGER},
</if>
<if
test=
"record.isReadOnly != null"
>
IsReadOnly = #{record.isReadOnly,jdbcType=INTEGER},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplate
set ID = #{record.ID,jdbcType=VARCHAR},
ReportTemplateID = #{record.reportTemplateID,jdbcType=VARCHAR},
RowIndex = #{record.rowIndex,jdbcType=INTEGER},
RowName = #{record.rowName,jdbcType=VARCHAR},
ColumnIndex = #{record.columnIndex,jdbcType=INTEGER},
ColumnName = #{record.columnName,jdbcType=VARCHAR},
Comment = #{record.comment,jdbcType=VARCHAR},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
CopyFromID = #{record.copyFromID,jdbcType=VARCHAR},
DataType = #{record.dataType,jdbcType=INTEGER},
IsReadOnly = #{record.isReadOnly,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplate"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplate
<set>
<if
test=
"reportTemplateID != null"
>
ReportTemplateID = #{reportTemplateID,jdbcType=VARCHAR},
</if>
<if
test=
"rowIndex != null"
>
RowIndex = #{rowIndex,jdbcType=INTEGER},
</if>
<if
test=
"rowName != null"
>
RowName = #{rowName,jdbcType=VARCHAR},
</if>
<if
test=
"columnIndex != null"
>
ColumnIndex = #{columnIndex,jdbcType=INTEGER},
</if>
<if
test=
"columnName != null"
>
ColumnName = #{columnName,jdbcType=VARCHAR},
</if>
<if
test=
"comment != null"
>
Comment = #{comment,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
CreateTime = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"copyFromID != null"
>
CopyFromID = #{copyFromID,jdbcType=VARCHAR},
</if>
<if
test=
"dataType != null"
>
DataType = #{dataType,jdbcType=INTEGER},
</if>
<if
test=
"isReadOnly != null"
>
IsReadOnly = #{isReadOnly,jdbcType=INTEGER},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplate"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update CellTemplate
set ReportTemplateID = #{reportTemplateID,jdbcType=VARCHAR},
RowIndex = #{rowIndex,jdbcType=INTEGER},
RowName = #{rowName,jdbcType=VARCHAR},
ColumnIndex = #{columnIndex,jdbcType=INTEGER},
ColumnName = #{columnName,jdbcType=VARCHAR},
Comment = #{comment,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
CopyFromID = #{copyFromID,jdbcType=VARCHAR},
DataType = #{dataType,jdbcType=INTEGER},
IsReadOnly = #{isReadOnly,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.CellTemplateExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from CellTemplate
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
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