Commit e608f512 by wangnb

包活干同步E盾数据--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@30723 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 77126a03
package com.glsx.ordercenter.strategy.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
......@@ -28,6 +22,9 @@ import com.glsx.ordercenter.utils.OrderUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.*;
import java.util.stream.Collectors;
/**
* <p>Description: 虎哥E盾工单同步策略
*
......@@ -90,12 +87,12 @@ public class EdunOrderSyncStrategy extends BaseOrderSyncStrategy {
req.put("eworkOrderNo", order.getWorkOrderNo());
req.put("workOrderNo", order.getOrderSn());
req.put("ifRepair", order.getIfRepair());
// 数据类型:1 激活,2 检修,3 试驾
// 数据类型:1 安装,2 拆除,3 检修,4 试驾
if (StringUtils.isBlank(order.getChannel())) {
// 渠道为空,即为小程序建的单,为试驾单
req.put("orderType", 3);
req.put("orderType", 4);
} else {
req.put("orderType", (order.getOrderType() == BizConstants.ORDER_TYPE_INSTALL) ? 1 : 2);
req.put("orderType", order.getOrderType());
}
// 车辆信息
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!