正文导出提交
This commit is contained in:
parent
f94cdd8bb1
commit
353c634c10
@ -79,8 +79,9 @@ public class InstitutionalTextWeb extends ActionWeb {
|
||||
public String systemManualTextExport() {
|
||||
List<String> listIds = OutputAppManager.getProfileName("");
|
||||
|
||||
|
||||
//查询制度流程文件
|
||||
List<RowMap> policyMap = DBSql.getMaps("SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLMETHODID='control.policy' ");
|
||||
List<RowMap> policyMap = DBSql.getMaps("SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLMETHODID='control.policy' ");
|
||||
|
||||
String downUrl = "";
|
||||
|
||||
@ -101,7 +102,6 @@ public class InstitutionalTextWeb extends ActionWeb {
|
||||
exportText(policyMap.get(i).getString("ID"), policyMap.get(i).getString("WSID"), policyMap.get(i).getString("PLNAME"), policyMap.get(i).getString("PLVER"), zipName, times, targetDir, targetFileDir);
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
UtilFile.zipCompress(targetDir, new File(targetDir + zipName));
|
||||
|
||||
@ -133,6 +133,7 @@ public class InstitutionalTextWeb extends ActionWeb {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 制度正文单条导出
|
||||
*
|
||||
@ -183,6 +184,7 @@ public class InstitutionalTextWeb extends ActionWeb {
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public void exportText(String targetFileId, String wsId, String plname, String versionNumer, String zipName, long times, String targetDir, File targetFileDir) {
|
||||
ProcessInstance boProcessInstance = SDK.getProcessAPI()
|
||||
.createBOProcessInstance("obj_c0fd5262f1c64df9ab5e725aae3eff2e", "admin", "正文导出");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user