Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
b3de2e8a
Commit
b3de2e8a
authored
Oct 08, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
7b3276e7
9bbb3038
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/web/StaffController.java
...ava/com/mortals/xhx/module/staff/web/StaffController.java
+1
-1
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/web/StaffController.java
View file @
b3de2e8a
...
@@ -105,7 +105,7 @@ public class StaffController extends BaseCRUDJsonBodyMappingController<StaffServ
...
@@ -105,7 +105,7 @@ public class StaffController extends BaseCRUDJsonBodyMappingController<StaffServ
@Override
@Override
protected
void
saveBefore
(
StaffEntity
entity
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
protected
void
saveBefore
(
StaffEntity
entity
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
entity
.
setSource
(
SourceEnum
.
自定义
.
getValue
());
//
entity.setSource(SourceEnum.自定义.getValue());
//判断手机号码是否包含* 如果包含则不添加更新
//判断手机号码是否包含* 如果包含则不添加更新
if
(!
entity
.
newEntity
()
&&
!
ObjectUtils
.
isEmpty
(
entity
.
getPhoneNumber
())
&&
StrUtil
.
contains
(
entity
.
getPhoneNumber
(),
"*"
))
{
if
(!
entity
.
newEntity
()
&&
!
ObjectUtils
.
isEmpty
(
entity
.
getPhoneNumber
())
&&
StrUtil
.
contains
(
entity
.
getPhoneNumber
(),
"*"
))
{
entity
.
setPhoneNumber
(
null
);
entity
.
setPhoneNumber
(
null
);
...
...
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