Commit 990a8869 authored by 吴泽佳's avatar 吴泽佳

圈子 取基金数量 添加搜索条件 deleteTag = 0

parent 98b3869a
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment