Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
e29d8f8d
Commit
e29d8f8d
authored
Aug 05, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预派单 参数校验修改
parent
291d1220
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+10
-0
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
e29d8f8d
...
...
@@ -592,6 +592,11 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
int
i
=
1
;
for
(
TPreDispatchInfo
info
:
listInfo
)
{
i
++;
if
(!
CommonConstants
.
IS_TRUE
.
equals
(
info
.
getTelNotice
())
&&
!
CommonConstants
.
IS_FALSE
.
equals
(
info
.
getTelNotice
()))
{
errorList
.
add
(
new
ErrorMessage
(
i
,
"是否电话通知不允许导入【是】和【否】之外的内容"
));
continue
;
}
// 1.验重
if
(
checkAddRepeat
(
errorList
,
existsMap
,
i
,
info
))
{
continue
;
...
...
@@ -736,6 +741,11 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
String
str
=
null
;
for
(
TPreDispatchInfo
info:
listInfo
){
i
++;
if
(!
CommonConstants
.
IS_TRUE
.
equals
(
info
.
getTelNotice
())
&&
!
CommonConstants
.
IS_FALSE
.
equals
(
info
.
getTelNotice
()))
{
errorList
.
add
(
new
ErrorMessage
(
i
,
"是否电话通知不允许导入【是】和【否】之外的内容"
));
continue
;
}
// 重置异常状态
info
.
setExceptionContent
(
""
);
info
.
setPreStatus
(
CommonConstants
.
ZERO_STRING
);
...
...
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