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
62bdb65d
Commit
62bdb65d
authored
Jun 20, 2020
by
tangzhaoqian
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批 优化
parent
6eb836f8
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
src/main/java/cn/timer/api/config/exception/Regular.java
+1
-1
src/main/java/cn/timer/api/controller/jxgl/JxglController.java
+1
-1
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
+1
-1
src/main/java/cn/timer/api/dto/jxgl/AppraisalUpdateSts.java
+1
-1
src/main/java/cn/timer/api/utils/router/RouterUtils.java
+4
-0
No files found.
src/main/java/cn/timer/api/config/exception/Regular.java
View file @
62bdb65d
...
@@ -14,7 +14,7 @@ public class Regular {
...
@@ -14,7 +14,7 @@ public class Regular {
* 手机号码
* 手机号码
*/
*/
// public static final String PHONE = "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(17[013678])|(18[0,5-9]))\\d{8}$";
// public static final String PHONE = "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(17[013678])|(18[0,5-9]))\\d{8}$";
public
static
final
String
PHONE
=
"^[1]{10}$"
;
public
static
final
String
PHONE
=
"^[1]
[0-9]
{10}$"
;
/**
/**
* 账号是否合法
* 账号是否合法
*/
*/
...
...
src/main/java/cn/timer/api/controller/jxgl/JxglController.java
View file @
62bdb65d
...
@@ -633,7 +633,7 @@ public class JxglController {
...
@@ -633,7 +633,7 @@ public class JxglController {
.
eq
(
JxglPerformanceAppraisal:
:
getId
,
appraisalUpdateSts
.
getId
())
.
eq
(
JxglPerformanceAppraisal:
:
getId
,
appraisalUpdateSts
.
getId
())
.
eq
(
JxglPerformanceAppraisal:
:
getSts
,
appraisalUpdateSts
.
getSts
()));
.
eq
(
JxglPerformanceAppraisal:
:
getSts
,
appraisalUpdateSts
.
getSts
()));
if
(
performanceAppraisal
==
null
)
{
if
(
performanceAppraisal
==
null
&&
appraisalUpdateSts
.
getSts
()
!=
PerformanceAppraisalSts
.
PERFORMANCE_ARCHIVE
.
getType
()
)
{
return
ResultUtil
.
error
(
"绩效考核不存在"
);
return
ResultUtil
.
error
(
"绩效考核不存在"
);
}
}
...
...
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
View file @
62bdb65d
...
@@ -580,7 +580,7 @@ public class SpmkController {
...
@@ -580,7 +580,7 @@ public class SpmkController {
throw
new
CustomException
(
"审批汇总-新增异常"
);
throw
new
CustomException
(
"审批汇总-新增异常"
);
}
}
// 插入记录
// 插入记录
- 审批执行记录 - 执行人记录
RouterUtils
.
insertogExecuteRecord
(
listFlowChildren
,
as
.
getId
());
RouterUtils
.
insertogExecuteRecord
(
listFlowChildren
,
as
.
getId
());
// 封装 审批详情
// 封装 审批详情
...
...
src/main/java/cn/timer/api/dto/jxgl/AppraisalUpdateSts.java
View file @
62bdb65d
...
@@ -20,7 +20,7 @@ public class AppraisalUpdateSts {
...
@@ -20,7 +20,7 @@ public class AppraisalUpdateSts {
private
Integer
id
;
private
Integer
id
;
@NotNull
(
message
=
ValidationMsg
.
NOTNULL
)
@NotNull
(
message
=
ValidationMsg
.
NOTNULL
)
@ApiModelProperty
(
value
=
"状态
"
,
example
=
"
"
)
@ApiModelProperty
(
value
=
"状态
0目标制定 1绩效评分 2结果确认 3绩效归档 4终止考核"
,
example
=
"0
"
)
private
Integer
sts
;
private
Integer
sts
;
}
}
src/main/java/cn/timer/api/utils/router/RouterUtils.java
View file @
62bdb65d
...
@@ -363,12 +363,16 @@ public class RouterUtils {
...
@@ -363,12 +363,16 @@ public class RouterUtils {
Router
router
;
Router
router
;
if
(
listRouter
!=
null
&&
listRouter
.
size
()
==
1
)
{
if
(
listRouter
!=
null
&&
listRouter
.
size
()
==
1
)
{
router
=
listRouter
.
get
(
0
);
router
=
listRouter
.
get
(
0
);
Relation
relation
=
CollectionUtil
.
getFirst
(
router
.
getRelation
());
if
(
relation
!=
null
&&
CollectionUtil
.
isNotEmpty
(
relation
.
getUsers
()))
{
if
(
router
.
getFlow
())
{
if
(
router
.
getFlow
())
{
FlowChildren
fc
=
FlowChildren
.
builder
().
build
();
FlowChildren
fc
=
FlowChildren
.
builder
().
build
();
BeanUtil
.
copyProperties
(
router
,
fc
,
"condition"
,
"children"
);
BeanUtil
.
copyProperties
(
router
,
fc
,
"condition"
,
"children"
);
listFlowChildren
.
add
(
fc
);
listFlowChildren
.
add
(
fc
);
getIsFlowChildren
(
router
.
getChildren
(),
listFlowChildren
);
getIsFlowChildren
(
router
.
getChildren
(),
listFlowChildren
);
}
}
}
}
else
if
(
listRouter
!=
null
&&
listRouter
.
size
()
>
1
)
{
}
else
if
(
listRouter
!=
null
&&
listRouter
.
size
()
>
1
)
{
for
(
Router
router2
:
listRouter
)
{
for
(
Router
router2
:
listRouter
)
{
...
...
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