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
35a015f4
Commit
35a015f4
authored
Oct 24, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEV] add create and approvate by and time
parent
4a02f5b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
586 additions
and
7 deletions
+586
-7
PeriodApprove.java
.../main/java/pwc/taxtech/atms/vat/entity/PeriodApprove.java
+171
-0
PeriodApproveExample.java
...ava/pwc/taxtech/atms/vat/entity/PeriodApproveExample.java
+331
-0
PeriodApproveMapper.xml
...esources/pwc/taxtech/atms/vat/dao/PeriodApproveMapper.xml
+84
-7
No files found.
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/PeriodApprove.java
View file @
35a015f4
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
*
...
...
@@ -91,6 +92,51 @@ public class PeriodApprove implements Serializable {
*/
private
String
templateIds
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_APPROVE.CREATE_BY
*
* @mbg.generated
*/
private
String
createBy
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_APPROVE.CREATE_TIME
*
* @mbg.generated
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_BY
*
* @mbg.generated
*/
private
String
approvalBy
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_TIME
*
* @mbg.generated
*/
private
Date
approvalTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_RESUALT
*
* @mbg.generated
*/
private
String
approvalResualt
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table TAX_ADMIN.PERIOD_APPROVE
...
...
@@ -315,6 +361,126 @@ public class PeriodApprove implements Serializable {
this
.
templateIds
=
templateIds
==
null
?
null
:
templateIds
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_APPROVE.CREATE_BY
*
* @return the value of TAX_ADMIN.PERIOD_APPROVE.CREATE_BY
*
* @mbg.generated
*/
public
String
getCreateBy
()
{
return
createBy
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_APPROVE.CREATE_BY
*
* @param createBy the value for TAX_ADMIN.PERIOD_APPROVE.CREATE_BY
*
* @mbg.generated
*/
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
==
null
?
null
:
createBy
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_APPROVE.CREATE_TIME
*
* @return the value of TAX_ADMIN.PERIOD_APPROVE.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_APPROVE.CREATE_TIME
*
* @param createTime the value for TAX_ADMIN.PERIOD_APPROVE.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_APPROVE.APPROVAL_BY
*
* @return the value of TAX_ADMIN.PERIOD_APPROVE.APPROVAL_BY
*
* @mbg.generated
*/
public
String
getApprovalBy
()
{
return
approvalBy
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_BY
*
* @param approvalBy the value for TAX_ADMIN.PERIOD_APPROVE.APPROVAL_BY
*
* @mbg.generated
*/
public
void
setApprovalBy
(
String
approvalBy
)
{
this
.
approvalBy
=
approvalBy
==
null
?
null
:
approvalBy
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_TIME
*
* @return the value of TAX_ADMIN.PERIOD_APPROVE.APPROVAL_TIME
*
* @mbg.generated
*/
public
Date
getApprovalTime
()
{
return
approvalTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_TIME
*
* @param approvalTime the value for TAX_ADMIN.PERIOD_APPROVE.APPROVAL_TIME
*
* @mbg.generated
*/
public
void
setApprovalTime
(
Date
approvalTime
)
{
this
.
approvalTime
=
approvalTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_RESUALT
*
* @return the value of TAX_ADMIN.PERIOD_APPROVE.APPROVAL_RESUALT
*
* @mbg.generated
*/
public
String
getApprovalResualt
()
{
return
approvalResualt
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column TAX_ADMIN.PERIOD_APPROVE.APPROVAL_RESUALT
*
* @param approvalResualt the value for TAX_ADMIN.PERIOD_APPROVE.APPROVAL_RESUALT
*
* @mbg.generated
*/
public
void
setApprovalResualt
(
String
approvalResualt
)
{
this
.
approvalResualt
=
approvalResualt
==
null
?
null
:
approvalResualt
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table TAX_ADMIN.PERIOD_APPROVE
...
...
@@ -336,6 +502,11 @@ public class PeriodApprove implements Serializable {
sb
.
append
(
", instanceId="
).
append
(
instanceId
);
sb
.
append
(
", year="
).
append
(
year
);
sb
.
append
(
", templateIds="
).
append
(
templateIds
);
sb
.
append
(
", createBy="
).
append
(
createBy
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", approvalBy="
).
append
(
approvalBy
);
sb
.
append
(
", approvalTime="
).
append
(
approvalTime
);
sb
.
append
(
", approvalResualt="
).
append
(
approvalResualt
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
...
...
atms-dao/src/main/java/pwc/taxtech/atms/vat/entity/PeriodApproveExample.java
View file @
35a015f4
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
PeriodApproveExample
{
...
...
@@ -803,6 +804,336 @@ public class PeriodApproveExample {
addCriterion
(
"TEMPLATE_IDS not between"
,
value1
,
value2
,
"templateIds"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNull
()
{
addCriterion
(
"CREATE_BY is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNotNull
()
{
addCriterion
(
"CREATE_BY is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByEqualTo
(
String
value
)
{
addCriterion
(
"CREATE_BY ="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotEqualTo
(
String
value
)
{
addCriterion
(
"CREATE_BY <>"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThan
(
String
value
)
{
addCriterion
(
"CREATE_BY >"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CREATE_BY >="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThan
(
String
value
)
{
addCriterion
(
"CREATE_BY <"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"CREATE_BY <="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLike
(
String
value
)
{
addCriterion
(
"CREATE_BY like"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotLike
(
String
value
)
{
addCriterion
(
"CREATE_BY not like"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIn
(
List
<
String
>
values
)
{
addCriterion
(
"CREATE_BY in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"CREATE_BY not in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CREATE_BY between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"CREATE_BY not between"
,
value1
,
value2
,
"createBy"
);
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
andApprovalByIsNull
()
{
addCriterion
(
"APPROVAL_BY is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByIsNotNull
()
{
addCriterion
(
"APPROVAL_BY is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_BY ="
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByNotEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_BY <>"
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByGreaterThan
(
String
value
)
{
addCriterion
(
"APPROVAL_BY >"
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_BY >="
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByLessThan
(
String
value
)
{
addCriterion
(
"APPROVAL_BY <"
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_BY <="
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByLike
(
String
value
)
{
addCriterion
(
"APPROVAL_BY like"
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByNotLike
(
String
value
)
{
addCriterion
(
"APPROVAL_BY not like"
,
value
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByIn
(
List
<
String
>
values
)
{
addCriterion
(
"APPROVAL_BY in"
,
values
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"APPROVAL_BY not in"
,
values
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"APPROVAL_BY between"
,
value1
,
value2
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalByNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"APPROVAL_BY not between"
,
value1
,
value2
,
"approvalBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeIsNull
()
{
addCriterion
(
"APPROVAL_TIME is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeIsNotNull
()
{
addCriterion
(
"APPROVAL_TIME is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeEqualTo
(
Date
value
)
{
addCriterion
(
"APPROVAL_TIME ="
,
value
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"APPROVAL_TIME <>"
,
value
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"APPROVAL_TIME >"
,
value
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"APPROVAL_TIME >="
,
value
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeLessThan
(
Date
value
)
{
addCriterion
(
"APPROVAL_TIME <"
,
value
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"APPROVAL_TIME <="
,
value
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"APPROVAL_TIME in"
,
values
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"APPROVAL_TIME not in"
,
values
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"APPROVAL_TIME between"
,
value1
,
value2
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"APPROVAL_TIME not between"
,
value1
,
value2
,
"approvalTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtIsNull
()
{
addCriterion
(
"APPROVAL_RESUALT is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtIsNotNull
()
{
addCriterion
(
"APPROVAL_RESUALT is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT ="
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtNotEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT <>"
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtGreaterThan
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT >"
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT >="
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtLessThan
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT <"
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT <="
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtLike
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT like"
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtNotLike
(
String
value
)
{
addCriterion
(
"APPROVAL_RESUALT not like"
,
value
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtIn
(
List
<
String
>
values
)
{
addCriterion
(
"APPROVAL_RESUALT in"
,
values
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"APPROVAL_RESUALT not in"
,
values
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"APPROVAL_RESUALT between"
,
value1
,
value2
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApprovalResualtNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"APPROVAL_RESUALT not between"
,
value1
,
value2
,
"approvalResualt"
);
return
(
Criteria
)
this
;
}
}
/**
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/PeriodApproveMapper.xml
View file @
35a015f4
...
...
@@ -15,6 +15,11 @@
<result
column=
"INSTANCE_ID"
jdbcType=
"VARCHAR"
property=
"instanceId"
/>
<result
column=
"YEAR"
jdbcType=
"DECIMAL"
property=
"year"
/>
<result
column=
"TEMPLATE_IDS"
jdbcType=
"VARCHAR"
property=
"templateIds"
/>
<result
column=
"CREATE_BY"
jdbcType=
"VARCHAR"
property=
"createBy"
/>
<result
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"APPROVAL_BY"
jdbcType=
"VARCHAR"
property=
"approvalBy"
/>
<result
column=
"APPROVAL_TIME"
jdbcType=
"TIMESTAMP"
property=
"approvalTime"
/>
<result
column=
"APPROVAL_RESUALT"
jdbcType=
"VARCHAR"
property=
"approvalResualt"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
...
...
@@ -88,7 +93,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
ID, PROJECT_ID, PERIOD, REPORT_IDS, REPORT_PATHS, "STATUS", INSTANCE_ID, "YEAR",
TEMPLATE_IDS
TEMPLATE_IDS
, CREATE_BY, CREATE_TIME, APPROVAL_BY, APPROVAL_TIME, APPROVAL_RESUALT
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodApproveExample"
resultMap=
"BaseResultMap"
>
<!--
...
...
@@ -143,12 +148,14 @@
-->
insert into PERIOD_APPROVE (ID, PROJECT_ID, PERIOD,
REPORT_IDS, REPORT_PATHS, "STATUS",
INSTANCE_ID, "YEAR", TEMPLATE_IDS
)
INSTANCE_ID, "YEAR", TEMPLATE_IDS,
CREATE_BY, CREATE_TIME, APPROVAL_BY,
APPROVAL_TIME, APPROVAL_RESUALT)
values (#{id,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, #{period,jdbcType=DECIMAL},
#{reportIds,jdbcType=VARCHAR}, #{reportPaths,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},
#{instanceId,jdbcType=VARCHAR}, #{year,jdbcType=DECIMAL}, #{templateIds,jdbcType=VARCHAR}
)
#{instanceId,jdbcType=VARCHAR}, #{year,jdbcType=DECIMAL}, #{templateIds,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{approvalBy,jdbcType=VARCHAR},
#{approvalTime,jdbcType=TIMESTAMP}, #{approvalResualt,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodApprove"
>
<!--
...
...
@@ -184,6 +191,21 @@
<if
test=
"templateIds != null"
>
TEMPLATE_IDS,
</if>
<if
test=
"createBy != null"
>
CREATE_BY,
</if>
<if
test=
"createTime != null"
>
CREATE_TIME,
</if>
<if
test=
"approvalBy != null"
>
APPROVAL_BY,
</if>
<if
test=
"approvalTime != null"
>
APPROVAL_TIME,
</if>
<if
test=
"approvalResualt != null"
>
APPROVAL_RESUALT,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
...
...
@@ -213,6 +235,21 @@
<if
test=
"templateIds != null"
>
#{templateIds,jdbcType=VARCHAR},
</if>
<if
test=
"createBy != null"
>
#{createBy,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"approvalBy != null"
>
#{approvalBy,jdbcType=VARCHAR},
</if>
<if
test=
"approvalTime != null"
>
#{approvalTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"approvalResualt != null"
>
#{approvalResualt,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodApproveExample"
resultType=
"java.lang.Long"
>
...
...
@@ -259,6 +296,21 @@
<if
test=
"record.templateIds != null"
>
TEMPLATE_IDS = #{record.templateIds,jdbcType=VARCHAR},
</if>
<if
test=
"record.createBy != null"
>
CREATE_BY = #{record.createBy,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.approvalBy != null"
>
APPROVAL_BY = #{record.approvalBy,jdbcType=VARCHAR},
</if>
<if
test=
"record.approvalTime != null"
>
APPROVAL_TIME = #{record.approvalTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.approvalResualt != null"
>
APPROVAL_RESUALT = #{record.approvalResualt,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
...
...
@@ -278,7 +330,12 @@
"STATUS" = #{record.status,jdbcType=VARCHAR},
INSTANCE_ID = #{record.instanceId,jdbcType=VARCHAR},
"YEAR" = #{record.year,jdbcType=DECIMAL},
TEMPLATE_IDS = #{record.templateIds,jdbcType=VARCHAR}
TEMPLATE_IDS = #{record.templateIds,jdbcType=VARCHAR},
CREATE_BY = #{record.createBy,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
APPROVAL_BY = #{record.approvalBy,jdbcType=VARCHAR},
APPROVAL_TIME = #{record.approvalTime,jdbcType=TIMESTAMP},
APPROVAL_RESUALT = #{record.approvalResualt,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
...
...
@@ -314,6 +371,21 @@
<if
test=
"templateIds != null"
>
TEMPLATE_IDS = #{templateIds,jdbcType=VARCHAR},
</if>
<if
test=
"createBy != null"
>
CREATE_BY = #{createBy,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"approvalBy != null"
>
APPROVAL_BY = #{approvalBy,jdbcType=VARCHAR},
</if>
<if
test=
"approvalTime != null"
>
APPROVAL_TIME = #{approvalTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"approvalResualt != null"
>
APPROVAL_RESUALT = #{approvalResualt,jdbcType=VARCHAR},
</if>
</set>
where ID = #{id,jdbcType=VARCHAR}
</update>
...
...
@@ -330,7 +402,12 @@
"STATUS" = #{status,jdbcType=VARCHAR},
INSTANCE_ID = #{instanceId,jdbcType=VARCHAR},
"YEAR" = #{year,jdbcType=DECIMAL},
TEMPLATE_IDS = #{templateIds,jdbcType=VARCHAR}
TEMPLATE_IDS = #{templateIds,jdbcType=VARCHAR},
CREATE_BY = #{createBy,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
APPROVAL_BY = #{approvalBy,jdbcType=VARCHAR},
APPROVAL_TIME = #{approvalTime,jdbcType=TIMESTAMP},
APPROVAL_RESUALT = #{approvalResualt,jdbcType=VARCHAR}
where ID = #{id,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.vat.entity.PeriodApproveExample"
resultMap=
"BaseResultMap"
>
...
...
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