Commit 7df2af52 by fudahua

Merge branch 'feature-929' into 'developer'

标签导入

See merge request !124
parents 86bcbb98 d348b10a
......@@ -16,6 +16,7 @@ import com.gic.haoban.manage.web.qo.QywxTagSyncInfoQo;
import com.gic.member.tag.api.service.MemberTagImportDealService;
import com.gic.mq.sdk.GicMQClient;
import com.gic.sharing.core.service.api.service.MqApiService;
import com.task.allocation.qo.AllocationTaskQo;
import com.task.allocation.qo.TaskAllocationComputed;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
......@@ -205,12 +206,17 @@ public class TestController extends WebBaseController {
@RequestMapping("/memberTag")
@ResponseBody
public HaobanResponse memberTag(String id, String tagId) {
AllocationTaskQo taskQo = new AllocationTaskQo();
taskQo.setType(AllocationTaskQo.COMPUTED);
taskQo.setTaskAllocationId(id);
TaskAllocationComputed task = new TaskAllocationComputed();
task.setTaskAllocationId(id);
task.setTaskSignKey(tagId);
task.setTaskStatus(TaskAllocationComputed.TASK_STATUS_SUCCESS);
taskQo.setParams(JSONObject.toJSONString(task));
memberTagImportDealService.run(JSONObject.toJSONString(task));
memberTagImportDealService.run(JSONObject.toJSONString(taskQo));
return resultResponse(HaoBanErrCode.ERR_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