Commit 20162665 authored by mcb's avatar mcb

commit

parent 7c6a44ac
......@@ -629,15 +629,15 @@ public class OfflineSynchServiceImpl implements OfflineSynchService {
task.setIsSubmit("0"); //是否已提交
task.setTreeId(treeId);
task.setDataStatus("1");
String script = JsonMapper.toJsonString(body);
/* String script = JsonMapper.toJsonString(body);
byte[] data = null;
try {
data = script.getBytes("utf-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
task.setData(data); //json 数据
//task.setScript(body.toString());
task.setData(data); //json 数据*/
task.setScript(JSONObject.toJSONString(body));
task.setTargetDbName(targetDb);
task.setTargetTableName(targetTable);
task.setSourceTableName(sourceTableName);
......
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