提交 13d5acb5 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 a869027c
...@@ -114,17 +114,17 @@ ...@@ -114,17 +114,17 @@
<version>5.1.30</version> <version>5.1.30</version>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>org.mybatis.spring.boot</groupId> <!-- <groupId>org.mybatis.spring.boot</groupId>-->
<artifactId>mybatis-spring-boot-starter</artifactId> <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
<version>1.3.2</version> <!-- <version>1.3.2</version>-->
<exclusions> <!-- <exclusions>-->
<exclusion> <!-- <exclusion>-->
<groupId>org.mybatis</groupId> <!-- <groupId>org.mybatis</groupId>-->
<artifactId>mybatis</artifactId> <!-- <artifactId>mybatis</artifactId>-->
</exclusion> <!-- </exclusion>-->
</exclusions> <!-- </exclusions>-->
</dependency> <!-- </dependency>-->
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
...@@ -141,13 +141,19 @@ ...@@ -141,13 +141,19 @@
<dependency> <dependency>
<groupId>com.github.pagehelper</groupId> <groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId> <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>
<dependency> <!-- <dependency>-->
<groupId>org.springframework.amqp</groupId> <!-- <groupId>org.springframework.amqp</groupId>-->
<artifactId>spring-rabbit</artifactId> <!-- <artifactId>spring-rabbit</artifactId>-->
</dependency> <!-- </dependency>-->
<dependency> <dependency>
<groupId>com.ning</groupId> <groupId>com.ning</groupId>
......
...@@ -31,14 +31,14 @@ public class DoctorController { ...@@ -31,14 +31,14 @@ public class DoctorController {
private DoctorService doctorService; private DoctorService doctorService;
@ApiOperation(value = "获取医生列表和服务次数信息", notes = "医生服务feign调用") @ApiOperation(value = "获取医生列表和服务次数信息", notes = "医生服务feign调用")
@RequestMapping(value = "/getDoctorList", method = RequestMethod.POST) @RequestMapping(value = "/getSignedDoctorList", method = RequestMethod.POST)
public BaseResponse<PageResult<DoctorListVo>> getDoctorList(@RequestBody QueryDoctorsDTO reqVo, public BaseResponse<PageResult<DoctorListVo>> getSignedDoctorList(@RequestBody QueryDoctorsDTO reqVo,
BindingResult bindingResult) { BindingResult bindingResult) {
BaseResponse<PageResult<DoctorListVo>> doctorListVo = null; BaseResponse<PageResult<DoctorListVo>> doctorListVo = null;
try { try {
doctorListVo = doctorService.getDoctorList(reqVo); doctorListVo = doctorService.getSignedDoctorList(reqVo);
} catch (Exception e) { } catch (Exception e) {
return BaseResponse.error(e.getMessage()); return BaseResponse.error(e.getMessage());
} }
......
...@@ -14,5 +14,5 @@ import com.ebaiyihui.framework.response.BaseResponse; ...@@ -14,5 +14,5 @@ import com.ebaiyihui.framework.response.BaseResponse;
public interface DoctorService { public interface DoctorService {
BaseResponse<PageResult<DoctorListVo>> getDoctorList(QueryDoctorsDTO reqVo); BaseResponse<PageResult<DoctorListVo>> getSignedDoctorList(QueryDoctorsDTO reqVo);
} }
...@@ -49,7 +49,7 @@ public class DoctorServiceImpl implements DoctorService { ...@@ -49,7 +49,7 @@ public class DoctorServiceImpl implements DoctorService {
private DoctorWorkingServiceClient doctorWorkingServiceClient; private DoctorWorkingServiceClient doctorWorkingServiceClient;
@Override @Override
public BaseResponse<PageResult<DoctorListVo>> getDoctorList(QueryDoctorsDTO reqVo) { public BaseResponse<PageResult<DoctorListVo>> getSignedDoctorList(QueryDoctorsDTO reqVo) {
log.info("查询医生入参:" + JSONObject.toJSONString(reqVo)); log.info("查询医生入参:" + JSONObject.toJSONString(reqVo));
// if (StringUtils.isNotEmpty(reqVo.getSearchParam()) && StringUtils.isNotEmpty(reqVo.getUserId())) { // if (StringUtils.isNotEmpty(reqVo.getSearchParam()) && StringUtils.isNotEmpty(reqVo.getUserId())) {
// redisHistory(reqVo); // redisHistory(reqVo);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论