user-client/src/main/java/com/hp/user/client/service/CustomerCompanyService.javaZobrazit soubor
@@ -20,6 +20,7 @@ public interface CustomerCompanyService {
public PageResult<CustomerCompanyVO> getCompanysPage(Long current, Integer size,Integer type);
public PageResult<CustomerCompanyVO> queryServiceProvidersByName(String name, Long current, Integer size);
public PageResult<CustomerCompanyVO> queryCompanysPageByNameAndServiceAndStatus(String name, String serviceProviderName, Integer status, Long current, Integer size);
public PageResult<CustomerCompanyVO> queryCompanysPageByServiceProviderIdAndNameAndStatus(String serviceProviderId,String name,Integer status,Long current,Integer size);
public PageResult<CompanyAuditVO> getCompanyAuditsPage(Long current, Integer size);
public PageResult<CompanyAuditVO> queryCompanysPageByNameAndStatusAndCreateTime(String name, Integer status, Date startTime,Date endTime, Long current, Integer size);
public PageResult<CompanyAuditVO> queryCluesPageOfContractUserByCreateTimeAndBusinessContactAndPhoneNumberAndFollowAndSourceAndPush(Date startTime, Date endTime,String businessContact,String phoneNumber,Integer follow, Integer source, Integer push, Long current, Integer size);
+ 25- 10
user-service/src/main/java/com/hp/user/service/controller/CompanyController.javaZobrazit soubor
@@ -52,9 +52,9 @@ public class CompanyController {
audit.setUserId(company.getCustomerId());
audit.setVipLevel((short) 1); // 普通会员
audit.setStatus(company.getStatus());
audit.setIsReply((short)1); // 未回复
audit.setFollow((short)1); // 未跟进
audit.setPush((short)1); // 未推送
audit.setIsReply((short)1); // 未回复
audit.setFollow((short)1); // 未跟进
audit.setPush((short)1); // 未推送
result3 = auditService.insert(audit);
}
if (result1.getCode().equals("0") && result2.getCode().equals("0") && result3.getCode().equals("0")) {
@@ -229,6 +229,22 @@ public class CompanyController {
List<CompanyAuditVO> companyAuditVOList = new ArrayList<>();
CompanyAuditVO temp;
@@ -265,7 +314,7 @@ public class CustomerCompanyServiceImpl implements CustomerCompanyService {
result.setTotal(page.getTotal());
result.setCurrent(current);
result.setSize(size);
}catch (Exception e){
}catch (Exception e){
}
return result;
@@ -273,9 +322,9 @@ public class CustomerCompanyServiceImpl implements CustomerCompanyService {
@Override
public PageResult<CompanyAuditVO> queryCompanysPageByNameAndStatusAndCreateTime(String name, Integer status, Date startTime, Date endTime, Long current, Integer size) {
PageResult<CompanyAuditVO> result= new PageResult<>();
PageResult<CompanyAuditVO> result= new PageResult<>();
Page<CompanyAudit> page = new Page<>(current, size);