|
|
@@ -179,6 +179,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
|
|
|
case 5 : co.set_followSituation("已签合同") ;break;
|
|
|
case 6 : co.set_followSituation("面谈中") ;break;
|
|
|
case 7 : co.set_followSituation("已面签") ;break;
|
|
|
+ case 8 : co.set_followSituation("无进度") ;break;
|
|
|
}
|
|
|
String _companyIntention = "";
|
|
|
if(StringUtils.isNotBlank(co.getCompanyIntention())){
|
|
|
@@ -281,7 +282,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
|
|
|
log.setBeforeFollowSituation(CustomerFollowFiled.getField(Integer.parseInt(cus.getBeforeFollowSituation())).getDesc());//修改前跟进进度
|
|
|
log.setOperatorType(AFTConstants.CUSTOMER_TO_PUBLIC);
|
|
|
}else if(operatorType.equals(AFTConstants.CUSTOMER_FOLLOW)){ //跟进客户
|
|
|
- log.setAfterAdminName(TokenManager.getAdminToken().getName());//跟进前操作人
|
|
|
+ log.setBeforeAdminName(TokenManager.getAdminToken().getName());//跟进前操作人
|
|
|
log.setBeforeCustomerIntention(getCompanyIntention(c.getCompanyIntention())); //修改前跟进意向
|
|
|
log.setBeforeCustomerStatus(CustomerStatusFiled.getField(c.getCustomerStatus()).getDesc()); //修改前跟进状态
|
|
|
log.setBeforeFollowSituation(CustomerFollowFiled.getField(c.getFollowSituation()).getDesc());//修改前跟进进度
|
|
|
@@ -289,6 +290,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
|
|
|
log.setAfterFollowSituation(CustomerFollowFiled.getField(Integer.parseInt(cus.getFollowSituation())).getDesc()); //修改后跟进状态
|
|
|
log.setAfterCustomerIntention(getCompanyIntention(cus.getCompanyIntention())); //修改后跟进意向
|
|
|
log.setAfterCustomerStatus(CustomerStatusFiled.getField(Integer.parseInt(cus.getCustomerStatus())).getDesc()); //修改后客户状态
|
|
|
+ log.setOperatorType(AFTConstants.CUSTOMER_FOLLOW);
|
|
|
}
|
|
|
customerLogMapper.insert(log);
|
|
|
}
|