|
|
|
@ -36,8 +36,7 @@ public class VisitorProcessor extends AbstractProcessor {
|
|
|
|
|
if (Func.isEmpty(message)) {
|
|
|
|
|
throw new RuntimeException("参数为空");
|
|
|
|
|
}
|
|
|
|
|
Object convert = converter.convert(message, context.getMethodName());
|
|
|
|
|
String jsonStr = JSON.toJSON(convert);
|
|
|
|
|
String jsonStr = JSON.toJSON(converter.convert(message, context.getMethodName()));
|
|
|
|
|
Long taskId = messageService.insertTaskOriginalMessage(jsonStr, message, IIntegerEnum.fromDisplay(CollectTypeEnum.class, context.getGroup()));
|
|
|
|
|
Map<String, Object> params = context.getParams();
|
|
|
|
|
params.put("taskId", taskId);
|
|
|
|
|