zqy 1 månad sedan
förälder
incheckning
f3b30de63e

+ 1 - 1
path/20260304/SQL脚本/e签宝/CreateTable.sql

@@ -1,6 +1,6 @@
 Create Table CT_ESI_AttachmentSPC ( FName_l1 NVARCHAR(255),FName_l2 NVARCHAR(255),FName_l3 NVARCHAR(255),FNumber NVARCHAR(80),FDescription_l1 NVARCHAR(255),FDescription_l2 NVARCHAR(255),FDescription_l3 NVARCHAR(255),FSimpleName NVARCHAR(80),FID VARCHAR(44) DEFAULT '' NOT NULL ,FCreatorID VARCHAR(44),FCreateTime DateTime,FLastUpdateUserID VARCHAR(44),FLastUpdateTime DateTime,FControlUnitID VARCHAR(44) DEFAULT '11111111-1111-1111-1111-111111111111CCE7AED4',CFFirstCategory NVARCHAR(100),CFSecondCategory NVARCHAR(100),CFComponentId NVARCHAR(100),CFState INT,CONSTRAINT CPK_ESI_AtxmntSoov PRIMARY KEY (FID));
 
-Create Table CT_ESI_ESGSO ( FCreatorID VARCHAR(44),FCreateTime DateTime,FLastUpdateUserID VARCHAR(44),FLastUpdateTime DateTime,FControlUnitID VARCHAR(44),FNumber NVARCHAR(80),FBizDate DateTime,FHandlerID VARCHAR(44),FDescription NVARCHAR(80),FHasEffected INT,FAuditorID VARCHAR(44),FSourceBillID NVARCHAR(80),FSourceFunction NVARCHAR(80),FID VARCHAR(44) DEFAULT '' NOT NULL ,FFivouchered INT,CFPersonID VARCHAR(44),CFOperatorID VARCHAR(44),CFSendStatus INT,CFEsignStatus INT,CFApiNumber NVARCHAR(200),CFErrorMsg NCLOB(4000),CFRequestParams NCLOB(4000),CFSignFlowId NVARCHAR(200),CFFileName NVARCHAR(500),CFEfileId NVARCHAR(200),CFEsignName VARCHAR(100),CFFiesign INT,CFNowOperator NVARCHAR(500),CONSTRAINT CPK_ESI_ESGSOIDiee PRIMARY KEY (FID));
+Create Table CT_ESI_ESGSO ( FCreatorID VARCHAR(44),FCreateTime DateTime,FLastUpdateUserID VARCHAR(44),FLastUpdateTime DateTime,FControlUnitID VARCHAR(44),FNumber NVARCHAR(80),FBizDate DateTime,FHandlerID VARCHAR(44),FDescription NVARCHAR(580),FHasEffected INT,FAuditorID VARCHAR(44),FSourceBillID NVARCHAR(80),FSourceFunction NVARCHAR(80),FID VARCHAR(44) DEFAULT '' NOT NULL ,FFivouchered INT,CFPersonID VARCHAR(44),CFOperatorID VARCHAR(44),CFSendStatus INT,CFEsignStatus INT,CFApiNumber NVARCHAR(200),CFErrorMsg NCLOB(4000),CFRequestParams NCLOB(4000),CFSignFlowId NVARCHAR(200),CFFileName NVARCHAR(500),CFEfileId NVARCHAR(200),CFEsignName VARCHAR(100),CFFiesign INT,CFNowOperator NVARCHAR(500),CONSTRAINT CPK_ESI_ESGSOIDiee PRIMARY KEY (FID));
 
 Create Table CT_ESI_ESignTemplate ( FName_l1 NVARCHAR(255),FName_l2 NVARCHAR(255),FName_l3 NVARCHAR(255),FNumber NVARCHAR(80),FDescription_l1 NVARCHAR(255),FDescription_l2 NVARCHAR(255),FDescription_l3 NVARCHAR(255),FSimpleName NVARCHAR(80),FID VARCHAR(44) DEFAULT '' NOT NULL ,FCreatorID VARCHAR(44),FCreateTime DateTime,FLastUpdateUserID VARCHAR(44),FLastUpdateTime DateTime,FControlUnitID VARCHAR(44) DEFAULT '11111111-1111-1111-1111-111111111111CCE7AED4',CFState INT,CFUipkID VARCHAR(44),CFESignTemplateNum NVARCHAR(100),CFPositionX NUMERIC(28,10),CONSTRAINT CPK_ESI_ESTIDi308p PRIMARY KEY (FID));
 

