feat: 项目需求管理
This commit is contained in:
23
nl-plugin-api/nl-plugin-pmm-api/pom.xml
Normal file
23
nl-plugin-api/nl-plugin-pmm-api/pom.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.nl</groupId>
|
||||
<artifactId>nl-plugin-api</artifactId>
|
||||
<version>3.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>nl-plugin-pmm-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<description>项目管理插件api接口</description>
|
||||
|
||||
<dependencies>
|
||||
<!-- 每个插件接口都要引入common -->
|
||||
<dependency>
|
||||
<groupId>org.nl</groupId>
|
||||
<artifactId>nl-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -0,0 +1,11 @@
|
||||
package org.nl;
|
||||
|
||||
/**
|
||||
* @Author: lyd
|
||||
* @Date: ${DATE}
|
||||
*/
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello world!");
|
||||
}
|
||||
}
|
||||
@@ -14,6 +14,7 @@ package org.nl.sys.api;
|
||||
|
||||
import cn.hutool.json.JSONObject;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.nl.sys.core.GroupUserVo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -48,4 +49,12 @@ public interface SysGroupApi {
|
||||
* @date 2025/1/12 02:36
|
||||
*/
|
||||
Page<JSONObject> groupSelector(String searchKey, int current, int size);
|
||||
|
||||
|
||||
/**
|
||||
* 获取用户组下的用户
|
||||
* @param groupId
|
||||
* @return List<GroupUserVo>
|
||||
*/
|
||||
List<GroupUserVo> getAllUserInfoByGroupId(String groupId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package org.nl.sys.core;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 组下用户
|
||||
* @Author: lyd
|
||||
* @Date: 2025/11/11
|
||||
*/
|
||||
@Data
|
||||
public class GroupUserVo {
|
||||
|
||||
private String userId;
|
||||
|
||||
private String name;
|
||||
}
|
||||
@@ -35,5 +35,6 @@
|
||||
|
||||
<!-- 系统功能插件api接口 -->
|
||||
<module>nl-plugin-sys-api</module>
|
||||
<module>nl-plugin-pmm-api</module>
|
||||
</modules>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user