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
a7d9e2c1
Commit
a7d9e2c1
authored
Dec 07, 2021
by
张亚辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基金搜索
parent
a625e72e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
568 additions
and
81 deletions
+568
-81
FundInfo.java
src/main/java/com/tanpu/fund/entity/generator/FundInfo.java
+5
-0
FundInfoExample.java
...java/com/tanpu/fund/entity/generator/FundInfoExample.java
+60
-0
FundInfoMapper.java
.../java/com/tanpu/fund/mapper/generator/FundInfoMapper.java
+2
-36
FundInfoMapper.xml
src/main/resources/mybatis/generator/FundInfoMapper.xml
+501
-45
No files found.
src/main/java/com/tanpu/fund/entity/generator/FundInfo.java
View file @
a7d9e2c1
...
...
@@ -247,6 +247,11 @@ public class FundInfo {
private
String
redeemDay
;
/**
* 1 有净值 0 没有净值
*/
private
Integer
hasNav
;
/**
* 券商资管产品特点
*/
...
...
src/main/java/com/tanpu/fund/entity/generator/FundInfoExample.java
View file @
a7d9e2c1
...
...
@@ -3371,6 +3371,66 @@ public class FundInfoExample {
addCriterion
(
"redeem_day not between"
,
value1
,
value2
,
"redeemDay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavIsNull
()
{
addCriterion
(
"has_nav is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavIsNotNull
()
{
addCriterion
(
"has_nav is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavEqualTo
(
Integer
value
)
{
addCriterion
(
"has_nav ="
,
value
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavNotEqualTo
(
Integer
value
)
{
addCriterion
(
"has_nav <>"
,
value
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavGreaterThan
(
Integer
value
)
{
addCriterion
(
"has_nav >"
,
value
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"has_nav >="
,
value
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavLessThan
(
Integer
value
)
{
addCriterion
(
"has_nav <"
,
value
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"has_nav <="
,
value
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"has_nav in"
,
values
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"has_nav not in"
,
values
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"has_nav between"
,
value1
,
value2
,
"hasNav"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHasNavNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"has_nav not between"
,
value1
,
value2
,
"hasNav"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
...
...
src/main/java/com/tanpu/fund/mapper/generator/FundInfoMapper.java
View file @
a7d9e2c1
...
...
@@ -12,20 +12,8 @@ public interface FundInfoMapper {
int
deleteByExample
(
FundInfoExample
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
(
FundInfo
record
);
int
insertOrUpdate
(
FundInfo
record
);
...
...
@@ -34,24 +22,12 @@ public interface FundInfoMapper {
int
insertOrUpdateWithBLOBs
(
FundInfo
record
);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int
insertSelective
(
FundInfo
record
);
List
<
FundInfo
>
selectByExampleWithBLOBs
(
FundInfoExample
example
);
List
<
FundInfo
>
selectByExample
(
FundInfoExample
example
);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
FundInfo
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
FundInfo
record
,
@Param
(
"example"
)
FundInfoExample
example
);
...
...
@@ -60,25 +36,15 @@ public interface FundInfoMapper {
int
updateByExample
(
@Param
(
"record"
)
FundInfo
record
,
@Param
(
"example"
)
FundInfoExample
example
);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int
updateByPrimaryKeySelective
(
FundInfo
record
);
int
updateByPrimaryKeyWithBLOBs
(
FundInfo
record
);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int
updateByPrimaryKey
(
FundInfo
record
);
int
updateBatch
(
List
<
FundInfo
>
list
);
int
updateBatchSelective
(
List
<
FundInfo
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
FundInfo
>
list
);
}
\ No newline at end of file
src/main/resources/mybatis/generator/FundInfoMapper.xml
View file @
a7d9e2c1
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