提交 e09d7436 authored 作者: aiqingguo's avatar aiqingguo

承运同步

上级 aadb9974
...@@ -27,4 +27,5 @@ mvnw.cmd ...@@ -27,4 +27,5 @@ mvnw.cmd
/nbbuild/ /nbbuild/
/dist/ /dist/
/nbdist/ /nbdist/
/.nb-gradle/ /.nb-gradle/
\ No newline at end of file /nbsdk/
...@@ -13,6 +13,6 @@ public interface TransportService { ...@@ -13,6 +13,6 @@ public interface TransportService {
void ownerPersonalSync(OwnerPersonalSyncParam param); void ownerPersonalSync(OwnerPersonalSyncParam param);
boolean ownerPersonalSync(String mobile); boolean ownerExistCheck(String mobile);
} }
...@@ -43,7 +43,7 @@ public class TransportServiceImpl implements TransportService { ...@@ -43,7 +43,7 @@ public class TransportServiceImpl implements TransportService {
} }
@Override @Override
public boolean ownerPersonalSync(String mobile) { public boolean ownerExistCheck(String mobile) {
return Optional.ofNullable(transportFeignService.ownerExistCheck(mobile)) return Optional.ofNullable(transportFeignService.ownerExistCheck(mobile))
.filter(Result::succeed).orElseThrow(ResultCodeEnum.FAIL).getData() == 1; .filter(Result::succeed).orElseThrow(ResultCodeEnum.FAIL).getData() == 1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论