Commit d603b1b0 by zhanghj

V1.5.0--修改同步给e盾文件的数据以及上传初始化服务项目数据

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24672 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent f188aaf8
...@@ -3895,6 +3895,8 @@ public class OrderServiceImpl implements IOrderService { ...@@ -3895,6 +3895,8 @@ public class OrderServiceImpl implements IOrderService {
String message = (String) JSON.parseObject(result).get("message"); String message = (String) JSON.parseObject(result).get("message");
JSONArray data = JSON.parseObject(result).getJSONArray("data"); JSONArray data = JSON.parseObject(result).getJSONArray("data");
if (data != null) { if (data != null) {
resultObject = new ResultObject(ResultCodeEnum.SUCCESS.getCode(), message, data);
} else {
resultObject = new ResultObject(Integer.valueOf(returnCode), message, data); resultObject = new ResultObject(Integer.valueOf(returnCode), message, data);
} }
} }
...@@ -4023,7 +4025,13 @@ public class OrderServiceImpl implements IOrderService { ...@@ -4023,7 +4025,13 @@ public class OrderServiceImpl implements IOrderService {
if (ifRepair) { if (ifRepair) {
paramsMap.put("installLocionPicture", null); paramsMap.put("installLocionPicture", null);
} else { } else {
paramsMap.put("installLocionPicture", orderFileList); //只传给E盾照片列表
List<String> fileList = new ArrayList<String>();
for (SysOrderFile orderFile : orderFileList) {
String filePath = orderFile.getFilePath();
fileList.add(filePath);
}
paramsMap.put("installLocionPicture", fileList);
} }
paramsMap.put("name", order.getCarOwner()); paramsMap.put("name", order.getCarOwner());
paramsMap.put("standNo", order.getVinNo()); paramsMap.put("standNo", order.getVinNo());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!