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
a3215fb8
Commit
a3215fb8
authored
Mar 25, 2020
by
邓实川
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工列表优化,电子合同创建个人账户身份类型更新
parent
487bae9a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
21 deletions
+20
-21
src/main/java/cn/timer/api/config/interceptor/WebSecurityConfig.java
+0
-1
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
+20
-20
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+0
-0
No files found.
src/main/java/cn/timer/api/config/interceptor/WebSecurityConfig.java
View file @
a3215fb8
...
@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration;
...
@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.http.converter.HttpMessageConverter
;
import
org.springframework.http.converter.HttpMessageConverter
;
import
org.springframework.web.method.support.HandlerMethodArgumentResolver
;
import
org.springframework.web.method.support.HandlerMethodArgumentResolver
;
import
org.springframework.web.servlet.config.annotation.CorsRegistry
;
import
org.springframework.web.servlet.config.annotation.InterceptorRegistry
;
import
org.springframework.web.servlet.config.annotation.InterceptorRegistry
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
;
...
...
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
View file @
a3215fb8
...
@@ -210,10 +210,10 @@ public class DzhtController2 {
...
@@ -210,10 +210,10 @@ public class DzhtController2 {
// List<Integer> orgCodeList = Lists.transform(list, newList -> newList.getOrgCode());
// List<Integer> orgCodeList = Lists.transform(list, newList -> newList.getOrgCode());
List
<
String
>
orgIds
=
new
ArrayList
<
String
>();
List
<
String
>
orgIds
=
new
ArrayList
<
String
>();
// for (Integer orgCode : orgCodeList) {
// for (Integer orgCode : orgCodeList) {
DzhtAssoQyzc
qyzc
=
DzhtAssoQyzc
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
DzhtAssoQyzc
>().
lambda
()
DzhtAssoQyzc
qyzc
=
DzhtAssoQyzc
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
DzhtAssoQyzc
>().
lambda
()
.
eq
(
DzhtAssoQyzc:
:
getOrgCode
,
userBean
.
getOrgCode
()).
select
(
DzhtAssoQyzc:
:
getOrgId
));
.
eq
(
DzhtAssoQyzc:
:
getOrgCode
,
userBean
.
getOrgCode
()).
select
(
DzhtAssoQyzc:
:
getOrgId
));
if
(
qyzc
!=
null
)
if
(
qyzc
!=
null
)
orgIds
.
add
(
qyzc
.
getOrgId
());
orgIds
.
add
(
qyzc
.
getOrgId
());
// }
// }
JSONObject
j
=
null
;
JSONObject
j
=
null
;
List
<
JSONObject
>
result
=
new
ArrayList
<
JSONObject
>();
List
<
JSONObject
>
result
=
new
ArrayList
<
JSONObject
>();
...
@@ -276,7 +276,7 @@ public class DzhtController2 {
...
@@ -276,7 +276,7 @@ public class DzhtController2 {
@GetMapping
(
"/qryOrgSeal"
)
@GetMapping
(
"/qryOrgSeal"
)
@ApiOperation
(
value
=
"查询机构模板印章"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"查询机构模板印章"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
qryOrgSeal
(
@CurrentUser
UserBean
userBean
,
@RequestParam
Integer
offset
,
public
Result
<
Object
>
qryOrgSeal
(
@CurrentUser
UserBean
userBean
,
@RequestParam
Integer
offset
,
@RequestParam
Integer
size
)
{
@RequestParam
Integer
size
)
{
JSONObject
a
=
null
;
JSONObject
a
=
null
;
try
{
try
{
TokenHelper
.
getTokenData
();
// 获取鉴权
TokenHelper
.
getTokenData
();
// 获取鉴权
...
@@ -298,7 +298,7 @@ public class DzhtController2 {
...
@@ -298,7 +298,7 @@ public class DzhtController2 {
@PostMapping
(
"/addComponents/{templateId}"
)
@PostMapping
(
"/addComponents/{templateId}"
)
@ApiOperation
(
value
=
"添加输入项组件"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"添加输入项组件"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
addComponents
(
@PathVariable
String
templateId
,
public
Result
<
Object
>
addComponents
(
@PathVariable
String
templateId
,
@RequestBody
List
<
StructComponent
>
structComponents
)
{
@RequestBody
List
<
StructComponent
>
structComponents
)
{
List
<
String
>
l
=
new
ArrayList
<
String
>();
List
<
String
>
l
=
new
ArrayList
<
String
>();
for
(
StructComponent
structComponent
:
structComponents
)
{
for
(
StructComponent
structComponent
:
structComponents
)
{
...
@@ -867,7 +867,7 @@ public class DzhtController2 {
...
@@ -867,7 +867,7 @@ public class DzhtController2 {
@GetMapping
(
"/qrySignArea"
)
@GetMapping
(
"/qrySignArea"
)
@ApiOperation
(
value
=
"查询签署区列表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"查询签署区列表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
qrySignArea
(
@RequestParam
String
flowId
,
@RequestParam
(
required
=
false
)
String
accountId
,
public
Result
<
Object
>
qrySignArea
(
@RequestParam
String
flowId
,
@RequestParam
(
required
=
false
)
String
accountId
,
@RequestParam
(
required
=
false
)
String
signfieldIds
)
{
@RequestParam
(
required
=
false
)
String
signfieldIds
)
{
JSONObject
json
=
null
;
JSONObject
json
=
null
;
try
{
try
{
TokenHelper
.
getTokenData
();
// 获取鉴权
TokenHelper
.
getTokenData
();
// 获取鉴权
...
@@ -932,7 +932,7 @@ public class DzhtController2 {
...
@@ -932,7 +932,7 @@ public class DzhtController2 {
@GetMapping
(
"/qrySignUrl"
)
@GetMapping
(
"/qrySignUrl"
)
@ApiOperation
(
value
=
"获取签署地址"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"获取签署地址"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
qrySignUrl
(
@CurrentUser
UserBean
userBean
,
@RequestParam
String
flowId
,
public
Result
<
Object
>
qrySignUrl
(
@CurrentUser
UserBean
userBean
,
@RequestParam
String
flowId
,
@RequestParam
(
required
=
false
)
String
organizeId
,
@RequestParam
(
required
=
false
)
String
urlType
)
{
@RequestParam
(
required
=
false
)
String
organizeId
,
@RequestParam
(
required
=
false
)
String
urlType
)
{
JSONObject
json
=
null
;
JSONObject
json
=
null
;
try
{
try
{
QueryWrapper
<
DzhtAssoGrzc
>
queryWrapper
=
new
QueryWrapper
<
DzhtAssoGrzc
>();
QueryWrapper
<
DzhtAssoGrzc
>
queryWrapper
=
new
QueryWrapper
<
DzhtAssoGrzc
>();
...
@@ -954,8 +954,8 @@ public class DzhtController2 {
...
@@ -954,8 +954,8 @@ public class DzhtController2 {
@PutMapping
(
"/rushsign"
)
@PutMapping
(
"/rushsign"
)
@ApiOperation
(
value
=
"流程签署人催签"
,
httpMethod
=
"PUT"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"流程签署人催签"
,
httpMethod
=
"PUT"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
rushsign
(
@CurrentUser
UserBean
userBean
,
@RequestParam
String
flowId
,
public
Result
<
Object
>
rushsign
(
@CurrentUser
UserBean
userBean
,
@RequestParam
String
flowId
,
@RequestParam
(
required
=
false
)
String
noticeTypes
,
@RequestParam
(
required
=
false
)
String
noticeTypes
,
@RequestParam
(
required
=
false
)
String
rushsignAccountId
)
{
@RequestParam
(
required
=
false
)
String
rushsignAccountId
)
{
try
{
try
{
TokenHelper
.
getTokenData
();
// 获取鉴权
TokenHelper
.
getTokenData
();
// 获取鉴权
...
@@ -974,7 +974,7 @@ public class DzhtController2 {
...
@@ -974,7 +974,7 @@ public class DzhtController2 {
@PutMapping
(
"/revoke"
)
@PutMapping
(
"/revoke"
)
@ApiOperation
(
value
=
"撤回签署流程"
,
httpMethod
=
"PUT"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"撤回签署流程"
,
httpMethod
=
"PUT"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
revoke
(
@CurrentUser
UserBean
userBean
,
@RequestParam
String
flowId
,
public
Result
<
Object
>
revoke
(
@CurrentUser
UserBean
userBean
,
@RequestParam
String
flowId
,
@RequestParam
(
required
=
false
)
String
revokeReason
)
{
@RequestParam
(
required
=
false
)
String
revokeReason
)
{
String
operatorId
=
null
;
String
operatorId
=
null
;
try
{
try
{
TokenHelper
.
getTokenData
();
// 获取鉴权
TokenHelper
.
getTokenData
();
// 获取鉴权
...
@@ -1027,16 +1027,16 @@ public class DzhtController2 {
...
@@ -1027,16 +1027,16 @@ public class DzhtController2 {
/**
/**
* 获取当前用户发起的签署流程
* 获取当前用户发起的签署流程
*
*
* @param flowId
* @param flowId
* @return
* @return
*/
*/
@GetMapping
(
"/getFqlc"
)
@GetMapping
(
"/getFqlc"
)
@ApiOperation
(
value
=
"当前用户发起的签署流程"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"当前用户发起的签署流程"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
getFqlc
(
@CurrentUser
UserBean
userBean
,
public
Result
<
Object
>
getFqlc
(
@CurrentUser
UserBean
userBean
,
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Integer
currPage
,
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Integer
currPage
,
@RequestParam
(
required
=
false
,
defaultValue
=
"10"
)
Integer
pageSize
,
@RequestParam
(
required
=
false
,
defaultValue
=
"10"
)
Integer
pageSize
,
@RequestParam
(
required
=
false
)
String
query
)
{
@RequestParam
(
required
=
false
)
String
query
)
{
com
.
github
.
pagehelper
.
Page
<
Object
>
page
=
PageHelper
.
startPage
(
currPage
,
pageSize
);
com
.
github
.
pagehelper
.
Page
<
Object
>
page
=
PageHelper
.
startPage
(
currPage
,
pageSize
);
List
<
DzhtAssoCjlc
>
cjlcs
=
DzhtAssoCjlc
.
builder
().
build
()
List
<
DzhtAssoCjlc
>
cjlcs
=
DzhtAssoCjlc
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
DzhtAssoCjlc
>().
like
(
query
!=
null
,
"business_scene"
,
query
)
.
selectList
(
new
QueryWrapper
<
DzhtAssoCjlc
>().
like
(
query
!=
null
,
"business_scene"
,
query
)
...
@@ -1089,18 +1089,18 @@ public class DzhtController2 {
...
@@ -1089,18 +1089,18 @@ public class DzhtController2 {
/**
/**
* 获取当前用户收到的签署流程
* 获取当前用户收到的签署流程
*
*
* @param currPage
* @param currPage
*
*
* @param flowId
* @param flowId
* @return
* @return
*/
*/
@GetMapping
(
"/getSdlc"
)
@GetMapping
(
"/getSdlc"
)
@ApiOperation
(
value
=
"当前用户收到的签署流程"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"当前用户收到的签署流程"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
getSdlc
(
@CurrentUser
UserBean
userBean
,
public
Result
<
Object
>
getSdlc
(
@CurrentUser
UserBean
userBean
,
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Integer
currPage
,
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Integer
currPage
,
@RequestParam
(
required
=
false
,
defaultValue
=
"10"
)
Integer
pageSize
,
@RequestParam
(
required
=
false
,
defaultValue
=
"10"
)
Integer
pageSize
,
@RequestParam
(
required
=
false
)
String
query
)
{
@RequestParam
(
required
=
false
)
String
query
)
{
List
<
JSONObject
>
json
=
new
ArrayList
<
JSONObject
>();
List
<
JSONObject
>
json
=
new
ArrayList
<
JSONObject
>();
com
.
github
.
pagehelper
.
Page
<
Object
>
page
=
PageHelper
.
startPage
(
currPage
,
pageSize
);
com
.
github
.
pagehelper
.
Page
<
Object
>
page
=
PageHelper
.
startPage
(
currPage
,
pageSize
);
...
...
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
a3215fb8
This diff is collapsed.
Click to expand it.
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