+ 90 - 0
path/20260304/deploy/apusic/eas.ear/META-INF/application.xml_bak

@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+<application>
+  <display-name>eas.ear</display-name>
+  <description>eas.ear</description>
+  <module>
+    <ejb>ejb_tx.jar</ejb>
+  </module>
+  <module>
+    <ejb>bs_mdb.jar</ejb>
+  </module>
+  <module>
+    <web>
+      <web-uri>eas.war</web-uri>
+      <context-root>/eas</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>cp_web.war</web-uri>
+      <context-root>/easportal</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>cp_updater.war</web-uri>
+      <context-root>/easupdater</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>sso_web.war</web-uri>
+      <context-root>/eassso</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>web.war</web-uri>
+      <context-root>/ormrpc</context-root>
+    </web>
+  </module>
+  <module id="WebModule_1131498701269">
+    <web>
+      <web-uri>redirect.war</web-uri>
+      <context-root>/redirect2easportal</context-root>
+    </web>
+  </module>
+  <module id="lightapp_20140716">
+    <web>
+      <web-uri>light_app_bas.war</web-uri>
+      <context-root>/lightapp</context-root>
+    </web>
+  </module>
+  <module id="mobileserver-ext.war_20141020">
+    <web>
+      <web-uri>lightapp/mobileserver-ext.war</web-uri>
+      <context-root>/mobile/lightapp/extRpt</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>workflow.war</web-uri>
+      <context-root>/workflow</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>mbos_eas.war</web-uri>
+      <context-root>/mbos</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>cslrpt.war</web-uri>
+      <context-root>/cslrpt</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>callback_web.war</web-uri>
+      <context-root>/callback</context-root>
+    </web>
+  </module>
+  <module id="lightcp_20150401">
+    <web>
+      <web-uri>light_cp.war</web-uri>
+      <context-root>/light_cp</context-root>
+    </web>
+  </module>
+</application>

+ 92 - 0
path/20260304/deploy/eas.ear/META-INF/application.xml_bak

@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+
+<application>
+  <display-name>eas.ear</display-name>
+  <description>eas.ear</description>
+  <module>
+    <ejb>ejb_tx.jar</ejb>
+  </module>
+  <module>
+    <ejb>bs_mdb.jar</ejb>
+  </module>
+  <module>
+    <web>
+      <web-uri>eas.war</web-uri>
+      <context-root>/eas</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>cp_web.war</web-uri>
+      <context-root>/easportal</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>cp_updater.war</web-uri>
+      <context-root>/easupdater</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>sso_web.war</web-uri>
+      <context-root>/eassso</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>web.war</web-uri>
+      <context-root>/ormrpc</context-root>
+    </web>
+  </module>
+  <module id="WebModule_1131498701269">
+    <web>
+      <web-uri>redirect.war</web-uri>
+      <context-root>/redirect2easportal</context-root>
+    </web>
+  </module>
+  <module id="lightapp_20140716">
+    <web>
+      <web-uri>light_app_bas.war</web-uri>
+      <context-root>/lightapp</context-root>
+    </web>
+  </module>
+  <module id="mobileserver-ext.war_20141020">
+    <web>
+      <web-uri>lightapp/mobileserver-ext.war</web-uri>
+      <context-root>/mobile/lightapp/extRpt</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>workflow.war</web-uri>
+      <context-root>/workflow</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>mbos_eas.war</web-uri>
+      <context-root>/mbos</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>cslrpt.war</web-uri>
+      <context-root>/cslrpt</context-root>
+    </web>
+  </module>
+  <module>
+    <web>
+      <web-uri>callback_web.war</web-uri>
+      <context-root>/callback</context-root>
+    </web>
+  </module>
+  <module id="lightcp_20150401">
+    <web>
+      <web-uri>light_cp.war</web-uri>
+      <context-root>/light_cp</context-root>
+    </web>
+  </module>
+</application>
+

