From a8b60bd5967f7d56065e2a4e967a305a7a1a3823 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期三, 02 八月 2023 14:36:46 +0800 Subject: [PATCH] 1.增加营销活动service --- phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java | 92 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 92 insertions(+), 0 deletions(-) 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..a5677db --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java @@ -0,0 +1,92 @@ +package com.hz.his.feign.service.platform.bi; + +import com.hx.resultTool.Result; +import com.hz.his.dto.report.EmployeeReportDto; +import com.hz.his.dto.report.UserReleaseDto; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; + + +/** + * 鍜ㄨ甯堟棩鎶� + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-consultant-day") +public interface BiConsultantDayService { + + /** + * 鍜ㄨ甯�-鍚勪笟缁╂寚鏍囨暟鎹� + * EmployeeAchievementVo + */ + @PostMapping("/admin/export/employee/indicators/list") + Result indicators(@RequestBody EmployeeReportDto employeeReportDto); + + /** + * 鍜ㄨ甯�-鍒濊瘖鎯呭喌 + * EmployeeFirstTreatVo + */ + @PostMapping("/admin/export/employee/first/treat/list") + Result firstTreat(@RequestBody EmployeeReportDto employeeReportDto); + + + /** + * 鍜ㄨ甯�-鍒拌鏈垚浜ゅ悕鍗� + * + */ + @PostMapping("/admin/export/employee/first/treat/user/list") + Result firstTreatUser(@RequestBody EmployeeReportDto employeeReportDto); + + + /** + * 鍜ㄨ甯�-鏍稿績椤圭洰鎸囨爣鏁版嵁 + */ + @PostMapping("/admin/export/employee/core/project/list") + Result coreProject(@RequestBody EmployeeReportDto employeeReportDto); + + + /** + * 鍜ㄨ甯�-鍏捣閲婃斁鍚嶅崟 + */ + @PostMapping("/admin/export/employee/user/release/list") + Result userReleaseList(@RequestBody UserReleaseDto userReleaseDto); + + /** + * 鍜ㄨ甯�-娴佸け瀹㈡埛鍒楄〃 + */ + @PostMapping("/admin/export/employee/user/lose/list") + Result userLoseList(@RequestBody UserReleaseDto userReleaseDto); + + + /** + * 鍜ㄨ甯�-娌夌潯瀹㈡埛鍒楄〃 + */ + @PostMapping("/admin/export/employee/user/sleep/list") + Result userSleepList(@RequestBody UserReleaseDto userReleaseDto); + + /** + * 鍜ㄨ甯�-娌夌潯瀹㈡埛姣斾緥 + */ + @PostMapping("/admin/export/employee/user/sleep/proportion") + Result userSleepProportion(@RequestBody UserReleaseDto userReleaseDto); + + /** + * 鍜ㄨ甯�-浼氬憳绛夌骇鍒嗗竷鍒楄〃 + */ + @PostMapping("/admin/export/employee/user/member/distribution") + Result memberDistribution(@RequestBody UserReleaseDto userReleaseDto); + + /** + * 鍜ㄨ甯�-浼氬憳绛夌骇鍒嗘瘮渚� + */ + @PostMapping("/admin/export/employee/user/member/distribution/proportion") + Result memberDistributionProportion(@RequestBody UserReleaseDto userReleaseDto); + + /** + * 鍜ㄨ甯�-鑰佸甫鏂颁笟缁� + * 杩斿洖鎺ュ彛Result.success(data); data鏄釜map,key涓哄憳宸ユ爣璇�,value鏄噾棰� + */ + @PostMapping("/admin/export/employee/oldNew/report") + Result oldNewReport(@RequestBody EmployeeReportDto employeeReportDto); + +} -- Gitblit v1.8.0