Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
48024304
Commit
48024304
authored
May 19, 2020
by
邓实川
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业中心接口,电子合同优化
parent
671bf85b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
5 deletions
+25
-5
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
+18
-2
src/main/java/cn/timer/api/controller/qyzx/QyzxBusinessController.java
+5
-3
src/main/resources/application-dev.yml
+2
-0
No files found.
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
View file @
48024304
...
@@ -9,6 +9,7 @@ import java.util.List;
...
@@ -9,6 +9,7 @@ import java.util.List;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.UUID
;
import
java.util.UUID
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.StringUtils
;
import
org.springframework.util.StringUtils
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
...
@@ -73,6 +74,12 @@ import io.swagger.annotations.ApiOperation;
...
@@ -73,6 +74,12 @@ import io.swagger.annotations.ApiOperation;
@RequestMapping
(
value
=
"/dzhtApi"
,
produces
=
{
"application/json"
})
@RequestMapping
(
value
=
"/dzhtApi"
,
produces
=
{
"application/json"
})
public
class
DzhtController2
{
public
class
DzhtController2
{
@Value
(
"${config-8timer.esign.callbackUrl}"
)
public
String
callbackUrl
;
// 回调地址
@Value
(
"${config-8timer.esign.redirectUrl}"
)
public
String
redirectUrl
;
// 重定向地址
private
String
getID
(
Integer
empNum
)
{
private
String
getID
(
Integer
empNum
)
{
QueryWrapper
<
DzhtAssoGrzc
>
queryWrapper
=
new
QueryWrapper
<
DzhtAssoGrzc
>();
QueryWrapper
<
DzhtAssoGrzc
>
queryWrapper
=
new
QueryWrapper
<
DzhtAssoGrzc
>();
queryWrapper
.
eq
(
"emp_num"
,
empNum
);
queryWrapper
.
eq
(
"emp_num"
,
empNum
);
...
@@ -434,9 +441,18 @@ public class DzhtController2 {
...
@@ -434,9 +441,18 @@ public class DzhtController2 {
// SignFlowStart sfs = new SignFlowStart(null, "测试签署流程开启", null, null, null,
// SignFlowStart sfs = new SignFlowStart(null, "测试签署流程开启", null, null, null,
// null, null, cfgInfo);
// null, null, cfgInfo);
String
a
=
lc
.
getNoticeDeveloperUrl
();
String
a
=
null
;
if
(
callbackUrl
!=
null
)
{
a
=
callbackUrl
;
}
// lc.getNoticeDeveloperUrl(); // 回调地址
String
c
=
null
;
if
(
redirectUrl
!=
null
)
{
c
=
redirectUrl
;
}
// lc.getRedirectUrl(); // 签署完成回调地址
String
b
=
lc
.
getNoticeType
();
String
b
=
lc
.
getNoticeType
();
String
c
=
lc
.
getRedirectUrl
();
String
d
=
lc
.
getSignPlatform
();
String
d
=
lc
.
getSignPlatform
();
ConfigInfo
cfgInfo
=
new
ConfigInfo
(
a
,
b
,
c
,
d
);
ConfigInfo
cfgInfo
=
new
ConfigInfo
(
a
,
b
,
c
,
d
);
...
...
src/main/java/cn/timer/api/controller/qyzx/QyzxBusinessController.java
View file @
48024304
...
@@ -305,9 +305,11 @@ public class QyzxBusinessController {
...
@@ -305,9 +305,11 @@ public class QyzxBusinessController {
@GetMapping
(
value
=
"/queryContractUseRecord"
)
@GetMapping
(
value
=
"/queryContractUseRecord"
)
@ApiOperation
(
value
=
"查询电子合同套餐使用记录"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"查询电子合同套餐使用记录"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
queryContractUseRecord
(
@CurrentUser
UserBean
userBean
)
{
public
Result
<
Object
>
queryContractUseRecord
(
@CurrentUser
UserBean
userBean
,
String
orderNo
)
{
// TODO
return
ResultUtil
.
data
(
QyzxUseRecord
.
builder
().
build
()
return
null
;
.
selectList
(
new
LambdaQueryWrapper
<
QyzxUseRecord
>().
eq
(
QyzxUseRecord:
:
getOrgCode
,
userBean
.
getOrgCode
())
.
eq
(
QyzxUseRecord:
:
getPmid
,
2
).
eq
(
orderNo
!=
null
,
QyzxUseRecord:
:
getOrderNo
,
orderNo
)),
"查询成功"
);
}
}
}
}
src/main/resources/application-dev.yml
View file @
48024304
...
@@ -167,6 +167,8 @@ config-8timer:
...
@@ -167,6 +167,8 @@ config-8timer:
expirationTime
:
3153600000000L
expirationTime
:
3153600000000L
expirationTime_pri
:
600000L
expirationTime_pri
:
600000L
esign
:
# e签宝
esign
:
# e签宝
callbackUrl
:
'
http://192.168.4.13/callback/esign/dev'
redirectUrl
:
'
http://test-8timer-pc.youlingrc.com/#/ElecCon/index'
# host: https://smlopenapi.esign.cn
# host: https://smlopenapi.esign.cn
# test: https://smlopenapi.esign.cn
# test: https://smlopenapi.esign.cn
# pro: https://openapi.esign.cn
# pro: https://openapi.esign.cn
...
...
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