Commit 81a0bedc by wubh

包活干V1.9.0-修改:工单安装照片使用英文逗号分隔

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@27776 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 42c46204
package com.glsx.ordercenter.thread;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
......@@ -20,11 +24,6 @@ import com.glsx.ordercenter.utils.OraSignUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author think.wang
* @version 1.0.0
......@@ -174,14 +173,16 @@ public class OraReturnOrderSetupTask implements Runnable {
int size = list.size();
if (size == 8) {
if (type == 0) {
buffer.append(list.get(3).getFilePath() + ",").append(list.get(4).getFilePath() + ",")
.append(list.get(5).getFilePath());
buffer.append(list.get(3).getFilePath() + ",")
.append(list.get(4).getFilePath() + ",")
.append(list.get(5).getFilePath());
} else {
buffer.append(list.get(6).getFilePath() + ",").append(list.get(7).getFilePath());
buffer.append(list.get(6).getFilePath() + ",")
.append(list.get(7).getFilePath());
}
} else {
for (int i = 3; i < size - 1; i++) {
buffer.append(list.get(i).getFilePath() + ",");
buffer.append(list.get(i).getFilePath() + ",");
}
buffer.append(list.get(size - 1).getFilePath());
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!