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
8fa70317
Commit
8fa70317
authored
Jun 07, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[GEN] gen PeriodInfo xml and java
parent
0bad09d2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1859 additions
and
0 deletions
+1859
-0
generatorConfig.xml
atms-api/etc/generator/generatorConfig.xml
+5
-0
PeriodInfoMapper.java
.../src/main/java/pwc/taxtech/atms/dao/PeriodInfoMapper.java
+141
-0
PeriodInfo.java
...pi/src/main/java/pwc/taxtech/atms/entitiy/PeriodInfo.java
+380
-0
PeriodInfoExample.java
...main/java/pwc/taxtech/atms/entitiy/PeriodInfoExample.java
+874
-0
PeriodInfoMapper.xml
.../main/resources/pwc/taxtech/atms/dao/PeriodInfoMapper.xml
+459
-0
No files found.
atms-api/etc/generator/generatorConfig.xml
View file @
8fa70317
...
...
@@ -408,5 +408,9 @@
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
<table
tableName=
"PeriodInfo"
domainObjectName=
"PeriodInfo"
>
<property
name=
"useActualColumnNames"
value=
"true"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/dao/PeriodInfoMapper.java
0 → 100644
View file @
8fa70317
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.PeriodInfo
;
import
pwc.taxtech.atms.entitiy.PeriodInfoExample
;
@Mapper
public
interface
PeriodInfoMapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
long
countByExample
(
PeriodInfoExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
deleteByExample
(
PeriodInfoExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
insert
(
PeriodInfo
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
insertSelective
(
PeriodInfo
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
List
<
PeriodInfo
>
selectByExampleWithBLOBsWithRowbounds
(
PeriodInfoExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
List
<
PeriodInfo
>
selectByExampleWithBLOBs
(
PeriodInfoExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
List
<
PeriodInfo
>
selectByExampleWithRowbounds
(
PeriodInfoExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
List
<
PeriodInfo
>
selectByExample
(
PeriodInfoExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
PeriodInfo
selectByPrimaryKey
(
String
ID
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
PeriodInfo
record
,
@Param
(
"example"
)
PeriodInfoExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
PeriodInfo
record
,
@Param
(
"example"
)
PeriodInfoExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
PeriodInfo
record
,
@Param
(
"example"
)
PeriodInfoExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
PeriodInfo
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
updateByPrimaryKeyWithBLOBs
(
PeriodInfo
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
PeriodInfo
record
);
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/PeriodInfo.java
0 → 100644
View file @
8fa70317
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 PeriodInfo
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
PeriodInfo
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.ID
*
* @mbg.generated
*/
private
String
ID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.ProjectID
*
* @mbg.generated
*/
private
String
projectID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.Period
*
* @mbg.generated
*/
private
Integer
period
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.Status
*
* @mbg.generated
*/
private
Integer
status
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.CreatorID
*
* @mbg.generated
*/
private
String
creatorID
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.CreateTime
*
* @mbg.generated
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.UpdateTime
*
* @mbg.generated
*/
private
Date
updateTime
;
/**
* Database Column Remarks:
* 未导入:0,tb导入:1 ,财务账导入:2
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.ImportType
*
* @mbg.generated
*/
private
Integer
importType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.ServiceType
*
* @mbg.generated
*/
private
Integer
serviceType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodInfo.ProjectInfo
*
* @mbg.generated
*/
private
String
projectInfo
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.ID
*
* @return the value of PeriodInfo.ID
*
* @mbg.generated
*/
public
String
getID
()
{
return
ID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.ID
*
* @param ID the value for PeriodInfo.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 PeriodInfo.ProjectID
*
* @return the value of PeriodInfo.ProjectID
*
* @mbg.generated
*/
public
String
getProjectID
()
{
return
projectID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.ProjectID
*
* @param projectID the value for PeriodInfo.ProjectID
*
* @mbg.generated
*/
public
void
setProjectID
(
String
projectID
)
{
this
.
projectID
=
projectID
==
null
?
null
:
projectID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.Period
*
* @return the value of PeriodInfo.Period
*
* @mbg.generated
*/
public
Integer
getPeriod
()
{
return
period
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.Period
*
* @param period the value for PeriodInfo.Period
*
* @mbg.generated
*/
public
void
setPeriod
(
Integer
period
)
{
this
.
period
=
period
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.Status
*
* @return the value of PeriodInfo.Status
*
* @mbg.generated
*/
public
Integer
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.Status
*
* @param status the value for PeriodInfo.Status
*
* @mbg.generated
*/
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.CreatorID
*
* @return the value of PeriodInfo.CreatorID
*
* @mbg.generated
*/
public
String
getCreatorID
()
{
return
creatorID
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.CreatorID
*
* @param creatorID the value for PeriodInfo.CreatorID
*
* @mbg.generated
*/
public
void
setCreatorID
(
String
creatorID
)
{
this
.
creatorID
=
creatorID
==
null
?
null
:
creatorID
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.CreateTime
*
* @return the value of PeriodInfo.CreateTime
*
* @mbg.generated
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.CreateTime
*
* @param createTime the value for PeriodInfo.CreateTime
*
* @mbg.generated
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.UpdateTime
*
* @return the value of PeriodInfo.UpdateTime
*
* @mbg.generated
*/
public
Date
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.UpdateTime
*
* @param updateTime the value for PeriodInfo.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 PeriodInfo.ImportType
*
* @return the value of PeriodInfo.ImportType
*
* @mbg.generated
*/
public
Integer
getImportType
()
{
return
importType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.ImportType
*
* @param importType the value for PeriodInfo.ImportType
*
* @mbg.generated
*/
public
void
setImportType
(
Integer
importType
)
{
this
.
importType
=
importType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.ServiceType
*
* @return the value of PeriodInfo.ServiceType
*
* @mbg.generated
*/
public
Integer
getServiceType
()
{
return
serviceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.ServiceType
*
* @param serviceType the value for PeriodInfo.ServiceType
*
* @mbg.generated
*/
public
void
setServiceType
(
Integer
serviceType
)
{
this
.
serviceType
=
serviceType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodInfo.ProjectInfo
*
* @return the value of PeriodInfo.ProjectInfo
*
* @mbg.generated
*/
public
String
getProjectInfo
()
{
return
projectInfo
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodInfo.ProjectInfo
*
* @param projectInfo the value for PeriodInfo.ProjectInfo
*
* @mbg.generated
*/
public
void
setProjectInfo
(
String
projectInfo
)
{
this
.
projectInfo
=
projectInfo
==
null
?
null
:
projectInfo
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @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
(
", projectID="
).
append
(
projectID
);
sb
.
append
(
", period="
).
append
(
period
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", creatorID="
).
append
(
creatorID
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", importType="
).
append
(
importType
);
sb
.
append
(
", serviceType="
).
append
(
serviceType
);
sb
.
append
(
", projectInfo="
).
append
(
projectInfo
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/entitiy/PeriodInfoExample.java
0 → 100644
View file @
8fa70317
package
pwc
.
taxtech
.
atms
.
entitiy
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
PeriodInfoExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
public
PeriodInfoExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table PeriodInfo
*
* @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 PeriodInfo
*
* @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 PeriodInfo
*
* @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 PeriodInfo
*
* @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 PeriodInfo
*
* @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
andProjectIDIsNull
()
{
addCriterion
(
"ProjectID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDIsNotNull
()
{
addCriterion
(
"ProjectID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDEqualTo
(
String
value
)
{
addCriterion
(
"ProjectID ="
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDNotEqualTo
(
String
value
)
{
addCriterion
(
"ProjectID <>"
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDGreaterThan
(
String
value
)
{
addCriterion
(
"ProjectID >"
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ProjectID >="
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDLessThan
(
String
value
)
{
addCriterion
(
"ProjectID <"
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ProjectID <="
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDLike
(
String
value
)
{
addCriterion
(
"ProjectID like"
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDNotLike
(
String
value
)
{
addCriterion
(
"ProjectID not like"
,
value
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"ProjectID in"
,
values
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ProjectID not in"
,
values
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ProjectID between"
,
value1
,
value2
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ProjectID not between"
,
value1
,
value2
,
"projectID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodIsNull
()
{
addCriterion
(
"Period is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodIsNotNull
()
{
addCriterion
(
"Period is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodEqualTo
(
Integer
value
)
{
addCriterion
(
"Period ="
,
value
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodNotEqualTo
(
Integer
value
)
{
addCriterion
(
"Period <>"
,
value
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodGreaterThan
(
Integer
value
)
{
addCriterion
(
"Period >"
,
value
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"Period >="
,
value
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodLessThan
(
Integer
value
)
{
addCriterion
(
"Period <"
,
value
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"Period <="
,
value
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"Period in"
,
values
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"Period not in"
,
values
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"Period between"
,
value1
,
value2
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPeriodNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"Period not between"
,
value1
,
value2
,
"period"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"Status is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"Status is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Integer
value
)
{
addCriterion
(
"Status ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Integer
value
)
{
addCriterion
(
"Status <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Integer
value
)
{
addCriterion
(
"Status >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"Status >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Integer
value
)
{
addCriterion
(
"Status <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"Status <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"Status in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"Status not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"Status between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"Status not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDIsNull
()
{
addCriterion
(
"CreatorID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDIsNotNull
()
{
addCriterion
(
"CreatorID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDEqualTo
(
String
value
)
{
addCriterion
(
"CreatorID ="
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDNotEqualTo
(
String
value
)
{
addCriterion
(
"CreatorID <>"
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDGreaterThan
(
String
value
)
{
addCriterion
(
"CreatorID >"
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CreatorID >="
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDLessThan
(
String
value
)
{
addCriterion
(
"CreatorID <"
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CreatorID <="
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDLike
(
String
value
)
{
addCriterion
(
"CreatorID like"
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDNotLike
(
String
value
)
{
addCriterion
(
"CreatorID not like"
,
value
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDIn
(
List
<
String
>
values
)
{
addCriterion
(
"CreatorID in"
,
values
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"CreatorID not in"
,
values
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CreatorID between"
,
value1
,
value2
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIDNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CreatorID not between"
,
value1
,
value2
,
"creatorID"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"CreateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"CreateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"CreateTime >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"CreateTime <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"UpdateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"UpdateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"UpdateTime >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"UpdateTime <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeIsNull
()
{
addCriterion
(
"ImportType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeIsNotNull
()
{
addCriterion
(
"ImportType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeEqualTo
(
Integer
value
)
{
addCriterion
(
"ImportType ="
,
value
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"ImportType <>"
,
value
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"ImportType >"
,
value
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ImportType >="
,
value
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeLessThan
(
Integer
value
)
{
addCriterion
(
"ImportType <"
,
value
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ImportType <="
,
value
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ImportType in"
,
values
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ImportType not in"
,
values
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ImportType between"
,
value1
,
value2
,
"importType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImportTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ImportType not between"
,
value1
,
value2
,
"importType"
);
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
(
Integer
value
)
{
addCriterion
(
"ServiceType ="
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"ServiceType <>"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"ServiceType >"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ServiceType >="
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeLessThan
(
Integer
value
)
{
addCriterion
(
"ServiceType <"
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ServiceType <="
,
value
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ServiceType in"
,
values
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ServiceType not in"
,
values
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ServiceType between"
,
value1
,
value2
,
"serviceType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andServiceTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ServiceType not between"
,
value1
,
value2
,
"serviceType"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table PeriodInfo
*
* @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 PeriodInfo
*
* @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/PeriodInfoMapper.xml
0 → 100644
View file @
8fa70317
<?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.PeriodInfoMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.PeriodInfo"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"ProjectID"
jdbcType=
"VARCHAR"
property=
"projectID"
/>
<result
column=
"Period"
jdbcType=
"INTEGER"
property=
"period"
/>
<result
column=
"Status"
jdbcType=
"INTEGER"
property=
"status"
/>
<result
column=
"CreatorID"
jdbcType=
"VARCHAR"
property=
"creatorID"
/>
<result
column=
"CreateTime"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"UpdateTime"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"ImportType"
jdbcType=
"INTEGER"
property=
"importType"
/>
<result
column=
"ServiceType"
jdbcType=
"INTEGER"
property=
"serviceType"
/>
</resultMap>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"pwc.taxtech.atms.entitiy.PeriodInfo"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<result
column=
"ProjectInfo"
jdbcType=
"LONGVARCHAR"
property=
"projectInfo"
/>
</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, ProjectID, Period, Status, CreatorID, CreateTime, UpdateTime, ImportType, ServiceType
</sql>
<sql
id=
"Blob_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
ProjectInfo
</sql>
<select
id=
"selectByExampleWithBLOBs"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfoExample"
resultMap=
"ResultMapWithBLOBs"
>
<!--
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"
/>
,
<include
refid=
"Blob_Column_List"
/>
from PeriodInfo
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfoExample"
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 PeriodInfo
<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=
"ResultMapWithBLOBs"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from PeriodInfo
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 PeriodInfo
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfoExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from PeriodInfo
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfo"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into PeriodInfo (ID, ProjectID, Period,
Status, CreatorID, CreateTime,
UpdateTime, ImportType, ServiceType,
ProjectInfo)
values (#{ID,jdbcType=VARCHAR}, #{projectID,jdbcType=VARCHAR}, #{period,jdbcType=INTEGER},
#{status,jdbcType=INTEGER}, #{creatorID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{importType,jdbcType=INTEGER}, #{serviceType,jdbcType=INTEGER},
#{projectInfo,jdbcType=LONGVARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfo"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into PeriodInfo
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"projectID != null"
>
ProjectID,
</if>
<if
test=
"period != null"
>
Period,
</if>
<if
test=
"status != null"
>
Status,
</if>
<if
test=
"creatorID != null"
>
CreatorID,
</if>
<if
test=
"createTime != null"
>
CreateTime,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
<if
test=
"importType != null"
>
ImportType,
</if>
<if
test=
"serviceType != null"
>
ServiceType,
</if>
<if
test=
"projectInfo != null"
>
ProjectInfo,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"projectID != null"
>
#{projectID,jdbcType=VARCHAR},
</if>
<if
test=
"period != null"
>
#{period,jdbcType=INTEGER},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=INTEGER},
</if>
<if
test=
"creatorID != null"
>
#{creatorID,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"importType != null"
>
#{importType,jdbcType=INTEGER},
</if>
<if
test=
"serviceType != null"
>
#{serviceType,jdbcType=INTEGER},
</if>
<if
test=
"projectInfo != null"
>
#{projectInfo,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfoExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from PeriodInfo
<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 PeriodInfo
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.projectID != null"
>
ProjectID = #{record.projectID,jdbcType=VARCHAR},
</if>
<if
test=
"record.period != null"
>
Period = #{record.period,jdbcType=INTEGER},
</if>
<if
test=
"record.status != null"
>
Status = #{record.status,jdbcType=INTEGER},
</if>
<if
test=
"record.creatorID != null"
>
CreatorID = #{record.creatorID,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateTime != null"
>
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.importType != null"
>
ImportType = #{record.importType,jdbcType=INTEGER},
</if>
<if
test=
"record.serviceType != null"
>
ServiceType = #{record.serviceType,jdbcType=INTEGER},
</if>
<if
test=
"record.projectInfo != null"
>
ProjectInfo = #{record.projectInfo,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update PeriodInfo
set ID = #{record.ID,jdbcType=VARCHAR},
ProjectID = #{record.projectID,jdbcType=VARCHAR},
Period = #{record.period,jdbcType=INTEGER},
Status = #{record.status,jdbcType=INTEGER},
CreatorID = #{record.creatorID,jdbcType=VARCHAR},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
ImportType = #{record.importType,jdbcType=INTEGER},
ServiceType = #{record.serviceType,jdbcType=INTEGER},
ProjectInfo = #{record.projectInfo,jdbcType=LONGVARCHAR}
<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 PeriodInfo
set ID = #{record.ID,jdbcType=VARCHAR},
ProjectID = #{record.projectID,jdbcType=VARCHAR},
Period = #{record.period,jdbcType=INTEGER},
Status = #{record.status,jdbcType=INTEGER},
CreatorID = #{record.creatorID,jdbcType=VARCHAR},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
ImportType = #{record.importType,jdbcType=INTEGER},
ServiceType = #{record.serviceType,jdbcType=INTEGER}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfo"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update PeriodInfo
<set>
<if
test=
"projectID != null"
>
ProjectID = #{projectID,jdbcType=VARCHAR},
</if>
<if
test=
"period != null"
>
Period = #{period,jdbcType=INTEGER},
</if>
<if
test=
"status != null"
>
Status = #{status,jdbcType=INTEGER},
</if>
<if
test=
"creatorID != null"
>
CreatorID = #{creatorID,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
CreateTime = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"importType != null"
>
ImportType = #{importType,jdbcType=INTEGER},
</if>
<if
test=
"serviceType != null"
>
ServiceType = #{serviceType,jdbcType=INTEGER},
</if>
<if
test=
"projectInfo != null"
>
ProjectInfo = #{projectInfo,jdbcType=LONGVARCHAR},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfo"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update PeriodInfo
set ProjectID = #{projectID,jdbcType=VARCHAR},
Period = #{period,jdbcType=INTEGER},
Status = #{status,jdbcType=INTEGER},
CreatorID = #{creatorID,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
ImportType = #{importType,jdbcType=INTEGER},
ServiceType = #{serviceType,jdbcType=INTEGER},
ProjectInfo = #{projectInfo,jdbcType=LONGVARCHAR}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfo"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update PeriodInfo
set ProjectID = #{projectID,jdbcType=VARCHAR},
Period = #{period,jdbcType=INTEGER},
Status = #{status,jdbcType=INTEGER},
CreatorID = #{creatorID,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
ImportType = #{importType,jdbcType=INTEGER},
ServiceType = #{serviceType,jdbcType=INTEGER}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithBLOBsWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfoExample"
resultMap=
"ResultMapWithBLOBs"
>
<!--
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"
/>
,
<include
refid=
"Blob_Column_List"
/>
from PeriodInfo
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.PeriodInfoExample"
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 PeriodInfo
<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