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
178b5b36
Commit
178b5b36
authored
Nov 06, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEV] add period job entity mapper and genconfig
parent
abb89b56
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1729 additions
and
0 deletions
+1729
-0
vatGeneratorConfig.xml
atms-dao/etc/generator-oracle/vatGeneratorConfig.xml
+7
-0
PeriodJobMapper.java
...c/main/java/pwc/taxtech/atms/vat/dao/PeriodJobMapper.java
+109
-0
PeriodJob.java
.../src/main/java/pwc/taxtech/atms/vat/entity/PeriodJob.java
+344
-0
PeriodJobExample.java
...in/java/pwc/taxtech/atms/vat/entity/PeriodJobExample.java
+914
-0
PeriodJobMapper.xml
...in/resources/pwc/taxtech/atms/vat/dao/PeriodJobMapper.xml
+355
-0
No files found.
atms-dao/etc/generator-oracle/vatGeneratorConfig.xml
View file @
178b5b36
...
...
@@ -228,5 +228,11 @@
<columnOverride
column=
"YEAR"
javaType=
"java.lang.Integer"
/>
</table>
<table
tableName=
"PERIOD_JOB"
schema=
"tax_admin"
domainObjectName=
"PeriodJob"
>
<property
name=
"useActualColumnNames"
value=
"false"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"PERIOD"
javaType=
"java.lang.Integer"
/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/PeriodJobMapper.java
0 → 100644
View file @
178b5b36
package
pwc
.
taxtech
.
atms
.
vat
.
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.MyVatMapper
;
import
pwc.taxtech.atms.vat.entity.PeriodJob
;
import
pwc.taxtech.atms.vat.entity.PeriodJobExample
;
@Mapper
public
interface
PeriodJobMapper
extends
MyVatMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
long
countByExample
(
PeriodJobExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
deleteByExample
(
PeriodJobExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
insert
(
PeriodJob
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
insertSelective
(
PeriodJob
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
List
<
PeriodJob
>
selectByExampleWithRowbounds
(
PeriodJobExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
List
<
PeriodJob
>
selectByExample
(
PeriodJobExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
PeriodJob
selectByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
PeriodJob
record
,
@Param
(
"example"
)
PeriodJobExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
PeriodJob
record
,
@Param
(
"example"
)
PeriodJobExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
PeriodJob
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
PeriodJob
record
);
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/PeriodJob.java
0 → 100644
View file @
178b5b36
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
PeriodJob
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.ID
*
* @mbg.generated
*/
private
String
id
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.NAME
*
* @mbg.generated
*/
private
String
name
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.CURRENT_STEP
*
* @mbg.generated
*/
private
String
currentStep
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.PROJECT_ID
*
* @mbg.generated
*/
private
String
projectId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.PERIOD
*
* @mbg.generated
*/
private
Integer
period
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.STEPS_CODE
*
* @mbg.generated
*/
private
String
stepsCode
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.CREATE_TIME
*
* @mbg.generated
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.STATUS
*
* @mbg.generated
*/
private
String
status
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_JOB.ERROR_MSG
*
* @mbg.generated
*/
private
String
errorMsg
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_JOB.ID
*
* @return the value of TAX_ADMIN.PERIOD_JOB.ID
*
* @mbg.generated
*/
public
String
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.ID
*
* @param id the value for TAX_ADMIN.PERIOD_JOB.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 TAX_ADMIN.PERIOD_JOB.NAME
*
* @return the value of TAX_ADMIN.PERIOD_JOB.NAME
*
* @mbg.generated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.NAME
*
* @param name the value for TAX_ADMIN.PERIOD_JOB.NAME
*
* @mbg.generated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_JOB.CURRENT_STEP
*
* @return the value of TAX_ADMIN.PERIOD_JOB.CURRENT_STEP
*
* @mbg.generated
*/
public
String
getCurrentStep
()
{
return
currentStep
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.CURRENT_STEP
*
* @param currentStep the value for TAX_ADMIN.PERIOD_JOB.CURRENT_STEP
*
* @mbg.generated
*/
public
void
setCurrentStep
(
String
currentStep
)
{
this
.
currentStep
=
currentStep
==
null
?
null
:
currentStep
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_JOB.PROJECT_ID
*
* @return the value of TAX_ADMIN.PERIOD_JOB.PROJECT_ID
*
* @mbg.generated
*/
public
String
getProjectId
()
{
return
projectId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.PROJECT_ID
*
* @param projectId the value for TAX_ADMIN.PERIOD_JOB.PROJECT_ID
*
* @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 TAX_ADMIN.PERIOD_JOB.PERIOD
*
* @return the value of TAX_ADMIN.PERIOD_JOB.PERIOD
*
* @mbg.generated
*/
public
Integer
getPeriod
()
{
return
period
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.PERIOD
*
* @param period the value for TAX_ADMIN.PERIOD_JOB.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 TAX_ADMIN.PERIOD_JOB.STEPS_CODE
*
* @return the value of TAX_ADMIN.PERIOD_JOB.STEPS_CODE
*
* @mbg.generated
*/
public
String
getStepsCode
()
{
return
stepsCode
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.STEPS_CODE
*
* @param stepsCode the value for TAX_ADMIN.PERIOD_JOB.STEPS_CODE
*
* @mbg.generated
*/
public
void
setStepsCode
(
String
stepsCode
)
{
this
.
stepsCode
=
stepsCode
==
null
?
null
:
stepsCode
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_JOB.CREATE_TIME
*
* @return the value of TAX_ADMIN.PERIOD_JOB.CREATE_TIME
*
* @mbg.generated
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.CREATE_TIME
*
* @param createTime the value for TAX_ADMIN.PERIOD_JOB.CREATE_TIME
*
* @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 TAX_ADMIN.PERIOD_JOB.STATUS
*
* @return the value of TAX_ADMIN.PERIOD_JOB.STATUS
*
* @mbg.generated
*/
public
String
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.STATUS
*
* @param status the value for TAX_ADMIN.PERIOD_JOB.STATUS
*
* @mbg.generated
*/
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
==
null
?
null
:
status
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_JOB.ERROR_MSG
*
* @return the value of TAX_ADMIN.PERIOD_JOB.ERROR_MSG
*
* @mbg.generated
*/
public
String
getErrorMsg
()
{
return
errorMsg
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_JOB.ERROR_MSG
*
* @param errorMsg the value for TAX_ADMIN.PERIOD_JOB.ERROR_MSG
*
* @mbg.generated
*/
public
void
setErrorMsg
(
String
errorMsg
)
{
this
.
errorMsg
=
errorMsg
==
null
?
null
:
errorMsg
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", name="
).
append
(
name
);
sb
.
append
(
", currentStep="
).
append
(
currentStep
);
sb
.
append
(
", projectId="
).
append
(
projectId
);
sb
.
append
(
", period="
).
append
(
period
);
sb
.
append
(
", stepsCode="
).
append
(
stepsCode
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", errorMsg="
).
append
(
errorMsg
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/PeriodJobExample.java
0 → 100644
View file @
178b5b36
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
PeriodJobExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
public
PeriodJobExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @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 TAX_ADMIN.PERIOD_JOB
*
* @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 TAX_ADMIN.PERIOD_JOB
*
* @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 TAX_ADMIN.PERIOD_JOB
*
* @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 TAX_ADMIN.PERIOD_JOB
*
* @mbg.generated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"ID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"ID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
String
value
)
{
addCriterion
(
"ID ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
String
value
)
{
addCriterion
(
"ID <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
String
value
)
{
addCriterion
(
"ID >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ID >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
String
value
)
{
addCriterion
(
"ID <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ID <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLike
(
String
value
)
{
addCriterion
(
"ID like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotLike
(
String
value
)
{
addCriterion
(
"ID not like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"ID in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ID not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ID between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ID not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"\"NAME\" is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"\"NAME\" is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"\"NAME\" ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"\"NAME\" <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"\"NAME\" >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"\"NAME\" >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"\"NAME\" <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"\"NAME\" <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"\"NAME\" like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"\"NAME\" not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"\"NAME\" in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"\"NAME\" not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"\"NAME\" between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"\"NAME\" not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepIsNull
()
{
addCriterion
(
"CURRENT_STEP is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepIsNotNull
()
{
addCriterion
(
"CURRENT_STEP is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepEqualTo
(
String
value
)
{
addCriterion
(
"CURRENT_STEP ="
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepNotEqualTo
(
String
value
)
{
addCriterion
(
"CURRENT_STEP <>"
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepGreaterThan
(
String
value
)
{
addCriterion
(
"CURRENT_STEP >"
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CURRENT_STEP >="
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepLessThan
(
String
value
)
{
addCriterion
(
"CURRENT_STEP <"
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CURRENT_STEP <="
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepLike
(
String
value
)
{
addCriterion
(
"CURRENT_STEP like"
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepNotLike
(
String
value
)
{
addCriterion
(
"CURRENT_STEP not like"
,
value
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepIn
(
List
<
String
>
values
)
{
addCriterion
(
"CURRENT_STEP in"
,
values
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"CURRENT_STEP not in"
,
values
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CURRENT_STEP between"
,
value1
,
value2
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrentStepNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CURRENT_STEP not between"
,
value1
,
value2
,
"currentStep"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdIsNull
()
{
addCriterion
(
"PROJECT_ID is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdIsNotNull
()
{
addCriterion
(
"PROJECT_ID is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdEqualTo
(
String
value
)
{
addCriterion
(
"PROJECT_ID ="
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdNotEqualTo
(
String
value
)
{
addCriterion
(
"PROJECT_ID <>"
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdGreaterThan
(
String
value
)
{
addCriterion
(
"PROJECT_ID >"
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"PROJECT_ID >="
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdLessThan
(
String
value
)
{
addCriterion
(
"PROJECT_ID <"
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"PROJECT_ID <="
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdLike
(
String
value
)
{
addCriterion
(
"PROJECT_ID like"
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdNotLike
(
String
value
)
{
addCriterion
(
"PROJECT_ID not like"
,
value
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"PROJECT_ID in"
,
values
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"PROJECT_ID not in"
,
values
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"PROJECT_ID between"
,
value1
,
value2
,
"projectId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProjectIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"PROJECT_ID 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
andStepsCodeIsNull
()
{
addCriterion
(
"STEPS_CODE is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeIsNotNull
()
{
addCriterion
(
"STEPS_CODE is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeEqualTo
(
String
value
)
{
addCriterion
(
"STEPS_CODE ="
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"STEPS_CODE <>"
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeGreaterThan
(
String
value
)
{
addCriterion
(
"STEPS_CODE >"
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"STEPS_CODE >="
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeLessThan
(
String
value
)
{
addCriterion
(
"STEPS_CODE <"
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"STEPS_CODE <="
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeLike
(
String
value
)
{
addCriterion
(
"STEPS_CODE like"
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeNotLike
(
String
value
)
{
addCriterion
(
"STEPS_CODE not like"
,
value
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"STEPS_CODE in"
,
values
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"STEPS_CODE not in"
,
values
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"STEPS_CODE between"
,
value1
,
value2
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStepsCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"STEPS_CODE not between"
,
value1
,
value2
,
"stepsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"CREATE_TIME is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"CREATE_TIME is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"CREATE_TIME ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"CREATE_TIME <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"CREATE_TIME >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CREATE_TIME >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"CREATE_TIME <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CREATE_TIME <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CREATE_TIME in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CREATE_TIME not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CREATE_TIME between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CREATE_TIME not between"
,
value1
,
value2
,
"createTime"
);
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
(
String
value
)
{
addCriterion
(
"\"STATUS\" ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
String
value
)
{
addCriterion
(
"\"STATUS\" <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
String
value
)
{
addCriterion
(
"\"STATUS\" >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"\"STATUS\" >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
String
value
)
{
addCriterion
(
"\"STATUS\" <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"\"STATUS\" <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLike
(
String
value
)
{
addCriterion
(
"\"STATUS\" like"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotLike
(
String
value
)
{
addCriterion
(
"\"STATUS\" not like"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
String
>
values
)
{
addCriterion
(
"\"STATUS\" in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"\"STATUS\" not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"\"STATUS\" between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"\"STATUS\" not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgIsNull
()
{
addCriterion
(
"ERROR_MSG is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgIsNotNull
()
{
addCriterion
(
"ERROR_MSG is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgEqualTo
(
String
value
)
{
addCriterion
(
"ERROR_MSG ="
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgNotEqualTo
(
String
value
)
{
addCriterion
(
"ERROR_MSG <>"
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgGreaterThan
(
String
value
)
{
addCriterion
(
"ERROR_MSG >"
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ERROR_MSG >="
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgLessThan
(
String
value
)
{
addCriterion
(
"ERROR_MSG <"
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ERROR_MSG <="
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgLike
(
String
value
)
{
addCriterion
(
"ERROR_MSG like"
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgNotLike
(
String
value
)
{
addCriterion
(
"ERROR_MSG not like"
,
value
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgIn
(
List
<
String
>
values
)
{
addCriterion
(
"ERROR_MSG in"
,
values
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ERROR_MSG not in"
,
values
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ERROR_MSG between"
,
value1
,
value2
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrorMsgNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ERROR_MSG not between"
,
value1
,
value2
,
"errorMsg"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table TAX_ADMIN.PERIOD_JOB
*
* @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 TAX_ADMIN.PERIOD_JOB
*
* @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-dao/src/main/resources/pwc/taxtech/atms/vat/dao/PeriodJobMapper.xml
0 → 100644
View file @
178b5b36
<?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.vat.dao.PeriodJobMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.PeriodJob"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"NAME"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"CURRENT_STEP"
jdbcType=
"VARCHAR"
property=
"currentStep"
/>
<result
column=
"PROJECT_ID"
jdbcType=
"VARCHAR"
property=
"projectId"
/>
<result
column=
"PERIOD"
jdbcType=
"DECIMAL"
property=
"period"
/>
<result
column=
"STEPS_CODE"
jdbcType=
"VARCHAR"
property=
"stepsCode"
/>
<result
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"STATUS"
jdbcType=
"VARCHAR"
property=
"status"
/>
<result
column=
"ERROR_MSG"
jdbcType=
"VARCHAR"
property=
"errorMsg"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
ID, "NAME", CURRENT_STEP, PROJECT_ID, PERIOD, STEPS_CODE, CREATE_TIME, "STATUS",
ERROR_MSG
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJobExample"
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 PERIOD_JOB
<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 PERIOD_JOB
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 PERIOD_JOB
where ID = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJobExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from PERIOD_JOB
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJob"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into PERIOD_JOB (ID, "NAME", CURRENT_STEP,
PROJECT_ID, PERIOD, STEPS_CODE,
CREATE_TIME, "STATUS", ERROR_MSG
)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{currentStep,jdbcType=VARCHAR},
#{projectId,jdbcType=VARCHAR}, #{period,jdbcType=DECIMAL}, #{stepsCode,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR}, #{errorMsg,jdbcType=VARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJob"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into PERIOD_JOB
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
ID,
</if>
<if
test=
"name != null"
>
"NAME",
</if>
<if
test=
"currentStep != null"
>
CURRENT_STEP,
</if>
<if
test=
"projectId != null"
>
PROJECT_ID,
</if>
<if
test=
"period != null"
>
PERIOD,
</if>
<if
test=
"stepsCode != null"
>
STEPS_CODE,
</if>
<if
test=
"createTime != null"
>
CREATE_TIME,
</if>
<if
test=
"status != null"
>
"STATUS",
</if>
<if
test=
"errorMsg != null"
>
ERROR_MSG,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=VARCHAR},
</if>
<if
test=
"name != null"
>
#{name,jdbcType=VARCHAR},
</if>
<if
test=
"currentStep != null"
>
#{currentStep,jdbcType=VARCHAR},
</if>
<if
test=
"projectId != null"
>
#{projectId,jdbcType=VARCHAR},
</if>
<if
test=
"period != null"
>
#{period,jdbcType=DECIMAL},
</if>
<if
test=
"stepsCode != null"
>
#{stepsCode,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=VARCHAR},
</if>
<if
test=
"errorMsg != null"
>
#{errorMsg,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJobExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from PERIOD_JOB
<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 PERIOD_JOB
<set>
<if
test=
"record.id != null"
>
ID = #{record.id,jdbcType=VARCHAR},
</if>
<if
test=
"record.name != null"
>
"NAME" = #{record.name,jdbcType=VARCHAR},
</if>
<if
test=
"record.currentStep != null"
>
CURRENT_STEP = #{record.currentStep,jdbcType=VARCHAR},
</if>
<if
test=
"record.projectId != null"
>
PROJECT_ID = #{record.projectId,jdbcType=VARCHAR},
</if>
<if
test=
"record.period != null"
>
PERIOD = #{record.period,jdbcType=DECIMAL},
</if>
<if
test=
"record.stepsCode != null"
>
STEPS_CODE = #{record.stepsCode,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.status != null"
>
"STATUS" = #{record.status,jdbcType=VARCHAR},
</if>
<if
test=
"record.errorMsg != null"
>
ERROR_MSG = #{record.errorMsg,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 PERIOD_JOB
set ID = #{record.id,jdbcType=VARCHAR},
"NAME" = #{record.name,jdbcType=VARCHAR},
CURRENT_STEP = #{record.currentStep,jdbcType=VARCHAR},
PROJECT_ID = #{record.projectId,jdbcType=VARCHAR},
PERIOD = #{record.period,jdbcType=DECIMAL},
STEPS_CODE = #{record.stepsCode,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
"STATUS" = #{record.status,jdbcType=VARCHAR},
ERROR_MSG = #{record.errorMsg,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJob"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update PERIOD_JOB
<set>
<if
test=
"name != null"
>
"NAME" = #{name,jdbcType=VARCHAR},
</if>
<if
test=
"currentStep != null"
>
CURRENT_STEP = #{currentStep,jdbcType=VARCHAR},
</if>
<if
test=
"projectId != null"
>
PROJECT_ID = #{projectId,jdbcType=VARCHAR},
</if>
<if
test=
"period != null"
>
PERIOD = #{period,jdbcType=DECIMAL},
</if>
<if
test=
"stepsCode != null"
>
STEPS_CODE = #{stepsCode,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"status != null"
>
"STATUS" = #{status,jdbcType=VARCHAR},
</if>
<if
test=
"errorMsg != null"
>
ERROR_MSG = #{errorMsg,jdbcType=VARCHAR},
</if>
</set>
where ID = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJob"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update PERIOD_JOB
set "NAME" = #{name,jdbcType=VARCHAR},
CURRENT_STEP = #{currentStep,jdbcType=VARCHAR},
PROJECT_ID = #{projectId,jdbcType=VARCHAR},
PERIOD = #{period,jdbcType=DECIMAL},
STEPS_CODE = #{stepsCode,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
"STATUS" = #{status,jdbcType=VARCHAR},
ERROR_MSG = #{errorMsg,jdbcType=VARCHAR}
where ID = #{id,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodJobExample"
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 PERIOD_JOB
<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