Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_fund
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
周鹏
tamp_fund
Commits
2586dc34
Commit
2586dc34
authored
Mar 22, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成立时间
parent
fd562a28
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
767 additions
and
149 deletions
+767
-149
FundCount.java
src/main/java/com/tanpu/fund/entity/generator/FundCount.java
+24
-0
FundCountExample.java
...ava/com/tanpu/fund/entity/generator/FundCountExample.java
+78
-0
FundCountMapper.java
...java/com/tanpu/fund/mapper/generator/FundCountMapper.java
+20
-36
FundCountMapper.xml
src/main/resources/mybatis/generator/FundCountMapper.xml
+645
-113
No files found.
src/main/java/com/tanpu/fund/entity/generator/FundCount.java
View file @
2586dc34
...
...
@@ -7,6 +7,25 @@ import lombok.Builder;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
/**
* 基金历史业绩
*/
...
...
@@ -32,6 +51,11 @@ public class FundCount {
*/
private
Integer
substrategy
;
/**
* 基金成立日期
*/
private
Date
inceptionDate
;
/**
* 是否可预约 0:不可预约 1:可预约
*/
...
...
src/main/java/com/tanpu/fund/entity/generator/FundCountExample.java
View file @
2586dc34
...
...
@@ -6,6 +6,24 @@ import java.util.Date;
import
java.util.Iterator
;
import
java.util.List
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
public
class
FundCountExample
{
protected
String
orderByClause
;
...
...
@@ -393,6 +411,66 @@ public class FundCountExample {
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateIsNull
()
{
addCriterion
(
"inception_date is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateIsNotNull
()
{
addCriterion
(
"inception_date is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateEqualTo
(
Date
value
)
{
addCriterionForJDBCDate
(
"inception_date ="
,
value
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateNotEqualTo
(
Date
value
)
{
addCriterionForJDBCDate
(
"inception_date <>"
,
value
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateGreaterThan
(
Date
value
)
{
addCriterionForJDBCDate
(
"inception_date >"
,
value
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateGreaterThanOrEqualTo
(
Date
value
)
{
addCriterionForJDBCDate
(
"inception_date >="
,
value
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateLessThan
(
Date
value
)
{
addCriterionForJDBCDate
(
"inception_date <"
,
value
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateLessThanOrEqualTo
(
Date
value
)
{
addCriterionForJDBCDate
(
"inception_date <="
,
value
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateIn
(
List
<
Date
>
values
)
{
addCriterionForJDBCDate
(
"inception_date in"
,
values
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateNotIn
(
List
<
Date
>
values
)
{
addCriterionForJDBCDate
(
"inception_date not in"
,
values
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateBetween
(
Date
value1
,
Date
value2
)
{
addCriterionForJDBCDate
(
"inception_date between"
,
value1
,
value2
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInceptionDateNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterionForJDBCDate
(
"inception_date not between"
,
value1
,
value2
,
"inceptionDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"`type` is null"
);
return
(
Criteria
)
this
;
...
...
src/main/java/com/tanpu/fund/mapper/generator/FundCountMapper.java
View file @
2586dc34
...
...
@@ -6,71 +6,55 @@ import java.util.List;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
@Mapper
public
interface
FundCountMapper
{
long
countByExample
(
FundCountExample
example
);
int
deleteByExample
(
FundCountExample
example
);
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
int
deleteByPrimaryKey
(
String
id
);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
int
insert
(
FundCount
record
);
int
insertOrUpdate
(
FundCount
record
);
int
insertOrUpdateSelective
(
FundCount
record
);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int
insertSelective
(
FundCount
record
);
List
<
FundCount
>
selectByExample
(
FundCountExample
example
);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
FundCount
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
FundCount
record
,
@Param
(
"example"
)
FundCountExample
example
);
int
updateByExample
(
@Param
(
"record"
)
FundCount
record
,
@Param
(
"example"
)
FundCountExample
example
);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int
updateByPrimaryKeySelective
(
FundCount
record
);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int
updateByPrimaryKey
(
FundCount
record
);
int
updateBatch
(
List
<
FundCount
>
list
);
int
updateBatchSelective
(
List
<
FundCount
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
FundCount
>
list
);
}
\ No newline at end of file
src/main/resources/mybatis/generator/FundCountMapper.xml
View file @
2586dc34
This diff is collapsed.
Click to expand it.
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