+ 22 - 0
path/20260304/deploy/eas.ear/callback_web.war/404.jsp

@@ -0,0 +1,22 @@
+<%@ page contentType="text/html;charset=UTF-8" %>
+<%@ page import="com.kingdee.eas.cp.common.web.util.AntiXssUtil"%>
+
+<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
+<html>
+<head>
+<title>EAS Portal -Error report</title>
+</head>
+<body>
+	<table>
+		<tr bgcolor=#C0C0C0><td width=1000><font color=white size="5"><b>Http Status 404 </b></font></td></tr>
+	</table>
+<h3><bean:message bundle="portal" key="error404.title"/></h3>
+<p><bean:message bundle="portal" key="error404.detail"/><%=AntiXssUtil.cleanXSS((String)request.getAttribute("javax.servlet.error.request_uri"))%>
+<hr>
+<p></p>
+<table>
+		<tr bgcolor=#C0C0C0><td width=1000><font color=white size="4"><ADDRESS>EAS Portal</ADDRESS></font></td></tr>
+	</table>
+</body>
+</html>
+

+ 3 - 0
path/20260304/deploy/eas.ear/callback_web.war/META-INF/MANIFEST.MF

@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Created-By: 1.4.2_03 (Sun Microsystems Inc.)
+

+ 20 - 0
path/20260304/deploy/eas.ear/callback_web.war/WEB-INF/web.xml

@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
+	<display-name>CallBack Portal</display-name>
+	<servlet>
+		<servlet-name>CallBackToOSF</servlet-name>
+		<servlet-class>com.kingdee.eas.custom.esign.callback.CallBackToOSFServlet</servlet-class>
+	</servlet>
+	<servlet-mapping>
+		<servlet-name>CallBackToOSF</servlet-name>
+		<url-pattern>/</url-pattern>
+	</servlet-mapping>
+	<welcome-file-list>
+		<welcome-file>index.jsp</welcome-file>
+	</welcome-file-list>
+	 <error-page>
+			   <error-code>404</error-code>
+			   <location>/404.jsp</location>
+	 </error-page>
+	
+</web-app>

BIN
path/20260304/deploy/eas.ear/callback_web.war/favicon.ico


+ 47 - 0
path/20260304/deploy/eas.ear/callback_web.war/index.jsp

@@ -0,0 +1,47 @@
+<%@ page contentType="text/html;charset=UTF-8" %>
+<%@ page import="org.apache.struts.Globals"%>
+<%@ page import="com.kingdee.util.StringUtils"%>
+<%@ page import="com.kingdee.eas.base.uiframe.UserDomainBean"%>
+<%@ page import="com.kingdee.eas.cp.common.web.util.WebContextUtil"%>
+<%
+	String easIsSSOClient = System.getProperty("sso.easIsSSOClient");
+	//added by lyan_zhang 20100906 direct by tangguowei
+	request.getSession().setAttribute("FromLoginPortal","true");
+
+	String redirectTo = "";
+	String dcNumber_cloud = request.getParameter("dcNumber_cloud");
+	String dcName_cloud = request.getParameter("dcName_cloud");
+ 	if(easIsSSOClient != null && easIsSSOClient.toLowerCase().equals("true"))
+	{
+		if(request.getParameter("ssoLogoutTo")!=null){
+			redirectTo ="logoutSso.jsp";// "ssoWelcome?redirectTo=/success.jsp";
+		}else{
+			redirectTo = "ssoWelcome?redirectTo=/index_sso.jsp";
+		}
+		if(dcNumber_cloud !=null && dcNumber_cloud.length() > 0 && dcName_cloud !=null && dcName_cloud.length() > 0){
+			if(redirectTo.indexOf("?")>=0){
+				redirectTo += "&dcNumber_cloud=" + dcNumber_cloud + "&dcName_cloud=" + dcName_cloud ;
+			}else{
+				redirectTo += "?dcNumber_cloud=" + dcNumber_cloud + "&dcName_cloud=" + dcName_cloud ;
+			}
+		}		
+		System.out.print("index.jsp dcName_cloud="+redirectTo);		
+		
+		response.sendRedirect(redirectTo);
+	}
+	else
+	{
+		redirectTo = "/index_nosso.jsp";
+		UserDomainBean userdomain = new UserDomainBean();
+		String domain = userdomain.getUserDomain() ;
+		if(!StringUtils.isEmpty(domain) && domain.equals("portaltogui"))
+		{
+			redirectTo = "/index_gui.jsp";
+		}
+		
+		%>
+			<jsp:forward page="<%=redirectTo%>"/>
+		<%
+	}
+%>
+

