报告生成器中发布部门筛选优化
This commit is contained in:
parent
02623c7ca3
commit
b32a19a115
Binary file not shown.
@ -435,6 +435,18 @@ public class OutPutReportWeb extends ActionWeb {
|
|||||||
return jsonArr.toString();
|
return jsonArr.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String PALFileJsonDataRootTreeDataByDepartment(String methodType, String wsid, String versionType, String teamId,String departId) {
|
||||||
|
JSONArray jsonArr = null;
|
||||||
|
//if (teamId == null || "".equals(teamId)) {
|
||||||
|
if (teamId == null) {
|
||||||
|
jsonArr = PALRepositoryQueryAPIManager.getInstance().getPalRepositoryTreeDataByDeptId(_uc, wsid, methodType, versionType,departId);
|
||||||
|
} else {
|
||||||
|
jsonArr = PALRepositoryQueryAPIManager.getInstance().getPermPalRepositoryTreeDataByMethodsByDeptId(_uc, wsid, teamId, versionType, methodType,departId);
|
||||||
|
}
|
||||||
|
return jsonArr.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 报告数据保存
|
* 报告数据保存
|
||||||
*
|
*
|
||||||
|
|||||||
@ -244,7 +244,6 @@ public class OutputWordUtil {
|
|||||||
// 设置模本装置方法和路径
|
// 设置模本装置方法和路径
|
||||||
try {
|
try {
|
||||||
UtilFile temps = new UtilFile(tempPath);
|
UtilFile temps = new UtilFile(tempPath);
|
||||||
System.out.println(">>>>>>>tempPath = " + tempPath);
|
|
||||||
configuration.setDirectoryForTemplateLoading(temps);
|
configuration.setDirectoryForTemplateLoading(temps);
|
||||||
} catch (IOException e2) {
|
} catch (IOException e2) {
|
||||||
e2.printStackTrace();
|
e2.printStackTrace();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user