Commit 7e7f11c9 by 翁国栋

8小时运营后台--

修复bug
parent 68881eaf
...@@ -896,6 +896,7 @@ public class CrmController { ...@@ -896,6 +896,7 @@ public class CrmController {
// 当前用户管理的组 // 当前用户管理的组
List<Integer> gids = MyManageGroup(empNum, orgCode); List<Integer> gids = MyManageGroup(empNum, orgCode);
List<CrmClientData> crmClientDatas = new ArrayList<CrmClientData>(); List<CrmClientData> crmClientDatas = new ArrayList<CrmClientData>();
if(gids.size()>0) {
for (Integer gid : gids) { for (Integer gid : gids) {
// List<CrmClientData> datas = CrmClientData.builder().build().selectList(new QueryWrapper<CrmClientData>() // List<CrmClientData> datas = CrmClientData.builder().build().selectList(new QueryWrapper<CrmClientData>()
// .lambda().eq(CrmClientData::getBelongGroup, gid) // .lambda().eq(CrmClientData::getBelongGroup, gid)
...@@ -912,12 +913,13 @@ public class CrmController { ...@@ -912,12 +913,13 @@ public class CrmController {
// .like(!StrUtil.isBlank(like), CrmClientData::getClientName, like).or() // .like(!StrUtil.isBlank(like), CrmClientData::getClientName, like).or()
// .like(!StrUtil.isBlank(like), CrmClientData::getClientCellphone, like)); // .like(!StrUtil.isBlank(like), CrmClientData::getClientCellphone, like));
List<CrmClientData> datas = crmClientDataMapper.getCrmClientData3(empNum, orgCode, groupId, status, like,startCreateTime,endCreateTime,startFollowTime,endFollowTime,type,ifPhone,customerowner,unfollowedDays,followNumber,industry); List<CrmClientData> datas = crmClientDataMapper.getCrmClientData3(empNum, orgCode, groupId, status, like, startCreateTime, endCreateTime, startFollowTime, endFollowTime, type, ifPhone, customerowner, unfollowedDays, followNumber, industry,gid);
for (CrmClientData data : datas) for (CrmClientData data : datas)
crmClientDatas.add(data); crmClientDatas.add(data);
} }
}
List<CrmClientData> result = getPageList(crmClientDatas, pageNumber, pageSize, List<CrmClientData> result = getPageList(crmClientDatas, pageNumber, pageSize,
Comparator.comparing(CrmClientData::getCreateTime).reversed()); Comparator.comparing(CrmClientData::getCreateTime).reversed());
......
...@@ -77,5 +77,5 @@ public interface CrmClientDataMapper extends BaseMapper<CrmClientData> { ...@@ -77,5 +77,5 @@ public interface CrmClientDataMapper extends BaseMapper<CrmClientData> {
@Param("endFollowTime") String endFollowTime,@Param("type") Integer type, @Param("endFollowTime") String endFollowTime,@Param("type") Integer type,
@Param("ifPhone") String ifPhone,@Param("customerowner") String customerowner, @Param("ifPhone") String ifPhone,@Param("customerowner") String customerowner,
@Param("unfollowedDays") Integer unfollowedDays, @Param("followNumber") Integer followNumber, @Param("unfollowedDays") Integer unfollowedDays, @Param("followNumber") Integer followNumber,
@Param("industry") Integer industry); @Param("industry") Integer industry,@Param("gid")Integer gid);
} }
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