Commit 69c5ac60 by wubh

包活干V1.9.1-修改:修复大搜车安装单反馈的问题

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28016 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 80ab3fba
package com.glsx.ordercenter.service.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
......@@ -23,7 +28,11 @@ import com.glsx.ordercenter.exception.BusinessException;
import com.glsx.ordercenter.mapper.DictionaryDataMapper;
import com.glsx.ordercenter.mapper.SysOrderMapper;
import com.glsx.ordercenter.mapper.SysOrderStatusMapper;
import com.glsx.ordercenter.pojo.*;
import com.glsx.ordercenter.pojo.DictionaryData;
import com.glsx.ordercenter.pojo.SysChannelOrg;
import com.glsx.ordercenter.pojo.SysOrder;
import com.glsx.ordercenter.pojo.SysOrderExample;
import com.glsx.ordercenter.pojo.SysOrderStatus;
import com.glsx.ordercenter.pojo.user.SysUser;
import com.glsx.ordercenter.service.IOrderChannelService;
import com.glsx.ordercenter.service.IOrderService;
......@@ -36,8 +45,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import java.util.*;
/**
* @author duanht
* @version 1.0.0
......@@ -49,7 +56,7 @@ import java.util.*;
@Component
public class StandardOrderServiceImpl implements StandardOrderService {
private Logger logger = LoggerFactory.getLogger(OrderServiceImpl.class);
private Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private SysOrderMapper sysOrderMapper;
......@@ -209,7 +216,7 @@ public class StandardOrderServiceImpl implements StandardOrderService {
private ResultObject checkDeviceAndOrderFromEdun(SysOrder order, String sn) {
ResultObject obj = new ResultObject();
try {
Map<String, String> paramMap = new TreeMap<String, String>();
Map<String, String> paramMap = new TreeMap<>();
//第三方同步过来的需要传特殊字段
paramMap.put("channel", order.getChannel());
paramMap.put("name", order.getCarOwner());
......@@ -397,7 +404,7 @@ public class StandardOrderServiceImpl implements StandardOrderService {
} else if (BizConstants.GLSX_EDUN.equalsIgnoreCase(channel)) {
dictionaryData.setDictType(Constants.SYS_ORDER_SERVICE_ITEM);
}
List<String> serviceKeyList = new ArrayList<String>();
List<String> serviceKeyList = new ArrayList<>();
List<DictionaryData> dictionaryDataList = dictionaryDataMapper.list(dictionaryData);
for (DictionaryData dictData : dictionaryDataList) {
serviceKeyList.add(dictData.getDataKey());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!