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
990a8869
Commit
990a8869
authored
Sep 16, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
圈子 取基金数量 添加搜索条件 deleteTag = 0
parent
98b3869a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ProductForCommunityController.java
.../tanpu/fund/controller/ProductForCommunityController.java
+2
-1
No files found.
src/main/java/com/tanpu/fund/controller/ProductForCommunityController.java
View file @
990a8869
package
com
.
tanpu
.
fund
.
controller
;
import
com.tanpu.common.enums.BizEnums
;
import
com.tanpu.common.model.product.resp.FundCompanySimpleVO
;
import
com.tanpu.common.resp.CommonResp
;
import
com.tanpu.fund.api.ProductForCommunityApi
;
...
...
@@ -40,7 +41,7 @@ public class ProductForCommunityController implements ProductForCommunityApi {
@Override
public
CommonResp
<
FundCompanySimpleVO
>
getCompanyFundCount
(
String
id
)
{
FundInfoExample
fundInfoExample
=
new
FundInfoExample
();
fundInfoExample
.
createCriteria
().
andTrustIdEqualTo
(
id
);
fundInfoExample
.
createCriteria
().
andTrustIdEqualTo
(
id
)
.
andDeleteTagEqualTo
(
BizEnums
.
DeleteTag
.
tag_init
)
;
long
l
=
fundInfoMapper
.
countByExample
(
fundInfoExample
);
FundCompanySimpleVO
build
=
FundCompanySimpleVO
.
builder
().
fundCount
(
l
).
build
();
return
CommonResp
.
success
(
build
);
...
...
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