Browse Source

/。 countByFilter

release_toaliyun_real
xhxu 4 years ago
parent
commit
0afd0bfdd7
2 changed files with 3 additions and 3 deletions
  1. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCUserBasicInfoServiceImpl.java
  2. +2
    -3
      mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml

+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCUserBasicInfoServiceImpl.java View File

@@ -416,6 +416,7 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService,IExc


private WxCUserBasicInfoDto filtersToDto(TenantEntity tenantEntity, List<WxCUserBasicInfoFilterDto> filterList){ private WxCUserBasicInfoDto filtersToDto(TenantEntity tenantEntity, List<WxCUserBasicInfoFilterDto> filterList){
WxCUserBasicInfoDto dto = new WxCUserBasicInfoDto(); WxCUserBasicInfoDto dto = new WxCUserBasicInfoDto();
dto.updateTenantInfo(tenantEntity);
List<Long> tagIdList = new ArrayList<>(); List<Long> tagIdList = new ArrayList<>();


filterList.stream().forEach(f->{ filterList.stream().forEach(f->{


+ 2
- 3
mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml View File

@@ -521,10 +521,9 @@


<if test=" null != tagIds "> <if test=" null != tagIds ">
and wcubi.`tag_id` in and wcubi.`tag_id` in
<foreach collection="tagIds" index="index" item="idItem" open="(" separator="," close=")">
#{idItem}
<foreach collection="tagIds" index="index" item="tagIdItem" open="(" separator="," close=")">
#{tagIdItem}
</foreach> </foreach>
)
</if> </if>
<if test=" null != sortColumns">order by ${sortColumns}</if> <if test=" null != sortColumns">order by ${sortColumns}</if>
</sql> </sql>


Loading…
Cancel
Save