制度手册提交
This commit is contained in:
parent
db1ef96d41
commit
9f41b03788
Binary file not shown.
BIN
com.awspaas.user.apps.coe.pal.output.zd/lib/poi-tl-1.12.1.jar
Normal file
BIN
com.awspaas.user.apps.coe.pal.output.zd/lib/poi-tl-1.12.1.jar
Normal file
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -175,16 +175,31 @@ public class ReportPrController {
|
||||
* @return
|
||||
*/
|
||||
@Mapping("com.awspaas.user.apps.coe.pal.output.zd_systemManualTextExport")
|
||||
public String systemManualTextExport(UserContext me, String id, String teamId, String wsid) {
|
||||
public String systemManualTextExport(UserContext me) {
|
||||
ResponseObject ro = null;
|
||||
try {
|
||||
ro = ResponseObject.newOkResponse();
|
||||
InstitutionalTextWeb institutionalTextWeb = new InstitutionalTextWeb(me);
|
||||
institutionalTextWeb.systemManualTextExport();
|
||||
} catch (Exception e) {
|
||||
ro = ResponseObject.newErrResponse();
|
||||
e.printStackTrace();
|
||||
}
|
||||
ro = ResponseObject.newOkResponse();
|
||||
InstitutionalTextWeb institutionalTextWeb = new InstitutionalTextWeb(me);
|
||||
String result = institutionalTextWeb.systemManualTextExport();
|
||||
|
||||
ro.put("result", result);
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* 制度手册正文导出
|
||||
*
|
||||
* @param me
|
||||
* @param teamId
|
||||
* @param wsid
|
||||
* @return
|
||||
*/
|
||||
@Mapping("com.awspaas.user.apps.coe.pal.output.zd_systemManualTextExportoOnce")
|
||||
public String systemManualTextExportoOnce(UserContext me, String targetFileId) {
|
||||
ResponseObject ro = null;
|
||||
ro = ResponseObject.newOkResponse();
|
||||
InstitutionalTextWeb institutionalTextWeb = new InstitutionalTextWeb(me);
|
||||
String result = institutionalTextWeb.systemManualTextExportoOnce(targetFileId);
|
||||
ro.put("result", result);
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
|
||||
@ -165,7 +165,7 @@ public class Report1Gener {
|
||||
}
|
||||
JSONObject dataMap = getData2(repositoryId, wizardJsonData, docPath, fileName);
|
||||
if (dataMap != null) {
|
||||
OutputWordUtil.createDoc2(dataMap, tempPath, tempName, docName);
|
||||
OutputWordUtil.createZdDoc2(dataMap, tempPath, tempName, docName, wizardJsonData, repositoryId, docPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
com.awspaas.user.apps.coe.pal.output.zd/制度-手册7.doc
Normal file
BIN
com.awspaas.user.apps.coe.pal.output.zd/制度-手册7.doc
Normal file
Binary file not shown.
3345
com.awspaas.user.apps.coe.pal.output.zd/制度-手册7.xml
Normal file
3345
com.awspaas.user.apps.coe.pal.output.zd/制度-手册7.xml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user