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
8d7dbe96
Commit
8d7dbe96
authored
Jul 18, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fdd 户配置 代码修改
parent
192f96a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
UpmsDaprUtils.java
...fu/cloud/plus/v1/yifu/common/dapr/util/UpmsDaprUtils.java
+2
-2
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+4
-3
No files found.
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/UpmsDaprUtils.java
View file @
8d7dbe96
...
...
@@ -23,7 +23,7 @@ import java.util.List;
public
class
UpmsDaprUtils
{
@Autowired
private
DaprUpmsProperties
daprUpmsProperties
;
private
static
DaprUpmsProperties
daprUpmsProperties
;
/**
* 获取所有区域数据
...
...
@@ -31,7 +31,7 @@ public class UpmsDaprUtils {
* @Date 2022-07-18
* @return
**/
public
R
<
List
<
SysArea
>>
getAreaListR
()
{
public
static
R
<
List
<
SysArea
>>
getAreaListR
()
{
R
<
List
<
SysArea
>>
areaListR
=
HttpDaprUtil
.
invokeMethodPost
(
daprUpmsProperties
.
getAppUrl
(),
daprUpmsProperties
.
getAppId
(),
"/area/inner/getSysAreaList"
,
""
,
SysArea
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isEmpty
(
areaListR
)){
return
R
.
failed
(
"获取所有区域数据失败!"
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
8d7dbe96
...
...
@@ -33,6 +33,7 @@ import com.yifu.cloud.plus.v1.yifu.social.mapper.SysBaseSetInfoMapper;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.TPreDispatchInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TPreDispatchInfoService
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.time.LocalDateTime
;
...
...
@@ -50,9 +51,9 @@ import java.util.Map;
@RequiredArgsConstructor
public
class
TPreDispatchInfoServiceImpl
extends
ServiceImpl
<
TPreDispatchInfoMapper
,
TPreDispatchInfo
>
implements
TPreDispatchInfoService
{
private
final
SysBaseSetInfoMapper
sysBaseSetInfoMapper
;
@Autowired
private
SysBaseSetInfoMapper
sysBaseSetInfoMapper
;
private
final
UpmsDaprUtils
upmsDaprUtils
;
/**
* 预派单记录简单分页查询
*
...
...
@@ -405,7 +406,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
if
(
null
!=
errorMessage
)
{
return
R
.
failed
(
errorMessage
);
}
R
<
List
<
SysArea
>>
areaListR
=
u
pmsDaprUtils
.
getAreaListR
();
R
<
List
<
SysArea
>>
areaListR
=
U
pmsDaprUtils
.
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