From 783636b8af8b5309ad1e6f1598aed7df10bebb63 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期五, 23 八月 2024 15:17:25 +0800 Subject: [PATCH] 修改用户分页查询接口一个用户两个角色会出现两条数据的bug --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoPr/PrControllerTramp.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoPr/PrControllerTramp.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoPr/PrControllerTramp.java index b133303..d40ffeb 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoPr/PrControllerTramp.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoPr/PrControllerTramp.java @@ -15,9 +15,7 @@ import com.dy.common.po.BaseEntity; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; -import jakarta.validation.constraints.NotNull; import lombok.*; -import org.hibernate.validator.constraints.Length; import java.util.Date; @@ -46,7 +44,6 @@ */ @Schema(description = "鎺у埗鍣ㄥ湴鍧�", requiredMode = Schema.RequiredMode.REQUIRED) @NotBlank(message = "鎺у埗鍣ㄥ湴鍧�涓嶈兘涓虹┖") - @Length(message = "鎺у埗鍣ㄥ湴鍧�蹇呴』{max}浣�",min = 11, max = 11) public String rtuAddr; /** @@ -54,7 +51,6 @@ */ @Schema(description = "閫氳鍗忚", requiredMode = Schema.RequiredMode.REQUIRED) @NotBlank(message = "閫氳鍗忚涓嶈兘涓虹┖") - @Length(message = "閫氳鍗忚涓嶅ぇ浜巤max}瀛�",max = 25) public String protocol; /** @@ -63,5 +59,11 @@ @Schema(description = "鍙戠幇鏃堕棿", requiredMode = Schema.RequiredMode.REQUIRED) // @NotNull(message = "鍙戠幇鏃堕棿涓嶈兘涓虹┖") public Date findDt;//鍙戠幇鏃堕棿锛� yyyy-mm-dd HH:MM:SS锛� + /** + * 鏈烘瀯tag + */ + @Schema(description = "鏈烘瀯tag", requiredMode = Schema.RequiredMode.REQUIRED) + @NotBlank(message = "鏈烘瀯tag涓嶈兘涓虹┖") + public String orgTag; } -- Gitblit v1.8.0