From 09d867d5e306b31ab2d20754cf80d1e67521f28d Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期四, 21 三月 2024 19:25:00 +0800 Subject: [PATCH] 重构标签-自动生成标签分类 --- phis-feign/src/main/java/com/hz/his/vo/label/UserLabelInfoVo.java | 2 ++ phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserLabelService.java | 15 +++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserLabelService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserLabelService.java index 85b3eb4..2e5dc65 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserLabelService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserLabelService.java @@ -1,13 +1,7 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; -import com.hz.his.dto.marketing.common.MarketingTotalDto; -import com.hz.his.dto.user.*; -import com.hz.his.dto.user.coupon.UserCouponDto; -import com.hz.his.dto.user.project.UserProjectDto; -import com.hz.his.dto.user.room.UserDoctorRoomDto; import com.hz.his.vo.label.UserLabelVo; -import net.sf.json.JSONObject; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -18,10 +12,15 @@ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-label") public interface SPhipUserLabelService { - /** - * 寮�鏀惧钩鍙�-鑾峰彇鐢ㄦ埛鏍囩鍒楄〃 + /**鐢ㄦ埛鏍囩鏂板锛屽彧鏂板-鏂扮増 */ @PostMapping(value = "/label/user/v2/add") Result add(@RequestBody UserLabelVo userLabelVo); + /**鐢ㄦ埛鏍囩鍙樻洿 + * 褰撳墠鏍囩鍒嗙被涓嬮潰鐨勬墍鏈夊垎绫昏繘琛屽彉鏇达紝鍖呭惈鏂板鍜屽垹闄�-鏂扮増 + */ + @PostMapping(value = "/label/user/v2/update") + Result update(@RequestBody UserLabelVo userLabelVo); + } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/his/vo/label/UserLabelInfoVo.java b/phis-feign/src/main/java/com/hz/his/vo/label/UserLabelInfoVo.java index 6c9d765..78bcfa3 100644 --- a/phis-feign/src/main/java/com/hz/his/vo/label/UserLabelInfoVo.java +++ b/phis-feign/src/main/java/com/hz/his/vo/label/UserLabelInfoVo.java @@ -15,4 +15,6 @@ private String labelId; /**鏍囩鍚嶇О-閫夊~锛坕sCustom鏄�1蹇呭~锛�*/ private String labelName; + /**鏄惁鑷姩鎵撴爣绛撅細0鍚�1鏄�-鑷姩鎵撴爣绛惧繀濉�*/ + private Integer isAuto = 0; } -- Gitblit v1.8.0