Browse Source

新增项目修改

anderx 1 year ago
parent
commit
91f4eaa051

+ 9 - 0
src/main/java/com/goafanti/business/bo/UserRestrictProjectBo.java

@@ -8,6 +8,15 @@ public class UserRestrictProjectBo {
     private Integer type;
 
     private String adminName;
+    private String projectName;
+
+    public String getProjectName() {
+        return projectName;
+    }
+
+    public void setProjectName(String projectName) {
+        this.projectName = projectName;
+    }
 
     public String getAdminName() {
         return adminName;

+ 1 - 0
src/main/java/com/goafanti/business/service/impl/RestrictProjectServiceImpl.java

@@ -225,6 +225,7 @@ public class RestrictProjectServiceImpl extends BaseMybatisDao<RestrictProjectMa
                             if (!restrictProjects.isEmpty()){
                                 // 有限定项目
                                 bo.setType(1);
+
                             }else{
                                 //没有限定
                                 bo.setType(2);

+ 1 - 1
src/main/resources/props/config_test.properties

@@ -1,5 +1,5 @@
 dev.name=test
-static.host=//static.jishutao.com/1.3.15
+static.host=//static.jishutao.com/1.3.16
 #Driver
 jdbc.driverClassName=com.mysql.jdbc.Driver
 jdbc.url=jdbc:mysql://127.0.0.1:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false