phis-feign/src/main/java/com/hz/his/dto/PageDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/phis/SAppointmentService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/vo/appointment/AppointmentProjectFindVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/vo/project/ProjectFindVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/dto/PageDto.java
@@ -23,9 +23,8 @@ /**分类标识*/ private String typeId; private List<String> typeIdList; //appid /**appid*/ private String appId; public Integer getPageNum() { if(this.pageNum == null || this.pageNum < 0){ phis-feign/src/main/java/com/hz/his/feign/service/phis/SAppointmentService.java
New file @@ -0,0 +1,20 @@ package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; import com.hz.his.vo.appointment.AppointmentProjectFindVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * @author CJH **/ @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "read-appointment") public interface SAppointmentService { /** 获取用户时间内预约的项目 */ @PostMapping("/appointment/user/project/list") Result userAppointmentProjectList(@RequestBody AppointmentProjectFindVo appointmentProjectFindVo); } phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java
@@ -4,6 +4,7 @@ import com.hz.his.dto.PageDto; import com.hz.his.dto.TimeDto; import com.hz.his.dto.project.ProjectDto; import com.hz.his.vo.project.ProjectFindVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -48,7 +49,7 @@ * @return Result */ @PostMapping(value = "/project/page/list") Result getProjectList(@RequestBody PageDto pageDto); Result getProjectList(@RequestBody ProjectFindVo projectFindVo); /** * 获取项目门店价格列表 phis-feign/src/main/java/com/hz/his/vo/appointment/AppointmentProjectFindVo.java
New file @@ -0,0 +1,21 @@ package com.hz.his.vo.appointment; import com.hz.his.dto.PageDto; import lombok.Data; import java.util.Date; /** * @author CJH */ @Data public class AppointmentProjectFindVo extends PageDto { /**用户标识*/ private String userId; /**预约时间-开始*/ private Date preStartTime; /**预约时间-结束*/ private Date preEndTime; } phis-feign/src/main/java/com/hz/his/vo/project/ProjectFindVo.java
New file @@ -0,0 +1,18 @@ package com.hz.his.vo.project; import com.hz.his.dto.PageDto; import lombok.Data; /** * @author CJH */ @Data public class ProjectFindVo extends PageDto { /**类型*/ private Integer type; /**是否上下架-默认上架*/ private Integer isUp = 1; }