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
d62b1024
Commit
d62b1024
authored
May 24, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_eddie' into dev_frank
parents
b16be625
a10fa2f6
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
6461 additions
and
366 deletions
+6461
-366
generatorConfig.xml
atms-api/etc/generator/generatorConfig.xml
+391
-365
FormulaController.java
...n/java/pwc/taxtech/atms/controller/FormulaController.java
+55
-0
FormulaConfigMapper.java
...c/main/java/pwc/taxtech/atms/dao/FormulaConfigMapper.java
+109
-0
FormulaParamConfigMapper.java
...n/java/pwc/taxtech/atms/dao/FormulaParamConfigMapper.java
+109
-0
FormulaParamMappingMapper.java
.../java/pwc/taxtech/atms/dao/FormulaParamMappingMapper.java
+109
-0
FormulaParamOptionMapper.java
...n/java/pwc/taxtech/atms/dao/FormulaParamOptionMapper.java
+109
-0
FormulaConfigDao.java
.../main/java/pwc/taxtech/atms/dao/dao/FormulaConfigDao.java
+20
-0
FormulaParamConfigDao.java
.../java/pwc/taxtech/atms/dao/dao/FormulaParamConfigDao.java
+20
-0
FormulaParamMappingDao.java
...java/pwc/taxtech/atms/dao/dao/FormulaParamMappingDao.java
+20
-0
FormulaParamOptionDao.java
.../java/pwc/taxtech/atms/dao/dao/FormulaParamOptionDao.java
+20
-0
FormulaParamConfigDto.java
...a/pwc/taxtech/atms/dto/formula/FormulaParamConfigDto.java
+60
-0
FormulaParamMappingDto.java
.../pwc/taxtech/atms/dto/formula/FormulaParamMappingDto.java
+40
-0
FormulaParamOptionDto.java
...a/pwc/taxtech/atms/dto/formula/FormulaParamOptionDto.java
+58
-0
FormulaConfig.java
...src/main/java/pwc/taxtech/atms/entitiy/FormulaConfig.java
+411
-0
FormulaConfigExample.java
...n/java/pwc/taxtech/atms/entitiy/FormulaConfigExample.java
+1043
-0
FormulaParamConfig.java
...ain/java/pwc/taxtech/atms/entitiy/FormulaParamConfig.java
+207
-0
FormulaParamConfigExample.java
...a/pwc/taxtech/atms/entitiy/FormulaParamConfigExample.java
+633
-0
FormulaParamMapping.java
...in/java/pwc/taxtech/atms/entitiy/FormulaParamMapping.java
+173
-0
FormulaParamMappingExample.java
.../pwc/taxtech/atms/entitiy/FormulaParamMappingExample.java
+573
-0
FormulaParamOption.java
...ain/java/pwc/taxtech/atms/entitiy/FormulaParamOption.java
+241
-0
FormulaParamOptionExample.java
...a/pwc/taxtech/atms/entitiy/FormulaParamOptionExample.java
+713
-0
FormulaService.java
...rc/main/java/pwc/taxtech/atms/service/FormulaService.java
+15
-0
FormulaServiceImpl.java
...ava/pwc/taxtech/atms/service/impl/FormulaServiceImpl.java
+74
-0
StdAccountServiceImpl.java
.../pwc/taxtech/atms/service/impl/StdAccountServiceImpl.java
+1
-1
FormulaConfigMapper.xml
...in/resources/pwc/taxtech/atms/dao/FormulaConfigMapper.xml
+385
-0
FormulaParamConfigMapper.xml
...sources/pwc/taxtech/atms/dao/FormulaParamConfigMapper.xml
+290
-0
FormulaParamMappingMapper.xml
...ources/pwc/taxtech/atms/dao/FormulaParamMappingMapper.xml
+275
-0
FormulaParamOptionMapper.xml
...sources/pwc/taxtech/atms/dao/FormulaParamOptionMapper.xml
+307
-0
No files found.
atms-api/etc/generator/generatorConfig.xml
View file @
d62b1024
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<!-- See: http://www.mybatis.org/generator/configreference/commentGenerator.html -->
<properties
resource=
"generator.properties"
/>
<!-- <classPathEntry location="../hsqldb/hsqldb-2.3.5.jar" /> -->
<context
id=
"contextId"
targetRuntime=
"MyBatis3"
>
<!-- 考虑需要兼容DB2与ORCAL数据库, 大部份字段不需要加双引号,autoDelimitKeywords设置为false -->
<property
name=
"autoDelimitKeywords"
value=
"false"
/>
<property
name=
"javaFileEncoding"
value=
"UTF-8"
/>
<plugin
type=
"org.mybatis.generator.plugins.MapperAnnotationPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.RowBoundsPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.ToStringPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.SerializablePlugin"
/>
<commentGenerator>
<property
name=
"suppressDate"
value=
"true"
/>
<property
name=
"addRemarkComments"
value=
"true"
/>
</commentGenerator>
<jdbcConnection
driverClass=
"${jdbc.driverClass}"
connectionURL=
"${jdbc.connectionURL}"
userId=
"${jdbc.userId}"
password=
"${jdbc.password}"
>
</jdbcConnection>
<!-- See: http://www.mybatis.org/generator/configreference/commentGenerator.html -->
<properties
resource=
"generator.properties"
/>
<!-- <classPathEntry location="../hsqldb/hsqldb-2.3.5.jar" /> -->
<context
id=
"contextId"
targetRuntime=
"MyBatis3"
>
<!-- 考虑需要兼容DB2与ORCAL数据库, 大部份字段不需要加双引号,autoDelimitKeywords设置为false -->
<property
name=
"autoDelimitKeywords"
value=
"false"
/>
<property
name=
"javaFileEncoding"
value=
"UTF-8"
/>
<plugin
type=
"org.mybatis.generator.plugins.MapperAnnotationPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.RowBoundsPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.ToStringPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.SerializablePlugin"
/>
<commentGenerator>
<property
name=
"suppressDate"
value=
"true"
/>
<property
name=
"addRemarkComments"
value=
"true"
/>
</commentGenerator>
<jdbcConnection
driverClass=
"${jdbc.driverClass}"
connectionURL=
"${jdbc.connectionURL}"
userId=
"${jdbc.userId}"
password=
"${jdbc.password}"
>
</jdbcConnection>
<javaTypeResolver>
<property
name=
"forceBigDecimals"
value=
"false"
/>
</javaTypeResolver>
<javaTypeResolver>
<property
name=
"forceBigDecimals"
value=
"false"
/>
</javaTypeResolver>
<javaModelGenerator
targetPackage=
"pwc.taxtech.atms.entitiy"
targetProject=
"../../src/main/java"
>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
<javaModelGenerator
targetPackage=
"pwc.taxtech.atms.entitiy"
targetProject=
"../../src/main/java"
>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
<sqlMapGenerator
targetPackage=
"pwc.taxtech.atms.dao"
targetProject=
"../../src/main/resources"
>
</sqlMapGenerator>
<sqlMapGenerator
targetPackage=
"pwc.taxtech.atms.dao"
targetProject=
"../../src/main/resources"
>
</sqlMapGenerator>
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"pwc.taxtech.atms.dao"
targetProject=
"../../src/main/java"
>
<property
name=
"rootInterface"
value=
"pwc.taxtech.atms.MyMapper"
/>
</javaClientGenerator>
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"pwc.taxtech.atms.dao"
targetProject=
"../../src/main/java"
>
<property
name=
"rootInterface"
value=
"pwc.taxtech.atms.MyMapper"
/>
</javaClientGenerator>
<!-- Area/AreaRegion/Region -->
<table
tableName=
"Area"
domainObjectName=
"Area"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"AreaRegion"
domainObjectName=
"AreaRegion"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
</table>
<table
tableName=
"Region"
domainObjectName=
"Region"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserDimensionValue"
domainObjectName=
"UserDimensionValue"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isAccessible"
javaType=
"Boolean"
/>
<columnOverride
column=
"hasOriginalRole"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"OrganizationStructure"
domainObjectName=
"OrganizationStructure"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<!-- User做为表名需要加引号,考虑需要兼容DB2与ORCAL数据库, sql语句中要使用 select * from "USER" -->
<table
tableName=
"User"
domainObjectName=
"User"
>
<!-- 指定runtimeTableName为大写的USER, 因为定义在table标签的tableName并不生效 -->
<!--<property name="runtimeTableName" value="USER" />-->
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isAdmin"
javaType=
"Boolean"
/>
<columnOverride
column=
"isSuperAdmin"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserRole"
domainObjectName=
"UserRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"RolePermission"
domainObjectName=
"RolePermission"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Permission"
domainObjectName=
"Permission"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"RelyOnCodes"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Menu"
domainObjectName=
"Menu"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"NavigationUrl"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IconClassName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isVisible"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"OperationLogOrganization"
domainObjectName=
"OperationLogOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLogBasicData"
domainObjectName=
"OperationLogBasicData"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLogEnterPrise"
domainObjectName=
"OperationLogEnterPrise"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLogRole"
domainObjectName=
"OperationLogRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"Organization"
domainObjectName=
"Organization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"EnglishName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ManufactureAddress"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RegisterAddress"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Remark"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Address"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RegistrationLocation"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RegistrationCapital"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"LegalCode"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"pLevel"
property=
"pLevel"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"EnterpriseAccountSet"
domainObjectName=
"EnterpriseAccountSet"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
property=
"isActive"
/>
<columnOverride
column=
"CreateTime"
/>
<columnOverride
column=
"UpdateTime"
/>
</table>
<table
tableName=
"EnterpriseAccount"
domainObjectName=
"EnterpriseAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
property=
"isActive"
/>
<columnOverride
column=
"IsLeaf"
javaType=
"Boolean"
property=
"isLeaf"
/>
</table>
<table
tableName=
"StandardAccount"
domainObjectName=
"StandardAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isLeaf"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"AccountMapping"
domainObjectName=
"AccountMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"AccountMappingManual"
domainObjectName=
"AccountMappingManual"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"EnterpriseAccountSetOrg"
domainObjectName=
"EnterpriseAccountSetOrg"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"BusinessUnit"
domainObjectName=
"BusinessUnit"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isLeaf"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Customer"
domainObjectName=
"Customer"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Role"
domainObjectName=
"Role"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"RoleCategory"
domainObjectName=
"RoleCategory"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserHistoricalPassword"
domainObjectName=
"UserHistoricalPassword"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"UserDimensionValueOrg"
domainObjectName=
"UserDimensionValueOrg"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isHeritable"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserDimensionValueRole"
domainObjectName=
"UserDimensionValueRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"UserOrganization"
domainObjectName=
"UserOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isAccessible"
javaType=
"Boolean"
/>
<columnOverride
column=
"hasOriginalRole"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserOrganizationRole"
domainObjectName=
"UserOrganizationRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"DimensionValueOrg"
domainObjectName=
"DimensionValueOrg"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ServiceType"
domainObjectName=
"ServiceType"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Dimension"
domainObjectName=
"Dimension"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsMandatory"
javaType=
"Boolean"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"IsSystemDimension"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"DimensionValue"
domainObjectName=
"DimensionValue"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Stock"
domainObjectName=
"Stock"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ProjectClient"
domainObjectName=
"ProjectClient"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Industry"
domainObjectName=
"Industry"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"StatisticAttribute"
domainObjectName=
"StatisticAttribute"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"StatisticAttributeDimension"
domainObjectName=
"StatisticAttributeDimension"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Dictionary"
domainObjectName=
"Dictionary"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"DictValue"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Remark"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Cache"
domainObjectName=
"Cache"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"OperationLogUser"
domainObjectName=
"OperationLogUser"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OrganizationServiceTemplateGroup"
domainObjectName=
"OrganizationServiceTemplateGroup"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"TaxPayerReportRule"
domainObjectName=
"TaxPayerReportRule"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OrganizationID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsDefault"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"TaxRuleSetting"
domainObjectName=
"TaxRuleSetting"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsDefault"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"TaxRuleSettingOrganization"
domainObjectName=
"TaxRuleSettingOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"KeyValueConfig"
domainObjectName=
"KeyValueConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"KeyCode"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"TemplateGroup"
domainObjectName=
"TemplateGroup"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsSystemType"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"KeyValueReference"
domainObjectName=
"KeyValueReference"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Model"
domainObjectName=
"Model"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ModelCategory"
domainObjectName=
"ModelCategory"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelConfig"
domainObjectName=
"ModelConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelServiceConfig"
domainObjectName=
"ModelServiceConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"FormulaConfig"
domainObjectName=
"FormulaConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"FormulaName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"DataSourceName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ChineseName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"EnglishName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"FormulaParamConfig"
domainObjectName=
"FormulaParamConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"DisplayFormat"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"FormulaParamMapping"
domainObjectName=
"FormulaParamMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"FormulaParamOption"
domainObjectName=
"FormulaParamOption"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Value"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ShortName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</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"
/>
<columnOverride
column=
"IsReadOnly"
javaType=
"Boolean"
/>
</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>
<table
tableName=
"Template"
domainObjectName=
"Template"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Code"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Path"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ParentId"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsSystemType"
javaType=
"Boolean"
/>
<columnOverride
column=
"IsActiveAssociation"
javaType=
"Boolean"
/>
<!-- Area/AreaRegion/Region -->
<table
tableName=
"Area"
domainObjectName=
"Area"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"AreaRegion"
domainObjectName=
"AreaRegion"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
</table>
<table
tableName=
"Region"
domainObjectName=
"Region"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserDimensionValue"
domainObjectName=
"UserDimensionValue"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isAccessible"
javaType=
"Boolean"
/>
<columnOverride
column=
"hasOriginalRole"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"OrganizationStructure"
domainObjectName=
"OrganizationStructure"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<!-- User做为表名需要加引号,考虑需要兼容DB2与ORCAL数据库, sql语句中要使用 select * from "USER" -->
<table
tableName=
"User"
domainObjectName=
"User"
>
<!-- 指定runtimeTableName为大写的USER, 因为定义在table标签的tableName并不生效 -->
<!--<property name="runtimeTableName" value="USER" />-->
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isAdmin"
javaType=
"Boolean"
/>
<columnOverride
column=
"isSuperAdmin"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserRole"
domainObjectName=
"UserRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"RolePermission"
domainObjectName=
"RolePermission"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Permission"
domainObjectName=
"Permission"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"RelyOnCodes"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Menu"
domainObjectName=
"Menu"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"NavigationUrl"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IconClassName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isVisible"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"OperationLogOrganization"
domainObjectName=
"OperationLogOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLogBasicData"
domainObjectName=
"OperationLogBasicData"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLogEnterPrise"
domainObjectName=
"OperationLogEnterPrise"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OperationLogRole"
domainObjectName=
"OperationLogRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"Organization"
domainObjectName=
"Organization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"EnglishName"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ManufactureAddress"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RegisterAddress"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Remark"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Address"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RegistrationLocation"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"RegistrationCapital"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"LegalCode"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"pLevel"
property=
"pLevel"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"EnterpriseAccountSet"
domainObjectName=
"EnterpriseAccountSet"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"ID"
javaType=
"String"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
property=
"isActive"
/>
<columnOverride
column=
"CreateTime"
/>
<columnOverride
column=
"UpdateTime"
/>
</table>
<table
tableName=
"EnterpriseAccount"
domainObjectName=
"EnterpriseAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
property=
"isActive"
/>
<columnOverride
column=
"IsLeaf"
javaType=
"Boolean"
property=
"isLeaf"
/>
</table>
<table
tableName=
"StandardAccount"
domainObjectName=
"StandardAccount"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isLeaf"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"AccountMapping"
domainObjectName=
"AccountMapping"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"AccountMappingManual"
domainObjectName=
"AccountMappingManual"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"EnterpriseAccountSetOrg"
domainObjectName=
"EnterpriseAccountSetOrg"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"BusinessUnit"
domainObjectName=
"BusinessUnit"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"isLeaf"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Customer"
domainObjectName=
"Customer"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Role"
domainObjectName=
"Role"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"RoleCategory"
domainObjectName=
"RoleCategory"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserHistoricalPassword"
domainObjectName=
"UserHistoricalPassword"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"UserDimensionValueOrg"
domainObjectName=
"UserDimensionValueOrg"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isHeritable"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserDimensionValueRole"
domainObjectName=
"UserDimensionValueRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"UserOrganization"
domainObjectName=
"UserOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isAccessible"
javaType=
"Boolean"
/>
<columnOverride
column=
"hasOriginalRole"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"UserOrganizationRole"
domainObjectName=
"UserOrganizationRole"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"DimensionValueOrg"
domainObjectName=
"DimensionValueOrg"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ServiceType"
domainObjectName=
"ServiceType"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"isActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Dimension"
domainObjectName=
"Dimension"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsMandatory"
javaType=
"Boolean"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
<columnOverride
column=
"IsSystemDimension"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"DimensionValue"
domainObjectName=
"DimensionValue"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Stock"
domainObjectName=
"Stock"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ProjectClient"
domainObjectName=
"ProjectClient"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Industry"
domainObjectName=
"Industry"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"StatisticAttribute"
domainObjectName=
"StatisticAttribute"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"StatisticAttributeDimension"
domainObjectName=
"StatisticAttributeDimension"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Dictionary"
domainObjectName=
"Dictionary"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"DictValue"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Remark"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsActive"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"Cache"
domainObjectName=
"Cache"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"OperationLogUser"
domainObjectName=
"OperationLogUser"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OriginalState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"UpdateState"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Comment"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"OrganizationServiceTemplateGroup"
domainObjectName=
"OrganizationServiceTemplateGroup"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"TaxPayerReportRule"
domainObjectName=
"TaxPayerReportRule"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"OrganizationID"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsDefault"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"TaxRuleSetting"
domainObjectName=
"TaxRuleSetting"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsDefault"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"TaxRuleSettingOrganization"
domainObjectName=
"TaxRuleSettingOrganization"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"KeyValueConfig"
domainObjectName=
"KeyValueConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"KeyCode"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"TemplateGroup"
domainObjectName=
"TemplateGroup"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"IsSystemType"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"KeyValueReference"
domainObjectName=
"KeyValueReference"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"Model"
domainObjectName=
"Model"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Description"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"ModelCategory"
domainObjectName=
"ModelCategory"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelConfig"
domainObjectName=
"ModelConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"ModelServiceConfig"
domainObjectName=
"ModelServiceConfig"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</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"
/>
<columnOverride
column=
"IsReadOnly"
javaType=
"Boolean"
/>
</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>
<table
tableName=
"Template"
domainObjectName=
"Template"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Name"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Code"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"Path"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"ParentId"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsSystemType"
javaType=
"Boolean"
/>
<columnOverride
column=
"IsActiveAssociation"
javaType=
"Boolean"
/>
</table>
<table
tableName=
"TemplateFormula"
domainObjectName=
"TemplateFormula"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsManualChange"
javaType=
"Boolean"
/>
<columnOverride
column=
"Instructions"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</context>
</table>
<table
tableName=
"TemplateFormula"
domainObjectName=
"TemplateFormula"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"Formula"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"IsManualChange"
javaType=
"Boolean"
/>
<columnOverride
column=
"Instructions"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/controller/FormulaController.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
controller
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
pwc.taxtech.atms.dto.OperationResultDto
;
import
pwc.taxtech.atms.service.FormulaService
;
@RestController
@RequestMapping
(
"/api/v1/formula"
)
public
class
FormulaController
extends
BaseController
{
@Autowired
FormulaService
formulaService
;
@ResponseBody
@ApiOperation
(
value
=
""
)
@RequestMapping
(
value
=
"get"
,
method
=
RequestMethod
.
GET
)
public
OperationResultDto
getAllFormulaList
()
{
try
{
return
OperationResultDto
.
success
(
formulaService
.
getAllFormulaList
());
}
catch
(
Exception
e
)
{
logger
.
error
(
"getAllFormulaList error."
,
e
);
}
return
OperationResultDto
.
error
();
}
@ResponseBody
@ApiOperation
(
value
=
""
)
@RequestMapping
(
value
=
"param/get"
,
method
=
RequestMethod
.
GET
)
public
OperationResultDto
getAllFormulaConfigList
()
{
try
{
return
OperationResultDto
.
success
(
formulaService
.
getAllFormulaParamList
());
}
catch
(
Exception
e
)
{
logger
.
error
(
"getAllFormulaConfigList error."
,
e
);
}
return
OperationResultDto
.
error
();
}
@ResponseBody
@ApiOperation
(
value
=
""
)
@RequestMapping
(
value
=
"parammapping/get"
,
method
=
RequestMethod
.
GET
)
public
OperationResultDto
getAllFormulaParamMappingList
()
{
try
{
return
OperationResultDto
.
success
(
formulaService
.
getAllFormulaParamMappingList
());
}
catch
(
Exception
e
)
{
logger
.
error
(
"getAllFormulaParamMappingList error."
,
e
);
}
return
OperationResultDto
.
error
();
}
}
atms-api/src/main/java/pwc/taxtech/atms/dao/FormulaConfigMapper.java
0 → 100644
View file @
d62b1024
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.FormulaConfig
;
import
pwc.taxtech.atms.entitiy.FormulaConfigExample
;
@Mapper
public
interface
FormulaConfigMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
long
countByExample
(
FormulaConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
deleteByExample
(
FormulaConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
insert
(
FormulaConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
insertSelective
(
FormulaConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
List
<
FormulaConfig
>
selectByExampleWithRowbounds
(
FormulaConfigExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
List
<
FormulaConfig
>
selectByExample
(
FormulaConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
FormulaConfig
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
FormulaConfig
record
,
@Param
(
"example"
)
FormulaConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
FormulaConfig
record
,
@Param
(
"example"
)
FormulaConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
FormulaConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
FormulaConfig
record
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/dao/FormulaParamConfigMapper.java
0 → 100644
View file @
d62b1024
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.FormulaParamConfig
;
import
pwc.taxtech.atms.entitiy.FormulaParamConfigExample
;
@Mapper
public
interface
FormulaParamConfigMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
long
countByExample
(
FormulaParamConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
deleteByExample
(
FormulaParamConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
insert
(
FormulaParamConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
insertSelective
(
FormulaParamConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
List
<
FormulaParamConfig
>
selectByExampleWithRowbounds
(
FormulaParamConfigExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
List
<
FormulaParamConfig
>
selectByExample
(
FormulaParamConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
FormulaParamConfig
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
FormulaParamConfig
record
,
@Param
(
"example"
)
FormulaParamConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
FormulaParamConfig
record
,
@Param
(
"example"
)
FormulaParamConfigExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
FormulaParamConfig
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
FormulaParamConfig
record
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/dao/FormulaParamMappingMapper.java
0 → 100644
View file @
d62b1024
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.FormulaParamMapping
;
import
pwc.taxtech.atms.entitiy.FormulaParamMappingExample
;
@Mapper
public
interface
FormulaParamMappingMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
long
countByExample
(
FormulaParamMappingExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
deleteByExample
(
FormulaParamMappingExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
insert
(
FormulaParamMapping
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
insertSelective
(
FormulaParamMapping
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
List
<
FormulaParamMapping
>
selectByExampleWithRowbounds
(
FormulaParamMappingExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
List
<
FormulaParamMapping
>
selectByExample
(
FormulaParamMappingExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
FormulaParamMapping
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
FormulaParamMapping
record
,
@Param
(
"example"
)
FormulaParamMappingExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
FormulaParamMapping
record
,
@Param
(
"example"
)
FormulaParamMappingExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
FormulaParamMapping
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
FormulaParamMapping
record
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/dao/FormulaParamOptionMapper.java
0 → 100644
View file @
d62b1024
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.FormulaParamOption
;
import
pwc.taxtech.atms.entitiy.FormulaParamOptionExample
;
@Mapper
public
interface
FormulaParamOptionMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
long
countByExample
(
FormulaParamOptionExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
deleteByExample
(
FormulaParamOptionExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
insert
(
FormulaParamOption
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
insertSelective
(
FormulaParamOption
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
List
<
FormulaParamOption
>
selectByExampleWithRowbounds
(
FormulaParamOptionExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
List
<
FormulaParamOption
>
selectByExample
(
FormulaParamOptionExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
FormulaParamOption
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
FormulaParamOption
record
,
@Param
(
"example"
)
FormulaParamOptionExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
FormulaParamOption
record
,
@Param
(
"example"
)
FormulaParamOptionExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
FormulaParamOption
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
FormulaParamOption
record
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/dao/dao/FormulaConfigDao.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
dao
.
dao
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.dao.FormulaConfigMapper
;
import
pwc.taxtech.atms.entitiy.FormulaConfig
;
import
pwc.taxtech.atms.entitiy.FormulaConfigExample
;
import
java.util.List
;
@Service
public
class
FormulaConfigDao
{
@Autowired
FormulaConfigMapper
mapper
;
public
List
<
FormulaConfig
>
getAll
()
{
FormulaConfigExample
example
=
new
FormulaConfigExample
();
return
mapper
.
selectByExample
(
example
);
}
}
atms-api/src/main/java/pwc/taxtech/atms/dao/dao/FormulaParamConfigDao.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
dao
.
dao
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.dao.FormulaParamConfigMapper
;
import
pwc.taxtech.atms.entitiy.FormulaParamConfig
;
import
pwc.taxtech.atms.entitiy.FormulaParamConfigExample
;
import
java.util.List
;
@Service
public
class
FormulaParamConfigDao
{
@Autowired
FormulaParamConfigMapper
mapper
;
public
List
<
FormulaParamConfig
>
getAll
()
{
FormulaParamConfigExample
example
=
new
FormulaParamConfigExample
();
return
mapper
.
selectByExample
(
example
);
}
}
atms-api/src/main/java/pwc/taxtech/atms/dao/dao/FormulaParamMappingDao.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
dao
.
dao
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.dao.FormulaParamMappingMapper
;
import
pwc.taxtech.atms.entitiy.FormulaParamMapping
;
import
pwc.taxtech.atms.entitiy.FormulaParamMappingExample
;
import
java.util.List
;
@Service
public
class
FormulaParamMappingDao
{
@Autowired
FormulaParamMappingMapper
mapper
;
public
List
<
FormulaParamMapping
>
getAll
()
{
FormulaParamMappingExample
example
=
new
FormulaParamMappingExample
();
return
mapper
.
selectByExample
(
example
);
}
}
atms-api/src/main/java/pwc/taxtech/atms/dao/dao/FormulaParamOptionDao.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
dao
.
dao
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.dao.FormulaParamOptionMapper
;
import
pwc.taxtech.atms.entitiy.FormulaParamOption
;
import
pwc.taxtech.atms.entitiy.FormulaParamOptionExample
;
import
java.util.List
;
@Service
public
class
FormulaParamOptionDao
{
@Autowired
FormulaParamOptionMapper
mapper
;
public
List
<
FormulaParamOption
>
getAll
()
{
FormulaParamOptionExample
example
=
new
FormulaParamOptionExample
();
return
mapper
.
selectByExample
(
example
);
}
}
atms-api/src/main/java/pwc/taxtech/atms/dto/formula/FormulaParamConfigDto.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
dto
.
formula
;
import
java.util.List
;
public
class
FormulaParamConfigDto
{
public
String
ID
;
public
String
name
;
public
String
displayFormat
;
public
int
paramType
;
public
int
paramDataType
;
public
List
<
FormulaParamOptionDto
>
options
;
public
String
getID
()
{
return
ID
;
}
public
void
setID
(
String
ID
)
{
this
.
ID
=
ID
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getDisplayFormat
()
{
return
displayFormat
;
}
public
void
setDisplayFormat
(
String
displayFormat
)
{
this
.
displayFormat
=
displayFormat
;
}
public
int
getParamType
()
{
return
paramType
;
}
public
void
setParamType
(
int
paramType
)
{
this
.
paramType
=
paramType
;
}
public
int
getParamDataType
()
{
return
paramDataType
;
}
public
void
setParamDataType
(
int
paramDataType
)
{
this
.
paramDataType
=
paramDataType
;
}
public
List
<
FormulaParamOptionDto
>
getOptions
()
{
return
options
;
}
public
void
setOptions
(
List
<
FormulaParamOptionDto
>
options
)
{
this
.
options
=
options
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/dto/formula/FormulaParamMappingDto.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
dto
.
formula
;
public
class
FormulaParamMappingDto
{
public
String
ID
;
public
String
formulaID
;
public
String
formulaParamID
;
public
int
paramIndex
;
public
String
getID
()
{
return
ID
;
}
public
void
setID
(
String
ID
)
{
this
.
ID
=
ID
;
}
public
String
getFormulaID
()
{
return
formulaID
;
}
public
void
setFormulaID
(
String
formulaID
)
{
this
.
formulaID
=
formulaID
;
}
public
String
getFormulaParamID
()
{
return
formulaParamID
;
}
public
void
setFormulaParamID
(
String
formulaParamID
)
{
this
.
formulaParamID
=
formulaParamID
;
}
public
int
getParamIndex
()
{
return
paramIndex
;
}
public
void
setParamIndex
(
int
paramIndex
)
{
this
.
paramIndex
=
paramIndex
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/dto/formula/FormulaParamOptionDto.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
dto
.
formula
;
public
class
FormulaParamOptionDto
{
public
String
ID
;
public
String
formulaParamID
;
public
String
value
;
public
String
name
;
public
String
shortName
;
public
int
optionIndex
;
public
String
getID
()
{
return
ID
;
}
public
void
setID
(
String
ID
)
{
this
.
ID
=
ID
;
}
public
String
getFormulaParamID
()
{
return
formulaParamID
;
}
public
void
setFormulaParamID
(
String
formulaParamID
)
{
this
.
formulaParamID
=
formulaParamID
;
}
public
String
getValue
()
{
return
value
;
}
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getShortName
()
{
return
shortName
;
}
public
void
setShortName
(
String
shortName
)
{
this
.
shortName
=
shortName
;
}
public
int
getOptionIndex
()
{
return
optionIndex
;
}
public
void
setOptionIndex
(
int
optionIndex
)
{
this
.
optionIndex
=
optionIndex
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/entitiy/FormulaConfig.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.io.Serializable
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaConfig
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
FormulaConfig
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.FormulaName
*
* @mbg.generated
*/
private
String
formulaName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.Description
*
* @mbg.generated
*/
private
String
description
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.CalculateStatus
*
* @mbg.generated
*/
private
Integer
calculateStatus
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.DataSourceType
*
* @mbg.generated
*/
private
Integer
dataSourceType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.DataSourceName
*
* @mbg.generated
*/
private
String
dataSourceName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.ChineseName
*
* @mbg.generated
*/
private
String
chineseName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.EnglishName
*
* @mbg.generated
*/
private
String
englishName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.ServiceType
*
* @mbg.generated
*/
private
String
serviceType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.Industry
*
* @mbg.generated
*/
private
String
industry
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaConfig.RequiredParamNum
*
* @mbg.generated
*/
private
Integer
requiredParamNum
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.ID
*
* @return the value of FormulaConfig.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.ID
*
* @param ID the value for FormulaConfig.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 FormulaConfig.FormulaName
*
* @return the value of FormulaConfig.FormulaName
*
* @mbg.generated
*/
public
String
getFormulaName
()
{
return
formulaName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.FormulaName
*
* @param formulaName the value for FormulaConfig.FormulaName
*
* @mbg.generated
*/
public
void
setFormulaName
(
String
formulaName
)
{
this
.
formulaName
=
formulaName
==
null
?
null
:
formulaName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.Description
*
* @return the value of FormulaConfig.Description
*
* @mbg.generated
*/
public
String
getDescription
()
{
return
description
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.Description
*
* @param description the value for FormulaConfig.Description
*
* @mbg.generated
*/
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
==
null
?
null
:
description
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.CalculateStatus
*
* @return the value of FormulaConfig.CalculateStatus
*
* @mbg.generated
*/
public
Integer
getCalculateStatus
()
{
return
calculateStatus
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.CalculateStatus
*
* @param calculateStatus the value for FormulaConfig.CalculateStatus
*
* @mbg.generated
*/
public
void
setCalculateStatus
(
Integer
calculateStatus
)
{
this
.
calculateStatus
=
calculateStatus
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.DataSourceType
*
* @return the value of FormulaConfig.DataSourceType
*
* @mbg.generated
*/
public
Integer
getDataSourceType
()
{
return
dataSourceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.DataSourceType
*
* @param dataSourceType the value for FormulaConfig.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 FormulaConfig.DataSourceName
*
* @return the value of FormulaConfig.DataSourceName
*
* @mbg.generated
*/
public
String
getDataSourceName
()
{
return
dataSourceName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.DataSourceName
*
* @param dataSourceName the value for FormulaConfig.DataSourceName
*
* @mbg.generated
*/
public
void
setDataSourceName
(
String
dataSourceName
)
{
this
.
dataSourceName
=
dataSourceName
==
null
?
null
:
dataSourceName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.ChineseName
*
* @return the value of FormulaConfig.ChineseName
*
* @mbg.generated
*/
public
String
getChineseName
()
{
return
chineseName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.ChineseName
*
* @param chineseName the value for FormulaConfig.ChineseName
*
* @mbg.generated
*/
public
void
setChineseName
(
String
chineseName
)
{
this
.
chineseName
=
chineseName
==
null
?
null
:
chineseName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.EnglishName
*
* @return the value of FormulaConfig.EnglishName
*
* @mbg.generated
*/
public
String
getEnglishName
()
{
return
englishName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.EnglishName
*
* @param englishName the value for FormulaConfig.EnglishName
*
* @mbg.generated
*/
public
void
setEnglishName
(
String
englishName
)
{
this
.
englishName
=
englishName
==
null
?
null
:
englishName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.ServiceType
*
* @return the value of FormulaConfig.ServiceType
*
* @mbg.generated
*/
public
String
getServiceType
()
{
return
serviceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.ServiceType
*
* @param serviceType the value for FormulaConfig.ServiceType
*
* @mbg.generated
*/
public
void
setServiceType
(
String
serviceType
)
{
this
.
serviceType
=
serviceType
==
null
?
null
:
serviceType
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.Industry
*
* @return the value of FormulaConfig.Industry
*
* @mbg.generated
*/
public
String
getIndustry
()
{
return
industry
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.Industry
*
* @param industry the value for FormulaConfig.Industry
*
* @mbg.generated
*/
public
void
setIndustry
(
String
industry
)
{
this
.
industry
=
industry
==
null
?
null
:
industry
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaConfig.RequiredParamNum
*
* @return the value of FormulaConfig.RequiredParamNum
*
* @mbg.generated
*/
public
Integer
getRequiredParamNum
()
{
return
requiredParamNum
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaConfig.RequiredParamNum
*
* @param requiredParamNum the value for FormulaConfig.RequiredParamNum
*
* @mbg.generated
*/
public
void
setRequiredParamNum
(
Integer
requiredParamNum
)
{
this
.
requiredParamNum
=
requiredParamNum
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @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
(
", formulaName="
).
append
(
formulaName
);
sb
.
append
(
", description="
).
append
(
description
);
sb
.
append
(
", calculateStatus="
).
append
(
calculateStatus
);
sb
.
append
(
", dataSourceType="
).
append
(
dataSourceType
);
sb
.
append
(
", dataSourceName="
).
append
(
dataSourceName
);
sb
.
append
(
", chineseName="
).
append
(
chineseName
);
sb
.
append
(
", englishName="
).
append
(
englishName
);
sb
.
append
(
", serviceType="
).
append
(
serviceType
);
sb
.
append
(
", industry="
).
append
(
industry
);
sb
.
append
(
", requiredParamNum="
).
append
(
requiredParamNum
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/FormulaConfigExample.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
FormulaConfigExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
public
FormulaConfigExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaConfig
*
* @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 FormulaConfig
*
* @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 FormulaConfig
*
* @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 FormulaConfig
*
* @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 FormulaConfig
*
* @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
andFormulaNameIsNull
()
{
addCriterion
(
"FormulaName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameIsNotNull
()
{
addCriterion
(
"FormulaName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameEqualTo
(
String
value
)
{
addCriterion
(
"FormulaName ="
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameNotEqualTo
(
String
value
)
{
addCriterion
(
"FormulaName <>"
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameGreaterThan
(
String
value
)
{
addCriterion
(
"FormulaName >"
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaName >="
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameLessThan
(
String
value
)
{
addCriterion
(
"FormulaName <"
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaName <="
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameLike
(
String
value
)
{
addCriterion
(
"FormulaName like"
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameNotLike
(
String
value
)
{
addCriterion
(
"FormulaName not like"
,
value
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaName in"
,
values
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaName not in"
,
values
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaName between"
,
value1
,
value2
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaName not between"
,
value1
,
value2
,
"formulaName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNull
()
{
addCriterion
(
"Description is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNotNull
()
{
addCriterion
(
"Description is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"Description ="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"Description <>"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"Description >"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Description >="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThan
(
String
value
)
{
addCriterion
(
"Description <"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Description <="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLike
(
String
value
)
{
addCriterion
(
"Description like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotLike
(
String
value
)
{
addCriterion
(
"Description not like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"Description in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Description not in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Description between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Description not between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusIsNull
()
{
addCriterion
(
"CalculateStatus is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusIsNotNull
()
{
addCriterion
(
"CalculateStatus is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusEqualTo
(
Integer
value
)
{
addCriterion
(
"CalculateStatus ="
,
value
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusNotEqualTo
(
Integer
value
)
{
addCriterion
(
"CalculateStatus <>"
,
value
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusGreaterThan
(
Integer
value
)
{
addCriterion
(
"CalculateStatus >"
,
value
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"CalculateStatus >="
,
value
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusLessThan
(
Integer
value
)
{
addCriterion
(
"CalculateStatus <"
,
value
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"CalculateStatus <="
,
value
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"CalculateStatus in"
,
values
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"CalculateStatus not in"
,
values
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"CalculateStatus between"
,
value1
,
value2
,
"calculateStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCalculateStatusNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"CalculateStatus not between"
,
value1
,
value2
,
"calculateStatus"
);
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
andDataSourceNameIsNull
()
{
addCriterion
(
"DataSourceName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameIsNotNull
()
{
addCriterion
(
"DataSourceName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameEqualTo
(
String
value
)
{
addCriterion
(
"DataSourceName ="
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameNotEqualTo
(
String
value
)
{
addCriterion
(
"DataSourceName <>"
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameGreaterThan
(
String
value
)
{
addCriterion
(
"DataSourceName >"
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"DataSourceName >="
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameLessThan
(
String
value
)
{
addCriterion
(
"DataSourceName <"
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"DataSourceName <="
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameLike
(
String
value
)
{
addCriterion
(
"DataSourceName like"
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameNotLike
(
String
value
)
{
addCriterion
(
"DataSourceName not like"
,
value
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"DataSourceName in"
,
values
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"DataSourceName not in"
,
values
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"DataSourceName between"
,
value1
,
value2
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDataSourceNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"DataSourceName not between"
,
value1
,
value2
,
"dataSourceName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameIsNull
()
{
addCriterion
(
"ChineseName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameIsNotNull
()
{
addCriterion
(
"ChineseName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameEqualTo
(
String
value
)
{
addCriterion
(
"ChineseName ="
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameNotEqualTo
(
String
value
)
{
addCriterion
(
"ChineseName <>"
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameGreaterThan
(
String
value
)
{
addCriterion
(
"ChineseName >"
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChineseName >="
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameLessThan
(
String
value
)
{
addCriterion
(
"ChineseName <"
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChineseName <="
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameLike
(
String
value
)
{
addCriterion
(
"ChineseName like"
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameNotLike
(
String
value
)
{
addCriterion
(
"ChineseName not like"
,
value
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChineseName in"
,
values
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChineseName not in"
,
values
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChineseName between"
,
value1
,
value2
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChineseNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChineseName not between"
,
value1
,
value2
,
"chineseName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameIsNull
()
{
addCriterion
(
"EnglishName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameIsNotNull
()
{
addCriterion
(
"EnglishName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameEqualTo
(
String
value
)
{
addCriterion
(
"EnglishName ="
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameNotEqualTo
(
String
value
)
{
addCriterion
(
"EnglishName <>"
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameGreaterThan
(
String
value
)
{
addCriterion
(
"EnglishName >"
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"EnglishName >="
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameLessThan
(
String
value
)
{
addCriterion
(
"EnglishName <"
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"EnglishName <="
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameLike
(
String
value
)
{
addCriterion
(
"EnglishName like"
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameNotLike
(
String
value
)
{
addCriterion
(
"EnglishName not like"
,
value
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"EnglishName in"
,
values
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"EnglishName not in"
,
values
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"EnglishName between"
,
value1
,
value2
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnglishNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"EnglishName not between"
,
value1
,
value2
,
"englishName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeIsNull
()
{
addCriterion
(
"ServiceType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeIsNotNull
()
{
addCriterion
(
"ServiceType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeEqualTo
(
String
value
)
{
addCriterion
(
"ServiceType ="
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"ServiceType <>"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeGreaterThan
(
String
value
)
{
addCriterion
(
"ServiceType >"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ServiceType >="
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeLessThan
(
String
value
)
{
addCriterion
(
"ServiceType <"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ServiceType <="
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeLike
(
String
value
)
{
addCriterion
(
"ServiceType like"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeNotLike
(
String
value
)
{
addCriterion
(
"ServiceType not like"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"ServiceType in"
,
values
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ServiceType not in"
,
values
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ServiceType between"
,
value1
,
value2
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ServiceType not between"
,
value1
,
value2
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIsNull
()
{
addCriterion
(
"Industry is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIsNotNull
()
{
addCriterion
(
"Industry is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryEqualTo
(
String
value
)
{
addCriterion
(
"Industry ="
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryNotEqualTo
(
String
value
)
{
addCriterion
(
"Industry <>"
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryGreaterThan
(
String
value
)
{
addCriterion
(
"Industry >"
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Industry >="
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryLessThan
(
String
value
)
{
addCriterion
(
"Industry <"
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Industry <="
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryLike
(
String
value
)
{
addCriterion
(
"Industry like"
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryNotLike
(
String
value
)
{
addCriterion
(
"Industry not like"
,
value
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIn
(
List
<
String
>
values
)
{
addCriterion
(
"Industry in"
,
values
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Industry not in"
,
values
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Industry between"
,
value1
,
value2
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Industry not between"
,
value1
,
value2
,
"industry"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumIsNull
()
{
addCriterion
(
"RequiredParamNum is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumIsNotNull
()
{
addCriterion
(
"RequiredParamNum is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumEqualTo
(
Integer
value
)
{
addCriterion
(
"RequiredParamNum ="
,
value
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumNotEqualTo
(
Integer
value
)
{
addCriterion
(
"RequiredParamNum <>"
,
value
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumGreaterThan
(
Integer
value
)
{
addCriterion
(
"RequiredParamNum >"
,
value
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"RequiredParamNum >="
,
value
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumLessThan
(
Integer
value
)
{
addCriterion
(
"RequiredParamNum <"
,
value
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"RequiredParamNum <="
,
value
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"RequiredParamNum in"
,
values
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"RequiredParamNum not in"
,
values
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"RequiredParamNum between"
,
value1
,
value2
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequiredParamNumNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"RequiredParamNum not between"
,
value1
,
value2
,
"requiredParamNum"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaConfig
*
* @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 FormulaConfig
*
* @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/FormulaParamConfig.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.io.Serializable
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaParamConfig
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
FormulaParamConfig
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamConfig.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamConfig.Name
*
* @mbg.generated
*/
private
String
name
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamConfig.DisplayFormat
*
* @mbg.generated
*/
private
String
displayFormat
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamConfig.ParamType
*
* @mbg.generated
*/
private
Integer
paramType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamConfig.ParamDataType
*
* @mbg.generated
*/
private
Integer
paramDataType
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamConfig.ID
*
* @return the value of FormulaParamConfig.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamConfig.ID
*
* @param ID the value for FormulaParamConfig.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 FormulaParamConfig.Name
*
* @return the value of FormulaParamConfig.Name
*
* @mbg.generated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamConfig.Name
*
* @param name the value for FormulaParamConfig.Name
*
* @mbg.generated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamConfig.DisplayFormat
*
* @return the value of FormulaParamConfig.DisplayFormat
*
* @mbg.generated
*/
public
String
getDisplayFormat
()
{
return
displayFormat
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamConfig.DisplayFormat
*
* @param displayFormat the value for FormulaParamConfig.DisplayFormat
*
* @mbg.generated
*/
public
void
setDisplayFormat
(
String
displayFormat
)
{
this
.
displayFormat
=
displayFormat
==
null
?
null
:
displayFormat
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamConfig.ParamType
*
* @return the value of FormulaParamConfig.ParamType
*
* @mbg.generated
*/
public
Integer
getParamType
()
{
return
paramType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamConfig.ParamType
*
* @param paramType the value for FormulaParamConfig.ParamType
*
* @mbg.generated
*/
public
void
setParamType
(
Integer
paramType
)
{
this
.
paramType
=
paramType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamConfig.ParamDataType
*
* @return the value of FormulaParamConfig.ParamDataType
*
* @mbg.generated
*/
public
Integer
getParamDataType
()
{
return
paramDataType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamConfig.ParamDataType
*
* @param paramDataType the value for FormulaParamConfig.ParamDataType
*
* @mbg.generated
*/
public
void
setParamDataType
(
Integer
paramDataType
)
{
this
.
paramDataType
=
paramDataType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @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
(
", name="
).
append
(
name
);
sb
.
append
(
", displayFormat="
).
append
(
displayFormat
);
sb
.
append
(
", paramType="
).
append
(
paramType
);
sb
.
append
(
", paramDataType="
).
append
(
paramDataType
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/FormulaParamConfigExample.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
FormulaParamConfigExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
public
FormulaParamConfigExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamConfig
*
* @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 FormulaParamConfig
*
* @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 FormulaParamConfig
*
* @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 FormulaParamConfig
*
* @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 FormulaParamConfig
*
* @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
andNameIsNull
()
{
addCriterion
(
"Name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"Name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"Name ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"Name <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"Name >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Name >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"Name <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Name <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"Name like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"Name not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"Name in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Name not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Name between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Name not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatIsNull
()
{
addCriterion
(
"DisplayFormat is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatIsNotNull
()
{
addCriterion
(
"DisplayFormat is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatEqualTo
(
String
value
)
{
addCriterion
(
"DisplayFormat ="
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatNotEqualTo
(
String
value
)
{
addCriterion
(
"DisplayFormat <>"
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatGreaterThan
(
String
value
)
{
addCriterion
(
"DisplayFormat >"
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"DisplayFormat >="
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatLessThan
(
String
value
)
{
addCriterion
(
"DisplayFormat <"
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"DisplayFormat <="
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatLike
(
String
value
)
{
addCriterion
(
"DisplayFormat like"
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatNotLike
(
String
value
)
{
addCriterion
(
"DisplayFormat not like"
,
value
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatIn
(
List
<
String
>
values
)
{
addCriterion
(
"DisplayFormat in"
,
values
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"DisplayFormat not in"
,
values
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"DisplayFormat between"
,
value1
,
value2
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDisplayFormatNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"DisplayFormat not between"
,
value1
,
value2
,
"displayFormat"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeIsNull
()
{
addCriterion
(
"ParamType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeIsNotNull
()
{
addCriterion
(
"ParamType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamType ="
,
value
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamType <>"
,
value
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"ParamType >"
,
value
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamType >="
,
value
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeLessThan
(
Integer
value
)
{
addCriterion
(
"ParamType <"
,
value
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamType <="
,
value
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ParamType in"
,
values
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ParamType not in"
,
values
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ParamType between"
,
value1
,
value2
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ParamType not between"
,
value1
,
value2
,
"paramType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeIsNull
()
{
addCriterion
(
"ParamDataType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeIsNotNull
()
{
addCriterion
(
"ParamDataType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamDataType ="
,
value
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamDataType <>"
,
value
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"ParamDataType >"
,
value
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamDataType >="
,
value
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeLessThan
(
Integer
value
)
{
addCriterion
(
"ParamDataType <"
,
value
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamDataType <="
,
value
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ParamDataType in"
,
values
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ParamDataType not in"
,
values
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ParamDataType between"
,
value1
,
value2
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamDataTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ParamDataType not between"
,
value1
,
value2
,
"paramDataType"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaParamConfig
*
* @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 FormulaParamConfig
*
* @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/FormulaParamMapping.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.io.Serializable
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaParamMapping
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
FormulaParamMapping
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamMapping.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamMapping.FormulaID
*
* @mbg.generated
*/
private
String
formulaID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamMapping.FormulaParamID
*
* @mbg.generated
*/
private
String
formulaParamID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamMapping.ParamIndex
*
* @mbg.generated
*/
private
Integer
paramIndex
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamMapping.ID
*
* @return the value of FormulaParamMapping.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamMapping.ID
*
* @param ID the value for FormulaParamMapping.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 FormulaParamMapping.FormulaID
*
* @return the value of FormulaParamMapping.FormulaID
*
* @mbg.generated
*/
public
String
getFormulaID
()
{
return
formulaID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamMapping.FormulaID
*
* @param formulaID the value for FormulaParamMapping.FormulaID
*
* @mbg.generated
*/
public
void
setFormulaID
(
String
formulaID
)
{
this
.
formulaID
=
formulaID
==
null
?
null
:
formulaID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamMapping.FormulaParamID
*
* @return the value of FormulaParamMapping.FormulaParamID
*
* @mbg.generated
*/
public
String
getFormulaParamID
()
{
return
formulaParamID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamMapping.FormulaParamID
*
* @param formulaParamID the value for FormulaParamMapping.FormulaParamID
*
* @mbg.generated
*/
public
void
setFormulaParamID
(
String
formulaParamID
)
{
this
.
formulaParamID
=
formulaParamID
==
null
?
null
:
formulaParamID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamMapping.ParamIndex
*
* @return the value of FormulaParamMapping.ParamIndex
*
* @mbg.generated
*/
public
Integer
getParamIndex
()
{
return
paramIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamMapping.ParamIndex
*
* @param paramIndex the value for FormulaParamMapping.ParamIndex
*
* @mbg.generated
*/
public
void
setParamIndex
(
Integer
paramIndex
)
{
this
.
paramIndex
=
paramIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @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
(
", formulaID="
).
append
(
formulaID
);
sb
.
append
(
", formulaParamID="
).
append
(
formulaParamID
);
sb
.
append
(
", paramIndex="
).
append
(
paramIndex
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/FormulaParamMappingExample.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
FormulaParamMappingExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
public
FormulaParamMappingExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamMapping
*
* @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 FormulaParamMapping
*
* @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 FormulaParamMapping
*
* @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 FormulaParamMapping
*
* @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 FormulaParamMapping
*
* @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
andFormulaIDIsNull
()
{
addCriterion
(
"FormulaID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDIsNotNull
()
{
addCriterion
(
"FormulaID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDEqualTo
(
String
value
)
{
addCriterion
(
"FormulaID ="
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDNotEqualTo
(
String
value
)
{
addCriterion
(
"FormulaID <>"
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDGreaterThan
(
String
value
)
{
addCriterion
(
"FormulaID >"
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaID >="
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDLessThan
(
String
value
)
{
addCriterion
(
"FormulaID <"
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaID <="
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDLike
(
String
value
)
{
addCriterion
(
"FormulaID like"
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDNotLike
(
String
value
)
{
addCriterion
(
"FormulaID not like"
,
value
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaID in"
,
values
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaID not in"
,
values
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaID between"
,
value1
,
value2
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaID not between"
,
value1
,
value2
,
"formulaID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDIsNull
()
{
addCriterion
(
"FormulaParamID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDIsNotNull
()
{
addCriterion
(
"FormulaParamID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID ="
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID <>"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDGreaterThan
(
String
value
)
{
addCriterion
(
"FormulaParamID >"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID >="
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDLessThan
(
String
value
)
{
addCriterion
(
"FormulaParamID <"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID <="
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDLike
(
String
value
)
{
addCriterion
(
"FormulaParamID like"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotLike
(
String
value
)
{
addCriterion
(
"FormulaParamID not like"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaParamID in"
,
values
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaParamID not in"
,
values
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaParamID between"
,
value1
,
value2
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaParamID not between"
,
value1
,
value2
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexIsNull
()
{
addCriterion
(
"ParamIndex is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexIsNotNull
()
{
addCriterion
(
"ParamIndex is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamIndex ="
,
value
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexNotEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamIndex <>"
,
value
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexGreaterThan
(
Integer
value
)
{
addCriterion
(
"ParamIndex >"
,
value
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamIndex >="
,
value
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexLessThan
(
Integer
value
)
{
addCriterion
(
"ParamIndex <"
,
value
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ParamIndex <="
,
value
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ParamIndex in"
,
values
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ParamIndex not in"
,
values
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ParamIndex between"
,
value1
,
value2
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamIndexNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ParamIndex not between"
,
value1
,
value2
,
"paramIndex"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaParamMapping
*
* @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 FormulaParamMapping
*
* @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/FormulaParamOption.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.io.Serializable
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaParamOption
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
FormulaParamOption
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamOption.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamOption.FormulaParamID
*
* @mbg.generated
*/
private
String
formulaParamID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamOption.Value
*
* @mbg.generated
*/
private
String
value
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamOption.Name
*
* @mbg.generated
*/
private
String
name
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamOption.ShortName
*
* @mbg.generated
*/
private
String
shortName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaParamOption.OptionIndex
*
* @mbg.generated
*/
private
Integer
optionIndex
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamOption.ID
*
* @return the value of FormulaParamOption.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamOption.ID
*
* @param ID the value for FormulaParamOption.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 FormulaParamOption.FormulaParamID
*
* @return the value of FormulaParamOption.FormulaParamID
*
* @mbg.generated
*/
public
String
getFormulaParamID
()
{
return
formulaParamID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamOption.FormulaParamID
*
* @param formulaParamID the value for FormulaParamOption.FormulaParamID
*
* @mbg.generated
*/
public
void
setFormulaParamID
(
String
formulaParamID
)
{
this
.
formulaParamID
=
formulaParamID
==
null
?
null
:
formulaParamID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamOption.Value
*
* @return the value of FormulaParamOption.Value
*
* @mbg.generated
*/
public
String
getValue
()
{
return
value
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamOption.Value
*
* @param value the value for FormulaParamOption.Value
*
* @mbg.generated
*/
public
void
setValue
(
String
value
)
{
this
.
value
=
value
==
null
?
null
:
value
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamOption.Name
*
* @return the value of FormulaParamOption.Name
*
* @mbg.generated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamOption.Name
*
* @param name the value for FormulaParamOption.Name
*
* @mbg.generated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamOption.ShortName
*
* @return the value of FormulaParamOption.ShortName
*
* @mbg.generated
*/
public
String
getShortName
()
{
return
shortName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamOption.ShortName
*
* @param shortName the value for FormulaParamOption.ShortName
*
* @mbg.generated
*/
public
void
setShortName
(
String
shortName
)
{
this
.
shortName
=
shortName
==
null
?
null
:
shortName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaParamOption.OptionIndex
*
* @return the value of FormulaParamOption.OptionIndex
*
* @mbg.generated
*/
public
Integer
getOptionIndex
()
{
return
optionIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaParamOption.OptionIndex
*
* @param optionIndex the value for FormulaParamOption.OptionIndex
*
* @mbg.generated
*/
public
void
setOptionIndex
(
Integer
optionIndex
)
{
this
.
optionIndex
=
optionIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @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
(
", formulaParamID="
).
append
(
formulaParamID
);
sb
.
append
(
", value="
).
append
(
value
);
sb
.
append
(
", name="
).
append
(
name
);
sb
.
append
(
", shortName="
).
append
(
shortName
);
sb
.
append
(
", optionIndex="
).
append
(
optionIndex
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/FormulaParamOptionExample.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
FormulaParamOptionExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
public
FormulaParamOptionExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaParamOption
*
* @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 FormulaParamOption
*
* @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 FormulaParamOption
*
* @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 FormulaParamOption
*
* @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 FormulaParamOption
*
* @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
andFormulaParamIDIsNull
()
{
addCriterion
(
"FormulaParamID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDIsNotNull
()
{
addCriterion
(
"FormulaParamID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID ="
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID <>"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDGreaterThan
(
String
value
)
{
addCriterion
(
"FormulaParamID >"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID >="
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDLessThan
(
String
value
)
{
addCriterion
(
"FormulaParamID <"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FormulaParamID <="
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDLike
(
String
value
)
{
addCriterion
(
"FormulaParamID like"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotLike
(
String
value
)
{
addCriterion
(
"FormulaParamID not like"
,
value
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaParamID in"
,
values
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"FormulaParamID not in"
,
values
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaParamID between"
,
value1
,
value2
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFormulaParamIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FormulaParamID not between"
,
value1
,
value2
,
"formulaParamID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNull
()
{
addCriterion
(
"Value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNotNull
()
{
addCriterion
(
"Value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueEqualTo
(
String
value
)
{
addCriterion
(
"Value ="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotEqualTo
(
String
value
)
{
addCriterion
(
"Value <>"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThan
(
String
value
)
{
addCriterion
(
"Value >"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Value >="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThan
(
String
value
)
{
addCriterion
(
"Value <"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Value <="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLike
(
String
value
)
{
addCriterion
(
"Value like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotLike
(
String
value
)
{
addCriterion
(
"Value not like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"Value in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Value not in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Value between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Value not between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"Name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"Name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"Name ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"Name <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"Name >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Name >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"Name <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Name <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"Name like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"Name not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"Name in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Name not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Name between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Name not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameIsNull
()
{
addCriterion
(
"ShortName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameIsNotNull
()
{
addCriterion
(
"ShortName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameEqualTo
(
String
value
)
{
addCriterion
(
"ShortName ="
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameNotEqualTo
(
String
value
)
{
addCriterion
(
"ShortName <>"
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameGreaterThan
(
String
value
)
{
addCriterion
(
"ShortName >"
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ShortName >="
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameLessThan
(
String
value
)
{
addCriterion
(
"ShortName <"
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ShortName <="
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameLike
(
String
value
)
{
addCriterion
(
"ShortName like"
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameNotLike
(
String
value
)
{
addCriterion
(
"ShortName not like"
,
value
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"ShortName in"
,
values
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ShortName not in"
,
values
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ShortName between"
,
value1
,
value2
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShortNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ShortName not between"
,
value1
,
value2
,
"shortName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexIsNull
()
{
addCriterion
(
"OptionIndex is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexIsNotNull
()
{
addCriterion
(
"OptionIndex is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexEqualTo
(
Integer
value
)
{
addCriterion
(
"OptionIndex ="
,
value
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexNotEqualTo
(
Integer
value
)
{
addCriterion
(
"OptionIndex <>"
,
value
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexGreaterThan
(
Integer
value
)
{
addCriterion
(
"OptionIndex >"
,
value
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"OptionIndex >="
,
value
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexLessThan
(
Integer
value
)
{
addCriterion
(
"OptionIndex <"
,
value
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"OptionIndex <="
,
value
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"OptionIndex in"
,
values
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"OptionIndex not in"
,
values
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"OptionIndex between"
,
value1
,
value2
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOptionIndexNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"OptionIndex not between"
,
value1
,
value2
,
"optionIndex"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaParamOption
*
* @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 FormulaParamOption
*
* @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/FormulaService.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
service
;
import
pwc.taxtech.atms.dto.formula.FormulaParamConfigDto
;
import
pwc.taxtech.atms.dto.formula.FormulaParamMappingDto
;
import
pwc.taxtech.atms.entitiy.FormulaConfig
;
import
java.util.List
;
public
interface
FormulaService
{
List
<
FormulaConfig
>
getAllFormulaList
();
List
<
FormulaParamConfigDto
>
getAllFormulaParamList
();
List
<
FormulaParamMappingDto
>
getAllFormulaParamMappingList
();
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/FormulaServiceImpl.java
0 → 100644
View file @
d62b1024
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
com.google.common.collect.Lists
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.common.CommonUtils
;
import
pwc.taxtech.atms.dao.dao.FormulaConfigDao
;
import
pwc.taxtech.atms.dao.dao.FormulaParamConfigDao
;
import
pwc.taxtech.atms.dao.dao.FormulaParamMappingDao
;
import
pwc.taxtech.atms.dao.dao.FormulaParamOptionDao
;
import
pwc.taxtech.atms.dto.formula.FormulaParamConfigDto
;
import
pwc.taxtech.atms.dto.formula.FormulaParamMappingDto
;
import
pwc.taxtech.atms.dto.formula.FormulaParamOptionDto
;
import
pwc.taxtech.atms.entitiy.FormulaConfig
;
import
pwc.taxtech.atms.entitiy.FormulaParamConfig
;
import
pwc.taxtech.atms.entitiy.FormulaParamMapping
;
import
pwc.taxtech.atms.entitiy.FormulaParamOption
;
import
pwc.taxtech.atms.service.FormulaService
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
@Service
public
class
FormulaServiceImpl
extends
BaseService
implements
FormulaService
{
@Autowired
FormulaConfigDao
formulaConfigDao
;
@Autowired
FormulaParamOptionDao
formulaParamOptionDao
;
@Autowired
FormulaParamConfigDao
paramConfigDao
;
@Autowired
FormulaParamMappingDao
paramMappingDao
;
@Override
public
List
<
FormulaConfig
>
getAllFormulaList
()
{
return
formulaConfigDao
.
getAll
();
}
@Override
public
List
<
FormulaParamConfigDto
>
getAllFormulaParamList
()
{
List
<
FormulaParamOption
>
paramOpts
=
formulaParamOptionDao
.
getAll
();
List
<
FormulaParamOptionDto
>
paramOptions
=
paramOpts
.
stream
().
map
(
x
->
{
FormulaParamOptionDto
dto
=
new
FormulaParamOptionDto
();
return
CommonUtils
.
copyProperties
(
x
,
dto
);
}).
collect
(
Collectors
.
toList
());
List
<
FormulaParamConfig
>
paramCfg
=
paramConfigDao
.
getAll
();
List
<
FormulaParamConfigDto
>
list
=
paramCfg
.
stream
().
map
(
x
->
{
FormulaParamConfigDto
dto
=
new
FormulaParamConfigDto
();
return
CommonUtils
.
copyProperties
(
x
,
dto
);
}).
collect
(
Collectors
.
toList
());
Set
<
String
>
optionFormulaIDs
=
paramOptions
.
stream
().
map
(
FormulaParamOptionDto:
:
getFormulaParamID
).
collect
(
Collectors
.
toSet
());
list
.
forEach
(
x
->
{
x
.
setOptions
(
Lists
.
newArrayList
());
if
(
optionFormulaIDs
.
contains
(
x
.
getID
()))
{
x
.
getOptions
().
addAll
(
paramOptions
.
stream
().
filter
(
y
->
StringUtils
.
equals
(
y
.
getFormulaParamID
(),
x
.
getID
())).
collect
(
Collectors
.
toList
()));
}
});
return
list
;
}
@Override
public
List
<
FormulaParamMappingDto
>
getAllFormulaParamMappingList
()
{
List
<
FormulaParamMapping
>
paramMap
=
paramMappingDao
.
getAll
();
return
paramMap
.
stream
().
map
(
x
->
{
FormulaParamMappingDto
dto
=
new
FormulaParamMappingDto
();
return
CommonUtils
.
copyProperties
(
x
,
dto
);
}).
collect
(
Collectors
.
toList
());
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/StdAccountServiceImpl.java
View file @
d62b1024
...
...
@@ -106,7 +106,7 @@ public class StdAccountServiceImpl extends BaseService implements StdAccountServ
StandardAccountExample
example
=
new
StandardAccountExample
();
example
.
createCriteria
().
andRuleTypeEqualTo
((
int
)
StandAccountConstant
.
TWO
).
andIsActiveEqualTo
(
ActiveStatus
.
Active
).
andIndustryIDEqualTo
(
industryID
);
example
.
setOrderByClause
(
"
order by c
ode"
);
example
.
setOrderByClause
(
"
C
ode"
);
List
<
StandardAccount
>
items
=
standardAccountMapper
.
selectByExample
(
example
);
List
<
StandardAccountDto
>
dtos
=
new
ArrayList
<>();
...
...
atms-api/src/main/resources/pwc/taxtech/atms/dao/FormulaConfigMapper.xml
0 → 100644
View file @
d62b1024
<?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.FormulaConfigMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.FormulaConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"FormulaName"
jdbcType=
"VARCHAR"
property=
"formulaName"
/>
<result
column=
"Description"
jdbcType=
"VARCHAR"
property=
"description"
/>
<result
column=
"CalculateStatus"
jdbcType=
"INTEGER"
property=
"calculateStatus"
/>
<result
column=
"DataSourceType"
jdbcType=
"INTEGER"
property=
"dataSourceType"
/>
<result
column=
"DataSourceName"
jdbcType=
"VARCHAR"
property=
"dataSourceName"
/>
<result
column=
"ChineseName"
jdbcType=
"VARCHAR"
property=
"chineseName"
/>
<result
column=
"EnglishName"
jdbcType=
"VARCHAR"
property=
"englishName"
/>
<result
column=
"ServiceType"
jdbcType=
"VARCHAR"
property=
"serviceType"
/>
<result
column=
"Industry"
jdbcType=
"VARCHAR"
property=
"industry"
/>
<result
column=
"RequiredParamNum"
jdbcType=
"INTEGER"
property=
"requiredParamNum"
/>
</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, FormulaName, Description, CalculateStatus, DataSourceType, DataSourceName, ChineseName,
EnglishName, ServiceType, Industry, RequiredParamNum
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfigExample"
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 FormulaConfig
<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 FormulaConfig
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 FormulaConfig
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfigExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from FormulaConfig
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaConfig (ID, FormulaName, Description,
CalculateStatus, DataSourceType, DataSourceName,
ChineseName, EnglishName, ServiceType,
Industry, RequiredParamNum)
values (#{ID,jdbcType=VARCHAR}, #{formulaName,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR},
#{calculateStatus,jdbcType=INTEGER}, #{dataSourceType,jdbcType=INTEGER}, #{dataSourceName,jdbcType=VARCHAR},
#{chineseName,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR}, #{serviceType,jdbcType=VARCHAR},
#{industry,jdbcType=VARCHAR}, #{requiredParamNum,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaConfig
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"formulaName != null"
>
FormulaName,
</if>
<if
test=
"description != null"
>
Description,
</if>
<if
test=
"calculateStatus != null"
>
CalculateStatus,
</if>
<if
test=
"dataSourceType != null"
>
DataSourceType,
</if>
<if
test=
"dataSourceName != null"
>
DataSourceName,
</if>
<if
test=
"chineseName != null"
>
ChineseName,
</if>
<if
test=
"englishName != null"
>
EnglishName,
</if>
<if
test=
"serviceType != null"
>
ServiceType,
</if>
<if
test=
"industry != null"
>
Industry,
</if>
<if
test=
"requiredParamNum != null"
>
RequiredParamNum,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"formulaName != null"
>
#{formulaName,jdbcType=VARCHAR},
</if>
<if
test=
"description != null"
>
#{description,jdbcType=VARCHAR},
</if>
<if
test=
"calculateStatus != null"
>
#{calculateStatus,jdbcType=INTEGER},
</if>
<if
test=
"dataSourceType != null"
>
#{dataSourceType,jdbcType=INTEGER},
</if>
<if
test=
"dataSourceName != null"
>
#{dataSourceName,jdbcType=VARCHAR},
</if>
<if
test=
"chineseName != null"
>
#{chineseName,jdbcType=VARCHAR},
</if>
<if
test=
"englishName != null"
>
#{englishName,jdbcType=VARCHAR},
</if>
<if
test=
"serviceType != null"
>
#{serviceType,jdbcType=VARCHAR},
</if>
<if
test=
"industry != null"
>
#{industry,jdbcType=VARCHAR},
</if>
<if
test=
"requiredParamNum != null"
>
#{requiredParamNum,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfigExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from FormulaConfig
<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 FormulaConfig
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.formulaName != null"
>
FormulaName = #{record.formulaName,jdbcType=VARCHAR},
</if>
<if
test=
"record.description != null"
>
Description = #{record.description,jdbcType=VARCHAR},
</if>
<if
test=
"record.calculateStatus != null"
>
CalculateStatus = #{record.calculateStatus,jdbcType=INTEGER},
</if>
<if
test=
"record.dataSourceType != null"
>
DataSourceType = #{record.dataSourceType,jdbcType=INTEGER},
</if>
<if
test=
"record.dataSourceName != null"
>
DataSourceName = #{record.dataSourceName,jdbcType=VARCHAR},
</if>
<if
test=
"record.chineseName != null"
>
ChineseName = #{record.chineseName,jdbcType=VARCHAR},
</if>
<if
test=
"record.englishName != null"
>
EnglishName = #{record.englishName,jdbcType=VARCHAR},
</if>
<if
test=
"record.serviceType != null"
>
ServiceType = #{record.serviceType,jdbcType=VARCHAR},
</if>
<if
test=
"record.industry != null"
>
Industry = #{record.industry,jdbcType=VARCHAR},
</if>
<if
test=
"record.requiredParamNum != null"
>
RequiredParamNum = #{record.requiredParamNum,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 FormulaConfig
set ID = #{record.ID,jdbcType=VARCHAR},
FormulaName = #{record.formulaName,jdbcType=VARCHAR},
Description = #{record.description,jdbcType=VARCHAR},
CalculateStatus = #{record.calculateStatus,jdbcType=INTEGER},
DataSourceType = #{record.dataSourceType,jdbcType=INTEGER},
DataSourceName = #{record.dataSourceName,jdbcType=VARCHAR},
ChineseName = #{record.chineseName,jdbcType=VARCHAR},
EnglishName = #{record.englishName,jdbcType=VARCHAR},
ServiceType = #{record.serviceType,jdbcType=VARCHAR},
Industry = #{record.industry,jdbcType=VARCHAR},
RequiredParamNum = #{record.requiredParamNum,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaConfig
<set>
<if
test=
"formulaName != null"
>
FormulaName = #{formulaName,jdbcType=VARCHAR},
</if>
<if
test=
"description != null"
>
Description = #{description,jdbcType=VARCHAR},
</if>
<if
test=
"calculateStatus != null"
>
CalculateStatus = #{calculateStatus,jdbcType=INTEGER},
</if>
<if
test=
"dataSourceType != null"
>
DataSourceType = #{dataSourceType,jdbcType=INTEGER},
</if>
<if
test=
"dataSourceName != null"
>
DataSourceName = #{dataSourceName,jdbcType=VARCHAR},
</if>
<if
test=
"chineseName != null"
>
ChineseName = #{chineseName,jdbcType=VARCHAR},
</if>
<if
test=
"englishName != null"
>
EnglishName = #{englishName,jdbcType=VARCHAR},
</if>
<if
test=
"serviceType != null"
>
ServiceType = #{serviceType,jdbcType=VARCHAR},
</if>
<if
test=
"industry != null"
>
Industry = #{industry,jdbcType=VARCHAR},
</if>
<if
test=
"requiredParamNum != null"
>
RequiredParamNum = #{requiredParamNum,jdbcType=INTEGER},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaConfig
set FormulaName = #{formulaName,jdbcType=VARCHAR},
Description = #{description,jdbcType=VARCHAR},
CalculateStatus = #{calculateStatus,jdbcType=INTEGER},
DataSourceType = #{dataSourceType,jdbcType=INTEGER},
DataSourceName = #{dataSourceName,jdbcType=VARCHAR},
ChineseName = #{chineseName,jdbcType=VARCHAR},
EnglishName = #{englishName,jdbcType=VARCHAR},
ServiceType = #{serviceType,jdbcType=VARCHAR},
Industry = #{industry,jdbcType=VARCHAR},
RequiredParamNum = #{requiredParamNum,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaConfigExample"
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 FormulaConfig
<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
atms-api/src/main/resources/pwc/taxtech/atms/dao/FormulaParamConfigMapper.xml
0 → 100644
View file @
d62b1024
<?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.FormulaParamConfigMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.FormulaParamConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"Name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"DisplayFormat"
jdbcType=
"VARCHAR"
property=
"displayFormat"
/>
<result
column=
"ParamType"
jdbcType=
"INTEGER"
property=
"paramType"
/>
<result
column=
"ParamDataType"
jdbcType=
"INTEGER"
property=
"paramDataType"
/>
</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, Name, DisplayFormat, ParamType, ParamDataType
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfigExample"
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 FormulaParamConfig
<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 FormulaParamConfig
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 FormulaParamConfig
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfigExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from FormulaParamConfig
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaParamConfig (ID, Name, DisplayFormat,
ParamType, ParamDataType)
values (#{ID,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{displayFormat,jdbcType=VARCHAR},
#{paramType,jdbcType=INTEGER}, #{paramDataType,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaParamConfig
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"name != null"
>
Name,
</if>
<if
test=
"displayFormat != null"
>
DisplayFormat,
</if>
<if
test=
"paramType != null"
>
ParamType,
</if>
<if
test=
"paramDataType != null"
>
ParamDataType,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"name != null"
>
#{name,jdbcType=VARCHAR},
</if>
<if
test=
"displayFormat != null"
>
#{displayFormat,jdbcType=VARCHAR},
</if>
<if
test=
"paramType != null"
>
#{paramType,jdbcType=INTEGER},
</if>
<if
test=
"paramDataType != null"
>
#{paramDataType,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfigExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from FormulaParamConfig
<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 FormulaParamConfig
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.name != null"
>
Name = #{record.name,jdbcType=VARCHAR},
</if>
<if
test=
"record.displayFormat != null"
>
DisplayFormat = #{record.displayFormat,jdbcType=VARCHAR},
</if>
<if
test=
"record.paramType != null"
>
ParamType = #{record.paramType,jdbcType=INTEGER},
</if>
<if
test=
"record.paramDataType != null"
>
ParamDataType = #{record.paramDataType,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 FormulaParamConfig
set ID = #{record.ID,jdbcType=VARCHAR},
Name = #{record.name,jdbcType=VARCHAR},
DisplayFormat = #{record.displayFormat,jdbcType=VARCHAR},
ParamType = #{record.paramType,jdbcType=INTEGER},
ParamDataType = #{record.paramDataType,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaParamConfig
<set>
<if
test=
"name != null"
>
Name = #{name,jdbcType=VARCHAR},
</if>
<if
test=
"displayFormat != null"
>
DisplayFormat = #{displayFormat,jdbcType=VARCHAR},
</if>
<if
test=
"paramType != null"
>
ParamType = #{paramType,jdbcType=INTEGER},
</if>
<if
test=
"paramDataType != null"
>
ParamDataType = #{paramDataType,jdbcType=INTEGER},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfig"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaParamConfig
set Name = #{name,jdbcType=VARCHAR},
DisplayFormat = #{displayFormat,jdbcType=VARCHAR},
ParamType = #{paramType,jdbcType=INTEGER},
ParamDataType = #{paramDataType,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamConfigExample"
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 FormulaParamConfig
<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
atms-api/src/main/resources/pwc/taxtech/atms/dao/FormulaParamMappingMapper.xml
0 → 100644
View file @
d62b1024
<?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.FormulaParamMappingMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.FormulaParamMapping"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"FormulaID"
jdbcType=
"VARCHAR"
property=
"formulaID"
/>
<result
column=
"FormulaParamID"
jdbcType=
"VARCHAR"
property=
"formulaParamID"
/>
<result
column=
"ParamIndex"
jdbcType=
"INTEGER"
property=
"paramIndex"
/>
</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, FormulaID, FormulaParamID, ParamIndex
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMappingExample"
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 FormulaParamMapping
<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 FormulaParamMapping
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 FormulaParamMapping
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMappingExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from FormulaParamMapping
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMapping"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaParamMapping (ID, FormulaID, FormulaParamID,
ParamIndex)
values (#{ID,jdbcType=VARCHAR}, #{formulaID,jdbcType=VARCHAR}, #{formulaParamID,jdbcType=VARCHAR},
#{paramIndex,jdbcType=INTEGER})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMapping"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaParamMapping
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"formulaID != null"
>
FormulaID,
</if>
<if
test=
"formulaParamID != null"
>
FormulaParamID,
</if>
<if
test=
"paramIndex != null"
>
ParamIndex,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"formulaID != null"
>
#{formulaID,jdbcType=VARCHAR},
</if>
<if
test=
"formulaParamID != null"
>
#{formulaParamID,jdbcType=VARCHAR},
</if>
<if
test=
"paramIndex != null"
>
#{paramIndex,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMappingExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from FormulaParamMapping
<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 FormulaParamMapping
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.formulaID != null"
>
FormulaID = #{record.formulaID,jdbcType=VARCHAR},
</if>
<if
test=
"record.formulaParamID != null"
>
FormulaParamID = #{record.formulaParamID,jdbcType=VARCHAR},
</if>
<if
test=
"record.paramIndex != null"
>
ParamIndex = #{record.paramIndex,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 FormulaParamMapping
set ID = #{record.ID,jdbcType=VARCHAR},
FormulaID = #{record.formulaID,jdbcType=VARCHAR},
FormulaParamID = #{record.formulaParamID,jdbcType=VARCHAR},
ParamIndex = #{record.paramIndex,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMapping"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaParamMapping
<set>
<if
test=
"formulaID != null"
>
FormulaID = #{formulaID,jdbcType=VARCHAR},
</if>
<if
test=
"formulaParamID != null"
>
FormulaParamID = #{formulaParamID,jdbcType=VARCHAR},
</if>
<if
test=
"paramIndex != null"
>
ParamIndex = #{paramIndex,jdbcType=INTEGER},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMapping"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaParamMapping
set FormulaID = #{formulaID,jdbcType=VARCHAR},
FormulaParamID = #{formulaParamID,jdbcType=VARCHAR},
ParamIndex = #{paramIndex,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamMappingExample"
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 FormulaParamMapping
<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
atms-api/src/main/resources/pwc/taxtech/atms/dao/FormulaParamOptionMapper.xml
0 → 100644
View file @
d62b1024
<?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.FormulaParamOptionMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.FormulaParamOption"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"FormulaParamID"
jdbcType=
"VARCHAR"
property=
"formulaParamID"
/>
<result
column=
"Value"
jdbcType=
"VARCHAR"
property=
"value"
/>
<result
column=
"Name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"ShortName"
jdbcType=
"VARCHAR"
property=
"shortName"
/>
<result
column=
"OptionIndex"
jdbcType=
"INTEGER"
property=
"optionIndex"
/>
</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, FormulaParamID, Value, Name, ShortName, OptionIndex
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOptionExample"
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 FormulaParamOption
<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 FormulaParamOption
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 FormulaParamOption
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOptionExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from FormulaParamOption
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOption"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaParamOption (ID, FormulaParamID, Value,
Name, ShortName, OptionIndex
)
values (#{ID,jdbcType=VARCHAR}, #{formulaParamID,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR}, #{optionIndex,jdbcType=INTEGER}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOption"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into FormulaParamOption
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"formulaParamID != null"
>
FormulaParamID,
</if>
<if
test=
"value != null"
>
Value,
</if>
<if
test=
"name != null"
>
Name,
</if>
<if
test=
"shortName != null"
>
ShortName,
</if>
<if
test=
"optionIndex != null"
>
OptionIndex,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"formulaParamID != null"
>
#{formulaParamID,jdbcType=VARCHAR},
</if>
<if
test=
"value != null"
>
#{value,jdbcType=VARCHAR},
</if>
<if
test=
"name != null"
>
#{name,jdbcType=VARCHAR},
</if>
<if
test=
"shortName != null"
>
#{shortName,jdbcType=VARCHAR},
</if>
<if
test=
"optionIndex != null"
>
#{optionIndex,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOptionExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from FormulaParamOption
<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 FormulaParamOption
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.formulaParamID != null"
>
FormulaParamID = #{record.formulaParamID,jdbcType=VARCHAR},
</if>
<if
test=
"record.value != null"
>
Value = #{record.value,jdbcType=VARCHAR},
</if>
<if
test=
"record.name != null"
>
Name = #{record.name,jdbcType=VARCHAR},
</if>
<if
test=
"record.shortName != null"
>
ShortName = #{record.shortName,jdbcType=VARCHAR},
</if>
<if
test=
"record.optionIndex != null"
>
OptionIndex = #{record.optionIndex,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 FormulaParamOption
set ID = #{record.ID,jdbcType=VARCHAR},
FormulaParamID = #{record.formulaParamID,jdbcType=VARCHAR},
Value = #{record.value,jdbcType=VARCHAR},
Name = #{record.name,jdbcType=VARCHAR},
ShortName = #{record.shortName,jdbcType=VARCHAR},
OptionIndex = #{record.optionIndex,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOption"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaParamOption
<set>
<if
test=
"formulaParamID != null"
>
FormulaParamID = #{formulaParamID,jdbcType=VARCHAR},
</if>
<if
test=
"value != null"
>
Value = #{value,jdbcType=VARCHAR},
</if>
<if
test=
"name != null"
>
Name = #{name,jdbcType=VARCHAR},
</if>
<if
test=
"shortName != null"
>
ShortName = #{shortName,jdbcType=VARCHAR},
</if>
<if
test=
"optionIndex != null"
>
OptionIndex = #{optionIndex,jdbcType=INTEGER},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOption"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update FormulaParamOption
set FormulaParamID = #{formulaParamID,jdbcType=VARCHAR},
Value = #{value,jdbcType=VARCHAR},
Name = #{name,jdbcType=VARCHAR},
ShortName = #{shortName,jdbcType=VARCHAR},
OptionIndex = #{optionIndex,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.FormulaParamOptionExample"
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 FormulaParamOption
<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