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
f656c582
Commit
f656c582
authored
Apr 20, 2020
by
dengshichuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'tzq' into 'develop'
审批bug修复 See merge request 8timerv2/8timerapiv200!34
parents
a6bd4b3c
979bd18d
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
12 additions
and
32 deletions
+12
-32
src/main/java/cn/timer/api/bean/spmk/SpmkApprovalG.java
+0
-2
src/main/java/cn/timer/api/bean/spmk/SpmkApprovalTemplate.java
+0
-1
src/main/java/cn/timer/api/bean/spmk/SpmkApprovalTemplateG.java
+0
-1
src/main/java/cn/timer/api/bean/spmk/SpmkApproveDetail.java
+0
-1
src/main/java/cn/timer/api/bean/spmk/SpmkApproveExecuteRecord.java
+0
-1
src/main/java/cn/timer/api/bean/spmk/SpmkApproveSummary.java
+0
-1
src/main/java/cn/timer/api/bean/spmk/SpmkCustomApproval.java
+0
-1
src/main/java/cn/timer/api/bean/spmk/SpmkInitiatorConfig.java
+1
-1
src/main/java/cn/timer/api/controller/spmk/SpmkServiceImpl.java
+9
-9
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalGDto.java
+0
-1
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalTemplateDto.java
+0
-1
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalTemplateGDto.java
+0
-1
src/main/java/cn/timer/api/dto/spmk/SpmkApproveDetailDto.java
+1
-1
src/main/java/cn/timer/api/dto/spmk/SpmkApproveSummaryDto.java
+1
-7
src/main/java/cn/timer/api/dto/spmk/SpmkCustomApprovalDto.java
+0
-3
No files found.
src/main/java/cn/timer/api/bean/spmk/SpmkApprovalG.java
View file @
f656c582
package
cn
.
timer
.
api
.
bean
.
spmk
;
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Table
;
...
@@ -19,7 +18,6 @@ import lombok.NoArgsConstructor;
...
@@ -19,7 +18,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkApprovalTemplate.java
View file @
f656c582
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkApprovalTemplateG.java
View file @
f656c582
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkApproveDetail.java
View file @
f656c582
...
@@ -19,7 +19,6 @@ import lombok.NoArgsConstructor;
...
@@ -19,7 +19,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkApproveExecuteRecord.java
View file @
f656c582
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkApproveSummary.java
View file @
f656c582
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkCustomApproval.java
View file @
f656c582
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
...
@@ -21,7 +21,6 @@ import lombok.NoArgsConstructor;
/**
/**
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkInitiatorConfig.java
View file @
f656c582
...
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
...
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
*
*
* @author Tang 2020-04-17
* @author Tang 2020-04-17
*/
*/
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/controller/spmk/SpmkServiceImpl.java
View file @
f656c582
...
@@ -535,10 +535,10 @@ public class SpmkServiceImpl {
...
@@ -535,10 +535,10 @@ public class SpmkServiceImpl {
/**
/**
* 排序-审批模板组
* 排序-审批模板组
*/
*/
@PutMapping
(
value
=
"/
list
_approval_template_g"
)
@PutMapping
(
value
=
"/
update
_approval_template_g"
)
@ApiOperation
(
value
=
"排序-审批模板组"
,
httpMethod
=
"PUT"
,
notes
=
"排序-审批模板组"
)
@ApiOperation
(
value
=
"排序-审批模板组"
,
httpMethod
=
"PUT"
,
notes
=
"排序-审批模板组"
)
@ApiOperationSupport
(
order
=
1
)
@ApiOperationSupport
(
order
=
1
)
public
Result
<
Object
>
ranksAtg
(
@
PathVariable
List
<
SpmkApprovalTemplateG
>
list
){
public
Result
<
Object
>
ranksAtg
(
@
RequestBody
List
<
SpmkApprovalTemplateG
>
list
){
return
spmkApprovalTemplateGMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
return
spmkApprovalTemplateGMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
}
}
...
@@ -592,10 +592,10 @@ public class SpmkServiceImpl {
...
@@ -592,10 +592,10 @@ public class SpmkServiceImpl {
/**
/**
* 排序-审批模板
* 排序-审批模板
*/
*/
@PutMapping
(
value
=
"/
list_approval_template_g
"
)
@PutMapping
(
value
=
"/
update_approval_template
"
)
@ApiOperation
(
value
=
"查询列表-审批模板组"
,
httpMethod
=
"PUT"
,
notes
=
"查询列表-审批模板组"
)
@ApiOperation
(
value
=
"查询列表-审批模板组"
,
httpMethod
=
"PUT"
,
notes
=
"查询列表-审批模板组"
)
@ApiOperationSupport
(
order
=
1
)
@ApiOperationSupport
(
order
=
1
)
public
Result
<
Object
>
ranksAt
(
@
PathVariable
List
<
SpmkApprovalTemplate
>
list
){
public
Result
<
Object
>
ranksAt
(
@
RequestBody
List
<
SpmkApprovalTemplate
>
list
){
return
spmkApprovalTemplateMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
return
spmkApprovalTemplateMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
...
@@ -643,10 +643,10 @@ public class SpmkServiceImpl {
...
@@ -643,10 +643,10 @@ public class SpmkServiceImpl {
/**
/**
* 排序-审批组
* 排序-审批组
*/
*/
@PutMapping
(
value
=
"/
list_approval_template
_g"
)
@PutMapping
(
value
=
"/
update_approval
_g"
)
@ApiOperation
(
value
=
"排序-审批组"
,
httpMethod
=
"PUT"
,
notes
=
"排序-审批组"
)
@ApiOperation
(
value
=
"排序-审批组"
,
httpMethod
=
"PUT"
,
notes
=
"排序-审批组"
)
@ApiOperationSupport
(
order
=
1
)
@ApiOperationSupport
(
order
=
1
)
public
Result
<
Object
>
ranksAg
(
@
PathVariable
List
<
SpmkApprovalG
>
list
){
public
Result
<
Object
>
ranksAg
(
@
RequestBody
List
<
SpmkApprovalG
>
list
){
return
spmkApprovalGMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
return
spmkApprovalGMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
}
}
...
@@ -728,10 +728,10 @@ public class SpmkServiceImpl {
...
@@ -728,10 +728,10 @@ public class SpmkServiceImpl {
/**
/**
* 排序-自定义审批
* 排序-自定义审批
*/
*/
@PutMapping
(
value
=
"/
list
_custom_approval"
)
@PutMapping
(
value
=
"/
update
_custom_approval"
)
@ApiOperation
(
value
=
"
查询列表-审批模板组"
,
httpMethod
=
"PUT"
,
notes
=
"查询列表-审批模板组
"
)
@ApiOperation
(
value
=
"
排序-自定义审批"
,
httpMethod
=
"PUT"
,
notes
=
"排序-自定义审批
"
)
@ApiOperationSupport
(
order
=
1
)
@ApiOperationSupport
(
order
=
1
)
public
Result
<
Object
>
ranksCa
(
@
PathVariable
List
<
SpmkCustomApproval
>
list
){
public
Result
<
Object
>
ranksCa
(
@
RequestBody
List
<
SpmkCustomApproval
>
list
){
return
spmkCustomApprovalMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
return
spmkCustomApprovalMapper
.
updateListRandsById
(
list
)
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalGDto.java
View file @
f656c582
...
@@ -10,7 +10,6 @@ import lombok.AllArgsConstructor;
...
@@ -10,7 +10,6 @@ import lombok.AllArgsConstructor;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
@Entity
@Data
@Data
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalTemplateDto.java
View file @
f656c582
...
@@ -11,7 +11,6 @@ import lombok.Builder;
...
@@ -11,7 +11,6 @@ import lombok.Builder;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalTemplateGDto.java
View file @
f656c582
...
@@ -10,7 +10,6 @@ import lombok.AllArgsConstructor;
...
@@ -10,7 +10,6 @@ import lombok.AllArgsConstructor;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
@Entity
@Data
@Data
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkApproveDetailDto.java
View file @
f656c582
...
@@ -10,7 +10,7 @@ import lombok.Builder;
...
@@ -10,7 +10,7 @@ import lombok.Builder;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkApproveSummaryDto.java
View file @
f656c582
package
cn
.
timer
.
api
.
dto
.
spmk
;
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.Date
;
import
javax.persistence.Entity
;
import
cn.timer.api.bean.spmk.SpmkApproveDetail
;
import
cn.timer.api.bean.spmk.SpmkApproveSummary
;
import
cn.timer.api.bean.spmk.SpmkApproveSummary
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkCustomApprovalDto.java
View file @
f656c582
...
@@ -3,8 +3,6 @@ package cn.timer.api.dto.spmk;
...
@@ -3,8 +3,6 @@ package cn.timer.api.dto.spmk;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
javax.persistence.Entity
;
import
cn.hutool.json.JSONObject
;
import
cn.hutool.json.JSONObject
;
import
cn.timer.api.bean.spmk.SpmkInitiatorConfig
;
import
cn.timer.api.bean.spmk.SpmkInitiatorConfig
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -13,7 +11,6 @@ import lombok.Builder;
...
@@ -13,7 +11,6 @@ import lombok.Builder;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
@Entity
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@NoArgsConstructor
...
...
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