From 8f854906839d6e5a2d1786950a01d90605410ac4 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期五, 14 四月 2023 16:39:39 +0800 Subject: [PATCH] 咨询师日报 --- phis-feign/src/main/java/com/hz/his/dto/report/EmployeeReportDto.java | 25 ++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java | 87 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/EmployeeReportDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/EmployeeReportDto.java new file mode 100644 index 0000000..10da103 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/report/EmployeeReportDto.java @@ -0,0 +1,25 @@ +package com.hz.his.dto.report; + +import lombok.Data; + +import java.util.List; + +/** + * 鍜ㄨ甯堟姤琛ㄦ墿灞� + * @author fwq + * */ +@Data +public class EmployeeReportDto { + /**鍛樺伐鏍囪瘑*/ + private String employeeId; + /**鍛樺伐鏍囪瘑闆嗗悎*/ + private List<String> employeeIdList; + /**闂ㄥ簵鏍囪瘑闆嗗悎*/ + private List<String> shopIdList; + /**褰撳墠鏃堕棿*/ + private String nowTime; + /**寮�濮嬫椂闂�*/ + private String startTime; + /**缁撴潫鏃堕棿*/ + private String endTime; +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java new file mode 100644 index 0000000..41900cc --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java @@ -0,0 +1,87 @@ +package com.hz.his.feign.service.platform.bi; + +import com.hx.resultTool.Result; +import com.hz.his.dto.report.EmployeeReportDto; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; + + +/** + * 鍜ㄨ甯堟棩鎶ヨ〃 + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-shop-day") +public interface BiConsultantDayService { + + /** + * 鍜ㄨ甯�-涓氱哗鎬诲垪琛� + */ + @PostMapping("/admin/export/employee/deduction/total/list") + Result deductionList(@RequestBody(required = false) EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-鎵ц涓氱哗蹇姤 + */ + @PostMapping("/admin/export/employee/deduction/detail/list") + Result deductionDetailList(@RequestBody EmployeeReportDto employeeReportDto); + + + /** + * 鍜ㄨ甯�-鍒濊瘖绠�鎶� + */ + @PostMapping("/admin/export/employee/first/treat/list") + Result firstTreatList(@RequestBody EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-棰勭害鍒拌瘖 + */ + @PostMapping("/admin/export/employee/appointment/arrive/list") + Result appointmentArriveList(@RequestBody EmployeeReportDto employeeReportDto); + + + /** + * 鍜ㄨ甯�-鑰佸甫鏂扮畝鎶� + */ + @PostMapping("/admin/export/employee/old/new/list") + Result oldLeadNew(@RequestBody EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-浼氬憳鍙樺姩鏁版嵁 + */ + @PostMapping("/admin/export/employee/level/change/list") + Result levelChangeList(@RequestBody EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-瀛e害娲昏穬瀹㈡埛 + */ + @PostMapping("/admin/export/employee/active/user/list") + Result activeUserList(@RequestBody EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-娴佸け瀹㈡埛 + */ + @PostMapping("/admin/export/employee/loss/user/list") + Result lossUserList(@RequestBody EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-鏍稿績椤圭洰 + */ + @RequestMapping("/admin/export/employee/core/project/list") + Result coreProjectList(@RequestBody EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-娌夌潯瀹㈡墽琛屼笟缁� + */ + @RequestMapping("/admin/export/employee/user/sleep/deduction/list") + Result userSleepDeductionList(@RequestBody(required = false) EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-鍖荤敓鎵ц鍗犳瘮鏁版嵁鍒楄〃 + */ + @RequestMapping("/admin/export/employee/user/doctor/deduction/list") + Result userDoctorDeductionList(@RequestBody EmployeeReportDto employeeReportDto); + + +} -- Gitblit v1.8.0