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
00ce6fbc
Commit
00ce6fbc
authored
May 18, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
50f6a44d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1613 additions
and
0 deletions
+1613
-0
AccountMappingManualMapper.java
...java/pwc/taxtech/atms/dao/AccountMappingManualMapper.java
+109
-0
AccountMappingManual.java
...n/java/pwc/taxtech/atms/entitiy/AccountMappingManual.java
+310
-0
AccountMappingManualExample.java
...pwc/taxtech/atms/entitiy/AccountMappingManualExample.java
+854
-0
AccountMappingManualMapper.xml
...urces/pwc/taxtech/atms/dao/AccountMappingManualMapper.xml
+340
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dao/AccountMappingManualMapper.java
0 → 100644
View file @
00ce6fbc
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.AccountMappingManual
;
import
pwc.taxtech.atms.entitiy.AccountMappingManualExample
;
@Mapper
public
interface
AccountMappingManualMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
long
countByExample
(
AccountMappingManualExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
deleteByExample
(
AccountMappingManualExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
insert
(
AccountMappingManual
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
insertSelective
(
AccountMappingManual
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
List
<
AccountMappingManual
>
selectByExampleWithRowbounds
(
AccountMappingManualExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
List
<
AccountMappingManual
>
selectByExample
(
AccountMappingManualExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
AccountMappingManual
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
AccountMappingManual
record
,
@Param
(
"example"
)
AccountMappingManualExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
AccountMappingManual
record
,
@Param
(
"example"
)
AccountMappingManualExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
AccountMappingManual
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
AccountMappingManual
record
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/AccountMappingManual.java
0 → 100644
View file @
00ce6fbc
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table AccountMappingManual
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
AccountMappingManual
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.StandardCode
*
* @mbg.generated
*/
private
String
standardCode
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.FullName
*
* @mbg.generated
*/
private
String
fullName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.EnterpriseAccountSetID
*
* @mbg.generated
*/
private
String
enterpriseAccountSetID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.OrganizationID
*
* @mbg.generated
*/
private
String
organizationID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.IndustryID
*
* @mbg.generated
*/
private
String
industryID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.UpdateTime
*
* @mbg.generated
*/
private
Date
updateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column AccountMappingManual.UpdateBy
*
* @mbg.generated
*/
private
String
updateBy
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column AccountMappingManual.ID
*
* @return the value of AccountMappingManual.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.ID
*
* @param ID the value for AccountMappingManual.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 AccountMappingManual.StandardCode
*
* @return the value of AccountMappingManual.StandardCode
*
* @mbg.generated
*/
public
String
getStandardCode
()
{
return
standardCode
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.StandardCode
*
* @param standardCode the value for AccountMappingManual.StandardCode
*
* @mbg.generated
*/
public
void
setStandardCode
(
String
standardCode
)
{
this
.
standardCode
=
standardCode
==
null
?
null
:
standardCode
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column AccountMappingManual.FullName
*
* @return the value of AccountMappingManual.FullName
*
* @mbg.generated
*/
public
String
getFullName
()
{
return
fullName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.FullName
*
* @param fullName the value for AccountMappingManual.FullName
*
* @mbg.generated
*/
public
void
setFullName
(
String
fullName
)
{
this
.
fullName
=
fullName
==
null
?
null
:
fullName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column AccountMappingManual.EnterpriseAccountSetID
*
* @return the value of AccountMappingManual.EnterpriseAccountSetID
*
* @mbg.generated
*/
public
String
getEnterpriseAccountSetID
()
{
return
enterpriseAccountSetID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.EnterpriseAccountSetID
*
* @param enterpriseAccountSetID the value for AccountMappingManual.EnterpriseAccountSetID
*
* @mbg.generated
*/
public
void
setEnterpriseAccountSetID
(
String
enterpriseAccountSetID
)
{
this
.
enterpriseAccountSetID
=
enterpriseAccountSetID
==
null
?
null
:
enterpriseAccountSetID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column AccountMappingManual.OrganizationID
*
* @return the value of AccountMappingManual.OrganizationID
*
* @mbg.generated
*/
public
String
getOrganizationID
()
{
return
organizationID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.OrganizationID
*
* @param organizationID the value for AccountMappingManual.OrganizationID
*
* @mbg.generated
*/
public
void
setOrganizationID
(
String
organizationID
)
{
this
.
organizationID
=
organizationID
==
null
?
null
:
organizationID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column AccountMappingManual.IndustryID
*
* @return the value of AccountMappingManual.IndustryID
*
* @mbg.generated
*/
public
String
getIndustryID
()
{
return
industryID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.IndustryID
*
* @param industryID the value for AccountMappingManual.IndustryID
*
* @mbg.generated
*/
public
void
setIndustryID
(
String
industryID
)
{
this
.
industryID
=
industryID
==
null
?
null
:
industryID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column AccountMappingManual.UpdateTime
*
* @return the value of AccountMappingManual.UpdateTime
*
* @mbg.generated
*/
public
Date
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.UpdateTime
*
* @param updateTime the value for AccountMappingManual.UpdateTime
*
* @mbg.generated
*/
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column AccountMappingManual.UpdateBy
*
* @return the value of AccountMappingManual.UpdateBy
*
* @mbg.generated
*/
public
String
getUpdateBy
()
{
return
updateBy
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column AccountMappingManual.UpdateBy
*
* @param updateBy the value for AccountMappingManual.UpdateBy
*
* @mbg.generated
*/
public
void
setUpdateBy
(
String
updateBy
)
{
this
.
updateBy
=
updateBy
==
null
?
null
:
updateBy
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @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
(
", standardCode="
).
append
(
standardCode
);
sb
.
append
(
", fullName="
).
append
(
fullName
);
sb
.
append
(
", enterpriseAccountSetID="
).
append
(
enterpriseAccountSetID
);
sb
.
append
(
", organizationID="
).
append
(
organizationID
);
sb
.
append
(
", industryID="
).
append
(
industryID
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", updateBy="
).
append
(
updateBy
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/AccountMappingManualExample.java
0 → 100644
View file @
00ce6fbc
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
AccountMappingManualExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
public
AccountMappingManualExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table AccountMappingManual
*
* @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 AccountMappingManual
*
* @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 AccountMappingManual
*
* @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 AccountMappingManual
*
* @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 AccountMappingManual
*
* @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
andStandardCodeIsNull
()
{
addCriterion
(
"StandardCode is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeIsNotNull
()
{
addCriterion
(
"StandardCode is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeEqualTo
(
String
value
)
{
addCriterion
(
"StandardCode ="
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"StandardCode <>"
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeGreaterThan
(
String
value
)
{
addCriterion
(
"StandardCode >"
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"StandardCode >="
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeLessThan
(
String
value
)
{
addCriterion
(
"StandardCode <"
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"StandardCode <="
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeLike
(
String
value
)
{
addCriterion
(
"StandardCode like"
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeNotLike
(
String
value
)
{
addCriterion
(
"StandardCode not like"
,
value
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"StandardCode in"
,
values
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"StandardCode not in"
,
values
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"StandardCode between"
,
value1
,
value2
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStandardCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"StandardCode not between"
,
value1
,
value2
,
"standardCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameIsNull
()
{
addCriterion
(
"FullName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameIsNotNull
()
{
addCriterion
(
"FullName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameEqualTo
(
String
value
)
{
addCriterion
(
"FullName ="
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameNotEqualTo
(
String
value
)
{
addCriterion
(
"FullName <>"
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameGreaterThan
(
String
value
)
{
addCriterion
(
"FullName >"
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FullName >="
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameLessThan
(
String
value
)
{
addCriterion
(
"FullName <"
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"FullName <="
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameLike
(
String
value
)
{
addCriterion
(
"FullName like"
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameNotLike
(
String
value
)
{
addCriterion
(
"FullName not like"
,
value
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"FullName in"
,
values
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"FullName not in"
,
values
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FullName between"
,
value1
,
value2
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFullNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"FullName not between"
,
value1
,
value2
,
"fullName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDIsNull
()
{
addCriterion
(
"EnterpriseAccountSetID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDIsNotNull
()
{
addCriterion
(
"EnterpriseAccountSetID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDEqualTo
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID ="
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDNotEqualTo
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID <>"
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDGreaterThan
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID >"
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID >="
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDLessThan
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID <"
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID <="
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDLike
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID like"
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDNotLike
(
String
value
)
{
addCriterion
(
"EnterpriseAccountSetID not like"
,
value
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"EnterpriseAccountSetID in"
,
values
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"EnterpriseAccountSetID not in"
,
values
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"EnterpriseAccountSetID between"
,
value1
,
value2
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnterpriseAccountSetIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"EnterpriseAccountSetID not between"
,
value1
,
value2
,
"enterpriseAccountSetID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDIsNull
()
{
addCriterion
(
"OrganizationID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDIsNotNull
()
{
addCriterion
(
"OrganizationID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDEqualTo
(
String
value
)
{
addCriterion
(
"OrganizationID ="
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDNotEqualTo
(
String
value
)
{
addCriterion
(
"OrganizationID <>"
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDGreaterThan
(
String
value
)
{
addCriterion
(
"OrganizationID >"
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"OrganizationID >="
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDLessThan
(
String
value
)
{
addCriterion
(
"OrganizationID <"
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"OrganizationID <="
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDLike
(
String
value
)
{
addCriterion
(
"OrganizationID like"
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDNotLike
(
String
value
)
{
addCriterion
(
"OrganizationID not like"
,
value
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"OrganizationID in"
,
values
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"OrganizationID not in"
,
values
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"OrganizationID between"
,
value1
,
value2
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrganizationIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"OrganizationID not between"
,
value1
,
value2
,
"organizationID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDIsNull
()
{
addCriterion
(
"IndustryID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDIsNotNull
()
{
addCriterion
(
"IndustryID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDEqualTo
(
String
value
)
{
addCriterion
(
"IndustryID ="
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDNotEqualTo
(
String
value
)
{
addCriterion
(
"IndustryID <>"
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDGreaterThan
(
String
value
)
{
addCriterion
(
"IndustryID >"
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"IndustryID >="
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDLessThan
(
String
value
)
{
addCriterion
(
"IndustryID <"
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"IndustryID <="
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDLike
(
String
value
)
{
addCriterion
(
"IndustryID like"
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDNotLike
(
String
value
)
{
addCriterion
(
"IndustryID not like"
,
value
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"IndustryID in"
,
values
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"IndustryID not in"
,
values
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"IndustryID between"
,
value1
,
value2
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndustryIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"IndustryID not between"
,
value1
,
value2
,
"industryID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"UpdateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"UpdateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"UpdateTime >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"UpdateTime <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNull
()
{
addCriterion
(
"UpdateBy is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNotNull
()
{
addCriterion
(
"UpdateBy is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByEqualTo
(
String
value
)
{
addCriterion
(
"UpdateBy ="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotEqualTo
(
String
value
)
{
addCriterion
(
"UpdateBy <>"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThan
(
String
value
)
{
addCriterion
(
"UpdateBy >"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"UpdateBy >="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThan
(
String
value
)
{
addCriterion
(
"UpdateBy <"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"UpdateBy <="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLike
(
String
value
)
{
addCriterion
(
"UpdateBy like"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotLike
(
String
value
)
{
addCriterion
(
"UpdateBy not like"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIn
(
List
<
String
>
values
)
{
addCriterion
(
"UpdateBy in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"UpdateBy not in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"UpdateBy between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"UpdateBy not between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table AccountMappingManual
*
* @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 AccountMappingManual
*
* @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/resources/pwc/taxtech/atms/dao/AccountMappingManualMapper.xml
0 → 100644
View file @
00ce6fbc
<?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.AccountMappingManualMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.AccountMappingManual"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"StandardCode"
jdbcType=
"VARCHAR"
property=
"standardCode"
/>
<result
column=
"FullName"
jdbcType=
"VARCHAR"
property=
"fullName"
/>
<result
column=
"EnterpriseAccountSetID"
jdbcType=
"VARCHAR"
property=
"enterpriseAccountSetID"
/>
<result
column=
"OrganizationID"
jdbcType=
"VARCHAR"
property=
"organizationID"
/>
<result
column=
"IndustryID"
jdbcType=
"VARCHAR"
property=
"industryID"
/>
<result
column=
"UpdateTime"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"UpdateBy"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
</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, StandardCode, FullName, EnterpriseAccountSetID, OrganizationID, IndustryID, UpdateTime,
UpdateBy
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManualExample"
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 AccountMappingManual
<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 AccountMappingManual
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 AccountMappingManual
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManualExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from AccountMappingManual
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManual"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into AccountMappingManual (ID, StandardCode, FullName,
EnterpriseAccountSetID, OrganizationID,
IndustryID, UpdateTime, UpdateBy
)
values (#{ID,jdbcType=VARCHAR}, #{standardCode,jdbcType=VARCHAR}, #{fullName,jdbcType=VARCHAR},
#{enterpriseAccountSetID,jdbcType=VARCHAR}, #{organizationID,jdbcType=VARCHAR},
#{industryID,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManual"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into AccountMappingManual
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"standardCode != null"
>
StandardCode,
</if>
<if
test=
"fullName != null"
>
FullName,
</if>
<if
test=
"enterpriseAccountSetID != null"
>
EnterpriseAccountSetID,
</if>
<if
test=
"organizationID != null"
>
OrganizationID,
</if>
<if
test=
"industryID != null"
>
IndustryID,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
<if
test=
"updateBy != null"
>
UpdateBy,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"standardCode != null"
>
#{standardCode,jdbcType=VARCHAR},
</if>
<if
test=
"fullName != null"
>
#{fullName,jdbcType=VARCHAR},
</if>
<if
test=
"enterpriseAccountSetID != null"
>
#{enterpriseAccountSetID,jdbcType=VARCHAR},
</if>
<if
test=
"organizationID != null"
>
#{organizationID,jdbcType=VARCHAR},
</if>
<if
test=
"industryID != null"
>
#{industryID,jdbcType=VARCHAR},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateBy != null"
>
#{updateBy,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManualExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from AccountMappingManual
<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 AccountMappingManual
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.standardCode != null"
>
StandardCode = #{record.standardCode,jdbcType=VARCHAR},
</if>
<if
test=
"record.fullName != null"
>
FullName = #{record.fullName,jdbcType=VARCHAR},
</if>
<if
test=
"record.enterpriseAccountSetID != null"
>
EnterpriseAccountSetID = #{record.enterpriseAccountSetID,jdbcType=VARCHAR},
</if>
<if
test=
"record.organizationID != null"
>
OrganizationID = #{record.organizationID,jdbcType=VARCHAR},
</if>
<if
test=
"record.industryID != null"
>
IndustryID = #{record.industryID,jdbcType=VARCHAR},
</if>
<if
test=
"record.updateTime != null"
>
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateBy != null"
>
UpdateBy = #{record.updateBy,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update AccountMappingManual
set ID = #{record.ID,jdbcType=VARCHAR},
StandardCode = #{record.standardCode,jdbcType=VARCHAR},
FullName = #{record.fullName,jdbcType=VARCHAR},
EnterpriseAccountSetID = #{record.enterpriseAccountSetID,jdbcType=VARCHAR},
OrganizationID = #{record.organizationID,jdbcType=VARCHAR},
IndustryID = #{record.industryID,jdbcType=VARCHAR},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
UpdateBy = #{record.updateBy,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManual"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update AccountMappingManual
<set>
<if
test=
"standardCode != null"
>
StandardCode = #{standardCode,jdbcType=VARCHAR},
</if>
<if
test=
"fullName != null"
>
FullName = #{fullName,jdbcType=VARCHAR},
</if>
<if
test=
"enterpriseAccountSetID != null"
>
EnterpriseAccountSetID = #{enterpriseAccountSetID,jdbcType=VARCHAR},
</if>
<if
test=
"organizationID != null"
>
OrganizationID = #{organizationID,jdbcType=VARCHAR},
</if>
<if
test=
"industryID != null"
>
IndustryID = #{industryID,jdbcType=VARCHAR},
</if>
<if
test=
"updateTime != null"
>
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateBy != null"
>
UpdateBy = #{updateBy,jdbcType=VARCHAR},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManual"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update AccountMappingManual
set StandardCode = #{standardCode,jdbcType=VARCHAR},
FullName = #{fullName,jdbcType=VARCHAR},
EnterpriseAccountSetID = #{enterpriseAccountSetID,jdbcType=VARCHAR},
OrganizationID = #{organizationID,jdbcType=VARCHAR},
IndustryID = #{industryID,jdbcType=VARCHAR},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
UpdateBy = #{updateBy,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.AccountMappingManualExample"
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 AccountMappingManual
<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