+ 67 - 0
path/20260304/properties/esign/esignConfig.properties

@@ -0,0 +1,67 @@
+shrAddr=http://172.16.105.193:8080/shr
+notifyUrl=http://hr.tenda.cn:8080/callback/callBackToOSF
+#应用ID
+EsignAppId=5112021098
+#应用密钥
+EsignAppSecret=1fda606ba0bd44f4045da32b2a8a4082
+#e签宝接口调用域名
+#e签宝接口调用域名(模拟环境)
+#https://smlopenapi.esign.cn
+#e签宝接口调用域名(正式环境)
+#https://openapi.esign.cn
+EsignHost=https://openapi.esign.cn
+#查询合同模板中控件详情
+docTemplatesDetailById=/v3/doc-templates/{0}
+#填写模板生成文件
+createByDocTemplate=/v3/files/create-by-doc-template
+#查询机构认证信息
+organizations.identity-info=/v3/organizations/identity-info
+#查询个人认证信息
+persons.identity-info=/v3/persons/identity-info
+#添加签署区信息
+add.sign_fields=/v3/sign-flow/{0}/signers/sign-fields
+#查询签署流程详情
+detail.sign_fields=/v3/sign-flow/{0}/detail
+#删除签署区
+del.sign_fields=/v3/sign-flow/{0}/signers/sign-fields
+#添加抄送方
+add.copiers=/v3/sign-flow/{0}/copiers
+#删除抄送方
+del.copiers=/v3/sign-flow/{signFlowId}/copiers/delete
+#基于文件发起签署
+create_by_file=/v3/sign-flow/create-by-file
+#开启签署流程
+start_by_file=/v3/sign-flow/{0}/start
+#开启签署流程
+revoke_by_file=/v3/sign-flow/{0}/revoke
+#催签流程中签署人
+urge_by_file=/v3/sign-flow/{0}/urge
+#下载已签署文件及附属材料
+file_download_url=/v3/sign-flow/{0}/file-download-url
+#下载已签署文件及附属材料
+preview_file_download_url=/v3/sign-flow/{0}/preview-file-download-url
+#查询企业内部印章
+org_own_seal_list=/v3/seals/org-own-seal-list?orgId={0}&pageNum={1}&pageSize={2}
+#查询被外部企业授权印章
+org_authorized_seal_list=/v3/seals/org-authorized-seal-list?orgId={0}&pageNum={1}&pageSize={2}
+#查询被外部企业授权印章
+#orgId=b7cef1b902dd42568baaf5865ac09536
+orgName=深圳市吉祥腾达科技有限公司
+#查询文件上传状态
+getFilesState=/v3/files/{0}
+#检索文件关键字坐标
+keyword_positions=/v3/files/{0}/keyword-positions
+
+#获取拖章定位页面
+get_seal_position_url=/v3/files/get-seal-position-url
+
+#查询签署流程列表
+sign_flow_list=/v3/organizations/sign-flow-list
+#通过流程模板创建合同拟定和签署流程
+createBySignTemplate=/v3/sign-flow/create-by-sign-template
+#查询流程模板详情
+sign_templates_detail=/v3/sign-templates/detail
+#撤销合同拟定
+sign_flow_rescind=/v3/sign-flow/{0}/rescind
+#催填流程中填写人
+urge_filling=/v3/sign-flow/{0}/urge-filling

BIN
path/20260304/前端配置/osf/OSF_Export (1).zip