Commit 9de21a5e by 王祖波

log

parent b5b346db
......@@ -65,6 +65,7 @@ public class ContactOrderServiceImpl implements ContactOrderService {
logger.info("订单已处理,订单id:{}", orderInfoResp.getOrderId());
return;
}
logger.info("建联处理订单:{}", orderInfoResp.getOrderId());
Date receiptsDate = orderInfoResp.getReceiptsDate();
Date contactBeginTime = null;
String channelCode = platformChannelEnum.getChannelCode();
......
......@@ -9,11 +9,15 @@ import com.gic.haoban.manage.api.dto.contact.ContactFollowDTO;
import com.gic.haoban.manage.api.qdto.contact.ContactFollowQDTO;
import com.gic.haoban.manage.api.qdto.contact.ContactFollowSearchQDTO;
import com.gic.haoban.manage.api.qdto.contact.ContactLogQDTO;
import com.gic.haoban.manage.api.qdto.contact.ContactOrderQDTO;
import com.gic.haoban.manage.api.service.contact.ContactOrderApiService;
import com.gic.haoban.manage.service.pojo.bo.content.InteractRecordBO;
import com.gic.haoban.manage.service.pojo.bo.potential.MemberLastInteractBO;
import com.gic.haoban.manage.service.service.contact.ContactFollowService;
import com.gic.haoban.manage.service.service.contact.ContactLogService;
import com.gic.haoban.manage.service.service.contact.ContactOrderService;
import com.gic.haoban.manage.service.service.content.InteractRecordService;
import com.gic.order.api.dto.resp.OrderInfoResp;
import com.google.common.collect.Lists;
import org.junit.Test;
import org.junit.runner.RunWith;
......@@ -35,6 +39,8 @@ public class ContactTest {
@Autowired
private ContactLogService contactLogService;
@Autowired
private ContactOrderApiService contactOrderApiService;
@Autowired
private InteractRecordService interactRecordService;
String eid = "ff8080815dacd3a2015dacd3ef5c0000";
......@@ -113,4 +119,14 @@ public class ContactTest {
DateUtil.date().offset(DateField.DAY_OF_MONTH, -14));
System.out.println(JSON.toJSONString(list));
}
@Test
public void saveContactOrder() throws Exception {
ContactOrderQDTO orderQDTO = new ContactOrderQDTO();
orderQDTO.setMemberId("ff80808194fdf81b0195035d9d6d006d");
orderQDTO.setEnterpriseId("ff8080815dacd3a2015dacd3ef5c0000");
orderQDTO.setOrderId("ff80808195db691a0195fa33dc0401a8");
orderQDTO.setOnlineOrder(true);
contactOrderApiService.saveContactOrder(orderQDTO);
}
}
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