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
7277f5b2
Commit
7277f5b2
authored
Apr 26, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
82f44dde
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1847 additions
and
3 deletions
+1847
-3
ProductController.java
...ain/java/com/tanpu/fund/controller/ProductController.java
+1
-1
IfaImportedNonavFund.java
...com/tanpu/fund/entity/generator/IfaImportedNonavFund.java
+91
-0
IfaImportedNonavFundExample.java
...pu/fund/entity/generator/IfaImportedNonavFundExample.java
+1029
-0
IfaImportedNonavFundMapper.java
...npu/fund/mapper/generator/IfaImportedNonavFundMapper.java
+60
-0
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+16
-2
IfaImportedNonavFundMapper.xml
...esources/mybatis/generator/IfaImportedNonavFundMapper.xml
+650
-0
No files found.
src/main/java/com/tanpu/fund/controller/ProductController.java
View file @
7277f5b2
...
...
@@ -49,7 +49,7 @@ public class ProductController implements ProductApi {
@Override
public
CommonResp
<
List
<
ProductInfoVO
>>
getProductListNotNetInfo
(
List
<
String
>
ids
)
{
return
CommonResp
.
success
();
return
CommonResp
.
success
(
this
.
productService
.
getProductListNotNet
(
ids
)
);
}
@Override
...
...
src/main/java/com/tanpu/fund/entity/generator/IfaImportedNonavFund.java
0 → 100644
View file @
7277f5b2
package
com
.
tanpu
.
fund
.
entity
.
generator
;
import
java.util.Date
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public
class
IfaImportedNonavFund
{
/**
* id
*/
private
String
id
;
/**
* 无净值基金名称
*/
private
String
fundName
;
/**
* 募集期开始结束时间
*/
private
String
startEndDate
;
/**
* 产品概要
*/
private
String
summary
;
/**
* 产品详情
*/
private
String
detail
;
/**
* 创建时间
*/
private
Date
createTime
;
/**
* 修改时间
*/
private
Date
updateTime
;
/**
* 0正常 1删除
*/
private
Integer
deleteTag
;
/**
* 理财师id
*/
private
String
ifaId
;
/**
* 机构id
*/
private
String
orgId
;
/**
* 基金附件pdf
*/
private
String
fundFile
;
/**
* 基金图片
*/
private
String
fundPng
;
}
\ No newline at end of file
src/main/java/com/tanpu/fund/entity/generator/IfaImportedNonavFundExample.java
0 → 100644
View file @
7277f5b2
package
com
.
tanpu
.
fund
.
entity
.
generator
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
public
class
IfaImportedNonavFundExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
IfaImportedNonavFundExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<>();
}
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
andFundNameIsNull
()
{
addCriterion
(
"fund_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameIsNotNull
()
{
addCriterion
(
"fund_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameEqualTo
(
String
value
)
{
addCriterion
(
"fund_name ="
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameNotEqualTo
(
String
value
)
{
addCriterion
(
"fund_name <>"
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameGreaterThan
(
String
value
)
{
addCriterion
(
"fund_name >"
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fund_name >="
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameLessThan
(
String
value
)
{
addCriterion
(
"fund_name <"
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fund_name <="
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameLike
(
String
value
)
{
addCriterion
(
"fund_name like"
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameNotLike
(
String
value
)
{
addCriterion
(
"fund_name not like"
,
value
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"fund_name in"
,
values
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"fund_name not in"
,
values
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fund_name between"
,
value1
,
value2
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fund_name not between"
,
value1
,
value2
,
"fundName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateIsNull
()
{
addCriterion
(
"start_end_date is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateIsNotNull
()
{
addCriterion
(
"start_end_date is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateEqualTo
(
String
value
)
{
addCriterion
(
"start_end_date ="
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateNotEqualTo
(
String
value
)
{
addCriterion
(
"start_end_date <>"
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateGreaterThan
(
String
value
)
{
addCriterion
(
"start_end_date >"
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_end_date >="
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateLessThan
(
String
value
)
{
addCriterion
(
"start_end_date <"
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_end_date <="
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateLike
(
String
value
)
{
addCriterion
(
"start_end_date like"
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateNotLike
(
String
value
)
{
addCriterion
(
"start_end_date not like"
,
value
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_end_date in"
,
values
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_end_date not in"
,
values
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_end_date between"
,
value1
,
value2
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartEndDateNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_end_date not between"
,
value1
,
value2
,
"startEndDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryIsNull
()
{
addCriterion
(
"summary is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryIsNotNull
()
{
addCriterion
(
"summary is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryEqualTo
(
String
value
)
{
addCriterion
(
"summary ="
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryNotEqualTo
(
String
value
)
{
addCriterion
(
"summary <>"
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryGreaterThan
(
String
value
)
{
addCriterion
(
"summary >"
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"summary >="
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryLessThan
(
String
value
)
{
addCriterion
(
"summary <"
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"summary <="
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryLike
(
String
value
)
{
addCriterion
(
"summary like"
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryNotLike
(
String
value
)
{
addCriterion
(
"summary not like"
,
value
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryIn
(
List
<
String
>
values
)
{
addCriterion
(
"summary in"
,
values
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"summary not in"
,
values
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"summary between"
,
value1
,
value2
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSummaryNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"summary not between"
,
value1
,
value2
,
"summary"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailIsNull
()
{
addCriterion
(
"detail is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailIsNotNull
()
{
addCriterion
(
"detail is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailEqualTo
(
String
value
)
{
addCriterion
(
"detail ="
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailNotEqualTo
(
String
value
)
{
addCriterion
(
"detail <>"
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailGreaterThan
(
String
value
)
{
addCriterion
(
"detail >"
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"detail >="
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailLessThan
(
String
value
)
{
addCriterion
(
"detail <"
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"detail <="
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailLike
(
String
value
)
{
addCriterion
(
"detail like"
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailNotLike
(
String
value
)
{
addCriterion
(
"detail not like"
,
value
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailIn
(
List
<
String
>
values
)
{
addCriterion
(
"detail in"
,
values
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"detail not in"
,
values
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"detail between"
,
value1
,
value2
,
"detail"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDetailNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"detail not between"
,
value1
,
value2
,
"detail"
);
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
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagIsNull
()
{
addCriterion
(
"delete_tag is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagIsNotNull
()
{
addCriterion
(
"delete_tag is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_tag ="
,
value
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagNotEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_tag <>"
,
value
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagGreaterThan
(
Integer
value
)
{
addCriterion
(
"delete_tag >"
,
value
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_tag >="
,
value
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagLessThan
(
Integer
value
)
{
addCriterion
(
"delete_tag <"
,
value
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_tag <="
,
value
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"delete_tag in"
,
values
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"delete_tag not in"
,
values
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"delete_tag between"
,
value1
,
value2
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteTagNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"delete_tag not between"
,
value1
,
value2
,
"deleteTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdIsNull
()
{
addCriterion
(
"ifa_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdIsNotNull
()
{
addCriterion
(
"ifa_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdEqualTo
(
String
value
)
{
addCriterion
(
"ifa_id ="
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdNotEqualTo
(
String
value
)
{
addCriterion
(
"ifa_id <>"
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdGreaterThan
(
String
value
)
{
addCriterion
(
"ifa_id >"
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ifa_id >="
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdLessThan
(
String
value
)
{
addCriterion
(
"ifa_id <"
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ifa_id <="
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdLike
(
String
value
)
{
addCriterion
(
"ifa_id like"
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdNotLike
(
String
value
)
{
addCriterion
(
"ifa_id not like"
,
value
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"ifa_id in"
,
values
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ifa_id not in"
,
values
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ifa_id between"
,
value1
,
value2
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIfaIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ifa_id not between"
,
value1
,
value2
,
"ifaId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdIsNull
()
{
addCriterion
(
"org_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdIsNotNull
()
{
addCriterion
(
"org_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdEqualTo
(
String
value
)
{
addCriterion
(
"org_id ="
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotEqualTo
(
String
value
)
{
addCriterion
(
"org_id <>"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdGreaterThan
(
String
value
)
{
addCriterion
(
"org_id >"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"org_id >="
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdLessThan
(
String
value
)
{
addCriterion
(
"org_id <"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"org_id <="
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdLike
(
String
value
)
{
addCriterion
(
"org_id like"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotLike
(
String
value
)
{
addCriterion
(
"org_id not like"
,
value
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"org_id in"
,
values
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"org_id not in"
,
values
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"org_id between"
,
value1
,
value2
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrgIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"org_id not between"
,
value1
,
value2
,
"orgId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileIsNull
()
{
addCriterion
(
"fund_file is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileIsNotNull
()
{
addCriterion
(
"fund_file is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileEqualTo
(
String
value
)
{
addCriterion
(
"fund_file ="
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileNotEqualTo
(
String
value
)
{
addCriterion
(
"fund_file <>"
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileGreaterThan
(
String
value
)
{
addCriterion
(
"fund_file >"
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fund_file >="
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileLessThan
(
String
value
)
{
addCriterion
(
"fund_file <"
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fund_file <="
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileLike
(
String
value
)
{
addCriterion
(
"fund_file like"
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileNotLike
(
String
value
)
{
addCriterion
(
"fund_file not like"
,
value
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileIn
(
List
<
String
>
values
)
{
addCriterion
(
"fund_file in"
,
values
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"fund_file not in"
,
values
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fund_file between"
,
value1
,
value2
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundFileNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fund_file not between"
,
value1
,
value2
,
"fundFile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngIsNull
()
{
addCriterion
(
"fund_png is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngIsNotNull
()
{
addCriterion
(
"fund_png is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngEqualTo
(
String
value
)
{
addCriterion
(
"fund_png ="
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngNotEqualTo
(
String
value
)
{
addCriterion
(
"fund_png <>"
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngGreaterThan
(
String
value
)
{
addCriterion
(
"fund_png >"
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fund_png >="
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngLessThan
(
String
value
)
{
addCriterion
(
"fund_png <"
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fund_png <="
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngLike
(
String
value
)
{
addCriterion
(
"fund_png like"
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngNotLike
(
String
value
)
{
addCriterion
(
"fund_png not like"
,
value
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngIn
(
List
<
String
>
values
)
{
addCriterion
(
"fund_png in"
,
values
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"fund_png not in"
,
values
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fund_png between"
,
value1
,
value2
,
"fundPng"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFundPngNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fund_png not between"
,
value1
,
value2
,
"fundPng"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
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
src/main/java/com/tanpu/fund/mapper/generator/IfaImportedNonavFundMapper.java
0 → 100644
View file @
7277f5b2
package
com
.
tanpu
.
fund
.
mapper
.
generator
;
import
com.tanpu.fund.entity.generator.IfaImportedNonavFund
;
import
com.tanpu.fund.entity.generator.IfaImportedNonavFundExample
;
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
IfaImportedNonavFundMapper
{
long
countByExample
(
IfaImportedNonavFundExample
example
);
int
deleteByExample
(
IfaImportedNonavFundExample
example
);
int
deleteByPrimaryKey
(
String
id
);
int
insert
(
IfaImportedNonavFund
record
);
int
insertOrUpdate
(
IfaImportedNonavFund
record
);
int
insertOrUpdateSelective
(
IfaImportedNonavFund
record
);
int
insertSelective
(
IfaImportedNonavFund
record
);
List
<
IfaImportedNonavFund
>
selectByExample
(
IfaImportedNonavFundExample
example
);
IfaImportedNonavFund
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
IfaImportedNonavFund
record
,
@Param
(
"example"
)
IfaImportedNonavFundExample
example
);
int
updateByExample
(
@Param
(
"record"
)
IfaImportedNonavFund
record
,
@Param
(
"example"
)
IfaImportedNonavFundExample
example
);
int
updateByPrimaryKeySelective
(
IfaImportedNonavFund
record
);
int
updateByPrimaryKey
(
IfaImportedNonavFund
record
);
int
updateBatch
(
List
<
IfaImportedNonavFund
>
list
);
int
updateBatchSelective
(
List
<
IfaImportedNonavFund
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
IfaImportedNonavFund
>
list
);
}
\ No newline at end of file
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
7277f5b2
package
com
.
tanpu
.
fund
.
service
.
impl
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.date.DateField
;
import
cn.hutool.core.date.DatePattern
;
import
cn.hutool.core.date.DateTime
;
...
...
@@ -119,6 +120,9 @@ public class ProductServiceImpl implements ProductService, Constant {
@Resource
private
FeignForProduct
product
;
@Resource
private
IfaImportedNonavFundMapper
ifaImportedNonavFundMapper
;
@Override
public
Page
<
ProductInfoVO
>
getProductList
(
ProductInfoReq
req
)
{
...
...
@@ -1554,8 +1558,18 @@ public class ProductServiceImpl implements ProductService, Constant {
@Override
public
List
<
ProductInfoVO
>
getProductListNotNet
(
List
<
String
>
ids
)
{
return
null
;
IfaImportedNonavFundExample
example
=
new
IfaImportedNonavFundExample
();
example
.
createCriteria
().
andIdIn
(
ids
);
List
<
IfaImportedNonavFund
>
ifaImportedNonavFunds
=
this
.
ifaImportedNonavFundMapper
.
selectByExample
(
example
);
if
(
CollUtil
.
isEmpty
(
ifaImportedNonavFunds
))
{
return
new
ArrayList
<>(
0
);
}
return
ifaImportedNonavFunds
.
stream
().
map
(
ls
->
{
ProductInfoVO
vo
=
new
ProductInfoVO
();
vo
.
setFundId
(
ls
.
getId
());
vo
.
setFundName
(
ls
.
getFundName
());
return
vo
;
}).
collect
(
Collectors
.
toList
());
}
@Override
...
...
src/main/resources/mybatis/generator/IfaImportedNonavFundMapper.xml
0 → 100644
View file @
7277f5b2
<?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=
"com.tanpu.fund.mapper.generator.IfaImportedNonavFundMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.tanpu.fund.entity.generator.IfaImportedNonavFund"
>
<!--@mbg.generated-->
<!--@Table ifa_imported_nonav_fund-->
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"fund_name"
jdbcType=
"VARCHAR"
property=
"fundName"
/>
<result
column=
"start_end_date"
jdbcType=
"VARCHAR"
property=
"startEndDate"
/>
<result
column=
"summary"
jdbcType=
"LONGVARCHAR"
property=
"summary"
/>
<result
column=
"detail"
jdbcType=
"LONGVARCHAR"
property=
"detail"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"delete_tag"
jdbcType=
"INTEGER"
property=
"deleteTag"
/>
<result
column=
"ifa_id"
jdbcType=
"VARCHAR"
property=
"ifaId"
/>
<result
column=
"org_id"
jdbcType=
"VARCHAR"
property=
"orgId"
/>
<result
column=
"fund_file"
jdbcType=
"LONGVARCHAR"
property=
"fundFile"
/>
<result
column=
"fund_png"
jdbcType=
"LONGVARCHAR"
property=
"fundPng"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--@mbg.generated-->
<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"
>
<!--@mbg.generated-->
<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"
>
<!--@mbg.generated-->
id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag,
ifa_id, org_id, fund_file, fund_png
</sql>
<select
id=
"selectByExample"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFundExample"
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from ifa_imported_nonav_fund
<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"
>
<!--@mbg.generated-->
select
<include
refid=
"Base_Column_List"
/>
from ifa_imported_nonav_fund
where id = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--@mbg.generated-->
delete from ifa_imported_nonav_fund
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFundExample"
>
<!--@mbg.generated-->
delete from ifa_imported_nonav_fund
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFund"
>
<!--@mbg.generated-->
insert into ifa_imported_nonav_fund (id, fund_name, start_end_date,
summary, detail, create_time,
update_time, delete_tag, ifa_id,
org_id, fund_file, fund_png
)
values (#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{startEndDate,jdbcType=VARCHAR},
#{summary,jdbcType=LONGVARCHAR}, #{detail,jdbcType=LONGVARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}, #{ifaId,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR}, #{fundFile,jdbcType=LONGVARCHAR}, #{fundPng,jdbcType=LONGVARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFund"
>
<!--@mbg.generated-->
insert into ifa_imported_nonav_fund
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"fundName != null"
>
fund_name,
</if>
<if
test=
"startEndDate != null"
>
start_end_date,
</if>
<if
test=
"summary != null"
>
summary,
</if>
<if
test=
"detail != null"
>
detail,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"deleteTag != null"
>
delete_tag,
</if>
<if
test=
"ifaId != null"
>
ifa_id,
</if>
<if
test=
"orgId != null"
>
org_id,
</if>
<if
test=
"fundFile != null"
>
fund_file,
</if>
<if
test=
"fundPng != null"
>
fund_png,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=VARCHAR},
</if>
<if
test=
"fundName != null"
>
#{fundName,jdbcType=VARCHAR},
</if>
<if
test=
"startEndDate != null"
>
#{startEndDate,jdbcType=VARCHAR},
</if>
<if
test=
"summary != null"
>
#{summary,jdbcType=LONGVARCHAR},
</if>
<if
test=
"detail != null"
>
#{detail,jdbcType=LONGVARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"deleteTag != null"
>
#{deleteTag,jdbcType=INTEGER},
</if>
<if
test=
"ifaId != null"
>
#{ifaId,jdbcType=VARCHAR},
</if>
<if
test=
"orgId != null"
>
#{orgId,jdbcType=VARCHAR},
</if>
<if
test=
"fundFile != null"
>
#{fundFile,jdbcType=LONGVARCHAR},
</if>
<if
test=
"fundPng != null"
>
#{fundPng,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFundExample"
resultType=
"java.lang.Long"
>
<!--@mbg.generated-->
select count(*) from ifa_imported_nonav_fund
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--@mbg.generated-->
update ifa_imported_nonav_fund
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=VARCHAR},
</if>
<if
test=
"record.fundName != null"
>
fund_name = #{record.fundName,jdbcType=VARCHAR},
</if>
<if
test=
"record.startEndDate != null"
>
start_end_date = #{record.startEndDate,jdbcType=VARCHAR},
</if>
<if
test=
"record.summary != null"
>
summary = #{record.summary,jdbcType=LONGVARCHAR},
</if>
<if
test=
"record.detail != null"
>
detail = #{record.detail,jdbcType=LONGVARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateTime != null"
>
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.deleteTag != null"
>
delete_tag = #{record.deleteTag,jdbcType=INTEGER},
</if>
<if
test=
"record.ifaId != null"
>
ifa_id = #{record.ifaId,jdbcType=VARCHAR},
</if>
<if
test=
"record.orgId != null"
>
org_id = #{record.orgId,jdbcType=VARCHAR},
</if>
<if
test=
"record.fundFile != null"
>
fund_file = #{record.fundFile,jdbcType=LONGVARCHAR},
</if>
<if
test=
"record.fundPng != null"
>
fund_png = #{record.fundPng,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--@mbg.generated-->
update ifa_imported_nonav_fund
set id = #{record.id,jdbcType=VARCHAR},
fund_name = #{record.fundName,jdbcType=VARCHAR},
start_end_date = #{record.startEndDate,jdbcType=VARCHAR},
summary = #{record.summary,jdbcType=LONGVARCHAR},
detail = #{record.detail,jdbcType=LONGVARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
delete_tag = #{record.deleteTag,jdbcType=INTEGER},
ifa_id = #{record.ifaId,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
fund_file = #{record.fundFile,jdbcType=LONGVARCHAR},
fund_png = #{record.fundPng,jdbcType=LONGVARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFund"
>
<!--@mbg.generated-->
update ifa_imported_nonav_fund
<set>
<if
test=
"fundName != null"
>
fund_name = #{fundName,jdbcType=VARCHAR},
</if>
<if
test=
"startEndDate != null"
>
start_end_date = #{startEndDate,jdbcType=VARCHAR},
</if>
<if
test=
"summary != null"
>
summary = #{summary,jdbcType=LONGVARCHAR},
</if>
<if
test=
"detail != null"
>
detail = #{detail,jdbcType=LONGVARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"deleteTag != null"
>
delete_tag = #{deleteTag,jdbcType=INTEGER},
</if>
<if
test=
"ifaId != null"
>
ifa_id = #{ifaId,jdbcType=VARCHAR},
</if>
<if
test=
"orgId != null"
>
org_id = #{orgId,jdbcType=VARCHAR},
</if>
<if
test=
"fundFile != null"
>
fund_file = #{fundFile,jdbcType=LONGVARCHAR},
</if>
<if
test=
"fundPng != null"
>
fund_png = #{fundPng,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFund"
>
<!--@mbg.generated-->
update ifa_imported_nonav_fund
set fund_name = #{fundName,jdbcType=VARCHAR},
start_end_date = #{startEndDate,jdbcType=VARCHAR},
summary = #{summary,jdbcType=LONGVARCHAR},
detail = #{detail,jdbcType=LONGVARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},
ifa_id = #{ifaId,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=VARCHAR},
fund_file = #{fundFile,jdbcType=LONGVARCHAR},
fund_png = #{fundPng,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
update ifa_imported_nonav_fund
<trim
prefix=
"set"
suffixOverrides=
","
>
<trim
prefix=
"fund_name = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundName,jdbcType=VARCHAR}
</foreach>
</trim>
<trim
prefix=
"start_end_date = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.startEndDate,jdbcType=VARCHAR}
</foreach>
</trim>
<trim
prefix=
"summary = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.summary,jdbcType=LONGVARCHAR}
</foreach>
</trim>
<trim
prefix=
"detail = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.detail,jdbcType=LONGVARCHAR}
</foreach>
</trim>
<trim
prefix=
"create_time = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
</foreach>
</trim>
<trim
prefix=
"update_time = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
</foreach>
</trim>
<trim
prefix=
"delete_tag = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER}
</foreach>
</trim>
<trim
prefix=
"ifa_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.ifaId,jdbcType=VARCHAR}
</foreach>
</trim>
<trim
prefix=
"org_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
</foreach>
</trim>
<trim
prefix=
"fund_file = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundFile,jdbcType=LONGVARCHAR}
</foreach>
</trim>
<trim
prefix=
"fund_png = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundPng,jdbcType=LONGVARCHAR}
</foreach>
</trim>
</trim>
where id in
<foreach
close=
")"
collection=
"list"
item=
"item"
open=
"("
separator=
", "
>
#{item.id,jdbcType=VARCHAR}
</foreach>
</update>
<update
id=
"updateBatchSelective"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
update ifa_imported_nonav_fund
<trim
prefix=
"set"
suffixOverrides=
","
>
<trim
prefix=
"fund_name = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.fundName != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundName,jdbcType=VARCHAR}
</if>
</foreach>
</trim>
<trim
prefix=
"start_end_date = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.startEndDate != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.startEndDate,jdbcType=VARCHAR}
</if>
</foreach>
</trim>
<trim
prefix=
"summary = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.summary != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.summary,jdbcType=LONGVARCHAR}
</if>
</foreach>
</trim>
<trim
prefix=
"detail = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.detail != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.detail,jdbcType=LONGVARCHAR}
</if>
</foreach>
</trim>
<trim
prefix=
"create_time = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.createTime != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
</if>
</foreach>
</trim>
<trim
prefix=
"update_time = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.updateTime != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
</if>
</foreach>
</trim>
<trim
prefix=
"delete_tag = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.deleteTag != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER}
</if>
</foreach>
</trim>
<trim
prefix=
"ifa_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.ifaId != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.ifaId,jdbcType=VARCHAR}
</if>
</foreach>
</trim>
<trim
prefix=
"org_id = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.orgId != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.orgId,jdbcType=VARCHAR}
</if>
</foreach>
</trim>
<trim
prefix=
"fund_file = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.fundFile != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundFile,jdbcType=LONGVARCHAR}
</if>
</foreach>
</trim>
<trim
prefix=
"fund_png = case"
suffix=
"end,"
>
<foreach
collection=
"list"
index=
"index"
item=
"item"
>
<if
test=
"item.fundPng != null"
>
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundPng,jdbcType=LONGVARCHAR}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach
close=
")"
collection=
"list"
item=
"item"
open=
"("
separator=
", "
>
#{item.id,jdbcType=VARCHAR}
</foreach>
</update>
<insert
id=
"batchInsert"
parameterType=
"map"
>
<!--@mbg.generated-->
insert into ifa_imported_nonav_fund
(id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag,
ifa_id, org_id, fund_file, fund_png)
values
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(#{item.id,jdbcType=VARCHAR}, #{item.fundName,jdbcType=VARCHAR}, #{item.startEndDate,jdbcType=VARCHAR},
#{item.summary,jdbcType=LONGVARCHAR}, #{item.detail,jdbcType=LONGVARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}, #{item.ifaId,jdbcType=VARCHAR},
#{item.orgId,jdbcType=VARCHAR}, #{item.fundFile,jdbcType=LONGVARCHAR}, #{item.fundPng,jdbcType=LONGVARCHAR}
)
</foreach>
</insert>
<insert
id=
"insertOrUpdate"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFund"
>
<!--@mbg.generated-->
insert into ifa_imported_nonav_fund
(id, fund_name, start_end_date, summary, detail, create_time, update_time, delete_tag,
ifa_id, org_id, fund_file, fund_png)
values
(#{id,jdbcType=VARCHAR}, #{fundName,jdbcType=VARCHAR}, #{startEndDate,jdbcType=VARCHAR},
#{summary,jdbcType=LONGVARCHAR}, #{detail,jdbcType=LONGVARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}, #{ifaId,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR}, #{fundFile,jdbcType=LONGVARCHAR}, #{fundPng,jdbcType=LONGVARCHAR}
)
on duplicate key update
id = #{id,jdbcType=VARCHAR},
fund_name = #{fundName,jdbcType=VARCHAR},
start_end_date = #{startEndDate,jdbcType=VARCHAR},
summary = #{summary,jdbcType=LONGVARCHAR},
detail = #{detail,jdbcType=LONGVARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},
ifa_id = #{ifaId,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=VARCHAR},
fund_file = #{fundFile,jdbcType=LONGVARCHAR},
fund_png = #{fundPng,jdbcType=LONGVARCHAR}
</insert>
<insert
id=
"insertOrUpdateSelective"
parameterType=
"com.tanpu.fund.entity.generator.IfaImportedNonavFund"
>
<!--@mbg.generated-->
insert into ifa_imported_nonav_fund
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"fundName != null"
>
fund_name,
</if>
<if
test=
"startEndDate != null"
>
start_end_date,
</if>
<if
test=
"summary != null"
>
summary,
</if>
<if
test=
"detail != null"
>
detail,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"deleteTag != null"
>
delete_tag,
</if>
<if
test=
"ifaId != null"
>
ifa_id,
</if>
<if
test=
"orgId != null"
>
org_id,
</if>
<if
test=
"fundFile != null"
>
fund_file,
</if>
<if
test=
"fundPng != null"
>
fund_png,
</if>
</trim>
values
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=VARCHAR},
</if>
<if
test=
"fundName != null"
>
#{fundName,jdbcType=VARCHAR},
</if>
<if
test=
"startEndDate != null"
>
#{startEndDate,jdbcType=VARCHAR},
</if>
<if
test=
"summary != null"
>
#{summary,jdbcType=LONGVARCHAR},
</if>
<if
test=
"detail != null"
>
#{detail,jdbcType=LONGVARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"deleteTag != null"
>
#{deleteTag,jdbcType=INTEGER},
</if>
<if
test=
"ifaId != null"
>
#{ifaId,jdbcType=VARCHAR},
</if>
<if
test=
"orgId != null"
>
#{orgId,jdbcType=VARCHAR},
</if>
<if
test=
"fundFile != null"
>
#{fundFile,jdbcType=LONGVARCHAR},
</if>
<if
test=
"fundPng != null"
>
#{fundPng,jdbcType=LONGVARCHAR},
</if>
</trim>
on duplicate key update
<trim
suffixOverrides=
","
>
<if
test=
"id != null"
>
id = #{id,jdbcType=VARCHAR},
</if>
<if
test=
"fundName != null"
>
fund_name = #{fundName,jdbcType=VARCHAR},
</if>
<if
test=
"startEndDate != null"
>
start_end_date = #{startEndDate,jdbcType=VARCHAR},
</if>
<if
test=
"summary != null"
>
summary = #{summary,jdbcType=LONGVARCHAR},
</if>
<if
test=
"detail != null"
>
detail = #{detail,jdbcType=LONGVARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"deleteTag != null"
>
delete_tag = #{deleteTag,jdbcType=INTEGER},
</if>
<if
test=
"ifaId != null"
>
ifa_id = #{ifaId,jdbcType=VARCHAR},
</if>
<if
test=
"orgId != null"
>
org_id = #{orgId,jdbcType=VARCHAR},
</if>
<if
test=
"fundFile != null"
>
fund_file = #{fundFile,jdbcType=LONGVARCHAR},
</if>
<if
test=
"fundPng != null"
>
fund_png = #{fundPng,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
</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