|
|
@@ -53,19 +53,19 @@ public class GeneralCustomerEntryServiceImpl implements IGeneralCustomerEntrySer
|
|
|
* @return
|
|
|
*/
|
|
|
//@Override
|
|
|
- public R entryCustomer(String param) {
|
|
|
- try {
|
|
|
- String decryptParam = CryptoUtil.decrypt(param);
|
|
|
- if (StringUtils.isBlank(decryptParam)) {
|
|
|
- return R.error("参数错误");
|
|
|
- }
|
|
|
- List<EntryCustomerParam> list = JSONObject.parseArray(decryptParam, EntryCustomerParam.class);
|
|
|
- CompletableFuture.runAsync(() -> handleList(list), customerExecutor);
|
|
|
- } catch (Exception ex) {
|
|
|
- log.error("录入客户异常", ex);
|
|
|
- }
|
|
|
- return R.ok().put("result", "录入成功");
|
|
|
- }
|
|
|
+// public R entryCustomer(String param) {
|
|
|
+// try {
|
|
|
+// String decryptParam = CryptoUtil.decrypt(param);
|
|
|
+// if (StringUtils.isBlank(decryptParam)) {
|
|
|
+// return R.error("参数错误");
|
|
|
+// }
|
|
|
+// List<EntryCustomerParam> list = JSONObject.parseArray(decryptParam, EntryCustomerParam.class);
|
|
|
+// CompletableFuture.runAsync(() -> handleList(list), customerExecutor);
|
|
|
+// } catch (Exception ex) {
|
|
|
+// log.error("录入客户异常", ex);
|
|
|
+// }
|
|
|
+// return R.ok().put("result", "录入成功");
|
|
|
+// }
|
|
|
|
|
|
@Override
|
|
|
@Async("crmCustomerExecutor")
|
|
|
@@ -111,7 +111,7 @@ public class GeneralCustomerEntryServiceImpl implements IGeneralCustomerEntrySer
|
|
|
CompanyVoiceRobotic companySceneTasks = getCompanySceneTask(data);
|
|
|
if(null != companySceneTasks){
|
|
|
//场景任务存在 加入场景任务队列
|
|
|
- companyVoiceRoboticService.addNewExec4Task(companySceneTasks.getId(),data.getCustomerId());
|
|
|
+ companyVoiceRoboticService.addNewExec4Task(companySceneTasks.getId(),data.getCustomerId(),data.getTraceId());
|
|
|
}
|
|
|
}
|
|
|
}
|