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
af2f9239
Commit
af2f9239
authored
Jul 22, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fdd 代码修改
parent
0a3cdcf5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+11
-11
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
af2f9239
...
...
@@ -982,17 +982,17 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
**/
private
R
<
Boolean
>
checkUpdate
(
TPreDispatchInfo
tPreDispatchInfo
,
Map
<
String
,
SysArea
>
areaHashMap
,
Map
<
String
,
SysArea
>
areaIdMap
,
TPreDispatchInfo
preDispatchTemp
)
{
//
if (null == tPreDispatchInfo || Common.isEmpty(tPreDispatchInfo.getId())) {
//
return R.failed(CommonConstants.PARAM_IS_NOT_ERROR);
//
}
//
if (null == preDispatchTemp) {
//
return R.failed(CommonConstants.ERROR_NO_DOMAIN);
//
}
//
// 先验证必填项
//
String errorMessage = checkField(tPreDispatchInfo);
//
if (null != errorMessage) {
//
return R.failed(errorMessage);
//
}
if
(
null
==
tPreDispatchInfo
||
Common
.
isEmpty
(
tPreDispatchInfo
.
getId
()))
{
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
}
if
(
null
==
preDispatchTemp
)
{
return
R
.
failed
(
CommonConstants
.
ERROR_NO_DOMAIN
);
}
// 先验证必填项
String
errorMessage
=
checkField
(
tPreDispatchInfo
);
if
(
null
!=
errorMessage
)
{
return
R
.
failed
(
errorMessage
);
}
R
<
AreaVo
>
areaListR
=
upmsDaprUtils
.
getAreaListR
();
if
(
null
==
areaListR
||
areaListR
.
getCode
()
!=
CommonConstants
.
SUCCESS
)
{
return
R
.
failed
(
PreDispatchConstants
.
GET_AREA_INFO
);
...
...
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