Commit d94435fd by 王祖波

建联校验

parent 52662a65
...@@ -188,13 +188,11 @@ public class ContactLogServiceImpl implements ContactLogService { ...@@ -188,13 +188,11 @@ public class ContactLogServiceImpl implements ContactLogService {
throw new BusinessException("-1", "非专属导购无法建联"); throw new BusinessException("-1", "非专属导购无法建联");
} }
ClerkDTO clerkDTO = clerkService.getClerkByClerkId(clerkId); ClerkDTO clerkDTO = clerkService.getClerkByClerkId(clerkId);
// 自动建联校验 // 建联校验
if (contactAutoType != null) { boolean contactCheck = contactCheck(enterpriseId, memberId, clerkDTO, bizType);
boolean contactCheck = contactCheck(enterpriseId, memberId, clerkDTO, bizType); logger.info("非未建联或建联未转化:{}",contactCheck);
logger.info("非潜客未建联或建联未转化:{}",contactCheck); if (!contactCheck) {
if (!contactCheck) { throw new BusinessException("-1", "非未建联或建联未转化,无法建联");
throw new BusinessException("-1", "非潜客未建联或建联未转化,无法建联");
}
} }
// 是否周期内首次建联 同周期内是否有记录 // 是否周期内首次建联 同周期内是否有记录
Integer contactCycle = 1; Integer contactCycle = 1;
......
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