Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-support-rlwx
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rl
hls-support-rlwx
Commits
cb89ef30
Commit
cb89ef30
authored
May 08, 2020
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正式环境参数修改
parent
9c5dec73
Pipeline
#6002
canceled with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
63 additions
and
63 deletions
+63
-63
SignInfoHclcServiceImpl.java
...d/app/esignHclc/service/impl/SignInfoHclcServiceImpl.java
+47
-47
config.properties
core/src/main/resources/config.properties
+4
-4
config.properties
core/src/main/resources/profiles/dev/config.properties
+4
-4
config.properties
core/src/main/resources/profiles/sit/config.properties
+4
-4
config.properties
core/src/main/resources/profiles/uat/config.properties
+4
-4
No files found.
core/src/main/java/com/hand/app/esignHclc/service/impl/SignInfoHclcServiceImpl.java
View file @
cb89ef30
...
@@ -1130,8 +1130,8 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
...
@@ -1130,8 +1130,8 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
if
(
"HCLC"
.
equalsIgnoreCase
(
role
))
{
if
(
"HCLC"
.
equalsIgnoreCase
(
role
))
{
json1
.
put
(
"accountId"
,
"
0d83cfe0-4d86-11ea-b71a-b8599f3574b6
"
);
json1
.
put
(
"accountId"
,
"
ab0cb1dc-8924-11ea-b71a-ec0d9ad45bf8
"
);
json1
.
put
(
"authorizationOrganizeId"
,
"
f858b8e9-5c3a-11ea-8486-506b4bfdce3c
"
);
json1
.
put
(
"authorizationOrganizeId"
,
"
cab73322-8924-11ea-b71a-ec0d9ad45bf8
"
);
}
else
{
}
else
{
SignUserInfoHclc
signInfoHclc
=
new
SignUserInfoHclc
();
SignUserInfoHclc
signInfoHclc
=
new
SignUserInfoHclc
();
...
@@ -1169,48 +1169,48 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
...
@@ -1169,48 +1169,48 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
// }
// }
}
}
//判断文字签字印章自定义模板是否存在
//
//判断文字签字印章自定义模板是否存在
if
(
Objects
.
nonNull
(
signInfoHclc
.
getSealId
())
&&
!
"-1"
.
equalsIgnoreCase
(
signInfoHclc
.
getSealId
()))
{
//
if (Objects.nonNull(signInfoHclc.getSealId()) && !"-1".equalsIgnoreCase(signInfoHclc.getSealId())) {
//获取签署文档信息
//
//获取签署文档信息
JSONArray
signDocDetails
=
json1
.
getJSONArray
(
"signDocDetails"
);
//
JSONArray signDocDetails = json1.getJSONArray("signDocDetails");
JSONArray
signDocDetailsNew
=
new
JSONArray
();
//
JSONArray signDocDetailsNew = new JSONArray();
//解析签署文档信息
//
//解析签署文档信息
for
(
int
j
=
0
;
j
<
signDocDetails
.
size
();
j
++)
{
//
for (int j = 0; j < signDocDetails.size(); j++) {
JSONObject
detail
=
signDocDetails
.
getJSONObject
(
j
);
//
JSONObject detail = signDocDetails.getJSONObject(j);
//
//获取签署位置信息
//
//获取签署位置信息
JSONArray
signPos
=
detail
.
getJSONArray
(
"signPos"
);
//
JSONArray signPos = detail.getJSONArray("signPos");
JSONArray
signPosNew
=
new
JSONArray
();
//
JSONArray signPosNew = new JSONArray();
//
for
(
int
k
=
0
;
k
<
signPos
.
size
();
k
++)
{
//
for (int k = 0; k < signPos.size(); k++) {
JSONObject
pos
=
signPos
.
getJSONObject
(
k
);
//
JSONObject pos = signPos.getJSONObject(k);
//
//个人签字统一更换签字模板
//
//个人签字统一更换签字模板
if
(
signInfoHclc
.
getCtitype
().
compareTo
(
1L
)
==
0
)
{
//
if (signInfoHclc.getCtitype().compareTo(1L) == 0) {
pos
.
remove
(
"sealId"
);
//
pos.remove("sealId");
pos
.
put
(
"sealId"
,
signInfoHclc
.
getSealId
());
//
pos.put("sealId", signInfoHclc.getSealId());
}
else
{
//
} else {
//企业签字判断是否存在PERSON签字,更换签字模板
//
//企业签字判断是否存在PERSON签字,更换签字模板
String
signIdentity
=
pos
.
getString
(
"signIdentity"
);
//
String signIdentity = pos.getString("signIdentity");
if
(
"PERSON"
.
equalsIgnoreCase
(
signIdentity
))
{
//
if ("PERSON".equalsIgnoreCase(signIdentity)) {
pos
.
remove
(
"sealId"
);
//
pos.remove("sealId");
pos
.
put
(
"sealId"
,
signInfoHclc
.
getSealId
());
//
pos.put("sealId", signInfoHclc.getSealId());
}
//
}
}
//
}
//
signPosNew
.
add
(
pos
);
//
signPosNew.add(pos);
}
//
}
//
detail
.
remove
(
"signPos"
);
//
detail.remove("signPos");
detail
.
put
(
"signPos"
,
signPosNew
);
//
detail.put("signPos", signPosNew);
//
signDocDetailsNew
.
add
(
detail
);
//
signDocDetailsNew.add(detail);
}
//
}
//
json1
.
remove
(
"signDocDetails"
);
//
json1.remove("signDocDetails");
json1
.
put
(
"signDocDetails"
,
signDocDetailsNew
);
//
json1.put("signDocDetails", signDocDetailsNew);
//
}
//
}
}
}
...
@@ -1236,7 +1236,7 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
...
@@ -1236,7 +1236,7 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
// //抄送人信息集合签署成功后通知抄送人
// //抄送人信息集合签署成功后通知抄送人
// result.put("copyViewers", params.get("copyViewers"));
// result.put("copyViewers", params.get("copyViewers"));
//发起人用户id,默认hclc发起
//发起人用户id,默认hclc发起
result
.
put
(
"initiatorAccountId"
,
"
f858b8e9-5c3a-11ea-8486-506b4bfdce3c
"
);
result
.
put
(
"initiatorAccountId"
,
"
cab73322-8924-11ea-b71a-ec0d9ad45bf8
"
);
//签署完成重定向地址
//签署完成重定向地址
result
.
put
(
"redirectUrl"
,
signRedirectUrl
);
result
.
put
(
"redirectUrl"
,
signRedirectUrl
);
//流程文档信息集合
//流程文档信息集合
...
@@ -1298,7 +1298,7 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
...
@@ -1298,7 +1298,7 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
JSONObject
signUrl
=
signUrls
.
getJSONObject
(
i
);
JSONObject
signUrl
=
signUrls
.
getJSONObject
(
i
);
//建机自己
//建机自己
if
(
"
0d83cfe0-4d86-11ea-b71a-b8599f3574b6
"
.
equalsIgnoreCase
(
signUrl
.
getString
(
"accountId"
)))
{
if
(
"
ab0cb1dc-8924-11ea-b71a-ec0d9ad45bf8
"
.
equalsIgnoreCase
(
signUrl
.
getString
(
"accountId"
)))
{
signUrl
.
put
(
"name"
,
"日立建机"
);
signUrl
.
put
(
"name"
,
"日立建机"
);
}
else
{
}
else
{
//根据uniqueId获取用户信息
//根据uniqueId获取用户信息
...
@@ -1365,7 +1365,7 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
...
@@ -1365,7 +1365,7 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
signUserInfoHclc
.
setAccountId
(
accountInfo
.
getString
(
"authOrgId"
));
signUserInfoHclc
.
setAccountId
(
accountInfo
.
getString
(
"authOrgId"
));
}
}
JSONObject
accountInfoNew
=
new
JSONObject
();
JSONObject
accountInfoNew
=
new
JSONObject
();
if
(
"
f858b8e9-5c3a-11ea-8486-506b4bfdce3c
"
.
equalsIgnoreCase
(
signUserInfoHclc
.
getAccountId
()))
{
if
(
"
cab73322-8924-11ea-b71a-ec0d9ad45bf8
"
.
equalsIgnoreCase
(
signUserInfoHclc
.
getAccountId
()))
{
accountInfoNew
.
put
(
"ctino"
,
""
);
accountInfoNew
.
put
(
"ctino"
,
""
);
accountInfoNew
.
put
(
"name"
,
"日立建机"
);
accountInfoNew
.
put
(
"name"
,
"日立建机"
);
}
else
{
}
else
{
...
...
core/src/main/resources/config.properties
View file @
cb89ef30
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
#用户认证密码
#用户认证密码
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
#认证结果通知地址
#认证结果通知地址
tsign.api.notifyUrl
=
http://
101.133.225.167
/core/api/public/listen/auth/result
tsign.api.notifyUrl
=
http://
lease.hitachics.com
/core/api/public/listen/auth/result
#签署结果通知地址
#签署结果通知地址
tsign.api.listenSignUrl
=
http://
101.133.225.167
/core/api/public/listen/sign/flow
tsign.api.listenSignUrl
=
http://
lease.hitachics.com
/core/api/public/listen/sign/flow
#签署完成跳转地址
#签署完成跳转地址
tsign.api.signRedirectUrl
=
http://
sign
.hitachics.com/www/#/ElectronicContract
tsign.api.signRedirectUrl
=
http://
lease
.hitachics.com/www/#/ElectronicContract
#微信公众号apiKey
#微信公众号apiKey
wx.apiKey
=
handexinxi
wx.apiKey
=
handexinxi
#微信公众号接口地址
#微信公众号接口地址
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
#微信服务器图片保存中台路径
#微信服务器图片保存中台路径
wx.image.path
=
D:
\\
app
_dev
\\
apache-tomcat-app
\\
app_file
wx.image.path
=
D:
\\
app
\\
apache-tomcat-app
\\
app_file
...
...
core/src/main/resources/profiles/dev/config.properties
View file @
cb89ef30
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
#用户认证密码
#用户认证密码
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
#认证结果通知地址
#认证结果通知地址
tsign.api.notifyUrl
=
http://
101.133.225.167
/core/api/public/listen/auth/result
tsign.api.notifyUrl
=
http://
lease.hitachics.com
/core/api/public/listen/auth/result
#签署结果通知地址
#签署结果通知地址
tsign.api.listenSignUrl
=
http://
101.133.225.167
/core/api/public/listen/sign/flow
tsign.api.listenSignUrl
=
http://
lease.hitachics.com
/core/api/public/listen/sign/flow
#签署完成跳转地址
#签署完成跳转地址
tsign.api.signRedirectUrl
=
http://
sign
.hitachics.com/www/#/ElectronicContract
tsign.api.signRedirectUrl
=
http://
lease
.hitachics.com/www/#/ElectronicContract
#微信公众号apiKey
#微信公众号apiKey
wx.apiKey
=
handexinxi
wx.apiKey
=
handexinxi
#微信公众号接口地址
#微信公众号接口地址
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
#微信服务器图片保存中台路径
#微信服务器图片保存中台路径
wx.image.path
=
D:
\\
app
_dev
\\
apache-tomcat-app
\\
app_file
wx.image.path
=
D:
\\
app
\\
apache-tomcat-app
\\
app_file
...
...
core/src/main/resources/profiles/sit/config.properties
View file @
cb89ef30
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
#用户认证密码
#用户认证密码
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
#认证结果通知地址
#认证结果通知地址
tsign.api.notifyUrl
=
http://
101.133.225.167
/core/api/public/listen/auth/result
tsign.api.notifyUrl
=
http://
lease.hitachics.com
/core/api/public/listen/auth/result
#签署结果通知地址
#签署结果通知地址
tsign.api.listenSignUrl
=
http://
101.133.225.167
/core/api/public/listen/sign/flow
tsign.api.listenSignUrl
=
http://
lease.hitachics.com
/core/api/public/listen/sign/flow
#签署完成跳转地址
#签署完成跳转地址
tsign.api.signRedirectUrl
=
http://
sign
.hitachics.com/www/#/ElectronicContract
tsign.api.signRedirectUrl
=
http://
lease
.hitachics.com/www/#/ElectronicContract
#微信公众号apiKey
#微信公众号apiKey
wx.apiKey
=
handexinxi
wx.apiKey
=
handexinxi
#微信公众号接口地址
#微信公众号接口地址
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
#微信服务器图片保存中台路径
#微信服务器图片保存中台路径
wx.image.path
=
D:
\\
app
_dev
\\
apache-tomcat-app
\\
app_file
wx.image.path
=
D:
\\
app
\\
apache-tomcat-app
\\
app_file
...
...
core/src/main/resources/profiles/uat/config.properties
View file @
cb89ef30
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
...
@@ -121,17 +121,17 @@ tsign.face.api.appId=5111596700
#用户认证密码
#用户认证密码
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
tsign.face.api.secret
=
f112f3acd3ed05263ba4a3fad6e901c
#认证结果通知地址
#认证结果通知地址
tsign.api.notifyUrl
=
http://
101.133.225.167
/core/api/public/listen/auth/result
tsign.api.notifyUrl
=
http://
lease.hitachics.com
/core/api/public/listen/auth/result
#签署结果通知地址
#签署结果通知地址
tsign.api.listenSignUrl
=
http://
101.133.225.167
/core/api/public/listen/sign/flow
tsign.api.listenSignUrl
=
http://
lease.hitachics.com
/core/api/public/listen/sign/flow
#签署完成跳转地址
#签署完成跳转地址
tsign.api.signRedirectUrl
=
http://
sign
.hitachics.com/www/#/ElectronicContract
tsign.api.signRedirectUrl
=
http://
lease
.hitachics.com/www/#/ElectronicContract
#微信公众号apiKey
#微信公众号apiKey
wx.apiKey
=
handexinxi
wx.apiKey
=
handexinxi
#微信公众号接口地址
#微信公众号接口地址
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
wx.apiHttpUrl
=
https://wxgzh.hitachics.com/hcs-public-server/internal/third/
#微信服务器图片保存中台路径
#微信服务器图片保存中台路径
wx.image.path
=
D:
\\
app
_dev
\\
apache-tomcat-app
\\
app_file
wx.image.path
=
D:
\\
app
\\
apache-tomcat-app
\\
app_file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment