Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
B
byh-family-doctor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
包
包
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
杨凯
byh-family-doctor
Commits
13d5acb5
提交
13d5acb5
authored
3月 15, 2024
作者:
杨凯
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:家庭医生初始化
上级
a869027c
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
28 行增加
和
22 行删除
+28
-22
pom.xml
family-doctor-server/pom.xml
+22
-16
DoctorController.java
...hui/family/doctor/server/controller/DoctorController.java
+4
-4
DoctorService.java
...ebaiyihui/family/doctor/server/service/DoctorService.java
+1
-1
DoctorServiceImpl.java
.../family/doctor/server/service/impl/DoctorServiceImpl.java
+1
-1
没有找到文件。
family-doctor-server/pom.xml
浏览文件 @
13d5acb5
...
...
@@ -114,17 +114,17 @@
<version>
5.1.30
</version>
</dependency>
<dependency
>
<groupId>
org.mybatis.spring.boot
</groupId
>
<artifactId>
mybatis-spring-boot-starter
</artifactId
>
<version>
1.3.2
</version
>
<exclusions
>
<exclusion
>
<groupId>
org.mybatis
</groupId
>
<artifactId>
mybatis
</artifactId
>
</exclusion
>
</exclusions
>
</dependency
>
<!-- <dependency>--
>
<!-- <groupId>org.mybatis.spring.boot</groupId>--
>
<!-- <artifactId>mybatis-spring-boot-starter</artifactId>--
>
<!-- <version>1.3.2</version>--
>
<!-- <exclusions>--
>
<!-- <exclusion>--
>
<!-- <groupId>org.mybatis</groupId>--
>
<!-- <artifactId>mybatis</artifactId>--
>
<!-- </exclusion>--
>
<!-- </exclusions>--
>
<!-- </dependency>--
>
<dependency>
<groupId>
com.baomidou
</groupId>
...
...
@@ -141,13 +141,19 @@
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
1.2.5
</version>
<version>
1.2.12
</version>
<exclusions>
<exclusion>
<groupId>
org.mybatis
</groupId>
<artifactId>
mybatis
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency
>
<groupId>
org.springframework.amqp
</groupId
>
<artifactId>
spring-rabbit
</artifactId
>
</dependency
>
<!-- <dependency>--
>
<!-- <groupId>org.springframework.amqp</groupId>--
>
<!-- <artifactId>spring-rabbit</artifactId>--
>
<!-- </dependency>--
>
<dependency>
<groupId>
com.ning
</groupId>
...
...
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/controller/DoctorController.java
浏览文件 @
13d5acb5
...
...
@@ -31,14 +31,14 @@ public class DoctorController {
private
DoctorService
doctorService
;
@ApiOperation
(
value
=
"获取医生列表和服务次数信息"
,
notes
=
"医生服务feign调用"
)
@RequestMapping
(
value
=
"/getDoctorList"
,
method
=
RequestMethod
.
POST
)
public
BaseResponse
<
PageResult
<
DoctorListVo
>>
getDoctorList
(
@RequestBody
QueryDoctorsDTO
reqVo
,
@RequestMapping
(
value
=
"/get
Signed
DoctorList"
,
method
=
RequestMethod
.
POST
)
public
BaseResponse
<
PageResult
<
DoctorListVo
>>
get
Signed
DoctorList
(
@RequestBody
QueryDoctorsDTO
reqVo
,
BindingResult
bindingResult
)
{
BaseResponse
<
PageResult
<
DoctorListVo
>>
doctorListVo
=
null
;
try
{
doctorListVo
=
doctorService
.
getDoctorList
(
reqVo
);
doctorListVo
=
doctorService
.
get
Signed
DoctorList
(
reqVo
);
}
catch
(
Exception
e
)
{
return
BaseResponse
.
error
(
e
.
getMessage
());
}
...
...
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/service/DoctorService.java
浏览文件 @
13d5acb5
...
...
@@ -14,5 +14,5 @@ import com.ebaiyihui.framework.response.BaseResponse;
public
interface
DoctorService
{
BaseResponse
<
PageResult
<
DoctorListVo
>>
getDoctorList
(
QueryDoctorsDTO
reqVo
);
BaseResponse
<
PageResult
<
DoctorListVo
>>
get
Signed
DoctorList
(
QueryDoctorsDTO
reqVo
);
}
family-doctor-server/src/main/java/com/ebaiyihui/family/doctor/server/service/impl/DoctorServiceImpl.java
浏览文件 @
13d5acb5
...
...
@@ -49,7 +49,7 @@ public class DoctorServiceImpl implements DoctorService {
private
DoctorWorkingServiceClient
doctorWorkingServiceClient
;
@Override
public
BaseResponse
<
PageResult
<
DoctorListVo
>>
getDoctorList
(
QueryDoctorsDTO
reqVo
)
{
public
BaseResponse
<
PageResult
<
DoctorListVo
>>
get
Signed
DoctorList
(
QueryDoctorsDTO
reqVo
)
{
log
.
info
(
"查询医生入参:"
+
JSONObject
.
toJSONString
(
reqVo
));
// if (StringUtils.isNotEmpty(reqVo.getSearchParam()) && StringUtils.isNotEmpty(reqVo.getUserId())) {
// redisHistory(reqVo);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论