提交 4b059be3 authored 作者: inroi's avatar inroi

微调

上级 ceb465de
...@@ -235,6 +235,36 @@ public class CategoryDao { ...@@ -235,6 +235,36 @@ public class CategoryDao {
} }
/** /**
* 同步
*
* @return
* @throws Exception
*/
public List<List<Object>> selectSyn(String sFormId, Map<String, String> key, Map<String, String> where) {
List<List<Object>> list = null;
try {
if (result) {
String content;
if (where != null) {
content = "{\"FormId\":\"" + sFormId + "\"," + Stringkey(key) + Stringwhere(where) + ", \"OrderString\":\"FCreatorId\"" + "}";
} else {
content = "{\"FormId\":\"" + sFormId + "\"," + Stringkey(key) + ", \"OrderString\":\"FCreatorId\"" + "}";
}
System.out.println("================content==============" + content + "=================content===================");
list = client.executeBillQuery(content);
} else {
throw new KingdeeConnectException(loginResult);
}
} catch (KingdeeConnectException e) {
throw new KingdeeConnectException(loginResult);
} catch (Exception e) {
throw new KingdeeConnectException(KingDeeConstant.URL, baseCommonService);
}
return list;
}
/**
* 查询单据体 * 查询单据体
* *
* @return * @return
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论