From e3636fb902f3df67e879dcdfb4ace33d95509fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E9=B9=8F=E9=A3=9E?= Date: Thu, 30 May 2024 09:16:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=8E=B7=E5=8F=96=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E5=9B=BA=E5=AE=9A=E8=BF=94=E5=9B=9E=E5=8F=8C?= =?UTF-8?q?=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../product/bomnew/service/UserRoleService.java | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/UserRoleService.java b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/UserRoleService.java index d4b77174..bacd2e71 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/UserRoleService.java +++ b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/UserRoleService.java @@ -7,11 +7,9 @@ import com.nflg.product.bomnew.constant.EBomConstant; import com.nflg.product.bomnew.constant.UserJobEnum; import org.springframework.stereotype.Service; -import javax.annotation.PostConstruct; import javax.annotation.Resource; -import java.util.ArrayList; +import java.util.Arrays; import java.util.List; -import java.util.Set; @Service public class UserRoleService { @@ -20,12 +18,9 @@ public class UserRoleService { MaterialMainService materialMainService; - - - - public List getUserPost(){ - - return materialMainService.getBaseMapper().getUserPost(SessionUtil.getRowId()); + public List getUserPost() { + //return materialMainService.getBaseMapper().getUserPost(SessionUtil.getRowId()); + return Arrays.asList(EBomConstant.DESIGNER, EBomConstant.TECHNICIAN); } /**