|
|
|
@@ -156,7 +156,7 @@ public class InvestBizServiceImpl implements InvestBizService { |
|
|
|
item.setShopNumber("A10092"); |
|
|
|
item.setBrandName("肯德基"); |
|
|
|
item.setName("张三"); |
|
|
|
item.setPhone("1358888888"); |
|
|
|
item.setPhone("13588888888"); |
|
|
|
item.setOpeningTime("2019-01-01"); |
|
|
|
resultList.add(item); |
|
|
|
excelService.exportExcel(resultList, null, "客户信息模板", InvestCustomerVo.class, "客户信息模板.xlsx", response, true); |
|
|
|
@@ -493,7 +493,7 @@ public class InvestBizServiceImpl implements InvestBizService { |
|
|
|
} |
|
|
|
|
|
|
|
InvestDemandEntity demandEntity = new InvestDemandEntity(); |
|
|
|
if (ObjectUtils.anyNotNull(params.getDemandOwner())) { |
|
|
|
if (Objects.isNull(InvestUserContext.getDataUser())) { |
|
|
|
demandEntity.setOwner(params.getDemandOwner()); |
|
|
|
} else { |
|
|
|
demandEntity.setOwner(InvestUserContext.getDataUser()); |
|
|
|
@@ -1073,9 +1073,7 @@ public class InvestBizServiceImpl implements InvestBizService { |
|
|
|
result.put("taskUnassigned", taskService.count(new LambdaQueryWrapper<InvestTaskEntity>() |
|
|
|
.eq(InvestTaskEntity::getStatus, EnumTaskStatus.CREATED) |
|
|
|
.eq(InvestTaskEntity::getTenantId, InvestUserContext.getUser().getTenantId()))); |
|
|
|
result.put("customerUnassigned", demandService.count(new LambdaQueryWrapper<InvestDemandEntity>() |
|
|
|
.eq(InvestDemandEntity::getTenantId, InvestUserContext.getUser().getTenantId()) |
|
|
|
.eq(InvestDemandEntity::getOwner, 0L))); |
|
|
|
result.put("customerUnassigned", customerService.countCustomerUnassigned(InvestUserContext.getUser().getTenantId())); |
|
|
|
} else { |
|
|
|
result.put("taskTotal", taskService.count(new LambdaQueryWrapper<InvestTaskEntity>() |
|
|
|
.ge(InvestTaskEntity::getStatus, EnumTaskStatus.CREATED) |
|
|
|
|