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); } /**